Commit cd9d8cd
test(e2e): cover git-refs backend on push + assert no v1 branch
Two changes to lock in the git-refs checkpoint backend (the default for
fresh `entire enable` setups) as an exercised, guarded path:
1. Per-test guard: SetupRepo now registers a cleanup (only under the
git-refs backend) that fails the test if a local entire/checkpoints/v1
branch exists. Under git-refs, checkpoints live in per-checkpoint refs
and nothing should ever seed v1; a v1 branch means a flow regressed.
2. CI coverage: the on-push e2e.yml matrix pins git-branch, so git-refs
had no automatic coverage. Make e2e-checkpoint-store.yml callable
(workflow_call) and add an e2e-git-refs job to e2e.yml that runs on
every push to main, wired into the Slack failure notification. The
agent (claude-code) and backend (git-refs) are fixed by the reusable
workflow's input defaults, so the caller parameterizes neither and the
leg always covers exactly one agent on one backend.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 01KY4RVXK1PCVYV31TMC73VS6P1 parent bbc8a77 commit cd9d8cd
3 files changed
Lines changed: 56 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
29 | 48 | | |
30 | 49 | | |
31 | 50 | | |
| |||
38 | 57 | | |
39 | 58 | | |
40 | 59 | | |
41 | | - | |
| 60 | + | |
| 61 | + | |
42 | 62 | | |
43 | | - | |
| 63 | + | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
146 | 158 | | |
147 | 159 | | |
148 | | - | |
149 | | - | |
| 160 | + | |
| 161 | + | |
150 | 162 | | |
151 | 163 | | |
152 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
172 | 181 | | |
173 | 182 | | |
174 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
175 | 195 | | |
176 | 196 | | |
177 | 197 | | |
| |||
0 commit comments