Repository navigation
Commit 7ca96cd
acc: alerts-v2-not-found: label lifecycle_state, name cloud differences (#7546)
## Changes
Follow-up to [#7509](#7509),
addressing review comments that arrived after it merged. Both are in
`acceptance/cmd/workspace/alerts-v2-not-found`:
- The trashed-alert `get-alert` now projects `jq '{lifecycle_state}'`,
matching `alerts/with_file/script`, so the golden labels the value
instead of printing a bare `DELETED`.
- The header comment now names the two known differences on the cloud:
trash-again reports a different UUID than the alert id, and update on a
trashed alert names the file with a timestamp suffix. That way nobody
flips `Cloud = true` without knowing about them.
## Why
Review feedback on [#7509](#7509).
## Tests
`go test ./acceptance -run TestAccept/cmd/workspace/alerts-v2-not-found`
passes locally.
## Dashboard:
Follow-up only. No failing test is fixed here. Related:
[error/3324](http://go/cli/dashboard/error/3324?main=1&pr=1&end=2026-11-11T17:00:00Z&last=2d)
(`Error: Tree node with id [ALERT_ID] does not exist`).
This pull request and its description were written by Isaac.
Co-authored-by: Isaac <no-reply@databricks.com>1 parent b69a249 commit 7ca96cd
2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | | - | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments