Skip to content

refactor(ci): extract shared test suite, trim CodeQL, add timeouts#3

Merged
homelabforge merged 3 commits into
mainfrom
claude/shared-workflows-review-nISPF
May 28, 2026
Merged

refactor(ci): extract shared test suite, trim CodeQL, add timeouts#3
homelabforge merged 3 commits into
mainfrom
claude/shared-workflows-review-nISPF

Conversation

@homelabforge

Copy link
Copy Markdown
Owner

Extract the backend/frontend/e2e/api-freshness matrix into an internal
_python-react-tests.yml building block called by both python-react-ci.yml
and python-react-publish.yml, removing ~150 lines of duplicated job YAML
and the CI/publish drift it caused. A skipped optional inner job no longer
fails the shared tests job, so publish's docker/release gates simplify to
plain needs: (the always()/result guards are gone).

Trim CodeQL: drop the per-language toolchain setup and dependency-install
steps (build-mode: none scans source only; Python dependency install has
had no effect on results since CodeQL 2.16), wire build-mode through to
init, and lower the analysis timeout from 360 to 45 minutes.

Add explicit timeout-minutes to the frontend, api-freshness,
docker-build-test, and publish docker/release jobs (previously defaulted
to the 6-hour ceiling); lower backend pytest's inner timeout 25m -> 20m.

No consumer-facing input or behavior change.

claude and others added 3 commits May 28, 2026 18:36
Extract the backend/frontend/e2e/api-freshness matrix into an internal
_python-react-tests.yml building block called by both python-react-ci.yml
and python-react-publish.yml, removing ~150 lines of duplicated job YAML
and the CI/publish drift it caused. A skipped optional inner job no longer
fails the shared tests job, so publish's docker/release gates simplify to
plain needs: (the always()/result guards are gone).

Trim CodeQL: drop the per-language toolchain setup and dependency-install
steps (build-mode: none scans source only; Python dependency install has
had no effect on results since CodeQL 2.16), wire build-mode through to
init, and lower the analysis timeout from 360 to 45 minutes.

Add explicit timeout-minutes to the frontend, api-freshness,
docker-build-test, and publish docker/release jobs (previously defaulted
to the 6-hour ceiling); lower backend pytest's inner timeout 25m -> 20m.

No consumer-facing input or behavior change.
… repos

pg-migrations regained `needs: [tests]`. The test-suite extraction dropped
its gate entirely (it could no longer reference the now-encapsulated
test-backend job), so PG migration tests ran even when backend lint/type/
unit tests had already failed.

Correct the CHANGELOG: the refactor's "no consumer-facing behavior change"
claim was wrong on two counts — the test-job check contexts are renamed to
`ci / tests / *` (breaks branch protection until required-check contexts are
updated) and publish now gates the image on E2E. Add a Migration section and
a README "Required status checks" section documenting the new naming.

Remove all private-repo names (collectionsync, myhealth, myfinances) from the
public README and CHANGELOG — no reason to disclose private repos in a public
repo where they're inaccessible anyway.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Move the Unreleased entries under the 1.4.0 header for the release tag.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@homelabforge homelabforge merged commit 875ef88 into main May 28, 2026
1 check passed
@homelabforge homelabforge deleted the claude/shared-workflows-review-nISPF branch May 28, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants