chore: widen node credential term to 6h as a temporary buffer (#42) #28

Merged
day01 merged %!d() commits from %!s() into %!s() 2026-08-18 18:43:24 +00:00
Owner

A node offline past CREDENTIAL_TERM has no way back except a manual register --replace on the host, as hit today on synprod (see meta issue #42). Widens the term from 900s to 6h as headroom against a repeat while a real fix (grace period after expiry, or similar) gets designed — meant to be reverted once one lands, hence temporary.

Also fixes tests/enrolment.rs's expiry test, which hardcoded 3600s as "surely past expiry": true at the old 900s term, false at 6h. Now reads CREDENTIAL_TERM instead of a magic number.

A node offline past `CREDENTIAL_TERM` has no way back except a manual `register --replace` on the host, as hit today on synprod (see meta issue #42). Widens the term from 900s to 6h as headroom against a repeat while a real fix (grace period after expiry, or similar) gets designed — meant to be reverted once one lands, hence temporary. Also fixes `tests/enrolment.rs`'s expiry test, which hardcoded 3600s as "surely past expiry": true at the old 900s term, false at 6h. Now reads `CREDENTIAL_TERM` instead of a magic number.
day01 added 1 commit 2026-08-18 18:32:48 +00:00
		A node offline past CREDENTIAL_TERM has no way back except a manual
register --replace on the host, as hit today on synprod. Buys headroom
against a repeat while a real fix (grace period after expiry, or
similar) lands — meant to be reverted once one does.

Also fixes the expiry test, which hardcoded 3600s as "surely past
expiry": true at the old 900s term, false at 6h.
	
day01 merged commit a23cfe9106 into %!s() 2026-08-18 18:43:24 +00:00
day01 deleted branch chore/widen-node-credential-term-temporarily 2026-08-18 18:43:25 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: syncode/control#28