Skip to content

ci: export a minimal cache for API builds - #497

Merged
Medformatik merged 2 commits into
mainfrom
chore/api-docker-cache-policy
Oct 17, 2026
Merged

Medformatik merged 2 commits into
mainfrom
chore/api-docker-cache-policy

Conversation

@Medformatik

@Medformatik Medformatik commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

API builds now export a minimal cache (mode=min) in PR validation and trusted image builds. Other image targets keep max.

In the two-replicate comparison, cold export median fell from 344s to 59s. Mean worker time per cold → unchanged → source-only chain fell from 685.5s to 440s. These controlled measurements do not establish an overall CI speedup. The developer guide records the results, trade-offs and follow-up measurements needed.

Remove the temporary benchmark workflow, composite action, collector and tests from #496 now that the comparison is complete. Keep a concise record of the results and cache policy in the developer guide.

Related work

Continues #496 and the approved repository-readiness CI work.

Verification

Checks recorded during the original PR:

  • Qualification: nine builds passed; repeated comparison: all 18 builds and report passed at the same revision/toolchain.
  • 97 focused CI/release tests and infrastructure validation passed after removing the benchmark.
  • Docs production build, typecheck and formatting passed; no references to the removed tooling remain.
  • pnpm verify:full passed: lint, workspace types, policy, OpenAPI and 19,693 tests (186 expected skips).

Release and upgrade impact

Only API Docker builds switch to minimal cache export; other image targets retain max. Temporary #496 tooling is removed.

@Medformatik Medformatik added documentation Documentation content, tooling or workspace dependencies ci Continuous integration and GitHub Actions changes labels Oct 17, 2026
@Medformatik Medformatik self-assigned this Oct 17, 2026
@Medformatik
Medformatik merged commit f7e166b into main Oct 17, 2026
28 checks passed
@Medformatik
Medformatik deleted the chore/api-docker-cache-policy branch October 17, 2026 18:19
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 17, 2026
@Medformatik Medformatik added the docker Container images and Docker build or deployment tooling label Oct 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Continuous integration and GitHub Actions changes docker Container images and Docker build or deployment tooling documentation Documentation content, tooling or workspace dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant