Skip to content

fix: carry forward sync review followups - #2117

Merged
stranske merged 2 commits into
mainfrom
codex/review-followups-current
May 14, 2026
Merged

fix: carry forward sync review followups#2117
stranske merged 2 commits into
mainfrom
codex/review-followups-current

Conversation

@stranske

Copy link
Copy Markdown
Owner

Summary

Validation

  • python -m pytest tests/scripts/test_sync_test_dependencies.py tests/scripts/test_sync_test_dependencies_mapping.py -q
  • node --test .github/scripts/tests/keepalive-orchestrator-gate-runner.test.js
  • python scripts/validate_template_sync.py
  • python scripts/validate_template_completeness.py
  • git diff --check

Supersedes #1994 for the stdlib dependency fix and addresses the remaining actionable #1985 mutation-test review comment.

Copilot AI review requested due to automatic review settings May 14, 2026 23:42
@stranske
stranske temporarily deployed to agent-standard May 14, 2026 23:43 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR carries forward sync dependency follow-ups and hardens the keepalive draft-ready mutation test while keeping repo and consumer template scripts aligned.

Changes:

  • Uses runtime stdlib inventory plus fallback module names in sync dependency scripts.
  • Adds/updates regression coverage for stdlib imports and jwtPyJWT mapping.
  • Strengthens GraphQL mutation brace-balance validation in the keepalive gate runner test.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/sync_test_dependencies.py Updates stdlib module detection to combine runtime inventory with fallback names.
templates/consumer-repo/scripts/sync_test_dependencies.py Mirrors the repo sync dependency script changes for consumers.
tests/scripts/test_sync_test_dependencies.py Expands missing-dependency regression coverage for stdlib imports and jwt.
tests/scripts/test_sync_test_dependencies_mapping.py Updates mapping tests for jwt and stdlib module presence.
.github/scripts/__tests__/keepalive-orchestrator-gate-runner.test.js Hardens ready-for-review mutation brace validation.


assert module.MODULE_TO_PACKAGE["pptx"] == "python-pptx"
assert module.MODULE_TO_PACKAGE["jwt"] == "PyJWT"
assert {"html", "http", "secrets"}.issubset(module.STDLIB_MODULES)
@stranske-keepalive

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 4209cf6
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.12): ⏳ pending, core tests (3.13): ⏳ pending, docker smoke: ⏳ pending, gate: ⏳ pending

Workflow / Job Result Logs
(no jobs reported) ⏳ pending

Coverage Overview

  • Coverage history entries: 1

Coverage Trend

Metric Value
Current 93.12%
Baseline 85.00%
Delta +8.12%
Minimum 70.00%
Status ✅ Pass

Top Coverage Hotspots (lowest coverage)

File Coverage Missing
src/cli_parser.py 81.8% 4
src/percentile_calculator.py 95.0% 1
src/aggregator.py 95.0% 2
src/__init__.py 100.0% 0
src/ndjson_parser.py 100.0% 0

Updated automatically; will refresh on subsequent CI/Docker completions.


Keepalive checklist

Scope

No scope information available

Tasks

  • No tasks defined

Acceptance criteria

  • No acceptance criteria defined

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.

2 participants