Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/sync-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,16 @@ codex_config:
description: "Agent instructions - base instructions for all Codex runs"

# Scripts required by consumer workflows
# Note: CI helper scripts (scripts/sync_test_dependencies.py, tools/resolve_mypy_pin.py)
# live in each consumer repo and are not synced; reusable workflows expect them
# to be present and repo-specific.
# Note: These scripts are synced because they're referenced by reusable workflows
# that run in the consumer repo context
scripts:
# Tools directory - Python helpers used by reusable-10-ci-python.yml

Copilot AI Dec 30, 2025

Copy link

Choose a reason for hiding this comment

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

The comment on line 96 states that tools are "used by reusable-10-ci-python.yml", but the synced workflows pr-00-gate.yml and maint-coverage-guard.yml also depend on tools/ scripts (post_ci_summary.py and coverage_guard.py respectively).

Consider updating the comment to be more general, such as "Python helpers used by reusable and consumer workflows" to accurately reflect that both reusable workflows and synced caller workflows depend on these scripts.

Suggested change
# Tools directory - Python helpers used by reusable-10-ci-python.yml
# Tools directory - Python helpers used by reusable and consumer workflows

Copilot uses AI. Check for mistakes.
- source: tools/resolve_mypy_pin.py
description: "Resolves mypy version pinning - required by reusable CI workflow"

- source: tools/coverage_trend.py
description: "Generates coverage trend summaries - required by reusable CI workflow"

Copilot AI Dec 30, 2025

Copy link

Choose a reason for hiding this comment

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

The synced workflow pr-00-gate.yml (line 29 of this manifest) references tools/post_ci_summary.py at line 472, but this script is not included in the sync manifest. Consumer repos will fail when running the Gate workflow with a "No such file or directory" error.

Add this entry to the scripts section to fix the issue.

Suggested change
- source: tools/post_ci_summary.py
description: "Posts CI summary information for Gate/Gate-adjacent workflows"

Copilot uses AI. Check for mistakes.

Copilot AI Dec 30, 2025

Copy link

Choose a reason for hiding this comment

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

The synced workflow maint-coverage-guard.yml (line 62 of this manifest) references tools/coverage_guard.py at line 175, but this script is not included in the sync manifest. Consumer repos will fail when running the coverage guard workflow with a "No such file or directory" error.

Add this entry to the scripts section to fix the issue.

Suggested change
- source: tools/coverage_guard.py
description: "Enforces coverage thresholds - required by maint-coverage-guard workflow"

Copilot uses AI. Check for mistakes.

Copilot AI Dec 30, 2025

Copy link

Choose a reason for hiding this comment

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

The reusable workflow reusable-10-ci-python.yml references scripts/sync_test_dependencies.py at lines 1511 and 1527, but this script is not included in the sync manifest. Consumer repos will fail when running CI with a "No such file or directory" error if they have undeclared test dependencies.

Add this entry to the scripts section to fix the issue.

Suggested change
- source: scripts/sync_test_dependencies.py
description: "Synchronizes Python test dependencies for CI - required by reusable CI workflow"

Copilot uses AI. Check for mistakes.

Copilot AI Dec 30, 2025

Copy link

Choose a reason for hiding this comment

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

The reusable workflow reusable-10-ci-python.yml references several additional scripts when optional features are enabled:

  • scripts/ci_metrics.py (line 1847) - needed when enable-metrics, enable-history, or enable-classification is true
  • scripts/ci_history.py (line 1867) - needed when enable-history or enable-classification is true
  • scripts/ci_coverage_delta.py (line 1898) - needed when enable-coverage-delta is true
  • scripts/coverage_history_append.py (line 1956) - needed when enable-soft-gate is true

While these features default to false, consumer repos enabling any of these features will fail with "No such file or directory" errors. Consider adding these scripts to the sync manifest to support the full feature set of the reusable workflow.

Suggested change
# Optional CI Python helpers used by reusable-10-ci-python.yml
- source: scripts/ci_metrics.py
description: "Computes and reports CI metrics - used when metrics/history/classification features are enabled"
- source: scripts/ci_history.py
description: "Manages CI history data - used when history/classification features are enabled"
- source: scripts/ci_coverage_delta.py
description: "Calculates coverage deltas between runs - used when coverage-delta feature is enabled"
- source: scripts/coverage_history_append.py
description: "Appends coverage data to history for soft gates - used when soft-gate feature is enabled"

Copilot uses AI. Check for mistakes.
# Python scripts for ChatGPT topic sync
- source: .github/scripts/decode_raw_input.py
description: "Decodes raw input from ChatGPT connector"
Expand Down
Loading