Skip to content

CI: skip backend pipeline for frontend-only pull requests - #69

Closed
hotzenplotz5 wants to merge 1 commit into
mainfrom
ci/skip-backend-for-frontend-only
Closed

CI: skip backend pipeline for frontend-only pull requests#69
hotzenplotz5 wants to merge 1 commit into
mainfrom
ci/skip-backend-for-frontend-only

Conversation

@hotzenplotz5

Copy link
Copy Markdown
Owner

Summary

  • classify pull request changes before scheduling expensive jobs
  • keep full CI for pushes and every PR touching files outside web/frontend/
  • skip Make audit, C++ fast regression, daemon build, packaging and install staging for frontend-only PRs
  • keep docs and frontend regression checks for frontend-only PRs
  • use the Node runtime already present on GitHub-hosted runners instead of running apt-get update and reinstalling Node
  • preserve full CI for workflow, build, backend, packaging and mixed changes

Safety model

A PR is considered frontend-only only when every changed file is below web/frontend/. Any other path sets full_ci=true.

Push events always run the full pipeline.

This PR itself changes .github/workflows/ci.yml, so it must and should run the complete pipeline before merge.

Expected effect

Future frontend-only PRs should complete after change classification, docs checks and frontend-regression-test, while the expensive C++/daemon/packaging chain reports skipped.

Copy link
Copy Markdown
Owner Author

Closing as stale/not planned in this form. The current CI has evolved substantially (including architecture checks and newer security/media gates), so a frontend-only skip policy must be redesigned against today's workflow rather than merging this historical one-file branch. If CI cost becomes a priority, it should be a fresh maintenance change with current-path coverage.

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.

1 participant