`issue wakeup create --until-pr checks` is accepted on an issue with no linked PR and never fires; PR check snapshot never lands
Summary
Since CLI 0.6.0 the runtime brief recommends multica issue wakeup create ISSUE --until-pr checks.
In our workspace three such rules were registered on 2026-09-28 and none fired, although the
PR's checks finished 7–9 minutes after registration. last_error stays null, and the issue's
Wakeups panel shows "When a linked PR's CI finishes" directly above "No linked pull requests".
| Issue | Rule registered (UTC) | All checks settled | Rule state |
|---|---|---|---|
sub-issue review: #454 |
15:13:13 | 15:20:11 | fire_count: 0 57 min later (then disabled) |
sub-issue review: #457 |
16:21:53 | 16:30:56 | fire_count: 0 33 min later (then deleted) |
sub-issue qa: #460 |
16:45:03 | 17:19:15 | fire_count: 0 at 17:23:22, still armed |
Same day, same workspace: children_done system rules and --kind at rules fire normally
(an at rule due 16:57:20 started its run at 16:57:31).
Two separate problems
1. The rule is accepted on an issue that has no linked pull request
evaluateCondition (server/internal/service/issue_wakeup_condition.go) reads
SELECT … FROM github_pull_request pr
JOIN issue_pull_request ipr ON ipr.pull_request_id = pr.id
WHERE ipr.issue_id = $1 -- the issue that carries the wakeupOur agents register the wakeup on the review / QA sub-issue. The PR is linked to the
parent (link_source: title, the PR title starts with the parent's identifier), so the
sub-issue has "pull_requests": [] and the predicate can never hold.
Expected, any of:
- reject
--until-prat registration when the issue has no linked PR (or warn, and surface it inlast_error/ the Wakeups panel); - or fall back to the parent issue's linked PRs;
- or accept an explicit
--pr <number|url>.
2. No check snapshot for any PR of the workspace
Even on the parent, checks_finished needs snapshot_head_sha != '' and
checks_rollup_state IN ('SUCCESS','FAILURE','ERROR'). For every PR we read (11, open and
merged), multica issue pull-requests <parent> --output json returns
{ "snapshot_available": false, "snapshot_fetched_at": null, "checks_rollup": null, "checks_total": 0 }including after two views 45 s apart (so MaybeEnqueueOnView did not produce one) and well past
the 10-minute sweep TTL. PR state, title link and merged_at are populated, so webhooks arrive.
The multica-ai GitHub App is installed on the organisation (installation 137299639,
all repositories) with exactly the permissions and events the App requests today
(checks, statuses, pull_requests, metadata: read; events check_run, check_suite,
pull_request, status); nothing is pending approval.
Environment
- CLI / daemon
0.6.0 (commit ea94c7cd5, built 2026-09-28T07:03:47Z), Linux x86_64 - Multica cloud, GitHub App
multica-ai, private repository, checks produced by GitHub Actions
Ask
- Make a
--until-prrule that cannot be evaluated say so (registration error,last_error, or a visible state on the issue) instead of looking armed. - Tell us why the snapshot never lands for this installation, or what we should change.
- Until then, the brief should not recommend
--until-pr checksunconditionally.
Related: #3719 (feature request on PR follow-up triggers), #8847 (our previous report on 0.5.3).
Source: multica-ai/multica