fix(binjovi-flux-deployer): let the Codeberg observation outlast Codeberg's read lag #365
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/flux-deployer-codeberg-observe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
binjovi-flux-deploypushes the released revision to Codebergmain, then observes it there before asking Flux to reconcile. The observe loop was five reads three seconds apart. Codeberg's read path lags its write path by more than that: every seanfarm deploy today failed its first attempt ~16 s after the push (push status 0) and passed onretry-deployin six seconds once the ref was visible.confirm_codeberg_main URL REVISION PUSH_STATUS: up to 30 reads, 3 s apart (CODEBERG_OBSERVE_ATTEMPTS); the failure names the read count, push status and last value seen.VERSION10 → 11.scripts/check-binjovi-flux-deployer.shdrives the function with a stubbedgitthat shows the ref on the ninth read (red before, green after) and proves the bound still fails closed.Follow-up
sean/binjovipinsbuild/binjovi-flux-deployer:v10@sha256:0431ab…in itsDockerfile(twoFROMlines) andcontainer_contract_test.exs; that bump follows once v11 is published.https://claude.ai/code/session_01XdBRc9CHgFhAxCyHbdVtt6