region-ha p1b-2: census re-pin of the internal/activator envelope after the holders rename
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
internal/provision/testdata/plan14-root-reads-region-ha-p1b2.tsv+1 −1
CI passed — run details
Intent
<task-notification> <task-id>a25601bcbf5d985e6</task-id> <tool-use-id>toolu_016a8Xj2oGjM6ipVG7PYjTbG</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/953e7524-2e06-4308-b9ce-fd1b38579971/tasks/a25601bcbf5d985e6.output</output-file> <status>completed</status> <summary>Agent "Rename holder cache map field" 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>Status: done, not pushed. I renamed the holder cache's map field `entries` to `holders` in `internal/activator/hacache.go` and in the one test use (`haforward_test.go:215`). I didn't touch the Service's own `a.entries`, the structural test or anything else. Commit: 1e58a678. The first attempt hit a `packed-refs.lock` error, but the commit had landed and the tree is clean. Tests: `TestEntriesEnterThroughPutEntryLocked|TestHolderCache|TestForwardTarget|TestHopped` pass (ok, 3.5 s). `gofmt -l internal/activator` is clean. `go build ./...` passes for linux, darwin and windows. Sandbox: Go builds and tests failed inside it with a read-only Go cache, so I ran them and the commit with the sandbox disabled.</result> <usage><subagent_tokens>41023</subagent_tokens><tool_uses>9</tool_uses><duration_ms>93166</duration_ms></usage> </task-notification>
<task-notification> <task-id>bvajhtgm9</task-id> <tool-use-id>toolu_016wu4pJvWQDG2AF1HFChKWR</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/953e7524-2e06-4308-b9ce-fd1b38579971/tasks/bvajhtgm9.output</output-file> <status>completed</status> <summary>Background command "Check census, push, wait for CI" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 55.3 g CO₂e (7,377,497 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p1b2-forwarding, 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.
diff --git a/internal/provision/testdata/plan14-root-reads-region-ha-p1b2.tsv b/internal/provision/testdata/plan14-root-reads-region-ha-p1b2.tsv| index 9ef385e37..cd80d597c 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-region-ha-p1b2.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-region-ha-p1b2.tsv |
| @@ -27,5 +27,5 @@ internal/activator/haforward.go noteNoHolder legacy accepted-legacy accepted-leg |
| internal/edge/forwardha.go Edge.frontForwardHA legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p1b2;basis=new (region HA P1b-2): the agent's edge decides at the front door whether to forward a visitor request: reads the route's HA flag and host from the box's own registry row and asks the activator; forwards only to a box in view over the existing signed hop; root never calls it registry:HA@225,registry:Host@501,whole:Route@228,whole:Route@407,whole:Route@504 2c9936721e996db822dca79af3597ed2c0fd29aa29e40fa6fc1f7512b3867106 |
| internal/activator/activator.go Service.serveWakeError diagnostic C,J4 rev3=PROPOSED-seed; incarnation-keyed missing-files diagnostics and indexed retry results; throttles output only and grants no retry, stop or launch;rev3=census-ruling-region-ha-p1a;basis=the agent as carlos: one more case, errLeaseRefused (a born-HA host outside the nested layout or an HA acquire's refusal): logged at most once per diagnostic window (allowFilesDiagnostic(rt.Host, ...)) and answered 503 with Retry-After: 10; the other cases unchanged; +registry:Host x2 are rt.Host in that call and the log line; it only answers;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Tasks 7 and 8: two new answers, a resident inside its backoff gets 503 with Retry-After (RFS-3-C16), and a rootfs row refused before the lease (errRootfsNotAdmitted) gets the existing wake-failed 503; no read added;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: for a verified HA hop, a held lease answers 503 Retry-After 1 with X-Carlos-Holder (answerForwarded) and every other refusal adds X-Carlos-Holder: none (noteNoHolder); legacy routes and cancellation unchanged; same reads registry:Host@1070,registry:Host@1134,registry:Host@2836,registry:Host@2900,whole:Route@204 a8834927132e29ac5cdf44b5caced8dc010d538f6552979f90b226a09fd13c2f |
| internal/activator/activator.go Service.serve legacy accepted-legacy accepted-legacy;rev3=census-ruling-hotfix281;basis=Startup repeats the existing Kind and Hibernate checks; error logging moved to serveWakeError. A request held through startup re-reads its own route's Socket and Addr and can only refuse (wake-timeout 503) when recovery moved them; agent-side, deny-only, no root decision.;rev3=census-ruling-edge-request-records;basis=passes the member request r to begin's new req parameter; no read added;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3 Task 5: the activator-managed test is Route.ActivatorOwned instead of Kind and Hibernate inline, so a resident rootfs instance is the activator's; same deploy-safety for binary rows;rev3=census-ruling-region-ha-p1b2;basis=region HA P1b-2: a verified HA hop this box cannot serve gets the holder diagnostic; two new whole:Route sites pass the route to answerForwarded/noteNoHolder; no new kind of read registry:Addr@934,registry:Addr@948,registry:Host@1059,registry:Host@859,registry:Socket@905,registry:Socket@921,whole:Route@1127,whole:Route@2676,whole:Route@2777,whole:Route@329,whole:Route@3497,whole:Route@3560,whole:Route@884,whole:Route@993 d788f023e71cf3bc6bdadf106da3ed981b96e06a2a3408220b48dcf65fba419d |
| -@coverage internal/activator 3d191c062bd8b8938d742e0fe6e98088e07d9016f42d83ff9362d1e4f8352997 |
| +@coverage internal/activator 03d283d6326da73315bb00bc92453a36f584e8d0af1b46dfa89f25da18b84d19 |
| @coverage internal/edge fa1a9346be25056af127a10080582c20bae1407c7fba98ddce52e79b99c0b8de |