fix: address sync review source context regressions - #1957
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Automated Status SummaryHead SHA: aae9aaf
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeSync/Dependabot Campaign QueueRemote GitHub Actions owns discovery for sync-generated and Dependabot PR rounds. Local Codex should only claim items from this issue when SummaryContext for AgentRelated Issues/PRs
Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
Fixes regressions in PR source-context and PR-body-sync behavior so legacy “human-only” opt-out wording is recognized again, and issue-number heuristics keep PRs on the issue-backed body-sync path even when a non-issue workflow-source marker exists. Also updates the consumer template copies for the touched scripts.
Changes:
- Restore legacy “Human-only / Human only” detection as a no-automation signal in source context parsing.
- Change non-issue body-sync gating to always yield to any detected issue number (including branch/title/body-inferred).
- Update and adjust unit tests to cover the restored legacy wording and the new body-sync precedence behavior.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
templates/consumer-repo/.github/scripts/source_context.js |
Extends no-automation checkbox detection to include legacy “human-only” wording in the consumer template copy. |
templates/consumer-repo/.github/scripts/agents_pr_meta_update_body.js |
Makes explicit non-issue workflow-source markers stop skipping issue-backed body sync whenever an issue number is present (template copy). |
.github/scripts/source_context.js |
Extends no-automation checkbox detection to include legacy “human-only” wording. |
.github/scripts/agents_pr_meta_update_body.js |
Ensures explicit non-issue markers do not override issue-number-based body-sync behavior. |
.github/scripts/__tests__/source-context.test.js |
Adds a regression test for legacy “Human-only” no-automation wording. |
.github/scripts/__tests__/agents-pr-meta-update-body.test.js |
Updates expectations/tests to reflect the new precedence rules (issue number wins). |
|
Closer update: reviewed the latest consumer sync review threads and updated this existing Workflows follow-up PR rather than opening a duplicate. The common blockers were the synced consumer label guide drifting from active labels, verifier-mode aggregation edge cases, and the existing body-sync positive test gap. Targeted validation passed locally: |
Provider Comparison ReportProvider Summary
📋 Full Provider Details (click to expand)openai
anthropic
Agreement
DisagreementNo major disagreements detected. Unique Insights
🔍 LangSmith Traces |
Related to campaign issue #1836
Automated Status Summary
Scope
Sync/Dependabot Campaign Queue
Remote GitHub Actions owns discovery for sync-generated and Dependabot PR rounds. Local Codex should only claim items from this issue when
needs-local-codexwork is queued.Summary
Context for Agent
Related Issues/PRs
Tasks
Acceptance criteria
sync/workflows-76ebdcce08bb(cff20c3e7db3)Head SHA: ef3879c
Latest Runs: ⏹️ cancelled — Gate
Required: gate: ⏹️ cancelled