Skip to content

ci: standardise pre-commit, lint and release tooling - #18

Open
av-dev2 wants to merge 22 commits into
version-16-hotfixfrom
chore/ci-standardisation
Open

ci: standardise pre-commit, lint and release tooling#18
av-dev2 wants to merge 22 commits into
version-16-hotfixfrom
chore/ci-standardisation

Conversation

@av-dev2

@av-dev2 av-dev2 commented Aug 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

MariamMabele and others added 22 commits August 6, 2026 15:01
…e-fines-queue

fix(vehicle-sync): defer failed retries until pending queue is processed
Added comprehensive specification document for CSF TZ application, outlining goals, application model, functional domains, extension model, integration model, and development rules.
…t-tooling

chore: enforce app-owned ruff, pre-commit and frappe semgrep hooks
…-scan

ci: run frappe semgrep as a full-repo scan instead of inside pre-commit
…-install-job

ci: drop bench install job, tests run manually on the bench
…-dependency

fix: drop unused PyPDF2 dependency flagged by pip-audit
…ation/bootstrap-frappe-maintenance-version-15-hotfix

chore: add Frappe maintenance workflow
…-specfile

chore: Add CSF TZ specification document
style: apply ruff format and fix all pre-commit findings
…-hotfix

fix(settings): remove duplicate authority notification field migration
…ort-429-to-version-15-hotfix

[Backport version-15-hotfix] fix: avoid monkey patch loading during site-less builds
…ort-431-to-version-15-hotfix

[Backport version-15-hotfix] fix: add dedicated group for multicurrency bank charges
Add a pre-push hook that runs pre-commit over the whole repository, so a
push is rejected when any file is unclean. The commit hook keeps checking
staged files only.

Replace the divergent per-app setups with one shared toolchain: ruff for
lint and format, the self-contained frappe-semgrep hook, and commitlint for
commit messages. Anchor the exclude regex so .github/ is no longer skipped
by an unanchored .git pattern.

Add the pre-commit and semantic-commits workflows, and
scripts/setup-git-hooks.sh for a one-command developer bootstrap.

Remove ci.yml. Building a bench and migrating a throwaway site cost five to
eight minutes per pull request and went red for upstream and runner problems
unrelated to the change. Frappe tests continue to run locally.

Remove release.yml and .releaserc.json. tag-and-promote-from-pr-label.yml is
now the only owner of tags, releases and promotion; running semantic-release
alongside it made both tag the same version at different commits.
Mechanical reformat produced by the standardised hooks. No behaviour change.
claim_batch wrote WORKER_ID into the claimed_by field but the name was never
defined, so every claim raised NameError. The surrounding except swallowed it,
leaving the queue silently doing nothing.

claimed_by is a plain Data field, so a host and process identifier fits.
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.

4 participants