Commit c50e2ac
authored
fix(e2e): resolve recommend-mode Chainsaw intermittent timeout (#92)
* fix(e2e): resolve recommend-mode Chainsaw intermittent timeout
The verify-status step asserted Ready=False/InsufficientData, a transient
state the operator passes through before collecting Prometheus data. With
minimumDataPoints=1 and a 15s scrape interval, the operator can transition
to Ready=True/Monitoring within seconds, causing the static assert to
timeout waiting for a condition that already passed.
Replace the static assert with a script-based poll that accepts either
InsufficientData or Monitoring as valid states. Add a verify-no-resizes
step to confirm Recommend mode does not apply changes.
Closes #87
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
* fix(ci): add issues:write permission and single API call for pr-size labels
The pr-size workflow failed with HTTP 401 on gh pr edit --add-label
because label management uses the Issues API, which needs issues:write
permission (not just pull-requests:write). Also replaced 6 sequential
gh pr edit calls with a single REST API PUT that fetches current labels,
filters out size/* labels, and sets the new one in one call.
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
---------
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 0434c08 commit c50e2ac
2 files changed
Lines changed: 36 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
97 | 123 | | |
98 | 124 | | |
99 | 125 | | |
| |||
103 | 129 | | |
104 | 130 | | |
105 | 131 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 132 | + | |
| 133 | + | |
110 | 134 | | |
111 | 135 | | |
112 | 136 | | |
| |||
0 commit comments