Skip to content

Harden sync review runtime and bot auth contracts - #1843

Merged
stranske merged 2 commits into
mainfrom
codex/weekly-metrics-node-setup
Apr 25, 2026
Merged

stranske merged 2 commits into
mainfrom
codex/weekly-metrics-node-setup

Conversation

@stranske

@stranske stranske commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Source: Issue #1836

Automated Status Summary

Scope

Sync/Dependabot Campaign Queue

Remote discovery found more review-thread work than fits in a full GitHub issue body. The marker below retains the compact machine-readable queue for the local watcher.

Context for Agent

Related Issues/PRs

Tasks

  • Updated: 2026-04-25T19:21:12.563Z
  • Repos checked: 11/11
  • Open sync PRs: 102
  • Open Dependabot PRs: 0
  • Active review threads queued: 156
  • Items needing local Codex: 74

Acceptance criteria

  • Acceptance criteria section missing from source issue.

Head SHA: 8a896e5
Latest Runs: ✅ success — Gate
Required: gate: ✅ success

Workflow / Job Result Logs
Gate ✅ success View run
Health 40 Sweep ✅ success View run
Health 44 Gate Branch Protection ✅ success View run
Health 45 Agents Guard ✅ success View run
Health 50 Security Scan ✅ success View run
Health 72 Template Sync ✅ success View run
Health 73 Template Completeness ✅ success View run
Health 74 Template Drift ✅ success View run
Maint 52 Validate Workflows ✅ success View run
PR 11 - Minimal invariant CI ✅ success View run
Selftest CI ✅ success View run
Validate Sync Manifest ✅ success View run

@stranske stranske added reliability Synthesized from ChatGPT import for reliability automated Automatically created issue codex labels Apr 25, 2026
Copilot AI review requested due to automatic review settings April 25, 2026 19:19
@agents-workflows-bot

agents-workflows-bot Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Automated Status Summary

Head SHA: 4ea5ba4
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

Sync/Dependabot Campaign Queue

Remote discovery found more review-thread work than fits in a full GitHub issue body. The marker below retains the compact machine-readable queue for the local watcher.

Context for Agent

Related Issues/PRs

Tasks

  • Updated: 2026-04-25T19:21:12.563Z
  • Repos checked: 11/11
  • Open sync PRs: 102
  • Open Dependabot PRs: 0
  • Active review threads queued: 156
  • Items needing local Codex: 74

Acceptance criteria

  • Acceptance criteria section missing from source issue.

@stranske
stranske force-pushed the codex/weekly-metrics-node-setup branch from 64bea27 to 6d867f0 Compare April 25, 2026 19:21
@agents-workflows-bot

agents-workflows-bot Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

🤖 Keepalive Loop Status

PR #1843 | Agent: Codex | Iteration 0/5

Current State

Metric Value
Iteration progress [----------] 0/5
Action wait (missing-agent-label)
Disposition skipped (transient)
Gate success
Tasks 0/7 complete
Timeout 45 min (default)
Timeout usage 4m elapsed (10%, 41m remaining)
Keepalive ❌ disabled
Autofix ❌ disabled

🔍 Failure Classification

| Error type | infrastructure |
| Error category | resource |
| Suggested recovery | Confirm the referenced resource exists (repo, PR, branch, workflow, or file). |

@agents-workflows-bot

agents-workflows-bot Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor
Keepalive Work Log (click to expand)
# Time (UTC) Agent Action Result Files Tasks Progress Commit Gate
0 2026-04-25 19:21:59 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 19:23:00 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 19:23:45 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 19:26:13 Codex wait (missing-agent-label-transient) skipped 0 0/7 cancelled
0 2026-04-25 19:28:53 Codex wait (missing-agent-label-transient) skipped 0 0/7 success

@stranske stranske changed the title Pin weekly metrics Node runtime Harden sync review runtime and bot auth contracts Apr 25, 2026

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

Pins and formalizes the Node runtime contract for the weekly metrics workflow so the repo and consumer template run the Node-based helper scripts under an explicit, stable Node 20 environment.

Changes:

  • Add an explicit actions/setup-node step (Node 20) before any npm/node usage in weekly metrics.
  • Pin actions/setup-node to the resolved v6 commit SHA in both the live workflow and the consumer template.
  • Extend the workflow invariant test to enforce the Node runtime/pinning/ordering contract.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

File Description
tests/workflows/test_workflow_agents_consolidation.py Adds invariant assertions to ensure weekly metrics uses pinned setup-node, Node 20, and correct step ordering.
templates/consumer-repo/.github/workflows/agents-weekly-metrics.yml Inserts pinned setup-node v6 SHA with Node 20 before installing Node dependencies.
.github/workflows/agents-weekly-metrics.yml Inserts pinned setup-node v6 SHA with Node 20 before installing Node dependencies.

"artifacts/metric-artifacts-selection.json" in text
), "Weekly metrics must include selector JSON in uploaded artifacts"
assert (
"uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6" in text
Comment on lines +278 to +279
assert (
'node-version: "20"' in text
Comment on lines +281 to +285
assert text.index("Setup Node") < text.index(
"Install GitHub API dependencies"
), "Weekly metrics must setup Node before installing API dependencies"
assert text.index("Setup Node") < text.index(
"node .github/scripts/weekly_metrics_artifacts.js"
@stranske
stranske temporarily deployed to agent-high-privilege April 25, 2026 19:25 — with GitHub Actions Inactive
@stranske
stranske merged commit 12efda3 into main Apr 25, 2026
72 of 73 checks passed
@stranske
stranske deleted the codex/weekly-metrics-node-setup branch April 25, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automatically created issue codex reliability Synthesized from ChatGPT import for reliability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants