Repository navigation
Description
Problem or use case
The September 19 audit found a docs-only PR (#181) took 9m08s. CI/release alignment and subsequent Windows fixes are merged in #187, #190, #192 and #194. This issue now tracks the remaining explicit follow-ups, not an indefinite wait for 20 runs.
Decision from the available evidence
Measurement/coverage decision complete. The maintainer requested making the practical call from the accumulated runs rather than treating 20 successful runs per lane as a hard gate. The small current samples support the direction below; they do not establish a stable long-term p95.
Fresh read-only analysis of the latest 100 verify runs, September 19 13:49 UTC through September 20 02:49 UTC, separates event/lane/exact matrix. Successful first attempts only for percentiles; failures, cancellations and in-progress runs are retained separately.
| Configuration | Successful samples | Wall p50 / observed p95 | Runner-minute p50 |
|---|---|---|---|
| Docs PR | 3 | 39s / 57s | 1.42 |
| Compact code PR, 10 matrix jobs | 6 | 7m13s / 7m49s | 40.75 |
| Compact main, 10 matrix jobs | 2 | 6m48s / 7m00s | 43.15 |
| Full manual, 18 matrix jobs | 2 | 8m03s / 8m36s | 75.62 |
These are descriptive samples across changing code, not controlled experiments. Runner-minutes are execution time, not billed charges. The compact-main median is about 43% below the full-manual median in this sample; do not promise that as a sustained savings rate.
Decisions:
- Keep the reduced routine matrix: Linux Node 22/24/26 plus Windows/macOS Node 24, with full coverage nightly/manually and exact-SHA full verification for releases.
- Keep Windows coverage. The compact PR Windows core median is 6m33s versus Linux Node 22 at 5m17s. Windows found a real initialization cleanup race fixed in Measure CI, rehearse release trains, and fix auth startup cleanup #194 and the distinct startup timeout tracked in [Bug]: Investigate Windows auth worker startup timeout during fixture initialization #202. Removing it would trade away demonstrated defect detection.
- Prioritize the docs classifier gap next: [Request]: Extend fast docs CI to main pushes and maintained contributor prose #207 covers main pushes and known contributor prose outside the allowlist. Example Repoint archived NEXT-STEPS references at their archived path #205 touched only a benchmark README and a docs page but selected full verification.
- Do not add shards or buy larger runners now. Observed job-creation-to-start medians are around 2s for Linux/Windows and 7–8s for macOS in compact PRs; runtime test execution dominates. Profile repeated CLI/project loading before adding setup overhead. These wait intervals are not guaranteed pure runner-queue measurements.
- Keep core at the repository root for now. Relocation is not needed for this improvement and would broaden packaging/CLI/Docker changes.
- Keep required checks and current publisher identities. No new scheduled measurement job or extra benchmark dispatches are needed.
Evidence: docs run https://github.com/jimhoyd-com/urlcode/actions/runs/35484136221; compact PR https://github.com/jimhoyd-com/urlcode/actions/runs/35484030531; compact main https://github.com/jimhoyd-com/urlcode/actions/runs/35483338698; full manual https://github.com/jimhoyd-com/urlcode/actions/runs/35484662692. Reproduce with npm run ci:history -- 100 2026-09-19 (the rolling window will change).
Completed
- Make the CI measurement and matrix decision using available evidence; no longer blocked on an arbitrary 20-per-lane count.
- Restore Windows packaging/process coverage and fix fixture cleanup/initialization races.
- Evaluate core workspace relocation: defer as a separate migration.
- Extend candidate preparation to four-package archives and an isolated combined consumer.
- Correct contributor release/issue/documentation ownership instructions.
- Skip eval setup without a credential and bound artifact retention.
Remaining follow-ups
- [Request]: Extend fast docs CI to main pushes and maintained contributor prose #207: Fast docs classification for main pushes and reviewed contributor prose.
- [Bug]: Investigate Windows auth worker startup timeout during fixture initialization #202: Investigate the intermittent Windows auth-worker startup timeout; a later pass does not establish its cause.
- Profile runtime CLI/project loading before deciding on shards or dependency-aware package selection. UI/auth/admin composition, generated styles, peer floors and tooling must be represented before reducing package coverage.
- Define and enforce Changeset/no-release intent for workspace packages and explicit core release intent.
- Record OIDC and retained-artifact retry recovery during an explicitly authorized release. Candidate success alone does not prove registry trust or partial-publication recovery.
- Inspect historical GHCR labels/digests before enabling publication. Current credential lacks package-read access; inherited organization variables were also inaccessible. No images/settings have been changed by this audit.
No publishing, tag movement, protection weakening or required-check bypass is authorized by this issue. Prior comments preserve the historical measurements and implementation details.
Activity
jimhoyd commentedon Sep 19, 2026
Additional acceptance item: inspect existing GHCR version/channel labels and digests before enabling publication with the new checks. Historical images may lack source/version labels; the new workflow fails closed rather than assumes an identity. GitHub alpha metadata was corrected separately in #186, with latest restored to stable v0.3.0; npm channels were untouched.
jimhoyd commentedon Sep 20, 2026
Contributor-documentation follow-up found while restoring workspace tests: per-package AGENTS.md files still link auth/admin/UI issue filing to their former repositories, whereas root AGENTS.md correctly assigns all three to this monorepo. The UI contributor release tag instructions were fixed in the alignment PR; the remaining package-wide contributor instruction sweep should use root ownership and avoid restoring the retired standalone workflows.
jimhoyd commentedon Sep 20, 2026
Implemented and merged #190 and #192.
Measured Windows workspace validation after fixing fixture teardown and portability defects:
Normal main builds now use ten matrix jobs rather than eighteen (44% fewer matrix jobs, not a claimed 44% wall-clock improvement). Linux retains Node 22/24/26; Windows/macOS use Node 24. Platform-sensitive and unknown PR changes retain the extra OS legs; known presentation-only edits omit them. Full 18-job coverage runs nightly and manually. Release preflight requires a successful full nightly/manual run on the exact release SHA; compact push/PR success alone cannot publish.
The original Windows workspace run timed out at about ten minutes; increasing the earlier combined job cap to 25 minutes had not fixed the underlying cleanup hang. #190 also fixed Windows backup flushing and test path/mode assumptions uncovered once the suite could finish. Windows directory-entry crash durability is explicitly documented in docs/AUTH-BACKUP.md.
No package was published, tag moved, or protection bypassed. Broader p50/p95 measurements, actual OIDC/recovery rehearsal, GHCR historical inspection and the other release-train follow-ups in this issue remain open. Latest main's compact run is in progress at this update: https://github.com/jimhoyd-com/urlcode/actions/runs/35482828280.
jimhoyd commentedon Sep 20, 2026
Actions inventory audit follow-up (September 19):
No additional workflow was disabled or protection weakened by this audit. Financial account details are intentionally omitted from this public issue.
jimhoyd commentedon Sep 20, 2026
Implementation is in #194; required checks are running on
72913bbed67e518bbd1fc1d5c92adc770dc33ab6.Delivered:
npm run ci:history -- LIMIT YYYY-MM-DD, with event/lane/matrix groups, p50/p95, execution minutes, observed scheduling waits, per-step timings, failure counts and insufficient-sample flags. Exercised against 100 real runs; new compact main has only one qualifying sample (6m48s, 43.2 execution minutes). Do not fill the acceptance sample with redundant dispatches.openAuthStorecalledworker.terminate()without awaiting it before rejecting, leaving the SQLite handle briefly live. The fix awaits termination and preserves the error. A deterministic test fails against the original implementation and passes with the fix; an auth patch Changeset is included. Failing evidence: https://github.com/jimhoyd-com/urlcode/actions/runs/35483482948/job/106005433636.Initial local profiling also identifies repeated CLI/project loading as a target: the explain/runtime agreement case took 15.57s, compliance CLI 10.18s and sitemap rejection/limits 9.46s. These are local case timings, not hosted per-file shard weights. No test coverage was removed based on them.
Remaining acceptance is explicit in
docs/CI-FOLLOWUP-2026-09-19.md: organic 20-run samples, dependency selection/release-intent design, a separate decision on core relocation, and actual authorized OIDC/retry proof. Historical GHCR inspection could not proceed: anonymous access returned 403 and the package API requiresread:packages, absent from this credential. No images or publication settings changed. Keep this issue open.jimhoyd commentedon Sep 20, 2026
Merged #194 as
cb92cf77d76a444fc3430844169aa4067d95b592.All required checks and CodeQL passed on the tested head: https://github.com/jimhoyd-com/urlcode/actions/runs/35484030531. Windows workspaces passed in 3m36s, Windows core in 6m59s. Full local verification: 856 passed, one existing TLS skip. Packed installation/starter/cookbook checks and four-package consumer rehearsal passed. The full pinned Linux candidate path also passed; no package was published.
The contributor-guidance sweep, credential-first eval setup, reproducible timing report, four-package candidate preparation, and rejected-auth-initialization worker cleanup fix are delivered. The concurrent auth 0.1.0-alpha.5 release bump was included before final validation.
Keep #185 open for 20 organic successful samples per new lane, dependency-aware selection/release-intent enforcement decisions, and explicitly authorized OIDC/retry proof. Core relocation was evaluated as a separate higher-risk migration, not needed for the current optimization. GHCR historical verification still needs package-read access; inherited organization publication variables could not be inspected. The distinct Windows startup timeout is tracked in #202 and remains unproven rather than silently dismissed after this passing run.
jimhoyd commentedon Sep 20, 2026
Measurement decision is now complete and recorded in the issue body with refreshed samples. The 20-per-lane count is no longer a blocker. Keep the compact routine matrix and full release matrix; prioritize #207 for the remaining prose/main classification waste. Release recovery/GHCR proof and separately listed implementation follow-ups remain open.
jimhoyd commentedon Sep 20, 2026
The maintainer explicitly authorized publishing core, UI, auth and admin as
0.4.0-alpha.3. This release is complete, from commit72d004bef4212342e30527685131dbc5c6688a9d(PR #216).Evidence:
Verified all four npm versions, alpha pointers, unchanged latest pointers, tags at the identical source SHA, prerelease GitHub releases, published tarball SHA-512 matches, and GitHub provenance. A fresh external consumer installed all four exact versions from npm, passed npm ls --all, loaded every public export, and generated the auth/admin/UI scaffold. The standalone starter passed validation, request tests, audit (10/10) and benchmark (50/50). npm propagation briefly exposed the admin version endpoint before npm install could resolve it; a fresh-cache retry succeeded.
OIDC publication is demonstrated. Retained-artifact retry acceptance is NOT complete: a deliberate rerun of the original core run returned no retained artifacts and started rebuilding. I cancelled attempt 2 before publication. #223 records evidence and the missing fail-closed behavior. The successful original publication and immutable releases remain intact. Do not rerun these release workflows until the missing-artifact recovery behavior is addressed.
GHCR publication was skipped by the existing workflow condition; no container image was published or historical GHCR state verified. These checks are not a security assessment or deployment/soak/recovery proof.
jimhoyd commentedon Sep 20, 2026
Problem or use case
Build/deployment efficiency review at ea05148. Adding to the existing optimization issue rather than opening a duplicate. This is a source/workflow audit with hosted step timing evidence, not an implemented optimization or measured before/after comparison.
Evidence: verify run https://github.com/jimhoyd-com/urlcode/actions/runs/35489862739 and candidate https://github.com/jimhoyd-com/urlcode/actions/runs/35489873917.
Proposed behavior and alternatives
Prioritize single-pass UI styles and deduplicated docs checks, then candidate installation/cache work. Profile repeated CLI/project setup and packed-consumer test execution for larger wall-time gains before adding shards or changing coverage. Keep platform coverage and deliberate build-fidelity double builds; repeated builds on different OS/Node versions provide compatibility evidence and cost little in this sample.
No development runtime leak was found in the inspected production path: Docker sets NODE_ENV=production, prunes dev dependencies, and executes dist/cli.js serve; UI CSS is minified. Development export conditions are used by source tests. TypeScript is intentionally a runtime dependency for build-typescript (src/typescript-authoring.ts), not an accidentally shipped dev dependency. Auth/admin peer-floor rebuilds are isolated validation and do not replace signed published bytes.
No workflows, packages, tags, deployment settings or required checks changed during this audit.
jimhoyd commentedon Sep 20, 2026
Release smoothing implementation is merged in #225 and #228. Both PRs passed their required checks before merge; no bypass, version-tag edits or new package publication occurred.
Implemented:
Local evidence: the disposable Docker builder passed 895 tests (Ruby unavailable and existing TLS coverage skips), package-installation checks and local operational drills. After repairing the exposed scaffold ordering, the final train phase verified all four actual archives, peer tree, imports, combined scaffold and Homebrew formula. The final scaffold change also passed focused tests, lint/typecheck and hosted OS CI.
The first hosted rehearsal exposed missing Git in the slim test builder (run 35489073335); #228 installs Git in that disposable builder. Runtime images and npm packages gain no Git dependency.
Hosted proof: signed candidate https://github.com/jimhoyd-com/urlcode/actions/runs/35489873917 passed on exact merged commit
ea051487fdff8f56d174ddc49239c2fc37a943af. The realverifyCandidateRunhelper then downloaded all nine files, verified their identities/checksums and GitHub attestations against the candidate workflow and exact source, and returned manifest SHA25674f5a0e146ffb03e3ce160b1a274ce284418a1ef71089d94c3a1ccdf9e7842aefor candidate run35489873917. No registry writes or release tags were created.Limitations: the new publisher's actual OIDC/promotion and retained/durable recovery during partial publication still need the next explicitly authorized release. Existing alpha.3 OIDC publication was demonstrated earlier, but its immutable workflow source cannot gain these fixes. GHCR was not published or revalidated. This is not deployment/soak/recovery or independent security proof; other follow-ups in this issue remain open.
jimhoyd commentedon Sep 20, 2026
Split the build/deployment efficiency audit into focused follow-ups at the maintainer request: #230 (UI styles), #231 (duplicate docs checks), #232 (candidate dependency installation/cache), #233 (tested container digest promotion), #234 (CLI/test setup profiling), and #235 (low-priority payload/storage measurement). #234 extracts the existing profiling item here rather than establishing a separate competing investigation. Complete signed-bundle recovery and platform/reproducibility coverage remain requirements; no implementation or publication changes made.
jimhoyd commentedon Sep 20, 2026
Stable 0.4.1 release completed from commit
736365e59fc691013caaece368350d5b11dade1f(PR #236). Core, UI, auth and admin all publish0.4.1on npmlatest; their historicalalphapointers remain0.4.0-alpha.3. All four annotated immutable tags dereference to the same commit and pin candidate run35491237703plus its manifest digest. Exact-commit full validation passed in run35491232642. Publisher runs succeeded: core35491614332, UI35491774409, auth35491870622, admin35492034636. The coordinator verified each tarball and then installed all four exact versions in a fresh consumer, checked the peer tree/public imports, and generated the UI/auth/admin scaffold. Starter PR jimhoyd-com/urlcode-template#13 passed Ubuntu/macOS/Windows checks and merged at24795d1d7b8d33f58e0668da1f3ab40ec50e52b1, pinning core 0.4.1. GitHub Latest is stable corev0.4.1. GHCR remained skipped by its existing publication condition. npm propagation briefly exposed admin metadata before a fresh-cache install resolved it; the coordinator stopped safely and resumed without rebuilding or republishing.Reconcile readiness register, roadmap and open decisions with current…
Reconcile readiness register, roadmap and open decisions with current…