Skip to content

ci(quality): scitex-io simple template — audit target = scitex (stop CI flood)#325

Open
ywatanabe1989 wants to merge 1 commit into
mainfrom
chore/quality-workflow-template-fix
Open

ci(quality): scitex-io simple template — audit target = scitex (stop CI flood)#325
ywatanabe1989 wants to merge 1 commit into
mainfrom
chore/quality-workflow-template-fix

Conversation

@ywatanabe1989

Copy link
Copy Markdown
Owner

Summary

Stops the daily nightly cron CI-red email from this repo's broken quality workflow.

The umbrella's scitex-quality-audit-on-ubuntu-latest.yml workflow body shallow-cloned the entire ecosystem and ran scripts/quality/audit_ecosystem.py — both of which live only in scitex-dev, not in this umbrella source tree. The template was copied from scitex-dev verbatim and was always broken on this repo (the registry-load step fails because scitex/src/scitex/ecosystem.py does not exist).

Fix: replace with the scitex-io-style simple form — run scitex-dev ecosystem audit-all scitex --no-version-check (same audit tests/develop/test_audit.py::test_audit_all_clean runs internally, but standalone). Removes the dependency on scitex-dev's internal layout, which has shifted twice (0.11.0, 0.17.0).

Note the audit target is scitex (the umbrella package), not the repo name scitex-python.

Test plan

  • CI quality workflow turns green on this PR.
  • Daily nightly cron stops emailing the operator about umbrella quality failures.

Notes

…simple form (stop CI flood)

The umbrella's `scitex-quality-audit-on-ubuntu-latest.yml` workflow
shallow-cloned the entire ecosystem and ran
`scripts/quality/audit_ecosystem.py` — both of which live only in
scitex-dev, not in the umbrella source tree. The template was copied
from scitex-dev verbatim and was always broken on this repo (the
registry-load step fails because `scitex/src/scitex/ecosystem.py`
does not exist).

Replace with the scitex-io-style simple form:
  - checkout
  - setup-python 3.12
  - `pip install -e ".[dev]" && pip install "scitex-dev[cli-audit]"`
  - `scitex-dev ecosystem audit-all scitex --no-version-check`

That's exactly the audit that the test suite runs internally via
`tests/develop/test_audit.py::test_audit_all_clean`, but standalone so
an audit regression is visible even when the matrix is skipped — and
it doesn't depend on file-paths inside scitex-dev that have shifted
twice (0.11.0 → _ecosystem/_core.py, 0.17.0 → _ecosystem/_registry.py).

Library-side fix shipped in scitex-dev 0.17.8. Sibling PRs landing
across the consumer fleet with the same broken template.

operator-SSoT repo — opening PR, NOT merging.
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