Skip to content

test(scripts): cover promotion body scripts - #369

Open
kubestellar-hive[bot] wants to merge 3 commits into
mainfrom
quality/test-render-pr-body-gate-section
Open

test(scripts): cover promotion body scripts#369
kubestellar-hive[bot] wants to merge 3 commits into
mainfrom
quality/test-render-pr-body-gate-section

Conversation

@kubestellar-hive

Copy link
Copy Markdown

Test Improvement

Adds direct unit coverage for top-level scripts/render_pr_body.py and scripts/render_gate_section.py, which were previously bypassed because tests imported the action copies under .github/actions/.

Verification

  • python -m pytest tests/ -q --ignore=tests/bats --cov=bootc-build/chunka --cov=bootc-build/create-release/scripts --cov=scripts --cov-report=term-missing --cov-fail-under=75

Filed by quality agent (hold-gated mode). Human review required.

kubestellar-hive Bot and others added 2 commits July 30, 2026 19:22
Add focused pytest coverage for scripts/check-consumer-contract.py CLI behavior:\n- violation stderr output and non-zero return\n- verbose branch output assertions\n- warn branch when inputs are unparseable\n- import-time PyYAML dependency failure\n\nAssisted-by: GPT-5.3-Codex via GitHub Copilot\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Signed-off-by: kubestellar-hive[bot] <kubestellar-hive[bot]@users.noreply.github.com>
Assisted-by: Claude Sonnet 4.6 via GitHub Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: kubestellar-hive[bot] <kubestellar-hive[bot]@users.noreply.github.com>
@kubestellar-hive
kubestellar-hive Bot requested review from castrojo and p5 as code owners July 31, 2026 01:29
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Explain sys.path ordering when scripts and .github/action copies share module names, and recommend explicit importlib path loading for attribution-safe regression tests.

Assisted-by: Claude Sonnet 4.6 via GitHub Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: kubestellar-hive[bot] <kubestellar-hive[bot]@users.noreply.github.com>
@clubanderson

Copy link
Copy Markdown
Contributor

Follow-up for hold-gated quality workflow:

I could not apply the hold label via API from this session token (403 Must have admin rights to Repository). Please apply hold during review triage.

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