CI: Establish source-first quality gate and simplify pipeline flow #71
Reference in New Issue
Block a user
Delete Branch "feature/issue-60-source-fast-check-lane"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR establishes a deterministic source-level quality gate before any build promotion and removes redundant post-build quality checks.
The new flow makes local developer workflow and CI behavior align:
What Changed
1. Added a source-first quality gate
.gitea/workflows/cicd-source-checks.yamlbackendviauv,frontendviayarn)pre-commit --all-filesas the quality smoke test2. Updated pipeline routing
cicd-start.yamlnow dispatches the source gate first.cicd-start.yamlpush trigger now includes all branches so feature branches run the same gate.3. Removed redundant checks workflow
.gitea/workflows/cicd-checks.yaml.gitea/workflows/docker-build-main.yamlnow dispatchescicd-tests.yamldirectly after successful main build.4. CI check-only behavior vs local auto-fix behavior
Updated
.pre-commit-config.yamlso hooks that can auto-fix behave as:Applied to:
ruff/ruff-formateslintprettiertsdoc-lintmarkdownlintpretty-format-tomlThis keeps CI as a true smoke validation of local pre-commit compliance.
5. Renovate workflow hardening
.gitea/workflows/renovate.ymlWhy
New Effective CI Flow
cicd-start.yamlcicd-source-checks.yaml(pre-commit smoke gate)docker-build-base.yaml/docker-build-main.yamlcicd-tests.yamlAcceptance Criteria Mapping (Issue #60)
Notes