Commit 00b78cb
committed
ci(observability-map): write scan reports with --out instead of capturing stdout
Both scan steps redirected pnpm --filter ... exec stdout into files the renderer
JSON.parses. pnpm takes its recursive path under --filter and some versions
announce 'Scope: N of M workspace projects' on it; one such line in head.json
fails the parse and degrades every run to the stale-report comment, which is a
permanent quiet failure rather than a loud one.
It does not reproduce on the 10.33.2 the workflow pins, which was checked, so
this closes the class rather than a reproduction: the scanner writes its own
file and stdout is left to be log output. The -s guard keeps the partial dance
honest now the redirect no longer creates the file, so a scanner that exits 0
without writing takes the stale-report branch instead of failing the mv and
turning the job red.
The render step still captures stdout, since prCommentCli has no --out and a
banner there puts a stray line in a markdown comment rather than breaking a
parse.
Reported by Devin on #4455.1 parent 5ad6026 commit 00b78cb
2 files changed
Lines changed: 53 additions & 4 deletions
File tree
- .github/workflows
- internal-packages/observability-map/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
152 | 166 | | |
153 | 167 | | |
154 | | - | |
155 | | - | |
| 168 | + | |
| 169 | + | |
156 | 170 | | |
157 | 171 | | |
158 | 172 | | |
| |||
168 | 182 | | |
169 | 183 | | |
170 | 184 | | |
171 | | - | |
172 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
173 | 188 | | |
174 | 189 | | |
175 | 190 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
120 | 154 | | |
121 | 155 | | |
122 | 156 | | |
| |||
0 commit comments