Repository navigation
[Epic] 0.9.2 release fixes: web UI defects and polish - #3638
Conversation
…hedule and trigger, consistent names, shorter hints (#3628) * I've implemented all 14 points in #3604, and the tests pass: the full UI unit suite (3,302 tests), lint and typecheck. In the browser, the new form test passes at 1440 and 390px, and so do the existing automations, New task, run history, native-chrome and goals specs I touched. Form 1. Validation: errors now appear under the field in words: "Enter a name.", "Enter a prompt.", "Enter a schedule with five parts, e.g. 0 9 * * 1-5.", "Run at most every 15 minutes.", and "The minute must be from 0 to 59." for a bad value. A failed submit scrolls to the first invalid field and focuses it. The red banner now only shows errors the form doesn't check itself, such as save failures. 2. Coding agent select: it's now as wide as the other fields (new `fullWidth` option on `AgentModelSelector`). 3. Capabilities: the raw-id chips are gone and the checkboxes sit on one vertical line. The repository and reason checkboxes are now single-column lists. 4. Merge while Report only: "Merge pull requests" is disabled with "Not available with Report only: there is no action step to merge in." It is also dropped from what gets saved. The form keeps the tick, so switching to Preview or Auto brings it back. 5. Templates: they show once — the empty state hides its copy while the New automation pane is open — as a single-column list of rows. 6. Unsaved input: Escape, Close, Back to list, clicking another automation and applying a template over typed text now ask first, in the app's dialog. New task uses the same dialog instead of `window.confirm`. Moving between an automation's Settings and Runs tabs doesn't ask. 7. Hints: shortened to the wording in the issue. The pause hint reads the threshold from `automation_unproductive_run_threshold`. 8. Terms: "action step" and "Report only" are now used everywhere. 9. Blocker reasons: the event trigger uses the Planner's labels from `planQueueLabels.ts`. List, runs and elsewhere 10. Schedules in words: e.g. "Every 3 hours", "Weekdays 07:00 UTC", "Mon, Wed, Fri 09:00 UTC", with the cron in a tooltip. The run page says "Scheduled · every day 09:00 UTC". 11. Hover hint: removed; touching a row loads its preview. 12. "Automation" everywhere: the dashboard now labels these runs "Automation". The API's 404 now says "Automation not found" (REST and MCP). 13. Header button: reads "New task", "New plan", "New goal", "New automation". "New To-do" is unchanged. 14. Report task page: - The duplicate "Preparing Analysis" came from the run's "extensions resolved" event. Live task history for one of your automation runs showed it is stored with the "processing" state. The timeline now hides it when no extensions were applied, and otherwise labels it "Extensions Applied". - The task page no longer requests assignees for automation-run tasks, so the 409 is gone. - The empty-log message is now specific to automation reports. Things to know before merging - The threshold setting can only be read by people who manage settings. Everyone else sees the default (3), which is the value the server also falls back to. - Unsaved-input protection covers links and the pane's own controls. The header's create button and the browser's Back button still leave without asking. The app's router doesn't support blocking those without restructuring it. - Changing "Automation definition not found" alters a REST and MCP error string. It's a small step beyond the issue's "no API changes" note; nothing in the repo checks that text. New tests: - Unit: `agentFormValidation.test.ts` (validation and the Report-only merge rule), `agentSchedulePresentation.test.ts` (schedule wording), `AgentEditor.validation.test.tsx`, `AgentsPage.unsaved.test.tsx` and `useUnsavedEditorGuard.test.ts`, plus new cases in the template, timeline, assignees and dashboard tests. - Browser: `e2e/automations-form-validation.pw.ts`, covering both widths with screenshots. The preview screenshots and manifest are in place. * feat(ai): I've fixed F1, F2 and F3, and each has new tests. Every new test fails when its fix is undone and passes with it. I've fixed F1, F2 and F3, and each has new tests. Every new test fails when its fix is undone and passes with it. **F1: Templates no longer mark kept input as saved** (`useAgentEditor.ts`) - Applying a template now applies it to the form as the user left it, and separately to the form as it started. The starting version is what "nothing typed yet" is measured against. - So a repository or coding agent picked before the template still counts as unsaved, and closing the pane asks first. - Fields the template replaces still don't count as typed input, so applying a second template still doesn't ask. - New tests in `AgentEditor.templates.test.tsx`: pick a repository (or the coding agent), apply a template, and closing still counts as unsaved. No dialog appears when the template is applied. **F2: No wrong number for people who can't read settings** (`useUnproductiveRunThreshold.ts`, `AgentScheduleSection.tsx`) - The threshold is now unknown when the user can't manage settings, while it loads, or if reading it fails. The pause option then reads "Pause the schedule when runs in a row keep finding nothing new". - If the settings load but hold no usable value, it shows 3, the same default the server uses. - New `useUnproductiveRunThreshold.test.tsx` covers a non-admin on an instance set to 4 runs (no request, no number), an admin (4), a missing value (3), a failed read (no number), and both versions of the label. **F3: Uneven cron steps no longer read as even intervals** (`agentPresentation.ts`) - "Every N hours" is now used only when N divides 24, and "Every N minutes" only when N divides 60. - Anything else, such as `0 */5 * * *` or `*/22 * * * *`, shows its cron expression, as other unusual schedules already did. - I searched the code for other cron expressions with steps: only the new tests use uneven ones. - New tests in `agentSchedulePresentation.test.ts`: `0 */5`, `*/22`, `30 */7` and `*/45` now show their cron expression, and steps that divide (`*/20`, `*/30`, `*/8`, `*/12`) still read as intervals. **Checks run:** typecheck, lint on `components/Agents`, and the Agents, AgentsPage and NewTaskPage unit tests (189 passed). The browser tests `automations-form-validation.pw.ts` and `automations.pw.ts` pass (23 tests). They log in as an admin, so the "4 runs" label they check is still correct. I captured two previews at 1440px: the pause option as seen by a member, and a list where `0 */6` reads "Every 6 hours" while `0 */5` and `*/22` show their cron expression. I found nothing outside these three findings to report. PR: #3628 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F4. The timeline no longer hides an `extensions.resolved` event that explains why requested extensions are missing. The TaskDetails unit tests pass (455), and lint and typecheck pass. I didn't run the browser specs again. I fixed F4. The timeline no longer hides an `extensions.resolved` event that explains why requested extensions are missing. The TaskDetails unit tests pass (455), and lint and typecheck pass. I didn't run the browser specs again. **The fix** (`propr-ui/src/components/TaskDetails/taskKind.ts`) - `resolvedNoExtensions` now hides an event only if it applied no servers or skills, and also has empty `skipped` and `omitted` lists, no `labelOptOut` and no `autoApplySkipped`. That includes the omission-only case from the finding. - **Same mistake in the label:** the timeline doesn't show the event's reason text, so its label is the only explanation. The label assumed that any event still shown had applied something. An omission-only event would now appear and say "Extensions Applied" when nothing was applied. A new `extensionsEventLabel` shows "Extensions Applied" only when servers or skills were actually applied, and "Extensions Not Applied" otherwise. `TaskStatusTable.tsx` uses it. - I put the label logic in `taskKind.ts` because `TaskStatusTable.tsx` would otherwise go over the 400-line lint limit. **New tests** - `taskKind.test.ts`: the event stays when it has omitted items, skipped items, an opt-out label or a skipped auto-apply. It is still hidden when it is completely empty. "Applied" means servers or skills were added. - `TaskStatusTable.test.tsx`: for both timeline layouts, each of those four kinds of event shows as "Extensions Not Applied", never "Extensions Applied". A completely empty event still doesn't show. - With the old filter put back, 5 of these new tests fail. With the fix they all pass. I found no other code in this PR's changes making the same mistake. I didn't create a preview image. The only visible difference is that row's label, which shows up only in this edge case, so I judged it not worth one; this was my own call, not a blocked capture. PR: #3628 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
Epic progress: 0.9.2 release fixes: web UI defects and polish12 out of 12 PRs merged ✅
Merged child PRs: #3615, #3628, #3629, #3641, #3647, #3648, #3650, #3659, #3667, #3668, #3669, #3670 ✅ This epic PR has been merged into main. This comment is updated automatically by ProPR as child PRs open, change and merge. |
…ipped, keep issue titles readable at every width, clearer queue actions (#3641) * I've implemented all seven parts of issue #3605. The changes are UI-only, and queue behaviour is unchanged. Typecheck and lint pass with zero warnings, all 1,227 unit tests pass, and the new and existing Studio, Plans and global-search browser tests pass. Two things don't match the issue text exactly: - "…then Retry" is left out. The server refuses Retry for this blocker, and the row already hides the Retry button for it. So the message reads only "The first issue could not be set up. Open its task to see why." The server reason strings themselves are unchanged, because the server matches them by prefix (including in a migration); the UI maps them instead. - Un-skip isn't possible. The API has no way to put a skipped issue back into the queue. A skipped row now says so in one line: "Skipped. The queue does not run it again in this execution." 1. Skipped issues and counts - A skipped issue gets a "Skipped" pill, and a held issue gets a "Blocked" pill instead of "Queued". - The footer counts each state separately, for example "20 Issues · 1 Running · 1 In Review · 3 Queued · 1 Blocked · 1 Skipped · 13 Merged". It now uses the same buckets as the Plans list, so the two agree. - The summary line reads, for example, "5 tasks: 3 queued, 1 blocked, 1 skipped. Each queued task starts automatically…". 2. Dependencies: rows with prerequisites show "After #N, #M". A queued row waiting on an unmerged prerequisite adds "· waiting on #N". 3. Titles - Below 1024px: the title gets its own full-width line. - Wider screens: it shares the line only while it keeps at least 18rem; otherwise the PR, follow-ups and actions wrap underneath. - Long titles: they wrap to two lines, then end in an ellipsis. The full title is in the tooltip and at the top of the expanded section. - Plan header: stays on one line. Below 1536px the Pause/Revise/GitHub/Prompt buttons drop their text labels, and below 1280px the step switcher shows "Step 3/3", so the plan title keeps its room. 4. Queue actions - "Skip (keep #12 waiting)" when other issues depend on it; "Skip and start #12, #13" is unchanged. - "Release dependents" is now "Start #12, #13". - The pending text is now "Waiting on skipped #9. Start it from that row." 5. Blocked reasons - "Setting up the issue…" replaces the internal setup message. - "PR #N must be merged by a person. The queue continues after that." replaces the auto-merge message. - An unknown blocker kind reads "Blocked" with the server's reason below it. 6. Plans list: the counts wrap between items and the status badge stays inside the row. I removed the separator dot before the badge, because it was left dangling at the end of a wrapped line. In the header, the search box now gives up width first, so the filters fit at 768 and 844px. At 320px the "All Repos" label can still end in an ellipsis. 7. Global search: a plan without a name shows the first line of its prompt, on one truncated line, with the full line in a tooltip. Tests - Unit tests: new tests cover the pills, labels, blocked messages, footer counts and the search title. I updated three existing tests whose mocks or old class checks no longer matched. - Browser tests: a new spec, `planner-studio-queue-states.pw.ts`, checks a 20-issue plan with merged, running, in-review, queued, skipped and blocked issues at 1440, 1024, 390 and 320px. It asserts that nothing overlaps, titles stay within two lines and the counts are right. It also checks the Plans list at 320–844px. I added an unnamed-plan test to the global search layout spec. Screenshots of the Studio at all four widths, the Plans list and the search result were saved as previews. * feat(ai): I fixed F1 and F2. I also checked that each new test fails on the old code. I fixed F1 and F2. I also checked that each new test fails on the old code. **F1: dependency text and action labels were cut off on narrow screens** - `IssueMetadata` (`PlanIssueRowComponents.tsx`) no longer forces "After … · waiting on …" onto one line. Each `#N` stays whole, and the text wraps between issue numbers. The visible text is unchanged. - In `ActionButton` (`PlanIssueQueueNotice.tsx`), labels such as "Skip (keep #3557, #3558, #3559, #3560 waiting)" and "Skip and start …" now wrap inside the button. Short labels look the same as before. - **New browser test** in `planner-studio-queue-states.pw.ts`, at 320px and 390px: - It sets up a row with eight prerequisites and a blocked issue with four dependents. - It checks that the dependency text and both Skip buttons stay inside their row, which hides overflow. It also checks that they don't overflow themselves and that no issue number is split across lines. - With the old components, the prerequisites check fails at both widths. With only the old `ActionButton`, the button check fails at 320px. **F2: "After" ignored the dependencies the active execution actually uses** - `queueRowProps` in `usePlanIssuesManager.ts` now uses the active execution's `dependsOn` first, even when it is an empty list. That covers parallel runs, which have no dependencies. The saved plan dependencies are used only when the execution doesn't give any for that issue. - The other place that works out dependents (`usePlanQueueActions`) already used the execution's `dependsOn`, so I didn't change it. - **Three new hook tests** in `usePlanIssuesManager.graph.test.ts`: - A sequential run with empty saved dependencies now shows "After #1 · waiting on #1". - A parallel run doesn't show saved graph dependencies. - Saved dependencies still show when the execution gives none. - With the old expression, the first two tests fail. **Checks:** typecheck passes, lint passes with zero warnings, and all 3,339 unit tests pass. All 45 Playwright tests in `planner-studio-queue-states`, `planner-studio` and `planner-studio-mobile` pass. I saved two 320px screenshots as previews: the row with eight prerequisites wrapping, and the blocked row with its wrapped Skip buttons. PR: #3641 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…he Add server form, fix the false "Confirmed import commit", and cut the explanatory text (#3629) * I've implemented everything in issue #3603, plus the unit and browser tests it asks for. Typecheck and zero-warning lint pass. All 3,297 UI unit tests pass. The four new browser tests (Add server and Add skill at 1440 and 390 px) pass, along with the existing extension and Settings layout browser tests. Add server form - Validation: name and URL are checked when you leave each field, and errors show inline. "Add server" and "Discover tools" stay disabled until the fields are valid; package name and version are also required for a local package. "Check sign-in" waits for a valid URL too. - Rules match the server: - Name: 1–48 characters, starts with a lowercase letter, then lowercase letters, digits, `-` and `_`. Not `propr`, and unique in the library. - URL: `https://` only, port 443, no user/password, query or fragment, and not localhost or `.local`. - A unit test checks the name rule against the shared server schema. The server still makes the final decision. - Size and layout: fields now use the standard Settings sizes. On a phone the Add/Cancel buttons stick to the bottom of the screen. - Escape and discarding: Escape closes the form. If you've typed something, Escape, Cancel, a link, a Settings category tab or the phone back button first ask "Discard changes?" in the app's own dialog. After you confirm, the click you made goes through. Reloading or closing the tab gets the browser's own prompt. - One gap: the browser Back button is not intercepted. The app's router has no built-in way to block navigation, so I guard clicks instead. - Labels: - "Other tool", "Other repository (owner/name)" and "Other agent"; typed repository and agent values are checked before they can be added. - "npm" shown as plain text instead of a one-option select. - "Check sign-in" and "Check package". - The repository limit list shows whole rows, and gets a filter when it has more than ten entries. Add skill - "Confirmed import commit" now appears only for a 40-character commit that the lookup verified. A typed commit is checked against the repository with the existing branch/tag lookup endpoint, so no API change was needed. Free text says what's wrong, and "Import pinned skill" stays disabled until then. - A typed repository only shows as the selected option once it's a valid `owner/name`. Text - The description is now two sentences plus the docs link, and the five bullets are gone. The inspector note and status line ("Changes apply to new runs.") are the wording from the issue. - The Codex note is one line with a "Details" link to a new docs heading. - The wording changes from items 10–12 are in, and loading now shows a skeleton. - One choice of mine: the issue gave no replacement for "Operator secrets: configured", so it now reads "Credentials: set by the operator". The catalog item's SHA-256 moved to a hover tooltip. - Agent Runtime Packages is cut to one or two sentences plus a docs link. - On a phone, the category title in the header now wraps instead of being cut off. - The two notices you asked to keep (secrets readable in the task container, and OAuth runs acting as the signed-in account) are unchanged. Docs: in `agent-extensions.md` I added a "Codex configuration" heading, the form validation rules and the guidance removed from the screen. In `propr-cli.md` I added a "Finding package names" section with the help text removed from the packages screen. Tests: existing tests that checked the old wording are updated. The new tests are `extensionValidation.test.ts`, `ExtensionFormValidation.test.tsx` and the browser test `e2e/agent-extensions-forms.pw.ts`, which saves screenshots at both widths. The screenshots are also staged as previews. The main new files are `extensionValidation.ts` (the client rules), `useDiscardGuard.tsx` (Escape and the discard prompt) and `ExtensionFormActions.tsx` (the sticky footer). * feat(ai): I fixed F1 and F2, and added regression tests for both. Typecheck, zero-warning lint, all 348 Settings unit tests and the 11 extension browser tests pass. I also put the new tests back over the old code to check them: all four failed, as they should. I fixed F1 and F2, and added regression tests for both. Typecheck, zero-warning lint, all 348 Settings unit tests and the 11 extension browser tests pass. I also put the new tests back over the old code to check them: all four failed, as they should. **F1: two forms with unsaved text** - **Cause:** confirming "Discard" sent your click on its way again but left that form open with its text. Each form only let its own resent click through, so the two forms kept stopping each other's clicks and asking in turn. - **Fix:** confirming "Discard" before leaving now closes that form, then sends the click on (`useDiscardGuard.tsx`). If the other form also has text, it asks once. Confirming that one goes through, because the first form is gone. This matches what "Discard" says. - **Detail:** the hook reads the close handler from a ref. Both lists pass it as an inline arrow function, so otherwise the click listener would be removed and re-added on every render. - **Tests:** a new test opens both forms with text, clicks a Settings tab, confirms both prompts, and checks that the click gets through exactly once with both forms closed. The existing single-form test now also checks that the form closes before you leave. **F2: retrying a failed commit check** - **Cause:** a failed check was stored as "not found" and never re-run for the same commit. - **Status split:** "not found" now means only that the repository answered with a different commit. A check that fails gets a separate status, with the text "This commit could not be verified. It may not exist in the repository, or the check failed." next to a **Check again** link. - **Invalidation:** any edit to the commit or repository now forgets a lookup that didn't verify, so clearing the commit and typing it again checks it again. A verified lookup is kept. - **Tests:** two new tests make the first check fail and the second succeed for the same commit. One retries with Check again, the other clears and retypes the commit; both end with "Confirmed import commit" and Import pinned skill enabled. The "not found" test now uses a lookup that returns a different commit, and the browser test expects the new text and the button. **Separate issues (not changed):** - **The server can't tell "missing" from "failed":** for a commit GitHub doesn't have, the route answers with the same generic 400 it uses for other GitHub errors. So the form can't know a commit is really missing, which is why the message gives both possibilities. A clear "not found" would need the API to return a distinct status. - **Branch or tag picker:** if turning a branch or tag into a commit fails, the message says "Select again", but picking the same option again does nothing. You have to pick a different one first. I saved new previews of the failed-check state with the Check again link, at 1440 px and 390 px. PR: #3629 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F3: Escape and Cancel now ask before discarding an entry you've typed but not yet added with its Add button. This works in both the server editor and the skill editor. Typecheck, zero-warning lint, all 355 Settings unit tests and the 11 extension browser tests pass. I fixed F3: Escape and Cancel now ask before discarding an entry you've typed but not yet added with its Add button. This works in both the server editor and the skill editor. Typecheck, zero-warning lint, all 355 Settings unit tests and the 11 extension browser tests pass. **How it works** - A new file, `pendingEntries.ts`, lets each form track which of its entry fields contain text. Spaces alone don't count. - `ExtensionItemPicker` uses it for its typed-entry field. That covers "Other tool" (also "Tool name" on a local package server), "Other repository (owner/name)" and "Other agent". - The "New secret variable name" field in `ExtensionPackageFields.tsx` uses it too. - `ExtensionServerForm` now treats the form as changed when the draft changed or any of these fields has text. `ExtensionSkillForm` does the same alongside its existing checks. - When an entry is added or cleared, the form stops counting it. If the field disappears, for example because the server type changes, its text goes with it, so it no longer counts either. **Tests:** the new file is `ExtensionPendingEntries.test.tsx`. It opens a saved server, a saved package server and a saved skill without changing them, and types into each entry field: - Escape asks first; "Keep editing" keeps the typed text. - Cancel asks first; only "Discard" closes the form. - One more test checks that a field cleared back to spaces closes on Escape straight away. I also ran the new tests against the old code: the six that type an entry all failed, as they should. The cleared-field test passed there too, since that behaviour didn't change. **Same defect elsewhere:** I checked the other typed fields in these forms. Scopes, arguments and environment variables update the draft as you type, so the existing check already catches them. The skill import fields were already counted. No other field had this problem. I didn't add a visual preview, because nothing looks different: it's the same "Discard changes?" dialog already in the PR's previews, now shown in more cases. PR: #3629 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F4: pressing Enter in the list filter no longer saves the server or skill form. All tests, typecheck and zero-warning lint pass. I fixed F4: pressing Enter in the list filter no longer saves the server or skill form. All tests, typecheck and zero-warning lint pass. **Fix:** in `propr-ui/src/pages/SettingsPage/extensions/ExtensionItemPicker.tsx`, the filter box now cancels the browser's default action for Enter, the same way the "Other …" entry box already did. Enter now just ends the search, with the filtered list left in place. Both forms use this one picker for all their lists (tools, repositories, agents), so this single change covers every list long enough to show a filter. I found no other input in the changed forms with the same problem. Enter in the real fields, like name or URL, still submits, as it should. **Tests:** - **Unit** (`ExtensionFormValidation.test.tsx`): one test for each form. Each fills in a valid server or skill with 26 repositories, types into the filter and presses Enter. They check that Enter's default action was blocked and that save was not called. The test runner can't simulate the browser's own submit-on-Enter, which is why they check for the blocked default instead. - **Browser** (`e2e/agent-extensions-forms.pw.ts`): with a valid Add server form, Enter in the filter must send no save request, and the form must stay open with the filtered list. I also ran the new tests against the old picker code: both unit tests and the browser test fail there, so they catch the bug. **Results:** - 357 of 357 Settings unit tests pass. - All 11 browser tests in the forms and extensions files pass. There's nothing visible to show, so I made no preview. PR: #3629 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…w only what needs a decision, in plain words, and Resume works for cancelled work (#3615) * I've implemented all eight points from issue #3602. Unit tests (the 38 Settings files plus the loading-state check), lint and typecheck pass, and so do the Playwright suites for held follow-ups, Instance data and the Settings layout. I didn't change the handoff API, the CLI output or what Resume/Release do on the server. Held follow-ups (`MaintenanceSection.tsx`) - Resume for cancelled work: a cancelled follow-up now has a "Publish the cancelled work" checkbox beside Resume. Resume sends `authorizeCancelled: true` only when it's ticked. No CLI flag appears anywhere in the UI. - Default list: shows only follow-ups that are held or in recovery. Released ones sit under a collapsed "Show released (N)" with no buttons or checkboxes. Follow-ups still in recovery keep Release but have no Resume. - Plain labels: statuses, phases and reasons now have labels ("Held", "Agent finished", "Comment posted", "Released automatically (stale)", "Pull request closed", and so on). The server's next-action text is mapped in the UI to a short sentence, and the line is left out when there is nothing to do. The labels live in a new `heldFollowupText.ts`. - Row details: the task id links to `/tasks/:id` and the worktree path is gone. Times show as relative ("3 hrs ago") using the task list's formatter, with the full date in a tooltip. I didn't find a single app-wide relative/absolute formatter, so the task list's one is the closest match. - Wording: the description, paragraph, empty state and error messages use the texts from the issue, and everything is called "held follow-up". Rate-limit (429) errors get their own plain message. I replaced the duplicate note in the Settings inspector with a different one. - Release confirmation: Release now opens a confirmation dialog, reusing the existing `AgentConfirmDialog`. The force checkbox reads "Also release if it has unpublished work", and its refusal uses the wording from the issue. - Loading: the first load shows `ListSkeleton`. Later reads are silent: after each action, and every 60 seconds while the section is on screen. If a later read fails, the last rows stay. The Refresh button is gone. - No request from other categories: a new `settingsSectionVisibility.ts` tells each section whether it is on screen (`SettingsNavigation.tsx` provides it). The list is now fetched only when Maintenance is open or a search shows the section. Instance data (`InstanceStorageSection.tsx`) - Held follow-ups now come first in the Maintenance category. - The texts are shortened as the issue lists. Categories, protection reasons and export states have labels. The paragraph about what the export contains is unchanged. - The inventory now shows each repository as a stacked row on phones instead of a table, so nothing sits off-screen at 390px. Because of that I changed the existing `e2e/instance-storage.pw.ts`, which tested sideways scrolling and swiping of the table: it now checks that the inventory fits the screen. I also updated its expected cleanup message. Also changed - Errors (`followupHandoffsApi.ts`): the server's refusal codes are mapped to plain messages, and the server's own CLI-oriented error text is no longer shown. - Docs: I updated the line in `docs/docs/operations/maintenance.md` that quoted the old checkbox text. - Unit tests: cover the Resume option, the default filter, the labels, the request waiting for the section to be shown, the skeleton, the release dialog, and keeping rows when a later read fails. - Browser test: the new `e2e/held-followups.pw.ts` runs at 1440 and 390 and checks that nothing is requested from another category. It also checks the order, the hidden server path and CLI flag, the release dialog with its refusal, and Resume with the checkbox ticked. The previews show the held follow-ups list and the Release dialog at 1440 and 390, and Instance data at desktop and 390. * feat(ai): I fixed F1: ticking "Publish the cancelled work" now applies only to the attempt it was ticked for. A later attempt on the same pull request starts unchecked, and Resume on it sends no `authorizeCancelled`. I fixed F1: ticking "Publish the cancelled work" now applies only to the attempt it was ticked for. A later attempt on the same pull request starts unchecked, and Resume on it sends no `authorizeCancelled`. **What changed** (`propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx`) - A new `attemptOf` helper identifies a follow-up by repository, pull request and `taskId`. The tick is stored under that, not under `keyOf`. - The checkbox and `resume` both match on it, so a different task on the same pull request never sees the earlier tick. - After every successful list read, the stored tick is cleared unless the same attempt is still listed and still waiting for that choice. So it goes away when the attempt disappears, gets replaced, or stops needing the choice. This holds even if the same task later comes back. **Tests** (`MaintenanceSection.test.tsx`, 4 new) - Three cases tick the box for cancelled attempt A, then re-read the list: - A leaves the list and a different attempt B is held later. - B replaces A in a single read. - A leaves the list and comes back. In each one the box ends up unchecked and Resume is called without `authorizeCancelled`. - One case checks that the tick survives a re-read while the same attempt stays held, and that Resume then sends `authorizeCancelled: true`. - Against the unfixed component, the three carry-over cases fail. The whole `MaintenanceSection` test file passes (20 tests), and lint (zero warnings) and typecheck are clean. I didn't re-run the Playwright suites: the browser test only ticks and resumes one attempt, which this change doesn't touch. There's nothing new to see on screen, so I made no previews. **Found but not changed (outside F1):** the "Also release if it has unpublished work" box (`forceFor`) has the same flaw. It's stored by repository and pull request only, so a force tick could carry over to a later attempt on the same pull request. This keying was there before this PR, so I left it alone; it could be fixed the same way if you select it. PR: #3615 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F2: if the follow-up on a pull request changes while a Release decision is pending, that decision no longer carries over to the new attempt. The 25 `MaintenanceSection` unit tests, all 34 Settings unit test files, lint (zero warnings), typecheck and the Playwright `held-followups.pw.ts` suite at 1440 and 390 pass. I fixed F2: if the follow-up on a pull request changes while a Release decision is pending, that decision no longer carries over to the new attempt. The 25 `MaintenanceSection` unit tests, all 34 Settings unit test files, lint (zero warnings), typecheck and the Playwright `held-followups.pw.ts` suite at 1440 and 390 pass. **What changed** (`MaintenanceSection.tsx`) - **The "unpublished work" checkbox** now belongs to one attempt (the same per-attempt key the "Publish the cancelled work" choice uses), not just the pull request. After every successful refresh it is cleared unless that same attempt is still listed and not released. So if attempt B replaces A, B's checkbox starts unticked and Release on B is not forced. - **An open Release dialog** belongs to the attempt it was opened for. If a refresh (such as the 60-second poll) shows that attempt replaced, released or gone, the dialog closes and the page says: "integry/propr#N changed while you were deciding. Nothing was released; check it and choose again." - **Before Release is sent**, it is checked against the latest successful read. If the attempt it was confirmed for is no longer the open one, nothing is sent and the same message appears. **New tests** (`MaintenanceSection.test.tsx`, using fake timers to trigger the 60-second poll): - A ticked "unpublished work" box on attempt A, then a poll returns attempt B: B's box is unticked and Release sends `{ force: false }`. - An open dialog for A, with a poll where A is replaced by B, released, or gone: the dialog closes, the message appears, and Release is never called. - An open dialog while the same attempt stays open: the dialog survives the poll and still releases with `force: true`. I also ran the tests against the previous component: the four tests for the bug fail there, and the "same attempt" test passes on both versions, as it should. **Separate finding, not changed:** reads can finish out of order. A slow background poll that started before an action can finish after the action's own refresh and put back the older rows. This comes from the existing polling design rather than F2; it can't release the wrong attempt, because Release is checked against whatever was loaded last. Fixing it would mean ignoring responses from older reads, which I left alone since it wasn't selected. I didn't add previews: the only visible difference is the dialog closing with a message during a background refresh, which is an edge case. PR: #3615 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F3 and F4. A list read that has been overtaken by a newer read or by an action can no longer change the held follow-ups section. Both fixes are in `propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx`. I fixed F3 and F4. A list read that has been overtaken by a newer read or by an action can no longer change the held follow-ups section. Both fixes are in `propr-ui/src/pages/SettingsPage/MaintenanceSection.tsx`. **Fix:** each list read is now numbered, and only the newest one may write anything. It can't update the rows, `latest.current`, either consent choice, or the first-load error. Anything still outstanding is dropped: - when Resume or Release starts (in `run`), so a poll that began before the action can't bring back what the action changed (F3). - when the section stops being visible, so a read from before a category switch can't overwrite the read made on return (F4). The refresh after each action is a newer read, so it always wins. Release still checks `latest.current` before sending, and only the newest read can set that now. So a row brought back by a stale read can no longer send a Release to a later attempt. One race is left, and it is unavoidable. A poll that starts while an action is still running can briefly show the state from before the action. The buttons are disabled at that point, and the action's own refresh replaces it. **Regression tests** (in `MaintenanceSection.test.tsx`), each holding an older response back until a newer one has landed: - **F3:** a poll is held, Release goes through and its refresh shows nothing held, then the old poll answers. The released row and its Release button stay gone. - **F4:** a poll is held, the user switches category and back, the newer read shows the later cancelled attempt, then the old poll answers with the earlier one. The later attempt stays, its "Publish the cancelled work" box is unticked, and Resume sends no `authorizeCancelled`. - A first read that is overtaken and then fails doesn't show its error. All three fail on the previous code and pass now. **Checks:** all of these pass: - all 34 Settings unit test files (317 tests). - ESLint with zero warnings. - `tsc --noEmit`. - the Playwright `held-followups.pw.ts` suite at 1440 and 390. There is no visible change, so I didn't make previews. PR: #3615 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I've fixed F5. Consent to publish cancelled work is now tied to the attempt it was ticked for, and the server checks this, not just the screen. The scenario from the finding (A ticked, a new command swaps in B before the next read, then Resume) now gets a refusal: B is not authorized and no recovery runs. I've fixed F5. Consent to publish cancelled work is now tied to the attempt it was ticked for, and the server checks this, not just the screen. The scenario from the finding (A ticked, a new command swaps in B before the next read, then Resume) now gets a refusal: B is not authorized and no recovery runs. **What changed** - **Server check** (`src/jobs/followupHandoffOperator.ts`): `authorizeCancelledFollowupHandoff` takes an optional `expectedTaskId`. It refuses when the pull request's current handoff belongs to a different task. It checks this both on the first read and on the row re-read while holding the pull request's lease, so a replacement that lands just before the call can't pick up the consent. - **Route** (`packages/api/routes/followupHandoffRoutes.ts`): the resume request accepts an optional `taskId` string (1–200 characters, otherwise 400) and passes it on. When the authorization is refused and the current task differs from `taskId`, the reply is 409 with code `superseded`, and no recovery runs. That second read only picks the wording; the refusal itself was already decided under the lease. - **API docs**: `taskId` is added to `FollowupHandoffResumeRequest` and to the 400/409 descriptions. I regenerated the OpenAPI file and the client types. - **UI**: an authorized Resume now sends `{ authorizeCancelled: true, taskId }` (`propr-ui/src/api/followupHandoffsApi.ts`). If the server answers `superseded`, `MaintenanceSection.tsx` shows "This follow-up changed in the meantime. Check the list and try again." It clears the ticked box even if the next list read fails, and the existing re-read after every action refreshes the list. The administrator has to tick the box again. **New tests** - **Operator:** a mismatched task id is refused, leaving the row held, unauthorized and with no lease left behind. A matching one is authorized. A replacement made while the lease is being taken is refused. - **Route:** `taskId` is passed through, a mismatch gives `superseded` with no recovery pass, and bad `taskId` values give 400. - **UI:** the request names the ticked attempt. After `superseded`, the box is unticked whether the re-read shows the replacement or fails, and the next Resume sends no authorization. I also updated the existing expectations in the unit tests and in `held-followups.pw.ts`. - **Negative checks:** with the server's task-id comparison disabled, the operator mismatch test fails. With the UI's handling of `superseded` removed, the failed-re-read case fails. One caveat: the replacement-during-lease test also passes without the new comparison, because the lease's existing check on the re-read row already catches a task change. **Checks run** - **Passing:** - the operator serialization, cancelled-claims and recovery tests (80 of 80) - the route tests (11 of 11) - the API's `openapiRouteCoverage` suite - all 34 Settings unit test files (319 tests) - `held-followups.pw.ts` at 1440 and 390 - lint with zero warnings on every changed file - typecheck for the root, the API package and the UI - `gen:openapi:check` - **Hang at exit:** `mcpMaintenance` (2 tests) and `openapiResponseConformance` (11 tests) pass every test, then the process doesn't exit before the timeout. This is the usual exit hang in the API package's node tests, not a failure. - **Size limits:** two files went over the 400-line lint limit, so I folded the new schema field onto the existing object line and merged the two new UI tests into one table-driven test. `taskId` is optional, so existing clients keep working. No previews, since the only visible change is an existing message shown in a rare race. **Found separately, not changed (outside this PR's scope):** three other ways to authorize cancelled work still send no attempt id, so they act on whatever handoff is current: the CLI (`packages/cli/src/api/followupHandoffs.ts`), the MCP `resume_followup_handoff` tool (`packages/api/mcp/toolsMaintenance.ts`) and `scripts/followup-handoff-recovery.ts --authorize-cancelled`. They can use the new `taskId` / `expectedTaskId` whenever you choose to tighten them. PR: #3615 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I've fixed F6. A Release confirmed for one attempt can no longer release a different attempt on the same pull request. The request now names the attempt that was confirmed, and the server refuses it for any other. The scenario from the finding (A confirmed, A released elsewhere, B created and held, then the dialog is confirmed without a list read in between) now gets a `superseded` refusal and B stays held. I've fixed F6. A Release confirmed for one attempt can no longer release a different attempt on the same pull request. The request now names the attempt that was confirmed, and the server refuses it for any other. The scenario from the finding (A confirmed, A released elsewhere, B created and held, then the dialog is confirmed without a list read in between) now gets a `superseded` refusal and B stays held. **What changed** - **Server check** (`src/jobs/followupHandoffOperator.ts`): `releaseFollowupHandoffRecord` takes an optional `expectedTaskId`. If the current handoff belongs to a different task, it returns `superseded` before anything else runs: no liveness check, no failed-closed record, no worktree change and no lease. It also checks the row it re-reads under the release lease. The check comes before the "already released" shortcut, so consent for A can't be reported as a release of B. - **Route** (`packages/api/routes/followupHandoffRoutes.ts`): the release request accepts an optional `taskId`, validated the same way as on resume (bad values get 400), and passes it through. A mismatch answers 409 `{ released: false, reason: 'superseded' }`. Without `taskId`, nothing changes, so existing callers keep working. - **API docs**: `taskId` is added to `FollowupHandoffReleaseRequest` and to the 400/409 descriptions. I regenerated the OpenAPI file and the client types, and `gen:openapi:check` passes. - **UI**: `releaseFollowupHandoff` sends `taskId`, and `MaintenanceSection.tsx` passes the confirmed attempt's id. On `superseded` it shows the existing "…changed while you were deciding. Nothing was released; check it and choose again." It also unticks that attempt's force box, even if the next list read fails. **New tests** - **Operator:** the finding's sequence on a real row is refused with no side effects, then a release naming B works. A second test replaces the attempt while the release takes the lease, and that is refused too. - **Route:** `taskId` is passed through, a mismatch gives `superseded`, and invalid ids give 400 without reaching the release. - **UI:** a new `MaintenanceSection.release.test.tsx` covers a replacement no read ever shows, because the re-read after the action fails too. The request names A, the stale message appears and the force box is unticked. It's a separate file because adding it to `MaintenanceSection.test.tsx` put that file over the 400-line limit. I also updated four existing release expectations there and one in `held-followups.pw.ts`. - **Negative checks:** with the server's task-id comparison disabled, the operator test fails. With `taskId` removed from the UI request, the new UI test fails, and so does the UI test with the `superseded` handling removed. As with F5, the replacement-during-lease test also passes without the new code, because the lease's existing re-read check already catches a task change. **Checks run, all passing** - the operator serialization suite (9) and the cancelled-claims, recovery and usage-limit suites (85) - the route tests (12) and `openapiRouteCoverage` - all 35 Settings unit test files (320 tests) - `held-followups.pw.ts` (3 tests) - lint with zero warnings on every changed file, and typecheck for the root, API package and UI No previews: the only visible change is an existing message shown in a rare race. **Found separately, not changed (outside this PR's scope):** three other ways to release still send no attempt id, so they act on whatever handoff is current: - the CLI's `releaseFollowupHandoff` (`packages/cli/src/api/followupHandoffs.ts`) - the MCP release tool (`packages/api/mcp/toolsMaintenance.ts`) - `scripts/followup-handoff-recovery.ts` release They can pass `taskId` / `expectedTaskId` whenever you want to tighten them. The automatic releases (stale-hold and closed-PR) are system-driven, not operator consent, and I left them alone. PR: #3615 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…elper texts that explain mechanics, and use sentence case throughout (#3650) * I shortened the helper texts listed in #3608 and switched every Settings heading, label, category name and button to sentence case. The full UI unit suite passes (365 files, 3424 tests), as do the CLI and API settings-catalog tests. I captured all 9 Settings categories at 1440 and 390 in Playwright. I didn't run the Playwright e2e specs I edited. Shortened texts. Each item in the issue now uses the proposed text or something equally short: - Experimental: the voice briefings paragraph is now one short line, and the title is just "Voice briefings". The vendor-processing notice at first use is unchanged. The desktop-only sentence about voice commands is gone from Settings; the app still shows that message when someone tries a voice command on desktop. - Settings pages: dashboard AI summaries, Sandbox & network, Agent watchdog and the four Workflow fields. - AI models: - The review guidance and review context budget texts are shorter. - The budget figure is one line, e.g. "≈ 474K tokens for claude - Claude Opus 5.5". When the reviewer can't be known in advance it just says "Automatic", followed by the reason. - Reasoning levels show only "Low", "High" and so on, here and in the AI Agents config modal. - A saved summarization fallback whose agent is disabled or removed now shows the model's display name instead of the raw id. I added a test for this. - Other screens: - Agent credential directory: the note now says "ProPR reads and updates the login files in this directory." - Cancel CI while follow-up implementation is in progress: one sentence plus a "How cancelling works" docs link. The warning shown when no workflows are selected is unchanged. - Visual previews: "Using the Free plan limits". This wording lives in the shared package, so `propr repo list` prints it too. - PR title status toggle: now "Show status in pull request titles", with "Adds 🔨,⚠️ or ✅ and the review score to the title." - Short texts: the Access note, the New goal dialog, the Delete plan dialog (now two sentences) and the OAuth notice. Sentence case. - Categories: the 9 category names (e.g. "AI models & reasoning", "Workflow & PR rules") are updated everywhere they appear: UI, unit and e2e tests, the settings catalog and the docs. I left `CHANGELOG.md` alone because it's a history. - Other labels: section titles such as "Knowledge base", "MCP server", "LLM usage tracking" and "Agent runtime packages", plus field labels, buttons and "(recommended)"/"(default)" suffixes. Proper nouns and acronyms keep their capitals. - Out of scope: the page names "AI Agents" and "Agent Tank" are unchanged. I didn't touch the Maintenance or Skills & MCP servers text, or the "Delete Plan" tooltips outside the dialog. Search, docs and inspector. - Settings search: case-insensitive, so the old labels still match. I also added words from the removed text to the search index (e.g. `AGENT_NETWORK_ALLOW`, 429, `max_cost_usd`, whitespace deltas). - Settings catalog: I added the new and old wording as aliases so `find_setting` matches both. - Generated docs: `npm run docs:settings` was regenerated. - Docs pages: I added the review-prompt detail that left the UI (clearing restores the default; the Overall Evaluation, Findings and Score sections are always appended) to the PR commands docs. I also updated the label names in the PR status, visual previews and CLI docs pages. Everything else removed was already documented. - Settings inspector: the Workflow note now also says 429 usage limits are re-queued separately. The network and cost-cap mechanics were already there. The API settings-catalog test needs `PROPR_DEMO_MODE=true` and `PROPR_DOCS_DIR=<repo>/docs` to pass. Without the docs path, the docs-index check can't find the docs. The 18 screenshots are attached as previews. * feat(ai): I fixed the failing CI check. The settings e2e test still expected the old label "7/10 (Default)", but this PR changed the option to sentence case, so it now reads "7/10 (default)". I updated the assertion at `propr-ui/e2e/settings-layout.pw.ts:97` to the new text. I didn't change the app itself. I fixed the failing CI check. The settings e2e test still expected the old label "7/10 (Default)", but this PR changed the option to sentence case, so it now reads "7/10 (default)". I updated the assertion at `propr-ui/e2e/settings-layout.pw.ts:97` to the new text. I didn't change the app itself. I ran `settings-layout.pw.ts` locally and all 8 tests pass. The earlier run hadn't run any of the 8 e2e specs this PR edited, so I ran them all together, including this one: all 63 tests pass. I also searched the other e2e specs for any remaining old Settings wording, like the old "(Default)" and "(Recommended)" suffixes, and found none. Since the change is only in a test, there's nothing new to see and I didn't make preview images. PR: #3650 Comment by: @propr-dev[bot] (ID: 6941390627) Comment by: @github-actions[bot] (ID: 6941391531) Model: Claude Opus 5.5 * feat(ai): I fixed the failing check. This PR shortened the review context budget line in Settings, but `propr-ui/e2e/review-context-budget.pw.ts` still expected the old wording. I only changed that spec; the app itself is unchanged. I fixed the failing check. This PR shortened the review context budget line in Settings, but `propr-ui/e2e/review-context-budget.pw.ts` still expected the old wording. I only changed that spec; the app itself is unchanged. The CI log showed one failing assertion, but the same spec had two more stale ones that would have failed next: - **Line 129:** `'limited by the legacy cap'` → `'(legacy cap)'`. This was the reported failure; the UI now shows "≈ 120K tokens for claude - Claude Opus 5.5 (legacy cap)". - **Line 105:** `'≈ 948K input tokens for claude - Claude Opus 5.5'` → `'≈ 948K tokens for …'`, because this PR dropped the word "input". - **Line 115:** `'≈ 758K input tokens'` → `'≈ 758K tokens'`, for the same reason. The spec's 2 tests pass locally in Chromium. I also ran all 9 e2e specs this PR edited, which had never been run, and all 65 tests pass. I didn't run the full Playwright suite, so specs this PR didn't touch could still check for old wording. I searched them for the most likely old strings. The only hits are "(Default)" in the planner and automations model pickers, which this PR didn't change. No preview was needed, since only a test changed. PR: #3650 Comment by: @propr-dev[bot] (ID: 6941976564) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
|
CI failed: Connect Discovery and Darwin ACL (Node 22) Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit ba890fa Summary of ChangesThe CI failure was a flaky timing test, not a bug in this PR's changes. I fixed the test in What failed: The job runs Why it's flaky: The test makes three status reads using a fake clock. The second read starts a background refresh whose health check never answers, so it gives up after a real 40ms timer. The third read should have to wait for that refresh, and the test checked that by timing the third read alone (at least 10ms). If the runner stalls for more than 40ms between the second and third reads, the refresh has already finished and stored "disconnected". The third read then returns that result at once and the timing check fails, even though the code behaved correctly. The macOS arm64 runners were under heavy load at the time, as the capacity notice in the evidence says. Fix: The minimum wait is now measured from when the refresh started, not from when the third read started. The test still checks that:
Verification:
I didn't add visual previews because nothing in the UI changed. Review digestRisk-tiered paths
Validation evidence
Diff size: 1 file changed, +10/−2 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…R's changes. I fixed the test in `packages/api/test/statusRoutes.test.ts`. The CI failure was a flaky timing test, not a bug in this PR's changes. I fixed the test in `packages/api/test/statusRoutes.test.ts`. **What failed:** The job runs `scripts/verify-platform-safe-connect.mjs` on a macOS runner. One test in it failed: `/api/status stops serving a stale measurement at the hard freshness bound`, with `hard-expired read took 0.2ms`. This branch doesn't change `packages/api/routes/statusRoutes.ts` or this test. **Why it's flaky:** The test makes three status reads using a fake clock. The second read starts a background refresh whose health check never answers, so it gives up after a real 40ms timer. The third read should have to wait for that refresh, and the test checked that by timing the third read alone (at least 10ms). If the runner stalls for more than 40ms between the second and third reads, the refresh has already finished and stored "disconnected". The third read then returns that result at once and the timing check fails, even though the code behaved correctly. The macOS arm64 runners were under heavy load at the time, as the capacity notice in the evidence says. **Fix:** The minimum wait is now measured from when the refresh started, not from when the third read started. The test still checks that: - the third read doesn't start a new refresh (exactly 2 health checks). - the third read finishes within 200ms. - the result is `disconnected`, which shows the old "connected" result wasn't served. **Verification:** - The full `statusRoutes.test.ts` passes (44 of 44), and eslint passes with zero warnings. - I recreated the CI failure by adding a 60ms pause before the third read. With that pause, the old test fails with the same error (`hard-expired read took 0.4ms`) and the fixed test passes. The temporary test copies are deleted. I didn't add visual previews because nothing in the UI changed. PR: #3638 Comment by: @propr-dev[bot] (ID: 6942826590) Model: Claude Opus 5.5
… task or Inbox item, repositories are linkable, one not-found screen, sidebar items stay reachable (#3647) * I've implemented all eight items in issue #3606. Lint (zero warnings) and the typecheck pass, and the new browser spec `e2e/navigation-history.pw.ts` passes 17 of 17. Of the existing tests I ran, everything passes except 4 goal tests in `goals-regressions.pw.ts`; they fail because `@propr/core` isn't built in this container ("Cannot find module …/@propr/core/dist/index.js"), not because of this change. 1. Back returns to the list - Opening a task or an Inbox item from the list now adds a history entry. Moving to another item while one is open (clicking another row or pressing j/k) replaces it, so one Back still lands on the list. Old `?task=` and `?notification=` links still open the item. - Changing the task list page adds a history entry; filters still replace. - When the list comes back after Back, it returns to its previous scroll position. Turning that restore off makes the test fail. 2. Repositories are linkable - Selecting a repository goes to `/repositories/<owner>/<repo>`, which survives a reload and works with Back and Forward. - If several entries track the same repository, the URL adds `?branch=<name>`, or `?branch=` for the entry without a pinned branch. - Global search and the Quick Add "View Todos" link turn their selection into this URL. 3. One not-found screen - A shared `NotFound` component replaces the different screens. Unknown task, goal, plan and automation ids show "Task not found" (and so on), one sentence, and a link back to that list, in the style of the "Page not found" screen. - An invalid id format, like `/studio/nope`, counts as not found. Unknown automations no longer show the Settings/Runs tabs. - Detection relies on the API's error text (a "not found" or "must be a valid UUID" message), because these errors only carry a message, not a status code. 4. Tab titles - Every tab now reads "<Page> · ProPR", including "Not found", "Automations", "Access", "Coding agents" and "Desktop pairing". Plans no longer falls back to "Planner Studio". 5. Sidebar on short windows - When the nav doesn't fit, the Usage block folds to one line (`USAGE Claude 34% · Codex 12%`) and the gaps around the account block tighten. At 1280x720 and 1024x768 every item, including Settings and Access, is now visible and clickable. - If it still overflows (for example with Logs expanded), the nav scrolls with a thin scrollbar and a bottom fade. At 1920x1080 the full Usage panel stays. 6. Names - "Coding agents" in the sidebar, page title, heading and the Settings link. - "Access" for the page heading and the Settings description. - The goal dialog is now titled "New goal". - LLM Log types read "PR review" and "PR review context scout". 7. Task search is capped at 500 characters, and longer `?search=` values in a link are cut to 500. 8. Task header shows a grey skeleton bar instead of "Loading...". A run with no model shows no model chip. The task list rows still say "Unknown Model", because an existing test requires it there. Things you may notice: - After a reload, a repository stays selected. I updated `repositories-settings.pw.ts`, which used to click it again after reloading. - I updated existing specs and unit tests for the renamed labels, the new repository URLs and the " · " title separator. - One docs line now says "Coding agents page". Previews of the sidebar at 1280x720 and 1024x768, the task not-found screen and a selected repository are in the manifest. * feat(ai): I fixed F1: the sidebar no longer flips between the folded and full Usage layouts when you resize through the fold height. The review had it right: when the hook decided whether to expand, it only counted the extra height of the full Usage panel. It ignored the account and footer gaps, which also widen on expansion (12px each for a signed-in web user, 24px total). I fixed F1: the sidebar no longer flips between the folded and full Usage layouts when you resize through the fold height. The review had it right: when the hook decided whether to expand, it only counted the extra height of the full Usage panel. It ignored the account and footer gaps, which also widen on expansion (12px each for a signed-in web user, 24px total). **Fix** (`propr-ui/src/components/useSidebarUsageFit.ts`): when Usage folds, the hook now saves the height of the whole bottom block. That block holds Usage, the account section and the footer, gaps included. It expands again only when the column has room for that full height. Every height that changes between the two layouts lives in that block, so the budget can't miss one. The account and footer gaps were the only other compact-dependent heights in the changed code, and this covers both. **Regression test** (in `propr-ui/e2e/navigation-history.pw.ts`): the window grows from 720 to 1040px in 4px steps. At each height the test checks that: - the page hasn't hit its error screen. - the layout holds steady over the following frames. - once the full panel has fitted, a taller window never folds it again. - Access stays clickable after the full panel returns. **Checks:** - I put the old version of the hook back and ran the new test: it fails at 788px, inside the predicted band. The flip-flop doesn't just flicker there: React stops the update loop with an error, and the page shows "Something went wrong on this page" instead of the sidebar. - With the fix, the whole `navigation-history.pw.ts` spec passes 18 of 18, including the existing 1280x720, 1024x768 and 1920x1080 sidebar tests. Lint with zero warnings and the typecheck also pass. I didn't add previews: at any fixed window size the sidebar looks the same as before, and the fix only removes the crash during a resize. PR: #3647 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed the failure, and the test that broke now passes locally (1 of 1). I fixed the failure, and the test that broke now passes locally (1 of 1). **Cause:** this PR renamed the goal creation dialog from "Start a goal" to "New goal". One desktop test, `apps/desktop/scripts/desktop-native-menu.test.mjs`, still looked for a dialog named "Start a goal". It opens File → New Goal from the menu and then waits for that dialog, so it timed out with "element(s) not found". That was the only failure in Shard 2/4. The other lines in the CI summary are the generic "exit code 1" and an unrelated warning that Node.js 20 is deprecated. **Fix:** at `apps/desktop/scripts/desktop-native-menu.test.mjs:599` the test now looks for `getByRole('dialog', { name: 'New goal' })`. The app code is unchanged. I also searched the other desktop scripts for labels this PR renamed. One more test, `desktop-navigation-width.test.mjs:178`, still uses "Coding Agents", but Playwright matches role names regardless of case, so it still finds the renamed "Coding agents" link. I left it alone. This is a test-only change with nothing visible to users, so there are no previews. PR: #3647 Comment by: @propr-dev[bot] (ID: 6941053644) Model: Claude Opus 5.5 * feat(ai): I fixed the CI failure: the resize test ran out of time. It wasn't a layout bug. I fixed the CI failure: the resize test ran out of time. It wasn't a layout bug. **Cause:** the test resizes the window about 80 times (720px up to 1040px, 4px at a time) and samples several animation frames at each height. Run alone it takes about 22s against Playwright's default 30s limit. I put the machine under CPU load to mimic a busy CI host, and it hit 30s and failed with the same "Test timeout of 30000ms exceeded" message as CI. The error record showed only the timeout; no layout check failed. **Fix:** the only file changed is `propr-ui/e2e/navigation-history.pw.ts`. - The test now allows itself 90s (`test.setTimeout(90_000)`), as the repo's other long resize tests already do. - Each height now samples 10 frames instead of 12, and still judges the layout on the last 6. - The "Access is visible and clickable" check now runs at the first folded height, at the height where the full Usage panel comes back, and once after the sweep. It used to run at every step after that point. **Checks:** - Under the same CPU load the test passed 4 out of 4 times, taking 22–26s each. - I swapped in the sidebar hook from before the earlier flicker fix, and the test still caught the bug: the page crashed at 788px. I then put the current hook back. - The whole `navigation-history.pw.ts` spec passes 18 of 18, and lint passes with zero warnings. The change is only to the test, so there's nothing new to see and I made no preview images. PR: #3647 Comment by: @github-actions[bot] (ID: 6941606906) Comment by: @propr-dev[bot] (ID: 6941607001) Model: Claude Opus 5.5 * feat(ai): I fixed the Shard 2/4 failure. It was a flaky test that came in from main, not a problem in this PR's code. I fixed the Shard 2/4 failure. It was a flaky test that came in from main, not a problem in this PR's code. **What failed:** one test in `packages/api/test/mcpTunnelMode.test.ts`, "a 409 keeps forcing registration through transient failures until one succeeds". It expected 5 registrations and saw 4 (`4 !== 5`). The other 16 tests in the file passed. This PR doesn't touch this area, and the test file is identical on main. **Cause:** after firing the retry timer, the test waited at most 100 event-loop turns for the registration to happen. That registration does slow database and encryption work, so on a busy machine it can take longer than 100 turns. The test then checked too early and saw one registration fewer. - On a clean tree, running the file alone failed 1 time in 5 with the same assertion. - With 4 copies running in parallel, the original test failed 6 times in 12. **Fix** (`packages/api/test/mcpTunnelMode.test.ts:321`): the wait now polls every 5ms for up to 10 seconds instead of counting event-loop turns. The assertions are unchanged, so a registration that never happens still fails the test. **Verification:** with the fix, 24 runs (4 in parallel at a time) all passed, 17/17 each. Lint with zero warnings is clean for the file. I only re-ran this test file, not the whole shard. There's no visual change, so I didn't add previews. PR: #3647 Comment by: @propr-dev[bot] (ID: 6942211368) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
|
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 e07e99c Processed 2 comments:
Summary of ChangesI fixed the failure. It was a timing-sensitive test, not a bug in this PR: the PR doesn't touch the diff popup or the test file. The only change is in Cause. In Chromium the test drives the diff popup with simulated finger swipes. How far a swipe scrolls depends on how fast the browser sees the finger move, and that slows down when the CI host is busy. The test assumed fixed distances: one more swipe right after "across and back" would reach the start of the lines, and two swipes up would get back to the bottom after one swipe down. Under load the swipes came up short, which is exactly what CI hit (left at 404 instead of 0; 467 instead of 629 from the bottom). Reproduction. I ran the test with all 12 CPU cores kept busy. The unchanged test failed 3 times out of 4 at the same line as CI, landing 449 and 441 from the bottom instead of 629. Fix. The two return trips now keep swiping until the popup reaches the end, up to 8 swipes. Each swipe must:
The other swipe checks are unchanged. Verification.
There are no previews because only test code changed. Review digestRisk-tiered paths
Validation evidence
Diff size: 1 file changed, +15/−3 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…bug in this PR: the PR doesn't touch the diff popup or the test file. The only change is in `propr-ui/e2e/task-review-diff-mobile.pw.ts`. I fixed the failure. It was a timing-sensitive test, not a bug in this PR: the PR doesn't touch the diff popup or the test file. The only change is in `propr-ui/e2e/task-review-diff-mobile.pw.ts`. **Cause.** In Chromium the test drives the diff popup with simulated finger swipes. How far a swipe scrolls depends on how fast the browser sees the finger move, and that slows down when the CI host is busy. The test assumed fixed distances: one more swipe right after "across and back" would reach the start of the lines, and two swipes up would get back to the bottom after one swipe down. Under load the swipes came up short, which is exactly what CI hit (left at 404 instead of 0; 467 instead of 629 from the bottom). **Reproduction.** I ran the test with all 12 CPU cores kept busy. The unchanged test failed 3 times out of 4 at the same line as CI, landing 449 and 441 from the bottom instead of 629. **Fix.** The two return trips now keep swiping until the popup reaches the end, up to 8 swipes. Each swipe must: - move closer to the end, - leave the other direction where it was, - keep the popup and the page behind it still, as before. The other swipe checks are unchanged. **Verification.** - **No extra load:** the unchanged test passed 5 of 5. - **Half the cores busy:** the fixed test passed 6 of 6. The unchanged test also passed 6 of 6 at that level, so this run doesn't separate them. - **All 12 cores busy:** the fixed test always got past the swipe checks. All 5 runs still failed: each hit the 30-second test time limit at a later step. That much load is beyond what CI sees, but it means the fix isn't proven to pass at the exact load that broke the old test. - ESLint is clean on the file. There are no previews because only test code changed. PR: #3638 Comment by: @propr-dev[bot] (ID: 6943927618) Comment by: @github-actions[bot] (ID: 6943930134) Model: Claude Opus 5.5
…right away instead of "Hover to preview the report" (#3659) * The run history now shows each run's report preview as soon as the list loads. No hover, focus or extra request per row is needed, so it also works on touch screens. The placeholder text "Hover to preview the report" was already gone from this branch, so there was nothing to remove. Rows only showed a preview after a hover or focus. Server - A new helper, `automationReportPreview` in `packages/shared/src/automationReportPreview.ts`, takes the first line of a report that has words in it. It strips Markdown markers (headings, lists, quotes, task boxes, links, emphasis, code) and skips fences, rules and table dividers. Lines over 160 characters are cut at a word boundary with `…`. - `publicAutomationRun` in `packages/api/routes/automationDefinitionRoutes.ts` adds `reportPreview` to the list form only. Runs without a report don't get the field. The full report and the run detail are unchanged. The list query already loaded each report, so this adds no queries. - The MCP `list_automation_runs` and the CLI's `propr automation runs --json` already used the same serializer, so they now carry the field too. I updated the MCP tool description and the CLI's run type; there is no new CLI table output. UI - `AgentRunRow` shows `run.reportPreview`, and the row grid classes are unchanged. - I removed the hover loader (`useReportPreviews` and the `onMouseEnter`/`onFocus`/`onTouchStart` handlers) and the in-memory cache (`rememberReportPreview`, `recalledReportPreview`, `forgetReportPreviews`, `firstReportLine`). The run detail page wrote to that cache but never read from it, so it went too. - I added a short paragraph about the preview to `docs/docs/features/agents.md`. Tests - Helper: new unit tests in `packages/shared`. 3 pass. - API: a new test in `agentDefinitionRoutes.test.ts` covers a multi-line Markdown report (one-line preview without markers), a very long first line (cut with `…`) and a run with no report (no field). The full route file and the automation tests pass (43). - MCP: all 16 tests in `mcpAgentRuns.test.ts` pass, but the process then hangs at exit and was stopped by the timeout. This package's node tests do that, so I read the per-test results instead. - CLI: typecheck passes and the automation tests pass (27). - UI: a vitest test checks that the preview shows on first render with no pointer events and no run-detail request. All 140 tests in that folder pass. - Browser: I updated `e2e/automation-runs-mobile.pw.ts`. It now returns the list the way the server does and checks that the preview stays on one line with an ellipsis at 320, 390 and 1440 px. At 1440 px it also checks that the preview doesn't push the duration column. All 5 pass. - Typecheck and lint are clean. The screenshots at 1440 px and 390 px are attached as previews. * feat(ai): I fixed the type error that failed all three "Validate unsigned … package" checks (linux-x64, darwin-arm64, linux-arm64). I fixed the type error that failed all three "Validate unsigned … package" checks (linux-x64, darwin-arm64, linux-arm64). **Cause:** in `propr-ui/e2e/automation-runs-mobile.pw.ts`, the `listed` helper only accepted the shape of the `completed` and `running` fixture runs. The test also passes it the `cancelled` and `older` runs, whose shapes differ, so `tsc --noEmit` rejected the `pageRuns.map(listed)` call. The package validation runs that typecheck, which is why all three jobs failed. **Fix:** the parameter is now typed as any run in the fixture list: ```ts const listed = ({ report, ...run }: (typeof runs)[number]) => { ``` This only changes a type, so the test does the same thing as before. **Checks:** - `npm run typecheck` in `propr-ui` passes with the fix and reports errors again when I put the old line back. - ESLint is clean on the file. - I didn't rerun the Playwright spec, since only a type changed. I made no previews because nothing visible changed. PR: #3659 Comment by: @propr-dev[bot] (ID: 6943825844) Comment by: @propr-dev[bot] (ID: 6943829393) Comment by: @propr-dev[bot] (ID: 6943852748) Model: Claude Opus 5.5 * feat(ai): I fixed F1. A report that opens with a language-tagged fence (`` ```json ``, `~~~json`) no longer shows the language label as its preview; the next line with words in it is used instead. The new tests pass and typecheck is clean. I fixed F1. A report that opens with a language-tagged fence (`` ```json ``, `~~~json`) no longer shows the language label as its preview; the next line with words in it is used instead. The new tests pass and typecheck is clean. **Change** (`packages/shared/src/automationReportPreview.ts`) - Fence lines now have their own check, `FENCE`, and are taken out of `STRUCTURE_ONLY`, which now only covers rules and table dividers. - A backtick fence can now carry a label after the backticks, as long as the label has no backticks in it (that's the Markdown rule). A tilde fence can carry any label. - Because of that rule, a line like ```` ```inline code``` after ```` is still read as inline code, not as a fence. **Regression tests** (`packages/shared/test/automationReportPreview.test.ts`): a new test checks that the line after the fence supplies the preview in these cases: - `` ```json `` followed by `{"status":"passed"}` - `` ```ts title="report.ts" `` - `~~~json` - `` ~~~ python `fenced` `` - an indented four-backtick fence followed by a `#` heading - a labelled fence with nothing after it (the preview is empty) - the inline-code line above, which must still give its text as the preview **Verification** - The shared helper tests pass (4 of 4), and `tsc --noEmit` passes in `packages/shared`. - Run against the code before this fix, the new test fails with `actual: 'json'`, which is exactly the reported defect. - ESLint skips these files because the repo's lint config doesn't cover them, so they had no lint check. **Same defect elsewhere:** none. This helper is the only place that builds the preview; the API serializer, MCP tool, CLI and UI row all pass along its output, so they're all fixed by this one change. The old UI `firstReportLine` was already removed on this branch. This doesn't change the screen layout, so I didn't make new previews. PR: #3659 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…umn, off-screen table columns, and one format for times, counts and status colours (#3648) * The unit tests pass. A wider Playwright run (264 tests over Tasks, Goals, Inbox, Automations, Access, Dashboard and search) is going in the background. I'll check it when it finishes. * feat(ai): I fixed the failing **Validate Changes** check by updating the Playwright test. No app code changed. I fixed the failing **Validate Changes** check by updating the Playwright test. No app code changed. **Why it failed:** the test (`propr-ui/e2e/planner-studio.pw.ts:10`) came from the earlier Plans work now on main, and it expected the Plans index to show the repository as a plain mono link with no background. This branch replaced that link with the shared `RepositoryChip`, so the test couldn't find the link and failed. The chip change is what issue #3607 asks for: item 9 wants one repository chip, with the short name and the owner in the tooltip, in lists and details, and names Plans as one of the screens that showed plain mono text. **What I changed:** I rewrote the test's two repository assertions to match the chip: - A visible chip on the Plans index reads exactly `propr`. - Its tooltip is the full `integry/propr`. - No chip name includes the `integry/` owner prefix. I also renamed the test from "…quiet status and unboxed repo" to "…quiet status and the shared repo chip". The checks on the title line, the status colours and the summary line are unchanged. **Verification:** the updated test passes locally, and so does the whole planner-studio spec (16 tests). The change is test-only and nothing on screen differs, so I didn't make a visual preview. PR: #3648 Comment by: @propr-dev[bot] (ID: 6941403978) Model: Claude Opus 5.5 * feat(ai): I fixed F1 (raw model IDs in tooltips) and added the S1 layout test. The S1 test found a real overlap, which I fixed too. I fixed F1 (raw model IDs in tooltips) and added the S1 layout test. The S1 test found a real overlap, which I fixed too. **F1: model tooltips** - The model name appears in three places per row of the LLM log, not two: the desktop column, a line under the work reference that shows only between the `lg` and `xl` breakpoints, and the stacked line on small screens. All three showed the human-readable name but put the raw ID (e.g. `claude-opus-4-1-20250805`) in the tooltip. The `ModelName` component covers the first two, and both tooltips now use `formatModelName`. A row with no model shows `-` and no tooltip. - I looked for the same mistake in the other model tooltips this PR adds (the agent efficacy table and the analytics Models table). Both already use readable names. - Two new tests in `propr-ui/src/pages/LlmLogsTable.test.tsx`: - All three places show the readable name in their tooltip, and nothing in the row carries the raw ID. - A missing model shows as a dash with no tooltip. - I ran the first test against the old code and it failed, so it catches this bug. **S1: older timestamps in earlier updates** - New Playwright test in `propr-ui/e2e/dashboard-recent-updates.pw.ts`, run at 1440px and 390px. It uses updates 11 and 40 days old, plus one from 16 minutes ago. It checks that each date is not cut off, does not run into the type badge, and that the badges line up across rows. - **On the current code it failed at both widths.** The overlap is real and this PR caused it: the label used to stay short ("12d ago"), but the shared formatter now shows "Sep 12, 2026", which doesn't fit the 3.5rem column. - I widened that column to 5.25rem in `propr-ui/src/components/Dashboard/CompletedFeed.tsx` (one line). That fits a 12-character date in the 11px monospace font, and every row keeps the same column so the badges stay aligned. On a 390px screen the update summary column is about 28px narrower and truncates sooner. **Checks:** the LLM log unit tests pass (11), `dashboard-recent-updates.pw.ts` and `dashboard-sections.pw.ts` pass (19 Playwright tests), and ESLint with zero warnings and `tsc` are clean on the changed files. **Previews:** I captured the earlier-updates list at 390px and 1440px with the older dates. The F1 change only affects hover tooltips, so it has no screenshot. PR: #3648 Comment by: @integry (ID: 6942314612) Model: Claude Opus 5.5 * feat(ai): The CI failure is a timing-sensitive test, not a bug in this PR. I changed the test so it no longer depends on how far a single swipe scrolls. I couldn't reproduce the CI failure here, so I can't confirm this fixes it until CI runs again. The CI failure is a timing-sensitive test, not a bug in this PR. I changed the test so it no longer depends on how far a single swipe scrolls. I couldn't reproduce the CI failure here, so I can't confirm this fixes it until CI runs again. **What failed:** one test, `e2e/task-review-diff-mobile.pw.ts`, at the step where simulated finger swipes scroll the diff popup at 390px. The other 945 Playwright tests passed. The two attempts failed at different points: - **First attempt:** one rightward swipe was expected to bring the lines back to their start, but they stopped 395px short. - **Retry:** two upward swipes were expected to get back to the bottom of the diff, but they stopped 88px short. How far a swipe carries after the finger lifts depends on how evenly the touch events arrive, which varies on a busy CI host. The test assumed a fixed number of swipes would always reach the edge. This PR doesn't touch the diff popup, this test, or the test helpers it uses. **The fix** is in `propr-ui/e2e/task-review-diff-mobile.pw.ts`: in those two places the test now keeps swiping until it reaches the edge, up to six swipes. It still checks that every swipe keeps the popup, the close button and the page behind it still. It also still checks that horizontal swipes leave the vertical position alone, and the other way round. If the edge isn't reached after six swipes, the test fails with a clear message. **Verification:** - The updated test passed 3 runs in a row. - With 8 of the 12 CPUs kept busy, it passed 5/5, but the original version also passed 5/5. - Under heavier load (all 12 CPUs busy), every run hit the 30-second test timeout instead. Under moderate load the test took 28–32s, so it is already close to that limit. - Lint is clean (zero warnings) and the type check reports no errors for the file. This is a test-only change with nothing visible, so I didn't create a preview. PR: #3648 Comment by: @propr-dev[bot] (ID: 6944197681) Model: Claude Opus 5.5 * feat(ai): The failing test now passes, and so does the full `propr-ui` vitest suite: 369 files, 3452 tests, no failures. The failing test now passes, and so does the full `propr-ui` vitest suite: 369 files, 3452 tests, no failures. **Cause:** the test was expecting the old label. #3647 on the epic branch changed `formatType` in `propr-ui/src/pages/llmLogsUtils.ts:60` to use sentence case: it capitalises only the first word and keeps acronyms in capitals. So `plan_generation_with_refinement` now displays as "Plan generation with refinement", but the test still looked for "Plan Generation With Refinement". **Fix:** since the epic branch's wording is the intended one, I changed the test, not the label code. The expected title at `propr-ui/src/pages/LlmLogsTable.test.tsx:74` is now `'Plan generation with refinement'`. That one assertion is the whole change; the full-suite run found no other tests still using the old title-case labels. This was the same test that failed in CI shard 3/4, so that failure should clear on the next run. The change is test-only and nothing on screen changes, so I didn't make a visual preview. PR: #3648 Comment by: @integry (ID: 6945581254) Comment by: @propr-dev[bot] (ID: 6945610866) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
… clipped controls and touch-only hints (#3670) * That stopped background job only waited for the regression run to finish. It never exited because its process check matched its own shell command, so it ran until the time limit. Nothing needs re-running: the run it was waiting on had already finished, with all 174 tests passing. * feat(ai): I fixed the failing `Validate Changes` check. The failure was in the test, but it also exposed a real accessibility problem that this PR introduced. I fixed the failing `Validate Changes` check. The failure was in the test, but it also exposed a real accessibility problem that this PR introduced. **What was wrong** - **Test bug:** at 880x620 with enlarged text, the window counts as short, so this PR's one-line compact header replaces the full one. The test then needs the overflow button, but it searched for `/more actions/i`, and the button is named "More task actions". That fallback could never have matched; it only started being used once this PR added the compact header. - **Missing heading:** with the regex fixed, the test then failed because the page had no heading at all in a short window. The full header, which holds the task title as a heading, is hidden while the compact header shows the title as plain text. Screen-reader users lost the page's heading. **Changes** - `e2e/task-dialog-native-chrome.pw.ts`: the regex is now `/more task actions/i`. I made the same fix in `task-split-resize-state.pw.ts`, `task-followup-feedback.pw.ts` and `task-followup-handoff.pw.ts`, which had the same broken pattern. - `ContextStrip.tsx` and `CompactTaskHeader.tsx`: in the short-window header only, the task title is now a level-2 heading. It looks the same as before. The phone's compact bar is unchanged, because the full summary above it still has the heading. **Verification** - `task-dialog-native-chrome` and `task-details-short-viewport`: 23 passed, including all three 880x620 enlarged-text cases that failed in CI. - The three other specs I edited: all passed. Their only failures in the same run were those three CI cases, before the heading fix. - Six more specs that use the task header actions, including `touch-hit-areas`: 53 passed. - `src/components/TaskDetails` unit tests: 455 passed. Typecheck and zero-warning lint are clean. I didn't add a visual preview because nothing on screen changes. PR: #3670 Comment by: @propr-dev[bot] (ID: 6948801555) Model: Claude Opus 5.5 * feat(ai): I fixed the failing `Validate Changes` check. The failed step was the browser smoke test. That CI run tested the previous commit (8678fa2), where 7 tests failed. The current head had already fixed 3 of them (the dialog tests at 880×620 with enlarged text), and its own CI run was cancelled. The other 4 also failed on the current head when I ran them locally, so I fixed those: I fixed the failing `Validate Changes` check. The failed step was the browser smoke test. That CI run tested the previous commit (8678fa2), where 7 tests failed. The current head had already fixed 3 of them (the dialog tests at 880×620 with enlarged text), and its own CI run was cancelled. The other 4 also failed on the current head when I ran them locally, so I fixed those: 1. **Goal header ran off the screen at 320px with 200% text** (`goal-repository-identity`, 2 tests: the "…" menu ended at 331px in a 320px window). This was a real problem caused by this PR. To keep the "…" menu off a row of its own, the PR made the last action ("Open draft PR") and the menu one unit that never wraps. With very large text the two together are wider than the screen. In `src/pages/GoalsPage.tsx` the pair can now wrap, but only when it doesn't fit on one row. At normal text sizes it stays on one row as before, so the 390px fix still holds. 2. **Task header test with enlarged text** (`task-header-repository`, 150% and 200%). This one was the test, not the app. At 1280×820 with enlarged text the task pane counts as a short window, so this PR's one-line compact header takes the place of the full header and the repository chip the test looks for. In `e2e/task-header-repository.pw.ts` these two tests now use a 1280×1400 window, so they still check the chip in the full header under enlarged text. The short-window header has its own spec. One thing for you to judge: the issue says "no desktop layout changes at 1280 and above", and at 1280px with enlarged text the header does now switch to the compact one. I treated that as the intended short-window behaviour, but if you'd rather keep the full header there, the switch needs a width condition. **Verification (local, one worker):** - `goal-repository-identity` and `task-header-repository`: 34 passed. All 4 failed on the current head before the fix. - `touch-hit-areas`, `task-dialog-native-chrome` and `task-details-short-viewport`: 38 passed. - UI typecheck and zero-warning lint on the changed files: clean. There's no new visual preview. At 320px with 200% text the fixed bottom navigation covers the header actions, so a screenshot wouldn't have shown the change. PR: #3670 Comment by: @github-actions[bot] (ID: 6948803937) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
✅ Epic ready for final merge: 0.9.2 release fixes: web UI defects and polishAll 12 child PRs have been merged into this epic branch. This epic PR is ready for final review and merge. Posted automatically by ProPR |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryI resolved both conflicts. No conflict markers are left anywhere in the repo, and all 9 tests in
|
|
/merge |
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - docs/docs/operations/settings-locations.md - packages/api/mcp/settingsCatalog.ts PR: #3638 Model: Claude Opus 5.5
|
🔀 Auto-merged No conflicts were found — the merge was verified by an AI agent. 🤖 Verification Details
System-triggered merge conflict resolution |
|
/ultrafix goal=8 max=4 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 4) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
One small defect found while smoke-testing this epic in a browser against real data: the MCP Log page logs React's "Encountered two children with the same key" warning on load (1440 px and 390 px). The likely source is the summary chips in |
|
✅ Applied the requested follow-up changes in commit 6df467e Summary of ChangesI fixed the duplicate-key warning on the MCP Log page. The new regression test failed before the fix and passes now, along with the other 17 tests in What caused it: the summary chips in
The other lists on the page are not a source. The table rows use the entry Fix: each chip's key is now its position plus the original key ( Regression test: it renders two tools with the same name and two clients with no id. It checks that both tool chips, the client label and all the counts still appear. It also checks that React logs neither warning. The page looks the same as before, so I didn't make any previews. Review digestRisk-tiered paths
Validation evidence
Diff size: 2 files changed, +32/−2 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…new regression test failed before the fix and passes now, along with the other 17 tests in `McpLogsPage.test.tsx`. ESLint (zero warnings allowed) and `tsc` are clean.
I fixed the duplicate-key warning on the MCP Log page. The new regression test failed before the fix and passes now, along with the other 17 tests in `McpLogsPage.test.tsx`. ESLint (zero warnings allowed) and `tsc` are clean.
**What caused it:** the summary chips in `TopList` (`McpLogsPageComponents.tsx`), and both chip lists were affected:
- **Top tools:** two entries with the same name produce React's "Encountered two children with the same key" warning (key `propr_list_tasks` in the repro).
- **Connected apps:** clients without a `clientId` leave the chips with no key. React reports that as a different warning, "Each child in a list should have a unique key prop".
The other lists on the page are not a source. The table rows use the entry `id`, and the column headers and filter options come from fixed lists with distinct values.
**Fix:** each chip's key is now its position plus the original key (`${index}:${entry.key ?? ''}`). What's shown on screen is unchanged.
**Regression test:** it renders two tools with the same name and two clients with no id. It checks that both tool chips, the client label and all the counts still appear. It also checks that React logs neither warning.
The page looks the same as before, so I didn't make any previews.
PR: #3638
Comment by: @integry (ID: 6950664744)
Model: Claude Opus 5.5
|
CI failed: CodeQL Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit b801436 Processed 2 comments:
Summary of ChangesI rewrote the Markdown cleanup in Slow regular expressions (alert 244): the two link and image patterns are replaced by a single left-to-right pass over each line. It remembers where the next Leftover Verification:
Review digestRisk-tiered paths
Validation evidence
Diff size: 2 files changed, +90/−4 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…mationReportPreview.ts` to fix both CodeQL alerts. The run-history previews look exactly as before, so I didn't make any preview images. I rewrote the Markdown cleanup in `packages/shared/src/automationReportPreview.ts` to fix both CodeQL alerts. The run-history previews look exactly as before, so I didn't make any preview images. **Slow regular expressions (alert 244):** the two link and image patterns are replaced by a single left-to-right pass over each line. It remembers where the next `]`, `)` or `>` is, so each line is read at most once however the brackets repeat. Images are still handled first, then links, so `[](https://ci)` still becomes `badge`. **Leftover `<script` (alert 245):** the tag pattern is now a similar single pass. Every `<` that has a `>` later in the line is removed together with everything up to that `>`. Any `<` that survives has no `>` after it (or is an empty `<>`), so no tag can be left in or pieced back together from the result. `a < b` is still kept as text. The preview is shown as plain React text in `AgentRunHistory.tsx`, so it was never actually rendered as HTML. **Verification:** - I ran the new code and the old regexes on 300,000 random lines built from `! [ ] ( ) < > a b` and spaces. The output was the same every time. - I added three tests to `packages/shared/test/automationReportPreview.test.ts`: - links, images and tags are cleaned up as before, including the badge case and brackets with no match. - the input `<scr<script>ipt>…` leaves no tag behind. - the CodeQL attack strings (50,000 repeats of ` and 100,000 `<` characters each finish in under 500 ms. - All 7 tests in that file pass, and `tsc --noEmit` for `packages/shared` is clean. - ESLint has no configuration for `packages/shared`, so it skipped these files and they were not linted. PR: #3638 Comment by: @github-advanced-security[bot] (ID: 4600978414) Comment by: @github-advanced-security[bot] (ID: 4600978305) Model: Claude Opus 5.5
|
ℹ️ Analyzed the follow-up request by @propr-dev[bot] Analysis SummaryI made no code changes because the fix for both CodeQL alerts is already on the branch. What happened: the failing run was on commit
The next commit, Checked locally on HEAD:
I didn't capture a preview, since nothing changes on screen. Next step: re-run CodeQL on No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR improves settings validation, navigation, queue status reporting, and responsive presentation. The visible changes show substantial regression coverage, but this review cannot establish merge readiness: 92 files are explicitly omitted, including central implementations, and the linked issue specifications are truncated. ✅ Attempt-bound operator decisions — Cancellation authorization and release now check the selected task ID again under the operator lease, preventing a replacement attempt from inheriting consent. ✅ Distinct queue states — Pending issues now distinguish queued, blocked, and skipped states, with corresponding footer counts and regression tests. ✅ Report previews without hover — Run-list responses include bounded plain-text previews, removing the previous hover-triggered detail requests. The supplied current-head status reports no failures and five pending checks. No commands or tests were run during this read-only review. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Verify Back restores list position
S2: 🟢 Complete omitted-path reviewReview the omitted implementations before making a final merge decision, particularly ScoreThe visible changes are coherent and well covered by added tests, with no verified merge blocker. Material omissions prevent a complete correctness assessment despite the currently failure-free checks. Score: 7/10 🤖 Review Details
Files omitted from review diff92 files were omitted from the review diff. Large, binary, generated, and lockfile changes are deprioritized. Did not fit the review context budget
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
|
✅ Epic merged: 0.9.2 release fixes: web UI defects and polishEpic PR #3638 has been merged into main. 12 out of 12 PRs merged into main through this epic PR. All planned epic work is now merged. Posted automatically by ProPR |
0.9.2 release fixes: web UI defects and polish
This Epic PR aggregates all changes for the plan: 0.9.2 release fixes: web UI defects and polish
Issues in this Epic
Auto-close
When this PR is merged, the following issues will be automatically closed:
Fixes #3602
Fixes #3603
Fixes #3604
Fixes #3605
Fixes #3606
Fixes #3607
Fixes #3608
Fixes #3609
Created automatically by ProPR