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
{{ message }}
Repository navigation
A direct Run on an issue never labelled ready-for-agent warns that its label actor isn't a Trusted account #961
A Run started on an Issue URL checks its issue against the Trusted account rule, prints a warning if the check fails, and carries on. If the issue has never been labelled ready-for-agent, the check gives the same result as an untrusted labeller. That happens, for example, with thirdshift no-merge <Issue URL> on an Unready issue. The Run then prints:
warning: #<n> most recent ready-for-agent label actor is not a Trusted account
There is no such label actor, because the issue was never labelled. This was found by reading the code while triaging #423; it hasn't been run.
Evidence
trust::issue_trust returns UntrustedIssue::ReadyLabel in two cases: when an untrusted account made the latest ready-for-agent labelling, and when there is no labelling at all (the else branch after ready_labellings(…).pop()). The direct-Run path prints that value's text as the warning.
Wanted
An accurate line for an issue with no ready-for-agent labelling, such as warning: #<n> has never been labelled ready-for-agent. The Day shift might instead prefer no warning at all for a direct Run. Either way, Pickup's Ready check, which uses the same rule, must keep passing such an issue over.
Category: bug Summary: A direct Run on an issue that was never labelled ready-for-agent says so, instead of blaming the label actor
Current behavior:
When no ready-for-agent labelling event exists, the trust check returns the same UntrustedIssue::ReadyLabel variant as when an untrusted account applied the label. A direct Run then prints "most recent ready-for-agent label actor is not a Trusted account", which is misleading.
Desired behavior:
The never-labelled case gets its own variant (for example UntrustedIssue::NeverReady), displayed as "has never been labelled ready-for-agent". Both variants stay untrusted, so Pickup still passes such an issue over, and the direct Run's behavior is otherwise unchanged.
Key interfaces:
UntrustedIssue and its Display text
The trust check that inspects ready-for-agent labelling events
Acceptance criteria:
A unit test covers the never-labelled case and asserts the new message
Existing ReadyLabel tests still pass
Pickup still passes over a never-labelled issue (skip reason text may change)
Docs and README that quote the old message are updated (rg the old text)
Out of scope:
Changing trust policy or which accounts are Trusted
Activity
JacobStephens2 commentedon Oct 25, 2026
Agent Brief
Category: bug
Summary: A direct Run on an issue that was never labelled ready-for-agent says so, instead of blaming the label actor
Current behavior:
When no
ready-for-agentlabelling event exists, the trust check returns the sameUntrustedIssue::ReadyLabelvariant as when an untrusted account applied the label. A direct Run then prints "most recent ready-for-agent label actor is not a Trusted account", which is misleading.Desired behavior:
The never-labelled case gets its own variant (for example
UntrustedIssue::NeverReady), displayed as "has never been labelled ready-for-agent". Both variants stay untrusted, so Pickup still passes such an issue over, and the direct Run's behavior is otherwise unchanged.Key interfaces:
UntrustedIssueand itsDisplaytextAcceptance criteria:
ReadyLabeltests still passrgthe old text)Out of scope: