Registry credential expires mid-build, so a deploy fails after some images have already pushed — cost us a night's deploy on 2026-09-01 #100
Open
opened 2026-09-01 02:58:58 -04:00 by logan
·
0 comments
No Branch/Tag Specified
Labels
Clear labels
area/ai-pipeline
area/auth
area/billing
area/correlation
area/discord
area/frontend
area/governance
area/growth
area/infra-deploy
area/legal
area/map
area/mqtt
area/node-ota
area/osint
area/recording-audio
area/sdr-radio
area/transcription
board
board:agenda
minutes:draft
minutes:final
role:ceo
role:cfo
role:cio
role:ciso
role:cmo
role:coo
role:cto
Scene/entity extraction, summarizer, AI providers, embeddings
AuthN/Z, roles, tenancy/org scoping, API keys, credentials
Plans, entitlements, AI spend accounting and caps
Incident correlation, linking, lifecycle, severity, corr_debug
Discord bot, radio bots, voice streams, bot tokens, webhooks
Web UI: Next.js app and the edge-node local dashboard
Board process, minutes, unattended runner, agent tooling
Go-to-market, outreach, cold email, discovery conversations
CI/CD, VM, registry, Firestore rules/indexes deploy, Terraform/Caddy
ToS, retention, licences/DAAs, CAN-SPAM, E&O, name suppression
Live map: pins, paths, tiles, legend, geocoding
Node-C2 MQTT, checkins, commands, node sweeper, dynsec
Node install, enrollment, OTA updater, image skew
External feeds: cameras, 511, ADS-B, AIS, outages, and their licences
Call capture, boundaries, PulseAudio, ring buffer, trimming, attribution
OP25 decode, SDR hardware/tuning, conventional, second SDR, mesh radio
STT, transcript correction, place verification, name accuracy
Board process: minutes and board-filed items
Needs board scoping at the next sitting; CEO removes the label once scoped
One exec pre-read, closed by CEO
CEO ruling; open until enacted
Filed by the CEO
Filed by the CFO
Filed by the CIO
Filed by the CISO
Filed by the CMO
Filed by the COO
Filed by the CTO
kind
behavior-bug
Wrong product behavior; the instrument reads it correctly
kind
measurement-bug
Corrupts the recording/instrument (debug data, evals, health checks), not behavior
priority
p0
Drop everything: prod broken, live exposure, or owner-ruled P0
priority
p1
Next up: blocks a gate, a customer, or core incident quality
priority
p2
Normal: real defect or planned work, schedule in turn
priority
p3
Low: minor, cosmetic, or someday
status
blocked
Waiting on an external party, spend, or another issue
status
in-progress
Branch or PR open against it
status
needs-decision
Waiting on an owner or board ruling before work
status
needs-info
Root cause or repro unknown; needs a reading first
type
bug
Something built is wrong: code, data, or a measurement
type
chore
Maintenance, refactor, tests, pinning, cleanup: no user-visible change
type
decision
A ruling to make or record: board minutes, owner calls, legal reviews
type
docs
Docs, runbooks, CLAUDE.md, skills, SOPs
type
feature
New capability or an extension of an existing one
type
security
Security, privacy, credential or tenant-isolation exposure
type
tracking
Tracker, checklist, initiative or punch-list spanning several changes
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: logan/server-26#100
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hit live on the unattended run of 2026-09-01. Detected, diagnosed and worked around in the same run — production is now correct — but the defect is intermittent and will recur.
What happened
Run 570 (
8b6c170, the #81 spend-leak fix) failed:c2-corepushed successfully at 06:46:50 anddiscord-botfailed authorization 19 seconds later on the same credential. That is not an invalid or revoked credential — it is a short-lived registry token expiring part-way through a multi-image build. Thefrontendimage never got its turn.Job outcomes for run 570:
Why this is worse than an ordinary flake
Deploy to VMis gated on the build job, so a late-stage push failure silently skips the deploy entirely. Production stayed onb722223with the viewer-triggerable OpenAI spend leak (#81) still open, while the fix sat onmainlooking shipped. This is server-26#21's failure mode arriving through a new door: the tracker andmainsay shipped, prod disagrees.It is also partially destructive to the registry state:
c2-core:latestandc2-core:<sha>were pushed and are now newer thandiscord-bot:latestandfrontend:latest. Adocker compose pullbetween the failed build and the retry would have produced a mixed-version deployment — a c2-core from one commit beside a bot and frontend from an older one. Nothing detected that; it was luck that no deploy ran in the gap.Workaround applied this run
Empty commit
85393bdpushed to re-trigger. Run 571 went green on both jobs and/healthnow reports85393bd, so8b6c170is live and #81 is genuinely closed in production. This is a workaround, not a fix — the next multi-image build can lose the token at the same point.Note the Gitea API token available to unattended runs has scope
write:issue,read:repositoryonly, soPOST /actions/runs/{id}/rerunreturnsrequired=[write:repository]. An unattended run cannot re-run a workflow and must push an empty commit instead. That is worth deciding on deliberately rather than leaving as an accident of scope.Fix shape
Ranked, cheapest first:
docker/login-actionso the credential is refreshed per image rather than once per job. Directly addresses the observed 19-second-later expiry.unauthorized(the workflow already has a prune-and-retry for the containerd Lchown failure — this is the same shape of problem and deserves the same treatment).:latesttags.Also worth having
Nothing alerts on "build succeeded partially". The
Report a failed deployjob ran and the failure was still only discovered because an unattended run checked/healthagainstorigin/mainby hand. Related: #21.