fix(build): make the image build hermetic and drop dead catalogs #38
No reviewers
Labels
No labels
adr
android
area/calendar
area/design-system
area/i18n
area/jobs
area/offline
area/server
area/testing
bug
ci
duplicate
enhancement
help wanted
invalid
notifications
question
reliability
security
severity/low
severity/medium
tracking
web
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eagraiclainne/app!38
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/web-gen-drift"
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?
make deployfailed on main:Welcome.tsxuses #36'sSealVerdict, but the Docker build shipped whatever TS generation sat on the host's disk (web/src/genis a gitignored build artifact). CI regenerates before building, so it stayed green while the image build broke.Hermetic image build — the webbuild stage now generates the clients itself:
bufbuild/bufstage supplies the binarybuf.gen.ts.yamlruns only theprotoc-gen-espluginnpm cialready installed (no Go toolchain needed in the node stage)web/src/genis excluded from the build context, so in-image generation is the only source — a fresh clone builds correctly with plaindocker build(verified: webbuild stage builds green with no clients in the context)web-buildgains theweb-genprerequisite for the local embed path (make build-all);deploy-imageneeds noneDead catalogs deleted —
web/src/locales/*/messages.js(6 files): compiled lingui output nothing references; the app importsmessages.podirectly and the Vite plugin compiles at build time.make web-i18n-checkstill passes.Release check fixed — the
update-feeddefault still pointed at the old forge (forgejo.lihnet..., 404 since the move); nowgit.eagraiclainne.ie/api/v1/repos/eagraiclainne/app/releases/latest(verified answering 200).Old-forge sweep (second commit) — every
forgejo.lihnet.mallon.iepull reference now points atgit.eagraiclainne.ie, with the repo path corrected toeagraiclainne/app(release.yml derives the registry from the server URL, so that is where artifacts land since the migration): timoni image default, TrueNAS compose, verified flux OCIRepository (renamedocirepository-verified.yaml— the-lihnetname no longer described it), flux README, AGENTS.md.timoni mod vet+ YAML parse green.🤖 Generated with Claude Code
1f6b39adcf0392cb5afafix(web): commit the regenerated TS clients for the seal verdictto fix(build): regenerate TS clients before the deploy image build0392cb5afa8ae0988922fix(build): regenerate TS clients before the deploy image buildto fix(build): make the image build hermetic and drop dead catalogs8ae098892216f79be10c