Commit 1e6eeb7
committed
TO-DROP: run Copilot CLI as a
Wire the in-container Copilot CLI debugger to the trimmed
`linux32` job per the `ci-failure-copilot` skill. On a failure of
the `ci/run-build-and-tests.sh` step, install Node.js and the
Copilot CLI, hand off to a `--yolo` session pointed at
`.github/copilot-prompts/debug-linux32.md` (added in the previous
commit), and upload the resulting `ci-diagnosis/` directory plus
the captured `~/.copilot` session state as a `copilot-debug`
artifact.
Two preconditions for the prompt's branch-thicket-aware
diagnosis flow:
* The checkout step now uses `fetch-depth: 0` so the agent can
`git log` between the old and new rebase baselines and run
`git range-diff` against `microsoft/vfs-2.54.0`.
* A new step adds the `microsoft` remote and pre-fetches
`vfs-2.54.0` plus the `v2.54.0` tag so the agent does not pay
the discovery latency in-session.
The Copilot run executes as root (the container's default user),
matching where `npm install -g` puts the binary; the prompt
itself instructs the agent to re-invoke the failing command via
`sudo --preserve-env --set-home --user=builder
ci/run-build-and-tests.sh` so its end-to-end verification
reproduces the workflow's exact conditions.
The job requires a `COPILOT_GITHUB_TOKEN` repository secret on
`dscho/git` with Copilot access for this repository; if it is not
set, the `Run Copilot CLI` step will fail authentication but the
preceding archive/upload steps still preserve whatever state was
captured.
This commit is to be dropped before the branch is merged anywhere.
Assisted-by: Claude Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>--yolo debugger on linux32 failure1 parent 4b6658b commit 1e6eeb7
1 file changed
Lines changed: 70 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
151 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
152 | 222 | | |
153 | 223 | | |
154 | 224 | | |
| |||
0 commit comments