Skip to content

ci: add CI workflow + clear ruff backlog#6

Merged
zenprocess merged 2 commits into
mainfrom
ci-and-lint-cleanup
Apr 8, 2026
Merged

ci: add CI workflow + clear ruff backlog#6
zenprocess merged 2 commits into
mainfrom
ci-and-lint-cleanup

Conversation

@zenprocess

Copy link
Copy Markdown
Owner

Two things in one PR.

1. New .github/workflows/ci.yml

Three jobs run on every push and PR:

  • lintruff check + ruff format --check
  • test — pytest matrix on Python 3.10 / 3.11 / 3.12
  • leak-guard — regex scan for editable-install pseudo-pins, host paths, API keys, and private keys

2. Cleared 19 ruff issues

  • 17× F401 (unused imports)
  • 2× F841 (unused locals)
  • ran ruff format across afterburn/ and tests/

84 tests still pass.

Why

afterburn previously had no CI configured. The leak-guard job is the same drop-in template the other ecosystem repos (cacp, standra, axiom) are getting in parallel — it catches the kind of /home/<user>/ leakage we found in the recent ecosystem audit.

Test plan

  • pytest tests/ — 84 passing
  • ruff check afterburn/ tests/ — clean
  • ruff format --check afterburn/ tests/ — clean
  • CI lint job green
  • CI test (3.10/3.11/3.12) green
  • CI leak-guard green

Val Vladescu added 2 commits April 8, 2026 15:53
Two things in one PR:

1. New .github/workflows/ci.yml with three jobs:
   - lint: ruff check + ruff format --check
   - test: pytest matrix on Python 3.10/3.11/3.12
   - leak-guard: regex scan for editable-install pseudo-pins, host paths,
     API keys, and private keys; runs on every push and PR

2. Cleared 19 ruff issues from existing source (17 F401 unused imports
   + 2 F841 unused locals, all auto-fixed). Ran ruff format. 84 tests
   still pass.

afterburn previously had no CI configured. The leak-guard job is the
same drop-in template the other ecosystem repos (cacp, standra, axiom)
are getting in parallel — it catches the kind of /home/<user>/ leakage
we found in the recent ecosystem audit.
@sonarqubecloud

sonarqubecloud Bot commented Apr 8, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@zenprocess zenprocess merged commit 98a05c8 into main Apr 8, 2026
5 of 6 checks passed
@zenprocess zenprocess deleted the ci-and-lint-cleanup branch April 8, 2026 13:01
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