5f69cfa792b96d0cecab329281216c6abb68650d
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
7ced019c77 |
ci: a merge to main is the public release; every dev push dry-runs it (#8358)
release / go (push) Successful in 1m54s
release / web (push) Successful in 1m29s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 2m44s
release / Build signed APK (push) Successful in 2m1s
release / Build + push container image (push) Failing after 4s
release / android (push) Successful in 2m9s
Every push now builds its image from the git archive export, after the changelog and the leak gate have run on it, so a dev push is the public release's dry run. A push to main then also commits and tags the export on github.com/Fabled-Sword/minstrel as AmateurDungeoneer, publishes ghcr.io/fabled-sword/minstrel :<name> and :latest, and creates the release page on GitHub (public changelog) and on this forge (private changelog). The scripts are Librarian's (ci/changelog.sh, ci/leakgate.sh, ci/releases.mjs, with their tests), with Minstrel's false positives and a changelog that ignores the forge-only v* tags from before the public releases, so the first public release is the fixed note. The tag build, its APK attach and its verify job, and the manual GHCR dispatch are gone: phones get the app from the server image, and no release carries a file. The push trigger has no path filter, because the README, docs and tests ship in the public release too. The README's image tags now name what GHCR carries: :latest and :<version>. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
143bb8561c |
ci(release): a dispatch builds the public release image for GHCR from the export (#8207)
release / web (push) Successful in 1m29s
release / go (push) Successful in 1m58s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 4m17s
release / android (push) Successful in 4m49s
release / Build signed APK (push) Successful in 5m39s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Publish the release image to GHCR (dispatch only) (push) Skipped
release / Build + push container image (push) Successful in 14s
release / Verify release artifacts (tag releases only) (push) Skipped
A new publishing job, ghcr-release, runs only on a workflow_dispatch with ghcr_release ticked, behind every verifying lane: - names the release with ci/version.sh (tag v<name>); - exports `git archive HEAD`, refuses it if it carries .gitea or ci, and matches its tree (staged with add -A -f) to the public repo's v<name> tag; a dry run tolerates a missing tag as revision=unreleased; - stages the freshly built APK and sidecar into the export; - builds with --provenance=false, labelled source=the GitHub repo, revision=the public commit, version=<name>; - unless ghcr_dry_run (the default), logs in with vars.GHCR_USER and secrets.GHCR_TOKEN and pushes :<name> once and :latest. A real run must be on main. image-release stands aside on a GHCR dispatch, so a release moves no private channel. The concurrency group now includes the event, so a dispatch and a push on one ref don't cancel each other. The gate test counts ghcr-release as a publisher and pins its trigger, its export build, its provenance flag and its source label. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
d191a28217 |
docs: server comments say what the code does, not how it came to be (#6277)
Comment blocks in cmd/minstrel and 30 smaller internal packages, rewritten
to rule 32's standard with each citation read in context: task, milestone
and rule ids go, and so do the stories they were attached to ("used to",
"Before #N", measurements from one install, quotes, pointers to Fabled
Librarian's records and to docs/superpowers files that are not in the
repo). Where a story wrapped a real constraint, the constraint stays as a
present-tense fact.
Comments that had gone stale are corrected:
- taste.Config: the tuned values are overlaid by internal/recsettings;
it is no longer "a later follow-up".
- StorageConfig: the data dir holds art, caches and the stream secret,
not only playlist covers.
- the Subsonic album list and getUser comments describe what they do
today rather than a milestone that would change it.
Checked: the non-comment token stream of every changed file matches
HEAD, and gofmt -l is empty.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
b36125fa67 |
ci: one workflow graph, so nothing publishes on red; add govulncheck and npm audit (M462 #4984)
release / govulncheck (push) Failing after 2s
release / go (push) Successful in 1m49s
release / web (push) Successful in 1m8s
release / integration (push) Successful in 4m39s
release / android (push) Successful in 5m45s
release / Build signed APK (releases and dev) (push) Successful in 5m58s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Skipped
release / Verify release artifacts (tag releases only) (push) Skipped
test-go, test-web and android were separate workflows on the same push as release.yml, so the image build could not see their verdict: :dev meant "it built", never "it passed". All lanes now live in release.yml, and both publishing jobs (image-release and the new release-assets) need every lane and require `result == 'success'` from each by name, so a skipped lane blocks the publish just as a failed one does (rule 177). - New lanes: govulncheck (in golang:1.26-bookworm, the builder's image, so it checks the stdlib that ships) and `npm audit --omit=dev` in web. - Attaching the APK to a Release moved out of android-release into release-assets, behind the gate; the APK still builds in parallel. - `docker buildx build --pull`, so floating base tags can't serve a stale Go patch release from the runner's cache. - Integration wait uses `pg_isready` via docker exec: the old /dev/tcp probe never connects under dash (rule 81) and burned two minutes a run. - workflow_dispatch input force_red fails the go lane on purpose, to watch the gate refuse. - release_gate_test.go pins the gate: every job must be classified, and every publisher must need and require success from every lane. Lanes have no path filters any more; a web-only push runs the Go suite too, because "not run" must never read as "passed". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |