You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A scheduled (non-issue-context) agentic workflow fails the safe_outputs / Process Safe Outputs job — and therefore the whole run — when its agent emits an update_issue safe-output whose target resolves to triggering. There is no triggering issue on a schedule run, so the handler logs Target is "triggering" but not running in issue context, skipping update_issue and counts the skipped item as a hard failure (1 message(s) failed to process → step exit non-zero), even though the agent job succeeded and every other emitted item was applied.
The agent emitted two items: update_issue and create_discussion.
create_discussion succeeded — discussion #39947 was created (✓ Message 2 (create_discussion) completed successfully).
update_issue failed with: ##[error]✗ Message 1 (update_issue) failed: Target is "triggering" but not running in issue context, skipping update_issue, producing Failed: 1 → ##[error]1 safe output(s) failed → the Process Safe Outputs step exits non-zero and the run is marked failure.
The handler config for this workflow declares update_issue with title_prefix "[lint-monster] " and no explicit issue target, so the default triggering target is used — which is unsatisfiable on a schedule event.
Probable root cause
Workflow-definition mismatch: LintMonster runs on schedule (no triggering issue) but its agent is permitted to / chooses to emit update_issue with the default target: triggering. On every scheduled run that emits such an item the target cannot resolve.
Constrain the workflow: on schedule-only triggers, do not advertise update_issue (or require an explicit resolvable target) so the agent cannot emit an item that can never apply. Alternatively, route the report exclusively through create_discussion/create_issue (already used successfully here).
Surface a clear agent-facing validation at emission time: reject/flag update_issue target:triggering when the run has no issue context, instead of accepting it and failing in the downstream job.
Success criteria / verification
A scheduled LintMonster run that emits only an unsatisfiable update_issue does not fail the Process Safe Outputs step; the skip is reported as a warning.
No Process Safe Outputs failures attributable to Target is "triggering" but not running in issue context across schedule workflows over a subsequent 24h window.
LintMonster produces its discussion report without a run-level failure conclusion.
Parent report: #39883. Analyzed run: 27735258410.
Related to #39885, #39946.
Problem statement
A scheduled (non-issue-context) agentic workflow fails the
safe_outputs/Process Safe Outputsjob — and therefore the whole run — when its agent emits anupdate_issuesafe-output whose target resolves totriggering. There is no triggering issue on aschedulerun, so the handler logsTarget is "triggering" but not running in issue context, skipping update_issueand counts the skipped item as a hard failure (1 message(s) failed to process→ step exit non-zero), even though the agent job succeeded and every other emitted item was applied.Affected workflows and run IDs
main,schedule, 2026-06-18 03:50 UTC).agentjobsuccess;safe_outputs/Process Safe Outputsfailure.Evidence
update_issueandcreate_discussion.create_discussionsucceeded — discussion #39947 was created (✓ Message 2 (create_discussion) completed successfully).update_issuefailed with:##[error]✗ Message 1 (update_issue) failed: Target is "triggering" but not running in issue context, skipping update_issue, producingFailed: 1→##[error]1 safe output(s) failed→ theProcess Safe Outputsstep exits non-zero and the run is markedfailure.update_issuewithtitle_prefix "[lint-monster] "and no explicit issue target, so the defaulttriggeringtarget is used — which is unsatisfiable on ascheduleevent.Probable root cause
schedule(no triggering issue) but its agent is permitted to / chooses to emitupdate_issuewith the defaulttarget: triggering. On every scheduled run that emits such an item the target cannot resolve.skipping update_issue) is tallied as a processing failure that fails the entire step, rather than being treated as a soft skip/warning. This is the same fail-hard pattern flagged for asset uploads in [aw-failures] [aw] Phantom asset: upload_assets fails despite agent success (missing staged PNGs) #39885 and for PR/dev-branch safe-outputs in [aw-failures] [aw] Copilot CLI exits 1 with no classified error — chronic Daily Model Inventory failures #39946 (P2 note), but here it occurs on a productionmainschedulerun.Proposed remediation
update_issue target:triggeringemitted outside issue context as a soft skip (warn, do not count towardFailed) so a single unsatisfiable item does not fail an otherwise-successful run — mirroring the fail-soft request in [aw-failures] [aw] Phantom asset: upload_assets fails despite agent success (missing staged PNGs) #39885.schedule-only triggers, do not advertiseupdate_issue(or require an explicit resolvable target) so the agent cannot emit an item that can never apply. Alternatively, route the report exclusively throughcreate_discussion/create_issue(already used successfully here).update_issue target:triggeringwhen the run has no issue context, instead of accepting it and failing in the downstream job.Success criteria / verification
update_issuedoes not fail theProcess Safe Outputsstep; the skip is reported as a warning.Process Safe Outputsfailures attributable toTarget is "triggering" but not running in issue contextacrossscheduleworkflows over a subsequent 24h window.failureconclusion.Parent report: #39883. Analyzed run: 27735258410.
Related to #39885, #39946.
References: §27735258410