ci: run the gate on the round 1 fixes
The push of 6cc64396 landed during a forge outage and recorded no CI run; this empty commit triggers one. No change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI failed — run details
Intent
<task-notification> <task-id>a6c39a8eacbb36307</task-id> <tool-use-id>toolu_012oKzKG5UGR6j48F1dg2sae</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a99cbe46-f458-4f72-8b8a-294aae9cdf21/tasks/a6c39a8eacbb36307.output</output-file> <status>completed</status> <summary>Agent "Build held-move-speed F1+F2" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>All three round 1 findings are fixed in three new commits on `held-move-speed`. Each fix has a test that fails when the fix is taken out, and the targeted tests pass. Nothing was amended or pushed, and I left no scratch files. **Commits** - `f425885b` edge: one shared close for move streams; encoded SSE is closed (F1.1, F1.2 and the spec wording) - `f9fd712d` lease: close the snapshot reader on every outcome (F1.3) - `6cc64396` census: re-propose held-move-speed after the Astra round 1 fixes **F1.1, shared close.** The watcher and the proxy now close the upstream body through one operation, a `sync.Once` plus a done channel. Both wait until that close has finished, including the trailer scrubbing, so the scrubs run once, never at the same time, and are done before the proxy copies trailers. - New test `TestMoveStreamCloseIsSharedWithTheTrailerScrubs` goes through the real `responseModifier` with announced and unannounced trailers and runs under `-race`. - It checks that the proxy's close does not return early, the platform trailers are scrubbed, an app trailer is kept, and the upstream is closed exactly once. - If the watcher calls the upstream `Close` directly again, `-race` reports DATA RACE. **F1.2, encoded SSE.** An SSE response with any `Content-Encoding` other than identity is never wrapped with the boundary reader. A move ends it the way it ends an upgraded connection: it cancels the request's context and the connection closes. - New edge test `TestMoveStreamEncodedSSEIsCutNotFramed` covers gzip, br and "identity, gzip", and checks that plain identity is still framed. - New proxy-level test `TestMoveClosesAnEncodedSSEStream`: the client sends `Accept-Encoding: gzip` and the upstream returns a compressed, flushed SSE stream. The boundary reader is never applied, the stream closes within 2 s, and the in-flight wait takes under 1 s. - If the encoded case is wrapped again, both tests fail. - §25.8 now says: "Unencoded SSE ends at an event boundary; encoded streams and upgraded connections are closed and reconnect." §25.4 step 2 matches. **F1.3, snapshot reader.** The snapshot now calls `SnapshotReader` and `WriteLTXFile` itself and closes the pipe on every outcome, following `generationClient.WriteLTXFile`. The only part of `DB.Snapshot` this skips is a cached level-9 file info, which goes unused because the store closes right after. - New test `TestDrainReleaseSnapshotEarlyRefusalReleasesTheWAL` uses a replica that refuses the snapshot without reading any of it. The marker is clean, the restore matches the source, and no WAL descriptor is left in `/proc/self/fd`. It is skipped on systems other than Linux. - With `DB.Snapshot` restored, the test fails because the WAL stays open. **Tests** - Edge with `-race`, filtered to held, drain, move, stream, cookie, upgrade, trailer, boundary, holder and asset tests: pass (544 s). - Activator `TestMove|TestDrain|TestIdleStop`, lease `Snapshot|Release|Marker|Finish`, host `TestMoveEndsStreams|TestDrain*`: pass. - Provision census tests, vet, gofmt and the darwin/windows builds: pass. - The earlier mutations still fail as before: removing `EndMoveStreams` from `moveOne` makes the drain take 10.02 s, and faking the snapshot write makes the restore read 140 files. **Census.** `make census-card` showed no unit fingerprint moved, because the fixes are in functions that aren't census units (`shut`, `watch`, `MarkMoveStream`, `snapshotWithin`). Only the `internal/edge` and `internal/lease` envelopes were re-pinned. I re-ran `census-propose NAME=held-move-speed` with the `responseModifier` claim rewritten to name the shared close and the encoded-stream rule. I also reworded the `releaseHAClean` claim to name the closed snapshot reader. The new seal is `65cb39bc…`. **Not done** - The reviewer's census rejection of `responseModifier` and the edge envelope still needs a new verdict on the new tip. The #280 record is also still yours to post. - One residual worth a reviewer look: the watcher's close can in principle overlap a proxy read that is fetching the final trailers at the same moment. The transport serialises its own read and close, and a closed body fills no more trailers, so I left it as is. No test covers it.</result> <usage><subagent_tokens>291052</subagent_tokens><tool_uses>19</tool_uses><duration_ms>1164250</duration_ms></usage> </task-notification>
<task-notification> <task-id>b4f1trsy7</task-id> <tool-use-id>toolu_01FoC6oeFUKmF6z4UzCDk7VM</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/a99cbe46-f458-4f72-8b8a-294aae9cdf21/tasks/b4f1trsy7.output</output-file> <status>completed</status> <summary>Background command "Wait for CI on 6cc64396" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 97.3 g CO₂e (12,860,082 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on held-move-speed, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
This commit has no diff (an empty commit).