Skip to content

pgw#628: residency reporting v2 — content-addressed idempotent observations (0.52.0)#381

Merged
PaulFidika merged 2 commits into
masterfrom
release/pgw628-residency-v2
Jul 24, 2026
Merged

pgw#628: residency reporting v2 — content-addressed idempotent observations (0.52.0)#381
PaulFidika merged 2 commits into
masterfrom
release/pgw628-residency-v2

Conversation

@PaulFidika

Copy link
Copy Markdown
Contributor

Worker half of tensorhub th#1070 (hub v2 merged: tensorhub#624). Cherry-picked from chaos fa1a088 + uv.lock version re-resolve.

Every applied HelloAck opens a republish epoch: the reconcile pass re-announces verified cached identities (exact ref+digest ON_DISK/IN_RAM/IN_VRAM) once per epoch even when unchanged — a re-received plan (hub redrive, overdue resend, reconnect) is the hub asking for a resync, and success observations are safe to emit late, twice, or across plan revisions under the v2 hub's content-addressed acceptance. Job-path cache hits within one epoch stay deduped (no event spam). gw#614's no-cancel-on-same-set reconcile behavior is unchanged — under the v2 hub it is simply correct instead of a trap.

Tests: tests/test_residency_republish_pgw628.py over the real hub-double + blob host (revert-turns-red verified; one-per-epoch and no-spam asserted). mypy + ruff clean. Full suite on this head: 649 passed / 5 skipped.

Version floor note: NO forced fleet image rebuilds — v2 hubs accept 0.44–0.51 success reports unchanged; images pick up >=0.52.0 on their next routine rebuild for the lost-observation resync hardening.

…ations (0.52.0)

Worker half of th#1070: every applied HelloAck opens a republish epoch;
the reconcile pass re-announces verified cached identities (exact
ref+digest) once per epoch even when unchanged — a re-received plan
(redrive/overdue resend/reconnect) is the hub asking for a resync, and
success observations are safe to emit late, twice, or across plan
revisions under the v2 hub's digest acceptance. Job-path cache hits
within an epoch stay deduped. gw#614 same-set no-cancel unchanged.
Revert-turns-red test; mypy+ruff clean; full suite 649 passed/5 skipped.
No forced fleet rebuild — v2 hubs accept 0.44-0.51 reports fine.
@PaulFidika
PaulFidika marked this pull request as ready for review July 24, 2026 03:59
@PaulFidika
PaulFidika merged commit b808d55 into master Jul 24, 2026
2 checks passed
@PaulFidika
PaulFidika deleted the release/pgw628-residency-v2 branch July 24, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant