Skip to content

Fix scheduled issue triage safe-output targeting - #75229

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/scheduled-triage-comments
Nov 5, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/scheduled-triage-comments

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Why

Issue Triage Agent run 42046979401 ran on a schedule, but both label and comment outputs defaulted to target: triggering. Comments were rejected by the MCP tool, while accepted label intents for #74876 and #75081 were subsequently skipped by the safe-output handler rather than applied.

Changes

  • Opt only this workflow's label and comment outputs into explicit item targeting, with matching five-action batch limits and no pull-request write permissions.
  • Require explicit numeric item_number values for eligible issues in the current repository and explain that safe-output acceptance queues an action rather than confirming publication.
  • Keep the approved-integrity policy and existing repository/label restrictions. Remove the unsupported community output category and optional discussion suggestion.
  • Add regression assertions against the repository workflow's generated targeting configuration and regenerate its production lock.

Validation

  • make agent-report-progress passed formatting, change-scoped lint, impacted Go tests and workflow lock drift checks.
  • go test ./pkg/workflow -run '^TestIssueTriageScheduledSafeOutputTargets$' -count=1 passed.
  • Existing label/comment/MCP constraint suites passed: 285 mocked JavaScript tests.
  • make recompile compiled all 357 workflows; only this workflow's lock changed.
  • Current-repository compiler dry-run passed built-in validation, model checks and shellcheck. The diagnostic lock was preserved separately; the committed lock is the normal production lock.

Scope and remaining gaps

Issue #75115 was independently withheld by min-integrity: approved. This change does not bypass that policy or suppress missing-data failure reporting, so it does not guarantee a green conclusion when required issue data is unavailable.

No workflow dispatch/rerun, credential changes or live Actions verification occurred. Optional scanners were not run. The installed CLI's earlier dry-run attempt failed before emission because its repository-config schema did not support current aw.json; the current-repository compiler succeeded.

The initial source/lock security review passed with no confirmed vulnerabilities. A subsequent test-only workflow-identifier correction could not receive same-reviewer follow-up because the original invocation was synchronous; this review coverage gap is retained for draft review.

Opt this workflow into explicit issue targets for label and comment actions, align bounded batch limits, and retain integrity and repository restrictions. Add regression coverage for generated targeting configuration.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 5, 2026 19:12
Copilot AI adaptive review requested due to automatic review settings November 5, 2026 19:12
@pelikhan
pelikhan merged commit 53f5273 into main Nov 5, 2026
37 of 50 checks passed
@pelikhan
pelikhan deleted the pelikhan/scheduled-triage-comments branch November 5, 2026 19:13
@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~1 AIC · ⊞ 6.3K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from PR Specification Reviewer · gpt56 · ~1 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷

Generated by PR Specification Reviewer for #75229

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: opus55 medium · ~11 AIC · ⌖ ~2 AIC · ⊞ 7.7K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt56 max · ~4 AIC · ⌖ ~1 AIC · ⊞ 118 · ◷

Generated by Ponytail Reviewer for #75229

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

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.

🟢 Approval recommended

No active review issues were identified for the change enabling explicit issue targets in scheduled triage.

No open issues 🎉

What changed in this PR

Fixes scheduled issue triage in gh-aw by enabling explicit issue targets for label and comment safe outputs, rather than relying on a triggering issue.

Changes:

  • Sets matching five-action limits and removes pull-request write permissions.
  • Requires numeric issue targets, preserves integrity restrictions, and clarifies that accepted actions are queued rather than published.
  • Adds targeting regression assertions and regenerates the production workflow lock.
File Description
pkg/​workflow/​repository_workflows_test.go Tests targeting, batch limits, permission settings, and label restrictions.
.github/​workflows/​issue-triage-agent.md Configures explicit targeting and updates triage instructions.
.github/​workflows/​issue-triage-agent.lock.yml Regenerates target configuration, limits, permissions, and metadata.

Review effort: Balanced (auto)

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.1

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