Skip to content

ci(python-cli): use the standard heavy-CI deferral notice for fork PRs - #19780

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
kduailabs:fix/python-cli-deferral-notice
Oct 9, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
kduailabs:fix/python-cli-deferral-notice

Conversation

@kduailabs

@kduailabs kduailabs commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

What

#19729 standardized the heavy-CI deferral surface across the ci-tier workflows to emit an annotation plus a summary line:

notice='fork PR — a maintainer adds label ci:full, then Re-run all jobs'
echo "::notice title=Heavy CI deferred::$notice"
echo "Heavy CI deferred: $notice" >> "$GITHUB_STEP_SUMMARY"

It landed in backend-unit-tests.yml, backend-hermetic-e2e.yml, desktop-swift-ci.yml and mobile-app-checks.yml (and is pinned by test_workflow_contracts.py / test_desktop_swift_ci_contract.py / .github/actions/ci-tier/test_resolve.py), but python-cli-ci.yml still writes the pre-refactor message and emits no annotation. A fork PR touching sdks/python-cli/** therefore gets a different (worse) deferred signal from the checks UI than every sibling workflow.

Fix

Use the same notice + summary lines in the python-cli-ci deferral step (Linux tests still run; only the Windows ACL job is skipped), and add a contract assertion pinning it.

Verification

backend/tests/unit/test_workflow_contracts.py::test_python_cli_fork_deferral_uses_the_standard_notice passes.

Failure-Class: none

Review in cubic

@kduailabs

Copy link
Copy Markdown
Contributor Author

Bounty proposal for this fix: #19781 ($25 proposed).

@Git-on-my-level Git-on-my-level added workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior docs-tooling Layer: Documentation, examples, dev tools labels Sep 29, 2026
@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @kduailabs — verified end to end at the head commit.

  • .github/workflows/python-cli-ci.yml: the "Explain deferred Windows coverage" step now emits the exact ::notice title=Heavy CI deferred::$notice annotation + Heavy CI deferred: … summary line standardized in ci: report deferred fork checks and superseded deploys as non-failures #19729 — byte-identical to the pattern in backend-unit-tests.yml, mobile-app-checks.yml, and backend-hermetic-e2e.yml. Permissions, triggers, and the windows-acl full-CI gate are untouched.
  • backend/tests/unit/test_workflow_contracts.py: the new test_python_cli_fork_deferral_uses_the_standard_notice pins both lines and the removal of the old deferred: fork PR — string, consistent with the neighboring contract tests. Backend unit suite, Formatting, and Hygiene all pass.

Nice catch closing the consistency gap from #19729 — this is exactly the kind of small, well-pinned cleanup that's easy to merge. Since it touches CI workflow files, leaving the merge call to a human maintainer (one is already requested); no concerns from my side.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added the positive-signal Automation verified a genuine fix/quality contribution label Sep 30, 2026
@Git-on-my-level
Git-on-my-level merged commit 9fe97df into BasedHardware:main Oct 9, 2026
64 of 65 checks passed
Git-on-my-level added a commit that referenced this pull request Oct 9, 2026
Gate PyPI publishes and CI on a clean venv install of every built wheel + sdist, cross-checking the CLI's printed version against the artifact's own metadata.

Based on #13416 by @moon1ight13089703-cmyk — rebased onto the post-#19780 workflow, preserving their commit authorship. Fixes the class of release where omi-cli 0.2.3 shipped without its runtime click dependency while dev-extra installs masked it.

Review hardening (Luna / gpt-6-luna): Python 3.11 added to the smoke matrix (stdlib tomllib path), venv cleanup trap + Windows omi.exe fallback in the script, publish-workflow path triggers, ci-budget inventory refresh.

Co-authored-by: moon1ight13089703-cmyk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-tooling Layer: Documentation, examples, dev tools positive-signal Automation verified a genuine fix/quality contribution workflow-review Needs maintainer review for workflow, automation, hooks, or CI behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants