Skip to content

ci(deps): sync action versions to templates - #29

Open
iamkayleb wants to merge 19 commits into
mainfrom
auto/sync-action-versions-20260329034345
Open

ci(deps): sync action versions to templates#29
iamkayleb wants to merge 19 commits into
mainfrom
auto/sync-action-versions-20260329034345

Conversation

@iamkayleb

Copy link
Copy Markdown
Owner

Automated PR to sync GitHub Action versions from .github/workflows/ to templates/.

This ensures templates stay in sync with Dependabot updates.

Updated versions:

  • actions/checkout: v6
  • actions/github-script: v8
  • actions/upload-artifact: v7
  • actions/download-artifact: v8
  • actions/cache: v5

iamkayleb and others added 19 commits March 3, 2026 03:12
The summary job's "Ensure consolidated summary comment" step crashes with
ENOENT when gate-summary.md doesn't exist. This happens because consumer
repos lack tools/post_ci_summary.py (not synced), so the "Prepare summary
body" step fails, the compose step aborts on empty body, and
gate-summary.md is never created — but the comment step runs anyway due
to if: always().

Two fixes:
1. Add fs.existsSync guard before reading gate-summary.md so the step
   skips gracefully instead of crashing (both main and template)
2. Add post_ci_summary.py, ci_failure_triage.py, and __init__.py to the
   sync manifest and consumer template so the root cause is resolved

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

Fix Gate summary job ENOENT crash in consumer repos
…t-68

The sync workflow fails on every run because REPO_TOKEN is empty when
neither OWNER_PR_PAT nor SERVICE_BOT_PAT secrets are configured. This
causes `gh repo clone` to exit with code 4 (auth required).

- Add `github.token` as final fallback so clone/read operations succeed
- Add explicit "Verify cross-repo token" step that fails early with a
  clear error message when no PAT is available for PR creation
- This prevents all 11 matrix jobs from failing with the same cryptic
  "set GH_TOKEN environment variable" error

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

fix(sync): add github.token fallback to prevent auth failures in main…
The gh pr create command in a shallow clone (--depth=1) fails with
"Head sha can't be blank, Base sha can't be blank" because it cannot
infer the base branch from the truncated git history.

Adding --base main and --repo explicitly resolves the ambiguity.

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

fix(sync): add explicit --base and --repo to gh pr create
gh pr create exits non-zero when --label references a label that
doesn't exist in the consumer repo, even though the PR itself was
created successfully. Split labels into separate gh pr edit calls
with || true so missing labels emit a warning instead of failing.

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

fix(sync): separate label application from PR creation
Consumer repos don't have .github/scripts/__tests__/*.test.js,
tests/workflows/github_scripts/, or scripts/check_issue_consistency.py.
These files only exist in the Workflows repo. Add existence checks so
the Gate workflow skips these steps gracefully instead of failing.

Fixes github-scripts-tests and issue-consistency Gate failures on
consumer repo sync PRs.

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

fix(gate): guard test and consistency steps for consumer repos
The reusable CI workflow (reusable-10-ci-python.yml) runs ruff with no
--line-length flag, so it relies on the repo's config. Without a
pyproject.toml, ruff defaults to line-length=88 while black gets
--line-length 100 from the CLI — causing false lint-ruff failures on
lines 89-100 chars.

Adds a minimal pyproject.toml to the consumer template with the same
ruff/black/isort settings as the Workflows repo. Uses sync_mode:
create_only so repos with customized configs are not overwritten.

Also adds python_config processing to the sync workflow.

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
Switch sync_mode from create_only to sync for pr-00-gate.yml and
pyproject.toml so the next sync run pushes the Gate guards and lint
config to existing consumer repos. Revert to create_only after sync.

https://claude.ai/code/session_01FC8XoyssN5v6hQCTtcjoB5
…t-D9Be2

Claude/check multi agent support d9 be2
Automated sync from .github/workflows/ to templates/

Updated versions:
- actions/checkout: v6
- actions/github-script: v8
- actions/upload-artifact: v7
- actions/download-artifact: v8
- actions/cache: v5
@iamkayleb

Copy link
Copy Markdown
Owner Author

⚠️ Action Required: Unable to determine source issue for PR #29. The PR title, branch name, or body must contain the issue number (e.g. stranske#123, branch: issue-123, or the hidden marker ).

2 similar comments
@iamkayleb

Copy link
Copy Markdown
Owner Author

⚠️ Action Required: Unable to determine source issue for PR #29. The PR title, branch name, or body must contain the issue number (e.g. stranske#123, branch: issue-123, or the hidden marker ).

@iamkayleb

Copy link
Copy Markdown
Owner Author

⚠️ Action Required: Unable to determine source issue for PR #29. The PR title, branch name, or body must contain the issue number (e.g. stranske#123, branch: issue-123, or the hidden marker ).

@iamkayleb

iamkayleb commented Mar 29, 2026

Copy link
Copy Markdown
Owner Author

Automated Status Summary

Head SHA: fe4d82d
Latest Runs: ⏳ pending — Gate
Required contexts: Gate / gate, Health 45 Agents Guard / guard
Required: core tests (3.11): ⏳ pending, core tests (3.12): ⏳ 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants