Repository navigation
[2659 by GPT-6 Astra] Stop work when an issue or PR withdraws intent - #2664
Conversation
…s intent Implemented by ProPR AI using gpt-6-astra model. Implementation completed successfully.
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 42df8a5 Processed 2 comments:
Summary of ChangesFixed all 14 lint warnings causing Verified locally:
No visual changes; no preview needed. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Full Test Suite ResultsValidation failed during: Test shard (shard 4).
View shard 4/4 outputDetails truncated; see the uploaded artifacts for complete failure rows and logs. |
…il, preserving existing behavior. Fixed all 14 lint warnings causing `Validate Changes` to fail, preserving existing behavior. Verified locally: - All four lint checks pass with zero warnings. - TypeScript checks and affected builds pass. - 361 backend regression tests and 5 task timeline tests pass. No visual changes; no preview needed. PR: #2664 Comment by: @propr-dev[bot] (ID: 5922210279) Comment by: @github-actions[bot] (ID: 5922210741) Model: gpt-6-astra
|
✅ Applied the requested follow-up changes in commit 8f9ad37 Summary of ChangesFixed the stale fixtures in Validation: workflow test passes in 11.6s, both related test files pass, and ESLint passes. Full suite was not rerun. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ned real Redis connections and caused the timeout. Added the missing cleanup state lookup and assertions for cancellation reasons and retained abort signals. Fixed the stale fixtures in `mcpWorkflows.test.ts` that opened real Redis connections and caused the timeout. Added the missing cleanup state lookup and assertions for cancellation reasons and retained abort signals. Validation: workflow test passes in 11.6s, both related test files pass, and ESLint passes. Full suite was not rerun. PR: #2664 Comment by: @github-actions[bot] (ID: 5922224251) Model: gpt-6-astra
Full Test Suite ResultsValidation failed during: Test shard (shard 3).
View shard 3/4 outputDetails truncated; see the uploaded artifacts for complete failure rows and logs. |
|
✅ Applied the requested follow-up changes in commit a9063b3 Summary of ChangesFixed the timing race in Validation: all 21 tests passed, the affected test passed five additional runs, and lint passed. No visual changes. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…g `Date` alongside `setTimeout`, keeping lease calculations and timer advancement synchronized. Fixed the timing race in `mcpPublishPlan.test.ts` by mocking `Date` alongside `setTimeout`, keeping lease calculations and timer advancement synchronized. Validation: all 21 tests passed, the affected test passed five additional runs, and lint passed. No visual changes. PR: #2664 Comment by: @github-actions[bot] (ID: 5922454016) Model: gpt-6-astra
|
cancelled_issue_closed shouldn't be displayed in the UI as such - error codes shouldn't be displayed to end user... always show human readable text in the UI |
|
✅ Applied the requested follow-up changes in commit 8e0935e Summary of ChangesReplaced raw terminal codes with readable explanations in the task timeline and Inbox, including “Cancelled because the issue was closed.” Unknown codes receive a readable fallback. Focused tests, UI/API type checks, and lint passed. Captured desktop and mobile previews. Visual previewReadable task cancellation reasonTask timeline explains that work was cancelled because the issue was closed. Original unavailable: managed storage is unavailable or the upload has expired. Readable cancellation reason on mobileThe same cancellation explanation in the task timeline at mobile width. Original unavailable: managed storage is unavailable or the upload has expired. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…he task timeline and Inbox, including “Cancelled because the issue was closed.” Unknown codes receive a readable fallback. Replaced raw terminal codes with readable explanations in the task timeline and Inbox, including “Cancelled because the issue was closed.” Unknown codes receive a readable fallback. Focused tests, UI/API type checks, and lint passed. Captured desktop and mobile previews. PR: #2664 Comment by: @integry (ID: 5928355155) Model: gpt-6-astra
|
/review opus astra |
|
✅ AI Code Review Complete requested by @integry Posted 2 reviews: |
🔍 AI Code Review — opusOverall EvaluationThis PR implements issue #2659. ProPR now stops work when its intent is withdrawn: an issue is closed, a processing trigger label is removed, or a PR is closed without merging. The change has four parts:
The stop helper moves from The core design is sound and well tested. Three changed paths still need fixes before merge:
✅ Canonical task identity for queued children — ✅ Durable cancellation across concurrent reviewers — ✅ Human-readable mapping with a safe default — Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Raw reason codes still reach user-visible task text
F2: 🔴 Inbox now notifies on every
|
🔍 AI Code Review — astraOverall EvaluationThe PR adds webhook cancellation, polling reconciliation, worker admission checks, and durable terminal reasons. It needs a localized correction before merge. ✅ Durable cancellation — Docker abort polling checks persisted cancellation state, preventing one reviewer from consuming the only stop signal. ✅ Fresh admission checks — Workers consult current GitHub state rather than trusting saved issue snapshots. ✅ Readable terminal explanations — The timeline and Inbox use a shared formatter, including a safe fallback for unknown codes. This review is a static trace of the supplied code; no commands or tests were run. Current checks show no failures, with seven still pending. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F4: 🔴 Format cancellation conversation messages
SuggestionsThese are optional follow-ups and are not sent to S8: 🟢 Reduce repeated reconciliation scans
ScoreThe implementation covers the main cancellation paths and includes focused regression tests, but one user-facing contract violation remains. Current checks have no reported failures, although validation is still pending. Score: 6/10 🤖 Review Details
🤖 Review by ProPR |
|
/ultrafix |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
✅ Applied the requested follow-up changes in commit 8e76ce8
Summary of ChangesImplemented F1–F4:
Validation: 110 tests across eight files passed, plus type checking and UI build. Captured an Inbox preview. Separate discovery, left unchanged: Inbox cancellation entries still display the category label “Task failed.” Visual previewCancellation notificationsThe Inbox renders readable cancellation reasons from the projection service; the rescheduled attempt generates no entry. Original unavailable: managed storage is unavailable or the upload has expired. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
Implemented F1–F4: - Cancellation conversation and history text now uses readable explanations while retaining machine codes in metadata. - Inbox ignores requeue/reschedule cancellations. - User stops preserve pending-comment pickup; PR closure suppresses it. Validation: 110 tests across eight files passed, plus type checking and UI build. Captured an Inbox preview. Separate discovery, left unchanged: Inbox cancellation entries still display the category label “Task failed.” PR: #2664 Comment by: @integry (ID: 5929203937) Model: gpt-6-astra
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 142ce8c Processed 2 comments:
Summary of ChangesFixed all three complexity warnings that caused Validate Changes to fail, preserving cancellation behavior and human-readable messages. Verified locally:
No visual changes; no preview required. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…Changes** to fail, preserving cancellation behavior and human-readable messages. Fixed all three complexity warnings that caused **Validate Changes** to fail, preserving cancellation behavior and human-readable messages. Verified locally: - Core and API lint pass with zero warnings. - Core and API typechecks pass. - All 67 targeted tests pass. No visual changes; no preview required. PR: #2664 Comment by: @propr-dev[bot] (ID: 5929505889) Comment by: @github-actions[bot] (ID: 5929506299) Model: gpt-6-astra
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
✅ Applied the requested follow-up changes in commit c361d6e
Summary of ChangesF34 is fixed: a job queued through polling now records the trigger that was applied after the closure, so removing that trigger cancels it. What changed
One behaviour to be aware of: the polling rule applies to any issue with several triggers and no stale marker, not only after a released obligation. Such an issue now records the latest applied trigger instead of the first configured one. Sibling paths checked
Regressions added in
Verification: the withdrawal suite and its sibling suites pass, with 283 tests and no failures. The core typecheck and core lint are clean. The root typecheck stops on an unrelated error because the Unavoidable race: polling re-derives the trigger from the timeline after reconciliation has released the obligation. If GitHub's timeline does not yet show the new application on that later read, the first configured trigger is still recorded. Environment note: the worktree path given in the instructions is mounted read-only here. I made the changes in No visual preview was produced because the change is not visible in any UI. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…trigger that was applied after the closure, so removing that trigger cancels it. F34 is fixed: a job queued through polling now records the trigger that was applied after the closure, so removing that trigger cancels it. **What changed** - **Polling** (`fetchIssuesForRepo`): when several triggers are present and no stale marker remains, polling now reads the timeline for the most recently applied present trigger and passes it to admission. Previously it took the first configured trigger and named none. - **Settlement**: when a retained closure obligation is released because a trigger was applied after the closure, settlement now reports which trigger that was. - **Admission**: if the producer named no renewed trigger, admission records the one settlement reported. This covers a poll whose timeline read lagged behind the settlement's fresher read. **One behaviour to be aware of**: the polling rule applies to any issue with several triggers and no stale marker, not only after a released obligation. Such an issue now records the latest applied trigger instead of the first configured one. **Sibling paths checked** - The webhook path already supplies the renewed trigger, so it needed no change. - The stale-marker polling path already selects the reapplied trigger; I moved it into the same helper without changing its behaviour. **Regressions added** in `test/taskIntentWithdrawal.test.ts`; all four fail on the previous code and pass now: - The finding's scenario through polling, once with reconciliation releasing the obligation first and once with admission releasing it. Both then remove `build` and assert cancellation. - Admission of a detected issue that names no trigger while the obligation is still retained. - Polling an issue with two triggers and no markers, where the latest application owns the job. **Verification**: the withdrawal suite and its sibling suites pass, with 283 tests and no failures. The core typecheck and core lint are clean. The root typecheck stops on an unrelated error because the `@propr/local-setup` package was not built in this container. **Unavoidable race**: polling re-derives the trigger from the timeline after reconciliation has released the obligation. If GitHub's timeline does not yet show the new application on that later read, the first configured trigger is still recorded. **Environment note**: the worktree path given in the instructions is mounted read-only here. I made the changes in `/home/node/workspace`, which is the writable mount of the same worktree. No visual preview was produced because the change is not visible in any UI. PR: #2664 Comment by: @propr-ultrafix (ID: 0) Model: claude-fable-5-1
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements withdrawal cancellation across webhooks, polling, worker admission, and task reporting. Based on static review of the supplied diff and context, it is merge-ready within scope. ✅ Fresh intent checks — Cancellation rereads tracker state after candidate discovery, and worker admission checks current intent before dispatch. ✅ Durable cancellation — Cancelled state survives worker completion attempts and stops concurrent reviewers even after an abort marker is consumed. ✅ Recovery coverage — Retained closure-cleanup obligations prevent failed label publication from silently restarting work on reopen; tests cover several retry and restoration sequences. No current-head checks were reported. No commands or tests were run during this review, as requested. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S106: 🟢 Measure reconciliation scan cost
ScoreThe implementation addresses the intended lifecycle behavior with substantial regression coverage and explicit recovery paths. Static review found no verified merge blocker, though execution and current-head CI results remain unverified. Score: 8/10 🤖 Review Details
🤖 Review by ProPR |
|
/merge |
|
❌ Failed to resolve merge conflicts from System-triggered merge conflict resolution |
1 similar comment
|
❌ Failed to resolve merge conflicts from System-triggered merge conflict resolution |
|
/merge |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryBoth conflicts are resolved, and no conflict markers are left anywhere in the repo. I couldn't run a type check because TypeScript isn't installed in the workspace ( 1.
2.
🤖 Resolution Details
System-triggered merge conflict resolution |
…en-an-issue-o-20260930-2350-tvv Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - packages/core/src/index.ts - packages/core/src/webhook/webhookHandler.ts PR: #2664 Model: claude-opus-5-5
…e.test.ts`. Locally the file now passes all 23 tests, where 17 failed before. I re-ran only this file, not the full suite. I fixed the shard 2 failure in `test/taskSubmissionLifecycle.test.ts`. Locally the file now passes all 23 tests, where 17 failed before. I re-ran only this file, not the full suite. **Cause:** the merge from `main` (#2664) brought in new withdrawal and cancellation tests. Their mock jobs don't include `updateData`. On this branch, `prepareIssueJob` in `src/jobs/processGitHubIssueJob.ts:41` calls `job.updateData(...)` to save the task identity when a job has no `correlationId`, `agentAlias` or `modelName`. Those mock jobs are missing those fields, so the call fails with `TypeError: job.updateData is not a function`. **Fix:** real BullMQ jobs always have `updateData`, so I changed the tests, not the worker. Each of the merged-in mock jobs now has a no-op `updateData: async () => undefined`. That change is limited to this one test file. The `/tmp/git-processor/...` worktree named in the instructions is read-only. I made the change in `/home/node/workspace`, which is on the same commit (`e4fedcae4`). ESLint has no configuration for this test file, so the only lint result was a "file ignored" warning. This doesn't change anything visible, so I made no preview. PR: #2663 Comment by: @github-actions[bot] (ID: 5972718417) Model: claude-opus-5-5
…les (no warnings), the full UI unit suite (1903 tests) and all 19 cases in `e2e/task-list-desktop.pw.ts` and `e2e/startup-critical-path.pw.ts` pass. The worktree path in the instructions was read-only, so I made the changes in `/home/node/workspace`, which is the same branch at the same commit. I've made all five fixes. Typecheck, lint on the changed files (no warnings), the full UI unit suite (1903 tests) and all 19 cases in `e2e/task-list-desktop.pw.ts` and `e2e/startup-critical-path.pw.ts` pass. The worktree path in the instructions was read-only, so I made the changes in `/home/node/workspace`, which is the same branch at the same commit. **1. Selected row.** The row now shows selection with a `bg-slate-100/80` fill and a 4px teal rail. Its title stays `text-slate-900 font-semibold`, and hovering it no longer turns it teal or underlines it. I drew the rail as a 4px inset shadow instead of a real `border-l-4`: it looks the same, but selecting a row doesn't push its content 4px to the right. **2. Details title.** The heading in the details pane now uses the same `sanitizeTaskTitle` as the list. It reads `Stop work when an issue or PR withdraws intent`, without the `PR #2664:` or the `[2659 by GPT-6 Astra]` tag. The Ultrafix badge above it still shows the workflow. The mobile summary title and the full task page use the same cleaned title. **3. Toolbar.** - The separate filter icon is gone. - The repository dropdown shows `propr 14,768`, without `integry/`. If two owners ever have a repository with the same name, those keep their owner so they can be told apart. - The search box now takes the space this frees up: it's over 200px wide in the split view, and a new e2e check enforces that. **4. Page size: this one differs from your fix.** Runs of the same pull request are grouped into one row, so fetching 8–10 tasks per page would show *fewer* rows, often only 2–3. I raised the `/tasks` page from 50 to 100 tasks, which roughly doubles the rows per page on real data. The empty space in your screenshot (and in the new preview) has a different cause: the test data behind those captures only contains 5 pull requests. No page size can fill the list there. I left that test data alone rather than padding it to make the preview look fuller. **5. Files changed.** The bordered box and divider are gone. `src/jobs/` is now a quiet folder label (`font-mono text-xs text-slate-400`). Below it, each file is a plain row with a file icon, its name and `+12 -4`, using `hover:bg-slate-50 rounded px-2 py-1`. Added, deleted and renamed files get a coloured icon. I added unit tests for the cleaned heading, the shortened repository names and the bold selected title. I also added e2e checks in the split-view test for all five fixes. PR: #2720 Comment by: @integry (ID: 5977975188) Model: claude-opus-5-5
…fixed on the latest commit, and I also made the one flaky test more reliable. I've made all four review fixes. The CI failure is already fixed on the latest commit, and I also made the one flaky test more reliable. **Review fixes** 1. **Pending vs. Merged:** Pending is now a neutral slate pill (`bg-slate-100 text-slate-600`), so purple means Merged only. Slate is very close to the grey Completed pill. To keep the two apart, Pending gets a hollow dot where Completed has a filled one. 2. **Token telemetry:** The token code was never removed. The test data used for the previews simply had no token usage, so the line didn't appear. I added token usage to that data. I also replaced the bordered divider (the "pipe") with a `•`, so the line reads `integry/propr • #2664 ↗ • gpt-6-astra • 36s • 3.9M in · 30k out · 0.4% weekly quota`. This changes the divider on the full task page too. 3. **Chevrons:** The `>` on list cards no longer appears when clicking a card opens the task beside the list. It stays on phones, where tapping a card opens a new screen. 4. **Second line:** When there are earlier runs but the newest run has no summary, the line now ends with what that run came to. Row 5 now reads `↳ 1 earlier run · REVIEW Waiting to start`. The suggested `(Clean pass)` and review finding counts aren't possible for that row: the run hasn't started, so there are no findings, and I didn't want to make one up. Rows with a single run and no summary still take one line. **CI** - The hard failures in the log were all in `task-details-cleanup.pw.ts`, which the latest commit (`56b79358a`) already fixed. - The middle-click test in the comment failed once but passed on CI's automatic retry, so it is flaky rather than broken. I couldn't confirm the cause. My guess is that a click can land while the list is still redrawing. The test now retries each click for up to 20 seconds instead of waiting once for 30. - The task list test file went over the 400-line lint limit, so I moved its test data into a new `e2e/task-list-desktop.fixture.ts`. **Checks:** typecheck, lint with no warnings, the full UI unit suite (1905 tests), and 26 browser tests all pass. The browser tests cover `task-list-desktop`, `startup-critical-path`, `task-details-cleanup` and `task-details-responsive`. New checks cover the slate Pending pill, the missing chevrons, the token line and the "Waiting to start" text. As in earlier follow-ups, the worktree path in the instructions was read-only, so I made the changes in `/home/node/workspace`, which is the same branch. I captured two previews: the split view and the full-width list at 1920px. PR: #2720 Comment by: @integry (ID: 5978194608) Comment by: @propr-dev[bot] (ID: 5978217692) Comment by: @github-actions[bot] (ID: 5978217931) Model: claude-opus-5-5
… TaskList/TaskDetails unit tests pass, and all 17 cases in `e2e/task-list-desktop.pw.ts` pass. I made all three fixes. UI typecheck and lint pass, the 220 TaskList/TaskDetails unit tests pass, and all 17 cases in `e2e/task-list-desktop.pw.ts` pass. **1. SCORE column is back in the full-width table.** It's the last column on the right, `5rem` wide (the same as `w-20`) and right-aligned. It appears at every width where the table shows. - **Which score it shows:** the task's newest *review* score, in the bracketed `[ ● 8 ]` form. Tasks with no scored review show `—`. - **Why reviews only:** I used the same rule as the run chips and the timeline. Fix and ultrafix runs carry the loop's score in the data, but they don't grade the code. For example, PR #2664 shows `[6]` from Run 3, not the `5` stored on its latest fix run. - **Narrower titles:** the new column takes about 90px from the title column. At 1280px, long titles still wrap to two lines, as before, and the layout checks still pass. - **Files:** `rowScore` in `rowModel.ts`, `TaskScore` in `TaskRows.tsx`, and the grid in `task-queue.css`. **2. `Back to Run 8` now looks like a button.** I used your ghost-button style: `border-slate-300`, white background, `text-slate-800 font-medium`, and a `hover:bg-slate-50` tint. I also added a teal `→` arrow after the label. I kept the wording "Back to Run 8" rather than "Return to live Run 8", because the newest run isn't always live; it may have finished. The change is in `TaskHeader.tsx`. **3. Cards no longer get sliced at the top of the list.** The card list now has `pt-1`, plus an 8px white fade pinned to the top of the scroll area. A card scrolling up now fades out under the toolbar border instead of being cut through its text. The fade takes no space, so the list looks the same when it isn't scrolled. The full-width table didn't need this because its rows already scroll under the sticky header row. The change is in `StateComponents.tsx`. **Tests:** - **Unit:** I updated the column tests (now seven columns) and added one for the score cell: newest review score, not a fix's score, and a dash when no review scored the task. - **Playwright:** the spec now checks the SCORE cells, the button's border and text colours, and that the fade stays at the top of the list when scrolled. The three previews show the full-width table with SCORE, the Run 3 banner with the new button, and the scrolled card list. PR: #2720 Comment by: @integry (ID: 5985215456) Model: claude-opus-5-5
… clean, and all 17 cases in `e2e/task-list-desktop.pw.ts` pass, plus the TaskDetails responsive spec. Typecheck reports no errors in the changed files; its only errors come from desktop packages that weren't built in this checkout. I made all four fixes. All 1931 UI unit tests pass, lint is clean, and all 17 cases in `e2e/task-list-desktop.pw.ts` pass, plus the TaskDetails responsive spec. Typecheck reports no errors in the changed files; its only errors come from desktop packages that weren't built in this checkout. **1. The `○` in Tier 1.** I couldn't find a separate `○` element in the page. The page actually renders `integry/propr · #2664 ↗ • ▷ Implementing`. The `○` was most likely the status pill's outlined, pulsing play icon, which at that size looks like an empty circle. Changes: - The pill now leads with a solid dot, like the list's pills, so Tier 1 reads `integry/propr • #2664 ↗ • ● Implementing`. - Tier 1 uses `•` for every separator. - A separator is now only drawn when a commit, PR or issue link is actually present. Before, an empty commit link could leave a separator with nothing beside it. **2. `Return to live Run 8 →`.** I put it on the far right of the `TIMELINE` header row, your second option. In Tier 2 it pushed the run line onto a third line at 1920px, so the header grew by 7px and jumped each time you opened a run. The `IMPLEMENTATION` header still names the open run (`Run 3 of 8 · Completed`) but no longer has a button. **3. Separators in Tier 2.** The run line now uses only `·`: `Run 3/8 (Completed 36 mins ago) · Found 2 issues · gpt-6-astra · 3m 0s · 420k in · 12k out · 0.1% weekly quota` The space around each separator is now the same everywhere. Before, the gaps between sections were wider than the gaps inside them. **4. `+4` on the list card.** Again there was no separator character in the page. The `+4` was plain grey text with a gap before the dots, which is what read as a separator. It's now its own small badge right next to the dots: `[+4] ●─●─●─● · ⚡ ULTRAFIX`. The changes are mainly in `ContextStrip.tsx`, `TaskHeader.tsx`, `index.tsx` and `RunTrack.tsx`. I updated the e2e test to check: - Tier 1's exact text, with no icon inside the status pill. - That the run line contains no `•`. - That the button is at the right end of the `TIMELINE` row and gone from the panel below. The previews show the pane with Run 3 open and with live Run 8. PR: #2720 Comment by: @integry (ID: 5992211095) Model: claude-opus-5-5
…are no dots or bullets left in it. At 1920px it now reads: I've rebuilt the header the way you sketched it, and there are no dots or bullets left in it. At 1920px it now reads: ``` [github] integry/propr #2664 ↗ ● Implementing [Stop] [⋯] [⤢] [✕] Stop work when an issue or PR withdraws intent Run 8/8: Ultrafix cycle 3 (linting) │ gpt-6-astra 36s │ ↑3.9M ↓30k (0.4% quota) ``` All 1931 UI unit tests pass, lint is clean, and all 21 cases in `e2e/task-list-desktop.pw.ts` and `e2e/task-details-cleanup.pw.ts` pass. Typecheck reports no errors in the changed files. - **First line:** I removed the bullet between the repo and the status pill. The repo and PR number now sit close together, with a wider gap before the pill (`DesktopTaskHeader.tsx`). - **Run line:** It's now three groups with a thin vertical line between them (`ContextStrip.tsx`): - **Run:** `Run 8/8: Ultrafix cycle 3 (linting)`. - **Model and runtime:** the model chip, then `36s`. - **Cost:** tokens use `↑` for input and `↓` for output, followed by the quota in parentheses. Screen readers still hear "input tokens" and "output tokens". - **"(Active)" is gone, but only for the live run:** the status pill above already shows it. An earlier run still says how it ended, e.g. `Run 3/8 (Completed 36 mins ago): Found 2 issues`. Without that you couldn't tell which run's numbers you're reading. Choices worth checking: - **Quota label:** with a single quota it reads `(0.4% quota)`, as in your sketch. Whether it's the weekly or session quota only shows in the tooltip. When a task uses both, it reads `(26.0% session, 5.1% weekly)` so the two stay distinct. - **Mobile header changes too:** it uses the same component, so it also lost its dots and uses the arrow and quota format. I updated the tests to match the new text. The desktop e2e spec now also checks that the header contains no `·` or `•` and that the run line has exactly two dividers. PR: #2720 Comment by: @integry (ID: 5992841467) Model: claude-opus-5-5
…an open task at 1920px each card is 73px tall, down from 115px, and all ten tasks in the test data fit on screen with room to spare. Your target was 68px. Getting there would mean cutting the card's top and bottom padding to 4px, which looked cramped next to the 20px lines, so I stopped at 6px. Say if you want the tighter version. The task cards are now three lines instead of five. Beside an open task at 1920px each card is 73px tall, down from 115px, and all ten tasks in the test data fit on screen with room to spare. Your target was 68px. Getting there would mean cutting the card's top and bottom padding to 4px, which looked cramped next to the 20px lines, so I stopped at 6px. Say if you want the tighter version. | Line | Contents | |---|---| | 1 | `[PR #2664]` `[🖼 2]` repo `● Implementing`, with `1 min ago (1m 00s)` on the right | | 2 | Title only, on one line, ending in `…` when too long (the full title is in the tooltip) | | 3 | Run track `[+4] ●─■─■─⟳`, agent, then `⚡ ULTRAFIX Ultrafix cycle 3 (linting)` | - **Preview chip:** it now sits on line 1 right after the PR/issue chip, as a compact `[🖼 2]`. Screen readers still hear "2 previews". - **Timestamps:** the age and the run time sit together on the right of line 1, as `1 min ago (1m 00s)`. - **No separator dots:** the pill, chips and badge shapes plus spacing separate the items. - **Phones:** line 1 drops the run time, which is still shown in the task's own view, because otherwise the repo name squeezed down to "p…". On a phone the run chip on line 3 still opens the earlier runs. The full-width table is unchanged. The changes are in `MobileTaskCard.tsx`, plus a compact preview-chip option and a one-line title option in `TaskRows.tsx`. **Tests:** all 1950 UI unit tests pass, lint is clean, and typecheck reports no errors in the changed files. All 28 cases in the task list, split-cards, preview media and task-details responsive Playwright specs pass. **Test changes:** - **Scroll checks:** with shorter cards, the test data no longer fills a 1080px-tall window, so the existing checks for scrolling the list and fading cards under the toolbar had nothing to scroll. They now run in a 560px-tall window. - **New spec file:** I moved those checks into `e2e/task-list-split-cards.pw.ts`, which also checks that every card is at most 74px and the preview chip sits on line 1. Adding them to the existing spec pushed it past the 400-line lint limit. Previews are attached for the 1920px split view, the 880px narrow list and mobile. PR: #2720 Comment by: @integry (ID: 5994267041) Model: claude-opus-5-5
…is clean. The new phone and tablet Playwright spec passes, and so do the 21 existing task-list and task-details cases. One test file couldn't load because the desktop app's `socket.io` dependency isn't installed in this checkout. Typecheck errors appear only in the desktop packages, which aren't built here. I made all six fixes. All 1954 UI unit tests pass and lint is clean. The new phone and tablet Playwright spec passes, and so do the 21 existing task-list and task-details cases. One test file couldn't load because the desktop app's `socket.io` dependency isn't installed in this checkout. Typecheck errors appear only in the desktop packages, which aren't built here. **On #4: PR #2661 really is all fixes.** In the test data, its six earlier runs are all follow-up fixes. Its only review is its newest run, which is the card itself (`REVIEW`, score 8). So six `FIX` rows with no scores is correct for that PR. The runs you remembered (Run 1 a `REVIEW` at 4, Run 3 a `REVIEW` at 6) belong to PR #2664. What was missing is that the inline tree never showed scores at all. It now does, so opening #2664 shows `REVIEW … [■ 6]` and `REVIEW … [▲ 4]`. **On #6: this pulls against an earlier request.** You previously asked for scores only on review runs. The amber squares on runs 6 and 7 come from scores recorded on fix runs (the ultrafix loop's 6 and 5). The track now colours every run by the score it recorded, so it shows `+4 ● ■ ■ ⟳` again. Score numbers still appear only on reviews: in the tree, the timeline, the SCORE column and the track's hover text. The other four: 1. **Phone header:** `Tasks` and the repository picker now share line 1, and the picker takes the rest of the width, so `All Repos 14,769` shows in full. `All Tasks` sits on its own line below. If there's only one repository, the status filter stays on line 1. 2. **Phone line 3:** the subtitle is gone on phones, leaving `[>] +4 ● ■ ■ ⟳ GPT-6 Astra ⚡ ULTRAFIX`. In the list beside an open task, the subtitle only appears if it has about 7rem of room; otherwise it's hidden rather than cut to `U…`. 3. **Repository name:** it always keeps up to its first 10 characters, so `propr` never becomes `pr…`. Longer names are cut from the right after 10 characters. 5. **Two chevrons:** the trailing `>` is removed from every card. The title is the link to the task, and the run track's chevron is the only toggle. The changes are in `Filters.tsx`, `MobileTaskCard.tsx`, `TaskRows.tsx` and `rowModel.ts`. I added unit tests for the review scores in the tree and for the missing trailing chevron. The new spec is `e2e/task-list-mobile-cards.pw.ts`, covering the 390px and 768px layouts. One existing e2e check expected the all-grey track, so I changed it to expect `● ■ ■ ⟳`. I've attached two previews: the 390px phone list, and the 768px list with PR #2664's runs open. PR: #2720 Comment by: @integry (ID: 5994834948) Model: claude-opus-5-5
…ed both tests: they fail without the fixes and pass with them. I fixed F1 and F2, with a regression test for each. I checked both tests: they fail without the fixes and pass with them. **F1: the full task page now recovers if its first run load fails** (`propr-ui/src/pages/TasksPage.tsx`, `useRouteTaskRuns`) - Before, the page only re-read the runs while a run was in progress. If the first read failed there were no runs to check, so it never tried again. - Now it re-reads every 15s while the runs haven't loaded yet, as well as while a run is in progress. It stops once they load and every run has finished. - The timer restarts when the route changes and is cleared when the page closes. - New test in `TasksPage.split.test.tsx`: the first read fails, the 15s retry loads the runs, then polling stops. A second page whose reads keep failing stops trying once it's closed. **F2: the breadcrumb now recognizes PR tasks** (`propr-ui/src/components/TaskDetails/DesktopTaskHeader.tsx`, `crumbLabel`) - Both `'pr'` and `'pr-comment'` now produce `PR #N`, so the fixture's PR shows `Tasks / PR #2664` instead of `Issue #2664`. - New tests in `index.embedded.test.tsx` cover `pr`, `pr-comment` and `issue`. **Checks:** all 1,968 UI unit tests pass and `eslint . --max-warnings 0` is clean. `npm run typecheck` still fails, but only on an error in `vite.config.ts`: two separate copies of vite are installed in the workspace and their types clash. None of the changed files report errors. To run the tests I had to install dependencies (`npm ci`, `npm run test:prepare`) and Chromium in the container; no setup files changed. I attached a 1920px screenshot of the corrected breadcrumb. **Found separately, not changed:** several components that were already there before this PR also treat only `'pr-comment'` as a pull request: - `MetadataBar.tsx` - `ContextStrip.tsx` - `FollowupModal.tsx` - `taskHeaderText.ts` So a `'pr'` task may still be labelled or linked as an issue in those places. They weren't part of F1 or F2, so I left them alone. PR: #2728 Comment by: @integry (ID: 6004822371) Model: claude-opus-5-5
… test problem, as you said: the old fixture had no reply for the assignee read, so it got the fixture's default 503. The Retry message then correctly showed up inside the Git cluster. I changed only two test files; the F4 fix and all product code are untouched. I fixed the `task-list-desktop.pw.ts:153` failure. It was a test problem, as you said: the old fixture had no reply for the assignee read, so it got the fixture's default 503. The Retry message then correctly showed up inside the Git cluster. I changed only two test files; the F4 fix and all product code are untouched. **What changed** - **Fixture (`task-list-desktop.fixture.ts`):** the runs of PR #2664 that the tests open now return a normal GitHub assignment: pull request #2664, assigned to `@octocat`, with no avatar so no image is fetched. Every other endpoint still returns 503 as before. - **Git context check (old line 265):** the exact concatenated-text check is replaced by checks on each part: - The cluster's links are exactly `integry/propr` → `https://github.com/integry/propr` and `#2664` → `https://github.com/integry/propr/issues/2664`, in that order. - The assignment control shows "Assigned to @octocat", and the "Couldn't load assignment" error is absent. - The cluster's text still starts with `#2664` and ends with the assignee. - **Divider check (line 284):** fixing the first check exposed a second break. "No divider floats in front of Stop" counted every hairline in the header row, including the one the assignment control draws for itself. It now ignores only that one, still requires zero others, and checks the assignment's own hairline is there exactly once. The 120px header-height check, keyboard row stepping and the other layout checks are unchanged. The Retry UI isn't hidden: its own regression in `task-details-assignment.pw.ts` still drives a failed read and clicks Retry. **Test runs** | Run | Chromium | WebKit | |---|---|---| | `task-list-desktop.pw.ts:153` on its own | passed | passed | | `task-list-desktop.pw.ts` + `task-details-assignment.pw.ts` (includes the failed read → Retry test) + `task-list-assignees.pw.ts` | 40/40 passed | 40/40 passed | - The Retry unit tests (`useTaskAssignment.test.tsx`, `ContextStrip.test.tsx`) pass, 15/15. - ESLint on the two changed files and `tsc --noEmit` for propr-ui are clean. WebKit's system libraries aren't installed in this container and I had no root access. To run it, I downloaded the Debian bookworm packages into `/tmp`, symlinked them into the local Playwright WebKit cache, and set `PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=1` and `__EGL_VENDOR_LIBRARY_DIRS`. None of that touches the repository, but CI and other machines need WebKit's normal dependencies installed. There are no visual previews because nothing a user sees has changed. PR: #2905 Comment by: @integry (ID: 6091799617) Model: Claude Opus 5.5



AI Implementation Summary
Closes #2659
Branch:
2659/gpt-6-astra-stop-work-when-an-issue-o-20260930-2350-tvvCommits: ✅ Changes committed (81b1943)
AI Processing Completed
Execution Details:
Summary:
Implemented cancellation on issue closure, trigger-label removal, and unmerged PR closure, with polling reconciliation and worker pre-start checks. Model-label removal leaves work running.
Added terminal reasons to task state, task views, Inbox, and MCP; prevented cancelled attempts from retrying; updated docs.
Targeted tests and backend/UI type checks pass. Captured the changed task timeline preview.
Detailed Logs:
01a0f4bb-ab15-71f2-bc64-887ddd8b6428Log files stored at:
/tmp/claude-logs/issue-2659-2026-10-01T00-16-14-255Z-conversation.json/tmp/claude-logs/issue-2659-2026-10-01T00-16-14-255Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #2659.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Task cancelled after issue closure
The task timeline displays cancelled_issue_closed after an issue implementation is stopped.
Original unavailable: managed storage is unavailable or the upload has expired.