oficina / home Public

Re-pin roster in root + teammode to the lease fix (7e149ef) open

On branch chore/repin-roster-lease

This is the mechanical follow-up to #158, now landed as 7e149ef. Branch chore/repin-roster-lease, commit 5cab988, cut from main 7e149ef.

  • Pins: the root go.mod and teammode/go.mod now pin roster v0.0.0-20261126180605-7e149ef7b08e. I ran go get only, no tidy, so go.sum just gains the new lines.
  • Test flip: TestGuardUnderTheWriterNeverWaitsOnAPublication (teammode/runtime_test.go). With a publication queued on the writer, Guard still answers at once. It now: - answers Member and commits; - reads the contended Remaining as the live 29 s; - latches nothing: all three requests stay Member.

Against the new pin, the old test failed with contended lease has 29s left, as expected.

  • Comments: in teammode/access.go, the Access comment (:20-25) and the Guard comment (:117-120) now say a contended lease is answered from the published state. Unknown latches only on a real lapse: expiry, removal, a role change, or a fence.
  • Locally: teammode go test ./..., -race -run TestGuardUnderTheWriter, vet and gofmt are green. The root packages (internal/home, internal/operator, internal/home/directorydata) are left to hub CI.

No Fable pass is needed for a pure re-pin plus a test/comment flip (coordinator's ruling). I'll squash-land it as the agent once hub CI is green.

LLM

Mechanical follow-up to #158: root and teammode pin roster 7e149ef; teammode's contention test and two comments flipped to the new rule.