Skip to content

[Epic] Dashboard Data Layer UI Rebuild And Testing - #2485

Merged
integry merged 19 commits into
mainfrom
2478-epic-dashboard-data-2ki
Sep 24, 2026
Merged

integry merged 19 commits into
mainfrom
2478-epic-dashboard-data-2ki

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Dashboard Data Layer UI Rebuild And Testing

This Epic PR aggregates all changes for the plan: Dashboard Data Layer UI Rebuild And Testing

Issues in this Epic

Auto-close

When this PR is merged, the following issues will be automatically closed:

Fixes #2478
Fixes #2479
Fixes #2480


Created automatically by ProPR

…ts, typechecks, and lint.

What I built

Backend — new modules

- `packages/api/routes/dashboardQueries.ts` — the shared task-state source of truth. Holds the canonical state sets (`RUNNING_TASK_STATES`, `QUEUED_TASK_STATES`, the `action_required`/`needs_attention` set mirrored from `native-notifications.ts`), the latest-task-state query (goal tasks excluded exactly as `getTasksFromDb` excludes them), the plan-issue decision/outcome loaders, and `projectDashboardWork`, which derives every list *and* every count from one row set so they cannot drift. It never reads `notification_user_states`. `HUMAN_DECISION_PLAN_ISSUE_STATUSES` is tied to core's `PlanIssueStatus` by a compile-time assertion over a type-only import, so the route layer keeps no runtime dependency on `@propr/core`.
- `packages/api/routes/dashboardStatsQueries.ts` — the aggregated-execution source: `loadCompletionStats`, `successRate` (null, never 0, when nothing finished), `loadRecordedSpend` (null when no cost was recorded at all).
- `packages/api/routes/dashboardRoutes.ts` — `createDashboardRoutes(deps)` returning `{ getSummary, getAttention, getActive, getOutcomes }`.

Endpoints (all validate `repository` with `validateRepositoryFilter` → 400):
`GET /api/dashboard/summary` (four integer counts), `/attention` (blocked first, then decisions, oldest-first within each), `/active` (phase label from real lifecycle state, `progressLine` from `projectTaskLiveDetails` or null, plus a queue summary whose `reason` stays null unless the backend genuinely knows — paused, no workers, or all slots busy; no ETAs), `/outcomes` (one entry per terminal run, with a later merge/close as its own outcome), and `GET /api/stats/dashboard?period=7d|30d` extending the existing stats surface with previous-period comparison.

Recovery-aware exclusion: a failure is suppressed while the same issue/PR thread has running or queued work, or once a later run of that thread completed.

Shared definitions: `taskHelpers.ts` now imports the running/queued state sets from `dashboardQueries`, so the task pages and the dashboard count identically.

Frontend: `propr-ui/src/api/dashboardApi.ts` — typed clients and response interfaces using `apiFetch` + `handleApiResponse` + `shareInFlightApiRead`, keyed per endpoint and filter.

Verification

- `packages/api/test/dashboardRoutes.test.ts`: 13 tests, all passing — count consistency between summary and active, recovery exclusion, supersession by a later success, ordering, notification-dismissal independence, phase/progress-line handling, queue-reason rules, outcome collapsing, 400 on malformed repository for all five handlers, and success-rate denominator rules.
- `propr-ui/src/api/dashboardApi.test.ts`: 3 tests passing (request URLs, in-flight sharing, no sharing across filters).
- API and root `tsc --noEmit` clean; eslint clean on every changed file.
- Pre-existing, unrelated failures I did not touch: `activeWorkRoutes.test.ts` (2 plan-count assertions) and `desktopApiBoundary.test.ts` (needs GitHub-auth env this sandbox lacks) fail the same way independent of these changes.

No preview files: this task lands API surface and typed clients only — the consuming components are the follow-up task — so there is nothing visually perceptible to capture.
@propr-dev propr-dev Bot added the AI label Sep 23, 2026
New dashboard (`propr-ui/src/components/Dashboard/`)
- `SummaryStrip.tsx` — four clickable counts. Neutral styling throughout; the attention count only takes the amber emphasis when non-zero (`data-emphasis` exposes this). Each opens the matching filtered task list, carrying the repository filter.
- `NeedsAttentionPanel.tsx` — three most important items (reason, repo + issue/PR chip, title, waiting duration, one primary action) plus "View all". When empty the panel is not rendered at all; a single `lg:hidden` quiet line remains for mobile.
- `HappeningNowSection.tsx` — compact rows with real lifecycle phase, elapsed time and the reported progress line only (no invented percentages, no stall inference). Five rows with inline expansion, stable ordering, and a queue summary with the backend's reason when it knows one.
- `RecentOutcomesFeed.tsx` — flat feed, 24h default with a 7-day option, eight items initially; `ScoreBadge` rendered only where a score exists, labelled `/10`, so nothing is reserved on mobile.
- `HistoricalStatsPanel.tsx` + `DailyCompletionsChart.tsx` — Completed / Success rate / Recorded spend over 7 or 30 days with a previous-period comparison and a small daily chart. Null renders `—`, never `0%` or `$0`.
- `sectionState.ts` / `sectionPrimitives.tsx` — shared read hook (keeps last rows on a failed refresh), `useStableOrder`, time ticking, and inbox-matching row chrome reusing `RepositoryIcon`, `ReferenceChip`, `ScoreBadge` and `TaskList/utils.tsx` time helpers.

`Dashboard.tsx` is now only the repository filter (`RepositorySelector`, persisted in the URL), the socket subscription (`useSocket` + `useLiveRefreshScheduler`, one coalesced refresh token per burst), the reconnecting/last-updated line, and the responsive grid. `RepositoryBreakdown` and `TopModels` moved to a new `/analytics` route (components kept, joined there by the activity and distribution charts); nav, route chunks and docs updated.

Supporting changes
- `status=attention` on `/api/tasks` (action-required states plus unresolved failures) so the attention count actually has a list to open, with a matching dropdown option.
- Outcomes now carry a recorded critique score: the parsing moved to a shared `packages/api/routes/critiqueScore.ts` used by both `taskHelpers` and `dashboardQueries` rather than duplicated.
- Docs (web-ui, metrics, usage) and CHANGELOG updated.

Verification
- `propr-ui`: 159 files / 1244 vitest tests pass, typecheck and lint clean. `Dashboard.test.tsx` covers every acceptance criterion; I confirmed the coalescing and stable-order tests fail when the scheduler or `useStableOrder` is removed (11 calls instead of 2; reversed order).
- Backend: `dashboardRoutes` (15) and `taskHelpers` (4) pass, including new score and `attention`-filter cases. A `previewMediaProjection` failure was environmental (no GitHub auth) and passes with `PROPR_DEMO_MODE=true`.
- Playwright: new `e2e/dashboard-sections.pw.ts` (desktop, empty-attention, 320px overflow, filter + reload) plus updated `startup-critical-path` and `task-list-desktop` specs — 16 passing. Desktop window-frame fixtures and the packaged-acceptance marker were repointed off the removed "Recent Activity" heading.

Previews captured at 1440px (populated and empty-attention) and 320px. Note the previews show "Reconnecting · Last updated …" because the fixture has no websocket — that is the retained-data state working, not a defect.
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

2. Arbitrary Chip Wrapping in "NEEDS ATTENTION"

Compare the first item of HAPPENING NOW with the first item of NEEDS ATTENTION.

  • HAPPENING NOW: The repository and the issue chip sit neatly on a single line (⎇ example/workspace + Issue #2479).
  • NEEDS ATTENTION: Line 1 has Run failed • ⎇ example/workspace, but Issue #2470 is kicked down to its own isolated second line.
  • The Flaw: Dropping the issue chip onto its own line forces every single item in "NEEDS ATTENTION" to become 4 lines tall, ballooning the vertical height of the right column for no structural reason.
  • The Fix: Keep the entity chips inline with the repository name on Line 1, exactly as you did in HAPPENING NOW.

3. Status Indicator Asymmetry (RECENT OUTCOMES)

Look down the status column in RECENT OUTCOMES.

  • The Flaw:
    • Merged and Completed have a leading checkmark icon (✓).
    • Failed and Cancelled have no icon at all—just colored text.
  • The Reality: Iconography must be mathematically symmetrical across a single data column. If success states have an icon, error/cancel states must have an icon (e.g., ✕ or ▲). If error states are plain text, success states must be plain text.

4. The Summary Metric Strip is Still Unanchored

Look at NEEDS ATTENTION 4 RUNNING 6 QUEUED 2 COMPLETED TODAY 4.

  • The Flaw: It is still floating as bare text on the open canvas between the Reconnecting status and the HAPPENING NOW box. It lacks any container, background, or divider.
  • The Fix: Integrate it into an actual sub-toolbar: a single full-width bar (h-10 border-b border-slate-200 bg-slate-50/50 flex items-center px-4) so it reads as a deliberate status/filter strip.

You don't have rounded cards, but you have built a "Box-in-a-Box" grid. Instead of an IDE split-pane, you have four isolated, self-contained rectangles floating on a canvas with external margins.

Here is the exact mathematical breakdown of why the screen feels suffocated by lines:


The Border Math: 16 Borders vs. 3 Borders

What you currently have (Boxed Layout):

  • HAPPENING NOW: 4 individual borders (top, bottom, left, right)
  • RECENT OUTCOMES: 4 individual borders (top, bottom, left, right)
  • NEEDS ATTENTION: 4 individual borders (top, bottom, left, right)
  • HISTORICAL STATS: 4 individual borders (top, bottom, left, right)
  • Total perimeter borders: 16 lines, separated by ~16px outer margins, plus all the internal row dividers.

Because every quadrant is an enclosed cage separated by whitespace gaps, your eye constantly hits hard outer walls.

CURRENT: 4 ENCLOSED BOXES (16 WALLS + MARGINS)

  ┌───────────────────┐   ┌───────────────────┐
  │ HAPPENING NOW     │   │ NEEDS ATTENTION   │
  │                   │   │                   │
  └───────────────────┘   └───────────────────┘
         margin                  margin
  ┌───────────────────┐   ┌───────────────────┐
  │ RECENT OUTCOMES   │   │ HISTORICAL STATS  │
  │                   │   │                   │
  └───────────────────┘   └───────────────────┘

What an IDE / Split-Pane actually is:

An IDE console (VS Code, Linear, Raycast) does not draw 4-sided boxes with margins around its widgets. It uses shared, edge-to-edge dividing rules:

  • 1 vertical line: A single border-r border-slate-200 running from the top toolbar all the way to the bottom of the screen, separating the primary stream from the secondary stream.
  • 2 horizontal lines: A single border-b border-slate-200 dividing the left column, and one dividing the right column.
  • Margins: 0px. The sections touch the borders directly.
IDE SPLIT-PANE: 3 SHARED DIVIDERS (0 MARGINS, ZERO ENCLOSED BOXES)

                      │
   HAPPENING NOW      │   NEEDS ATTENTION
                      │
  ────────────────────┼──────────────────────
                      │
   RECENT OUTCOMES    │   HISTORICAL STATS
                      │

The Concrete Fix to Kill the "Border Clutter"

  1. Remove outer borders on the modules: On HAPPENING NOW, NEEDS ATTENTION, etc., remove border completely.
  2. Remove outer margins: Remove the mb-4, mr-4, or flex/grid gap-4 that isolates these boxes from each other.
  3. Apply single-axis rules:
    • Left column gets border-r border-slate-200.
    • Top sections get border-b border-slate-200.
    • The canvas is seamless.

This eliminates 13 redundant border lines and the external gaps, transforming a collection of boxed frames into a continuous, professional Engineering Studio console.

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit c247c82

Summary of Changes

Both outstanding points are implemented, and the two structural points from the comment were already in place on the branch.

#2 — Chip wrapping in "Needs attention" (sectionPrimitives.tsx:137, NeedsAttentionPanel.tsx:98)
RowMeta gained a wrap prop. The attention row uses wrap={false}, so reason · repository · entity stay on line 1 exactly like "Happening now". The repository chip is the only shrinkable child (min-w-0 + inner truncate), so in the 22rem column it gives up width first and keeps its full slug in its tooltip; the entity chip and the reason label are flex-none. Rows in that column are now 3 lines instead of 4.

#3 — Status indicator symmetry (RecentOutcomesFeed.tsx:65)
SUCCESS_KINDS is replaced by a KIND_ICONS map covering every kind: Check for completed and merged (one glyph, so the two successes stay indistinguishable per the existing design rule), X for failed, CircleSlash for cancelled and closed. Colour is still spent only on failure. The status cell is now one OutcomeKindLabel component, so the glyph-plus-word shape cannot diverge per kind again.

#4 — Summary strip anchoring: already done. SummaryStrip renders flex min-h-10 … border-b border-slate-200 bg-slate-50/50 with per-count border-r dividers. Two deliberate deviations from the literal h-10 … px-4: min-h-10 because at 320px four counts wrap to two rows rather than scroll sideways, and the horizontal padding sits on each count (px-3) so the first label lines up with the px-3 rail of the section headings below and each count is a full-height click target.

Border math / split-pane: already done. Dashboard.tsx renders no boxed modules — zero module borders, zero gaps, one lg:border-r on the main column carried to the bottom of the viewport by lg:grid-rows-[auto_minmax(min-content,1fr)], and one border-b per row. The design-rules test asserts no cell carries a bare border, rounded, or shadow.

Verification: 27 unit tests in Dashboard.test.tsx / Dashboard.designRules.test.tsx pass, including two new design rules — one asserting the attention meta line is flex-nowrap and contains both the repository and entity chips, one asserting all five outcome kinds render an icon. tsc --noEmit and eslint are clean, and the four dashboard-sections.pw.ts Playwright tests pass, including the 320px no-horizontal-overflow check. Desktop (1440px) and mobile (320px) captures confirm both fixes render as intended.

Visual preview

Dashboard at 1440px

Dashboard at 1440px

Needs attention rows now keep the reason, repository and entity chip on one line, and every Recent outcomes status carries a glyph (check for completed/merged, cross for failed, slash for cancelled/closed).

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard at 320px

Dashboard at 320px

The single-line attention metadata still fits the narrowest viewport: the repository chip gives up width first and keeps its full name in its tooltip.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 5m 44s
  • Tokens: 1,846,715 (1,829,218 in / 17,497 out)
  • Cost: $1.77
  • Subscription usage: Session +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5797433917✓

…ural points from the comment were already in place on the branch.

Both outstanding points are implemented, and the two structural points from the comment were already in place on the branch.

**#2 — Chip wrapping in "Needs attention"** (`sectionPrimitives.tsx:137`, `NeedsAttentionPanel.tsx:98`)
`RowMeta` gained a `wrap` prop. The attention row uses `wrap={false}`, so reason · repository · entity stay on line 1 exactly like "Happening now". The repository chip is the only shrinkable child (`min-w-0` + inner `truncate`), so in the 22rem column it gives up width first and keeps its full slug in its tooltip; the entity chip and the reason label are `flex-none`. Rows in that column are now 3 lines instead of 4.

**#3 — Status indicator symmetry** (`RecentOutcomesFeed.tsx:65`)
`SUCCESS_KINDS` is replaced by a `KIND_ICONS` map covering every kind: `Check` for completed and merged (one glyph, so the two successes stay indistinguishable per the existing design rule), `X` for failed, `CircleSlash` for cancelled and closed. Colour is still spent only on failure. The status cell is now one `OutcomeKindLabel` component, so the glyph-plus-word shape cannot diverge per kind again.

**#4 — Summary strip anchoring: already done.** `SummaryStrip` renders `flex min-h-10 … border-b border-slate-200 bg-slate-50/50` with per-count `border-r` dividers. Two deliberate deviations from the literal `h-10 … px-4`: `min-h-10` because at 320px four counts wrap to two rows rather than scroll sideways, and the horizontal padding sits on each count (`px-3`) so the first label lines up with the `px-3` rail of the section headings below and each count is a full-height click target.

**Border math / split-pane: already done.** `Dashboard.tsx` renders no boxed modules — zero module borders, zero gaps, one `lg:border-r` on the main column carried to the bottom of the viewport by `lg:grid-rows-[auto_minmax(min-content,1fr)]`, and one `border-b` per row. The design-rules test asserts no cell carries a bare `border`, `rounded`, or `shadow`.

**Verification**: 27 unit tests in `Dashboard.test.tsx` / `Dashboard.designRules.test.tsx` pass, including two new design rules — one asserting the attention meta line is `flex-nowrap` and contains both the repository and entity chips, one asserting all five outcome kinds render an icon. `tsc --noEmit` and eslint are clean, and the four `dashboard-sections.pw.ts` Playwright tests pass, including the 320px no-horizontal-overflow check. Desktop (1440px) and mobile (320px) captures confirm both fixes render as intended.

PR: #2485
Comment by: @integry (ID: 5797433917)
Model: claude-opus-5
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

There's still an insane amount of divider borders

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 426b4b6

Summary of Changes

Done. I cut the dashboard's rules back to the structural ones and let space and tint do the rest.

Removed

  • Per-row rules in all three lists (Happening now, Recent outcomes, Needs attention) — the biggest offender: a hairline under every row, ~16 of them on a full screen. Rows are now separated by their own padding (20px between rows vs 4px inside one), which is a strong enough grouping signal on its own.
  • Three vertical rules inside the summary strip between the four counts.
  • The toolbar's bottom rule — it and the summary strip are now one chrome band of a single tint (bg-slate-50, previously slate-50 over slate-50/50), closed by one rule instead of two.
  • divide-x between the three historical metrics — replaced with gap-x-4.
  • The two segmented-control boxes (outcome window, stats period) — now a tinted track with a white active pill.
  • The outlined Open/Review buttons in the attention column — now filled slate chips, so the narrow column has no small boxes in it.
  • border-t on the queue-summary footer and both "Show N more" buttons — the footer's tint already says it is a footer.

Kept (these are the rules that mean something): the one vertical pane divider, the horizontal pane edges, the four pane-header rules, and the single rule closing the chrome band above the panes.

Chip outlines on the repo/entity code chips are untouched — ReferenceChip is shared with the task list, so changing it would reach beyond this PR.

Verification: dashboard unit tests, design-rule tests and the API tests pass (31), the four Playwright dashboard e2e tests pass, and typecheck and eslint are clean. The design-rule suite gained a test asserting no list row, summary count or metric cell carries a border, so the hairlines can't creep back; its bg-slate-50/50 assertion was loosened to match the unified tint.

Visual preview

Desktop dashboard with an empty attention panel

Desktop dashboard with an empty attention panel

1440px console with nothing to attend to, showing the same divider discipline when the right column collapses to historical stats.

Original unavailable: managed storage is unavailable or the upload has expired.

Desktop dashboard without row rules

Desktop dashboard without row rules

1440px console. Rules are now spent only on the chrome band, the four pane headers and the shared pane edges: list rows, summary counts, stat metrics, the segmented controls, the queue footer and the show-more buttons all lost their hairlines.

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard without row rules

Mobile dashboard without row rules

320px stacked layout. Attention and running rows are separated by space alone; the wrapped summary counts no longer carry vertical rules between them.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 6m 54s
  • Tokens: 1,827,972 (1,810,209 in / 17,763 out)
  • Cost: $1.78

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5797686898✓

…es and let space and tint do the rest.

Done. I cut the dashboard's rules back to the structural ones and let space and tint do the rest.

**Removed**
- **Per-row rules in all three lists** (`Happening now`, `Recent outcomes`, `Needs attention`) — the biggest offender: a hairline under every row, ~16 of them on a full screen. Rows are now separated by their own padding (20px between rows vs 4px inside one), which is a strong enough grouping signal on its own.
- **Three vertical rules inside the summary strip** between the four counts.
- **The toolbar's bottom rule** — it and the summary strip are now one chrome band of a single tint (`bg-slate-50`, previously `slate-50` over `slate-50/50`), closed by one rule instead of two.
- **`divide-x` between the three historical metrics** — replaced with `gap-x-4`.
- **The two segmented-control boxes** (outcome window, stats period) — now a tinted track with a white active pill.
- **The outlined `Open`/`Review` buttons** in the attention column — now filled slate chips, so the narrow column has no small boxes in it.
- **`border-t` on the queue-summary footer and both "Show N more" buttons** — the footer's tint already says it is a footer.

**Kept** (these are the rules that mean something): the one vertical pane divider, the horizontal pane edges, the four pane-header rules, and the single rule closing the chrome band above the panes.

Chip outlines on the repo/entity code chips are untouched — `ReferenceChip` is shared with the task list, so changing it would reach beyond this PR.

Verification: dashboard unit tests, design-rule tests and the API tests pass (31), the four Playwright dashboard e2e tests pass, and typecheck and eslint are clean. The design-rule suite gained a test asserting no list row, summary count or metric cell carries a border, so the hairlines can't creep back; its `bg-slate-50/50` assertion was loosened to match the unified tint.

PR: #2485
Comment by: @integry (ID: 5797686898)
Model: claude-opus-5
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

2. Chip Suffocation & Truncation in "NEEDS ATTENTION"

Look at Line 1 of the items in "NEEDS ATTENTION" (e.g., Run failed • ⎇ example/workspa... Issue #2470).

  • The Flaw: You successfully moved the chips onto Line 1, but the right column is physically too narrow to hold three discrete tags (Status • Repo • Issue).
    • example/workspace is aggressively truncated to example/workspa... and example/work....
    • The Issue #2470 chip is smashed directly against the right boundary.
  • The Fix:
    • Option A: Widen the right column (e.g., give it a fixed w-96 or 35% flex-basis instead of squishing it).
    • Option B (Better for density): In this narrow right rail, omit the organization prefix from the repo chip. Render workspace instead of example/workspace. The developer already knows the organization context; saving those 8 characters stops the chip from truncating into an unreadable string.

3. Stray Pagination Link (Show 1 more)

Look at the bottom of the HAPPENING NOW section.

  • The Flaw: You have:
    1. The 5th item (Document the dashboard data contracts)
    2. A floating, centered text link: Show 1 more
    3. A full-width status footer: 2 queued • All agents are busy | View queue
  • The Reality: Show 1 more is floating in awkward white space with no divider above it, looking like an accidental link dropped between a list and a footer bar.
  • The Fix: If there is only 1 more item, either render the 6th item directly (you have plenty of vertical room), or integrate the expand action into the gray queue bar at the bottom rather than letting it float as loose text.

4. The Metrics Strip is Still Unanchored

Look at NEEDS ATTENTION 4 RUNNING 6 QUEUED 2 COMPLETED TODAY 4.

  • The Flaw: It is still floating as unstyled text on the open canvas between the Reconnecting status and the HAPPENING NOW header. It has no container, no background, and no divider anchoring it.
  • The Fix: Give it an explicit structural home. Wrap it in a continuous sub-toolbar: h-9 border-b border-slate-200 bg-slate-50/50 flex items-center px-4 text-xs so it acts as an engineered status bar rather than loose text hovering over the feeds.

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f7300b4

Summary of Changes

All three points are implemented and verified against a rendered dashboard.

2. Chip suffocation in "Needs attention" — took Option B. RepositoryLabel gained a short prop that draws the repository name without its owner (workspace, design-system), keeping the full slug in the chip's tooltip and the owner's identity in the repo icon. Only the narrow right rail uses it; the main column still shows example/workspace. With those eight characters back, all three chips sit whole on line 1 and Issue #2470 is no longer pressed to the edge — an e2e assertion now fails if anything in that panel clips (scrollWidth > clientWidth).

I also fixed the same flaw at phone width, which the request didn't name: the metadata line was forced onto one row at every width, so at 320px the chips were cut to design-s… even though the panel is full width there. The no-wrap rule is now lg:-scoped — it applies only where a 22rem column is what constrains the line.

3. Stray "Show 1 more" — both halves of the fix. A single overflow row is now simply drawn (OVERFLOW_SLACK = 1), since a toggle that costs a line of chrome and a click to reveal one line of content isn't worth it; past that, the expand control lives inside the gray footer bar alongside the queue summary, so the section ends with one bar reading 2 queued • All agents are busy … Show 2 more · View queue. "Recent outcomes" got the same shared SectionFooter so its expand link doesn't float either. The e2e fixture went from six running items to seven, because six is now the case that renders whole — the toggle only exists past the slack, so that's where it has to be exercised.

4. Metrics strip unanchored — the strip already had a height, a tint and a bottom rule; what it lacked was a visible top edge, because the toolbar above it carried the identical bg-slate-50 and the two dissolved into one band. The toolbar is now white and the strip is a step darker than the pane headings below it: white toolbar → bg-slate-100 console bar → bg-slate-50 pane headers → white rows. That anchors it with a tint change rather than another rule, which matters given the earlier note about divider count. Hover tints moved up a step to stay visible on the darker bar.

Verification: 34 dashboard unit and design-rule tests pass, the 4 Playwright e2e tests pass, typecheck and eslint are clean. The design-rule suite gained four assertions — the short chip in the narrow column (and the full slug retained in the main one), the footer holding both the queue summary and the toggle, a single overflow row drawn rather than folded, and the toolbar above the strip not sharing its tint.

Visual preview

Desktop dashboard with nothing to attend to

Desktop dashboard with nothing to attend to

The same console with the attention panel absent, showing the anchored summary bar against the white toolbar above it.

Original unavailable: managed storage is unavailable or the upload has expired.

Desktop dashboard

Desktop dashboard

Attention chips fit the right rail whole (workspace, design-system) with the entity chip clear of the edge, the running list closes with one footer bar carrying '2 queued • All agents are busy' and 'Show 2 more', and the counts sit in a tinted, ruled status bar under the white toolbar.

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard at 320px

Mobile dashboard at 320px

The stacked layout at 320px: the anchored summary bar, short repository chips, and an attention metadata line that now wraps whole chips instead of cutting them to 'design-s…'.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 12m 37s
  • Tokens: 4,272,754 (4,239,788 in / 32,966 out)
  • Cost: $3.52
  • Subscription usage: Session +6%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5798114700✓

propr-dev[bot] and others added 2 commits September 23, 2026 16:09
…dered dashboard.

All three points are implemented and verified against a rendered dashboard.

**2. Chip suffocation in "Needs attention"** — took Option B. `RepositoryLabel` gained a `short` prop that draws the repository name without its owner (`workspace`, `design-system`), keeping the full slug in the chip's tooltip and the owner's identity in the repo icon. Only the narrow right rail uses it; the main column still shows `example/workspace`. With those eight characters back, all three chips sit whole on line 1 and `Issue #2470` is no longer pressed to the edge — an e2e assertion now fails if anything in that panel clips (`scrollWidth > clientWidth`).

I also fixed the same flaw at phone width, which the request didn't name: the metadata line was forced onto one row at *every* width, so at 320px the chips were cut to `design-s…` even though the panel is full width there. The no-wrap rule is now `lg:`-scoped — it applies only where a 22rem column is what constrains the line.

**3. Stray "Show 1 more"** — both halves of the fix. A single overflow row is now simply drawn (`OVERFLOW_SLACK = 1`), since a toggle that costs a line of chrome and a click to reveal one line of content isn't worth it; past that, the expand control lives inside the gray footer bar alongside the queue summary, so the section ends with one bar reading `2 queued • All agents are busy … Show 2 more · View queue`. "Recent outcomes" got the same shared `SectionFooter` so its expand link doesn't float either. The e2e fixture went from six running items to seven, because six is now the case that renders whole — the toggle only exists past the slack, so that's where it has to be exercised.

**4. Metrics strip unanchored** — the strip already had a height, a tint and a bottom rule; what it lacked was a visible *top* edge, because the toolbar above it carried the identical `bg-slate-50` and the two dissolved into one band. The toolbar is now white and the strip is a step darker than the pane headings below it: white toolbar → `bg-slate-100` console bar → `bg-slate-50` pane headers → white rows. That anchors it with a tint change rather than another rule, which matters given the earlier note about divider count. Hover tints moved up a step to stay visible on the darker bar.

Verification: 34 dashboard unit and design-rule tests pass, the 4 Playwright e2e tests pass, typecheck and eslint are clean. The design-rule suite gained four assertions — the short chip in the narrow column (and the full slug retained in the main one), the footer holding both the queue summary and the toggle, a single overflow row drawn rather than folded, and the toolbar above the strip not sharing its tint.

PR: #2485
Comment by: @integry (ID: 5798114700)
Model: claude-opus-5
Implementation change

`propr-ui/src/components/Dashboard/NeedsAttentionPanel.tsx` gained a `hideWhenEmpty` prop (default `true`): with zero items it now returns `null` — absent from the DOM rather than hidden by a class. `Dashboard.tsx` passes `hideWhenEmpty={false}` so the dashboard keeps its one quiet mobile line exactly as before; rendered output in the app is unchanged.

Backend tests — `packages/api/test/dashboardRoutes.test.ts` (15 tests, all passing)

- New: count consistency now reaches the task pages, not just `summary` vs `active`. A new `taskPageTotal` helper calls `getTasksFromDb` for `active`/`waiting`/`attention` and asserts each total equals the matching summary count, for both `all` and a scoped repository, with goal tasks and other repos excluded on both sides.
- Rewritten: the notification-independence test. The harness now models the real schema (`notification_events` + `notification_user_states` keyed by `event_id`) instead of an invented `notification_id` column. It seeds two events about the same failed task across two recipients, dismisses *every* row, asserts all three are dismissed, then asserts the attention payload, its counts and `summary.needsAttention` are byte-identical to before.
- Recovery exclusion, ordering (blocking before decisions, oldest first within each), success-rate denominator (`null`, never `0`) and the 400-on-malformed-`repository` sweep across all four endpoints plus stats were already present and still pass.

Frontend unit tests — `propr-ui/src/components/Dashboard.test.tsx` (16 tests, all passing)

- Three new tests rendering `NeedsAttentionPanel` directly: `hideWhenEmpty` → `expect(container).toBeEmptyDOMElement()` with no `h2` and no empty-state text; `hideWhenEmpty={false}` → "Nothing needs your attention" with still no heading or list; and a non-empty list rendering regardless of the flag.
- The idle-vs-unavailable test now names both strings as constants and asserts `IDLE_RUNNING_MESSAGE !== UNAVAILABLE_RUNNING_MESSAGE`, plus that the idle state offers no Retry control while the failed read does.
- The burst/reorder/reconnect/null-success-rate/repository-filter tests already existed in the required form (exact call counts, no `0%`, `?repository=owner/repo` + refetch in all five sections).

Browser layout tests — `propr-ui/e2e/dashboard-responsive.pw.ts` (new, 10 tests, all passing)

Stubs `/api/`, closes `/socket.io/`, installs a fixed clock, screenshots only under `PROPR_CAPTURE_PREVIEWS` — no backend, Redis, credentials or network.

1. No horizontal document overflow at 320/390/1024/1440px, reporting any offending element by class and text.
2. At 320 and 390px: DOM order is summary strip → attention → happening now → recent outcomes → historical stats, and all five share one left edge and one width.
3. At 1440px: happening-now and recent-outcomes share the wide column; attention and stats share the narrow column to its right; a separate zero-attention test asserts the panel and the "Needs attention" heading have count 0 and that the stats panel rises to the main column's horizon.
4. An unscored outcome's text runs to the row's inner padding edge while a scored row's stops short — a reserved-but-empty score column would make them equal.
5. A long title wraps to exactly two lines, unclipped, with the full text intact and no `nowrap`/`ellipsis`, while the longer progress line is the one held to `line-clamp-1`.

Verified: 15 API tests, 1259 propr-ui unit tests (160 files), 14 Playwright tests including the pre-existing `dashboard-sections.pw.ts`, plus `tsc --noEmit` on both packages and eslint on the changed UI files.

No preview files were generated — the change is test coverage plus a prop whose dashboard wiring preserves the existing rendering, so nothing is visually perceptible to a user.
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

You fixed the pagination link by integrating Show 2 more cleanly into the queue footer bar.

However, you just exposed a catastrophic empty-state failure that destroys the entire balance of the dashboard.

Here is the critical breakdown of your layout failures:


1. Fatal Layout Collapse: The "Disappearing Section" Void

Look at the right column.

  • The Flaw: When NEEDS ATTENTION dropped from 4 to 0, you simply unmounted the component from the DOM. As a result, HISTORICAL STATS floated to the top, and the bottom 65% of the right column became a barren desert of dead white space.
  • The Reality: In a strict multi-column console, you cannot conditionally remove a major structural block and leave the entire right rail empty. It makes the app look half-rendered or crashed.
  • The Fix:
    • Never unmount the attention queue. When count is 0, render a tight, quiet zero-state inside the section:
      NEEDS ATTENTION (0) $\rightarrow$ ✓ All clear — no tasks require operator intervention.
    • This preserves the physical layout geometry of the screen so your columns don't randomly contract, shift, and leave massive blank voids depending on dynamic data.

2. The Stepped Divider is Now Completely Decoupled

In the previous review, the horizontal dividers were off by 25px. Now, they don't even share the same hemisphere.

  • The Flaw:
    • HISTORICAL STATS terminates at roughly 320px down the screen.
    • The horizontal divider separating HAPPENING NOW from RECENT OUTCOMES on the left sits at roughly 470px down the screen.
    • Below HISTORICAL STATS, the vertical dividing line just runs indefinitely through dead white canvas.
  • The Fix: By keeping NEEDS ATTENTION locked in place as the top module of the right column (with its zero-state when empty), you can lock the height of the top row across both columns so the horizontal divider runs across a single, unified line.

3. Prime Real Estate Wasted on a Fluff Chart

Because you deleted the attention queue, HISTORICAL STATS now occupies the premier top-right focal point of the dashboard.

  • The Flaw: It does not earn that position.
    • It shows three basic numbers (34, 87.5%, $12.42).
    • Below them is a 7-bar histogram with no Y-axis labels, no grid lines, and no scale, followed by a generic Full analytics link.
    • It conveys almost zero actionable operational data, yet it is currently the most prominent widget on the right side of the screen.
  • The Fix: Push historical analytics back down to the secondary/bottom tier. The top of the right rail must be reserved for operational triage (NEEDS ATTENTION).

Also keep the previous line chart, it was already working fine


4. The Metrics Strip is Still an Unanchored Ghost

Look at NEEDS ATTENTION 0 RUNNING 7 QUEUED 2 COMPLETED TODAY 4.

  • The Flaw: I have pointed this out in the last two reviews: it is still sitting as naked text floating between the Reconnecting status and the HAPPENING NOW header line. It has no background, no container, and no border.
  • The Fix: Wrap it in a continuous sub-toolbar: h-9 border-b border-slate-200 bg-slate-50/50 flex items-center px-4. Give it an actual structural container so it doesn't look like loose text hovering on the page.

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f268054

Summary of Changes

All four points are implemented and verified against rendered screenshots at 1440px and 320px.

1. The attention queue never unmounts (propr-ui/src/components/Dashboard/NeedsAttentionPanel.tsx)
The hideWhenEmpty / onEmptyChange props are gone. The panel now always renders its <section> and heading — including while the first read is in flight and when it fails — and swaps only the body: skeleton, error, NEEDS ATTENTION (0) + ✓ All clear — no tasks require operator intervention, or the rows. SectionHeading now prints a zero count (sectionPrimitives.tsx), since a bare title leaves it ambiguous whether the section ever loaded. "View all" is dropped at zero — there is nothing to view.

2. One horizon across both columns (propr-ui/src/components/Dashboard.tsx)
Every grid cell is now unconditional: attention is locked to row-start-1 of the right column, stats to row-start-2. Because cells stretch, row one is as tall as the taller of its two panes, so the rule under HAPPENING NOW and the rule under NEEDS ATTENTION are the same line. The e2e suites now assert this geometrically — needs-attention-panel.top === happening-now-section.top and historical-stats-section.top === recent-outcomes-section.top — in the empty case, which is where it used to break.

3. Stats back in the second tier
HISTORICAL STATS no longer promotes itself into the triage slot when the queue empties; it stays under the attention panel at every count. The chart itself is untouched, as you asked.

4. The metrics strip is a real sub-toolbar (Dashboard/SummaryStrip.tsx)
flex min-h-9 flex-wrap items-center gap-x-5 border-y border-slate-200 bg-slate-100 px-3 py-1.5, with the counts' own padding removed so the container owns the left rail and NEEDS ATTENTION still lands on the same vertical line as HAPPENING NOW.

Two deliberate deviations from the literal spec you gave for the strip: bg-slate-100 rather than bg-slate-50/50, because the pane headers below are already bg-slate-50 and the console's own bar should outrank a pane heading rather than tie with it; and border-y rather than border-b, because with only a bottom rule the band bled upward into the white toolbar — which is what made it read as loose text under "Reconnecting". min-h-9 rather than h-9 keeps the two-row wrap at 320px. Left rail is px-3, not px-4, to preserve the alignment with the section headings.

Tests: 398 UI unit tests pass, 14 dashboard Playwright tests pass, typecheck and lint clean. The three unit tests and two e2e tests that asserted the old "absent from the DOM" behaviour were rewritten to assert the new always-present geometry; two new tests cover the loading and error cases now that the heading outlives them.

Visual preview

Desktop, nothing needs attention

Desktop, nothing needs attention

NEEDS ATTENTION (0) stays as the top module of the right column with an all-clear line, historical stats stay in the second tier, and the horizontal rule between the two tiers runs as one line across both columns. 1440px.

Original unavailable: managed storage is unavailable or the upload has expired.

Desktop, four items needing attention

Desktop, four items needing attention

The same geometry with a populated queue: triage on top of the right rail, stats beneath it, and the summary counts anchored in the tinted sub-toolbar under the live status. 1440px.

Original unavailable: managed storage is unavailable or the upload has expired.

320px

320px

The summary sub-toolbar wraps to two rows inside its own tinted, ruled band instead of scrolling sideways.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 10m 9s
  • Tokens: 3,771,379 (3,742,666 in / 28,713 out)
  • Cost: $3.21

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5802185080✓

…ed screenshots at 1440px and 320px.

All four points are implemented and verified against rendered screenshots at 1440px and 320px.

**1. The attention queue never unmounts** (`propr-ui/src/components/Dashboard/NeedsAttentionPanel.tsx`)
The `hideWhenEmpty` / `onEmptyChange` props are gone. The panel now always renders its `<section>` and heading — including while the first read is in flight and when it fails — and swaps only the body: skeleton, error, `NEEDS ATTENTION (0)` + `✓ All clear — no tasks require operator intervention`, or the rows. `SectionHeading` now prints a zero count (`sectionPrimitives.tsx`), since a bare title leaves it ambiguous whether the section ever loaded. "View all" is dropped at zero — there is nothing to view.

**2. One horizon across both columns** (`propr-ui/src/components/Dashboard.tsx`)
Every grid cell is now unconditional: attention is locked to `row-start-1` of the right column, stats to `row-start-2`. Because cells stretch, row one is as tall as the taller of its two panes, so the rule under `HAPPENING NOW` and the rule under `NEEDS ATTENTION` are the same line. The e2e suites now assert this geometrically — `needs-attention-panel.top === happening-now-section.top` and `historical-stats-section.top === recent-outcomes-section.top` — in the empty case, which is where it used to break.

**3. Stats back in the second tier**
`HISTORICAL STATS` no longer promotes itself into the triage slot when the queue empties; it stays under the attention panel at every count. The chart itself is untouched, as you asked.

**4. The metrics strip is a real sub-toolbar** (`Dashboard/SummaryStrip.tsx`)
`flex min-h-9 flex-wrap items-center gap-x-5 border-y border-slate-200 bg-slate-100 px-3 py-1.5`, with the counts' own padding removed so the container owns the left rail and `NEEDS ATTENTION` still lands on the same vertical line as `HAPPENING NOW`.

Two deliberate deviations from the literal spec you gave for the strip: `bg-slate-100` rather than `bg-slate-50/50`, because the pane headers below are already `bg-slate-50` and the console's own bar should outrank a pane heading rather than tie with it; and `border-y` rather than `border-b`, because with only a bottom rule the band bled upward into the white toolbar — which is what made it read as loose text under "Reconnecting". `min-h-9` rather than `h-9` keeps the two-row wrap at 320px. Left rail is `px-3`, not `px-4`, to preserve the alignment with the section headings.

Tests: 398 UI unit tests pass, 14 dashboard Playwright tests pass, typecheck and lint clean. The three unit tests and two e2e tests that asserted the old "absent from the DOM" behaviour were rewritten to assert the new always-present geometry; two new tests cover the loading and error cases now that the heading outlives them.

PR: #2485
Comment by: @integry (ID: 5802185080)
Model: claude-opus-5
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

You successfully aligned the horizontal dividing lines—the stepped cross-joint is gone, and the dividing rule now runs cleanly across the entire canvas on a single shared Y-axis. You also prevented the right column from collapsing by keeping NEEDS ATTENTION mounted with a zero-state.

However, your solution to the height alignment has introduced a new structural absurdity, and you are still ignoring basic container architecture.

Here is the critical breakdown of your remaining layout failures:


1. The "Hollow Cavern" Empty State

Look at NEEDS ATTENTION (0) in the top-right quadrant.

  • The Flaw: To force the horizontal line to align with HAPPENING NOW on the left, you stretched the height of NEEDS ATTENTION to ~300px. As a result, you have a massive, empty white cavern with a single line of text (✓ All clear...) stranded in the top-left corner, followed by 250px of dead, unstyled space.
  • The Reality: If a quadrant is forced to maintain equal height with an adjacent busy feed, its zero-state cannot just be a lone string pinned to the ceiling. It looks like the rest of the content failed to load.
  • The Fix:
    • Make the zero-state an intentional, vertically centered micro-component:
      h-full flex flex-col items-center justify-center text-slate-400 py-12
    • Center a subtle icon (e.g., a quiet check circle or shield), followed by the text: All tasks operational — no attention required.
    • This makes the height feel deliberate rather than like a broken container.

2. The Metrics Strip is Still an Unanchored Ghost

Look at NEEDS ATTENTION 0 RUNNING 7 QUEUED 2 COMPLETED TODAY 4.

  • The Flaw: This is the fourth consecutive review where this remains unaddressed. It is still floating as bare, unstyled text on the open white canvas with no structural container, no background, and no border.
  • The Fix: Give it an engineered home. Wrap it in a sub-toolbar:
    • h-9 border-b border-slate-200 bg-slate-50/50 flex items-center px-4 gap-6 text-[12px]
    • This immediately anchors the top of the content area and stops the text from looking like a stray debug string hovering above HAPPENING NOW.

3. The Scaleless Histogram (Historical Stats)

Look at the bar chart in the bottom-right quadrant.

  • The Flaw: It is purely decorative fluff. You have 7 vertical bars and two dates (Sep 17, Sep 23), but zero scale, zero gridlines, and zero Y-axis markers.
  • The Reality: What does the tallest bar represent? 10 tasks? 50 tasks? 1,000 tasks? An engineer cannot extract any data from this chart without hovering over every individual bar.
  • The Fix: Add a minimal Y-axis scale (e.g., a dashed top gridline with the max value like 40, and a baseline 0), or print the integer value directly above the tallest bar and the active bar so the visual height has numerical meaning.

Again - replace the bar chart with the line chart that was used before.


4. Floating Header Sub-Bar

Look at the space directly beneath the global header: ● Reconnecting • Last updated Just now on the left, and ⎇ All Repos ▾ on the right.

  • The Flaw: This entire row is floating on the canvas with no bottom border. It bleeds directly into the loose summary metric strip, which bleeds directly into HAPPENING NOW. The top 120px of your main canvas is completely devoid of structural rhythm.
  • The Fix: Lock the page header into a clean, 2-tier toolbar:
    • Tier 1: Page context, Reconnecting status, and the Repo filter dropdown (anchored with a border-b border-slate-200).
    • Tier 2: The summary metric strip (NEEDS ATTENTION 0 | RUNNING 7...) anchored with its own border-b border-slate-200.

You cannot simply take a desktop table, squeeze the viewport down to 390px, and call it a responsive mobile view.

Your flex containers have completely collapsed into an unreadable staircase of wrapped tags, orphaned punctuation, and multi-line file paths. A single task item now takes up seven vertical lines of screen real estate.

Here is the critical breakdown of your mobile layout failures:


1. The Multi-Line Metadata Explosion (7 Lines per Item)

Look at the first item in HAPPENING NOW:

  • Line 1: ⟳ Implementing •
  • Line 2: [ ⎇ example/workspace ] [ Issue #2480 ]
  • Line 3: • 26m 00s
  • Line 4: Keep the retry budget from leaking...
  • Lines 5–7: Editing propr-ui/src/components/Dashboard/HappeningNowSection.tsx...
  • The Flaw: Because you applied a naive flex-wrap to desktop metadata, the metadata alone has exploded across three separate lines before the user even reads the title.
  • The Reality: On mobile, you can only fit 1.5 items above the fold.
  • The Fix: On mobile screens (max-w-md), stop cramming everything into a horizontal flex stream. Re-architect the item header into two strict lines:
    • Row 1 (Status & Time): ⟳ Implementing on the left, 26m 00s flush on the right.
    • Row 2 (Entities): [workspace] [Issue #2480] (Notice: drop the example/ prefix on mobile just like you did in Needs Attention).
    • Row 3 (Title): Truncated to 2 lines max.

2. The "Hanging Bullet" Typographic Bug

Look at • 26m 00s, • 9m 00s, and • 46 mins ago.

  • The Flaw: When your flex line wrapped, the separator dot (•) wrapped with the timestamp to the next line.
  • The Reality: In typography, an interpunct (•) is an inline separator, not a bullet point. Starting a new line with an orphaned bullet point looks like an unparsed template string or a rendering bug.
  • The Fix: Do not use plain text bullets between elements that wrap. Use CSS divider borders (border-r border-slate-200 pr-2 mr-2) or hide the separator before wrapped elements using CSS pseudo-elements (last:hidden).

3. Raw Path Bloat

Look at the subtitle under Keep the retry budget...:
Editing propr-ui/src/components/Dashboard/HappeningNowSection.tsx and re-running the dashboard section suite.

  • The Flaw: You are printing a 110-character raw internal file path directly onto a phone screen. It wraps to three lines of dense, monospaced text.
  • The Fix: Apply strict truncation. On mobile, truncate directory paths to just the file name (e.g., Editing .../HappeningNowSection.tsx). An engineer on mobile is triaging status, not doing code review line-by-line.

4. Broken Metric Strip Layout

Look at the top status numbers:

  • Line 1: NEEDS ATTENTION 2 RUNNING 2 QUEUED 1
  • Line 2: COMPLETED TODAY 2
  • The Flaw: COMPLETED TODAY 2 wrapped onto an orphaned second line, left-aligned, with zero container structure. It looks like an accidental spill.
  • The Fix: On mobile viewports, wrap this data in a strict 4-column micro-grid:
    • grid grid-cols-4 border-b border-slate-200 bg-slate-50 py-2 text-center
    • Stack the number on top of a 1-word label:
      • 2 Attention | 2 Running | 1 Queued | 2 Done

5. Quality Score Collision (RECENT OUTCOMES)

Look at the first outcome item (Show corrective operator messages...):

  • Line 1: ✓ Completed • $\rightarrow$ [ ⎇ example/workspace ] [ PR #2467 ] $\rightarrow$ [ ● 9 ]
  • Line 2: • 46 mins ago
  • The Flaw: The score pill [ ● 9 ] is shoved against the right margin of Line 1, while the timestamp is kicked down to Line 2 with another hanging bullet.
  • The Fix: Pin the score and status together. On mobile, the score pill should anchor to the far right of the card, vertically centered against the title, while the timestamp sits cleanly on the status row.

6. Bottom Navigation Inconsistencies

Look at the new bottom navigation bar:
New task button sits lower than other buttons

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit b551de6

Summary of Changes

All ten points are implemented and verified against rendered screenshots at 1440px, 390px and 320px.

Desktop

1. Hollow cavern — AllClear is now a SectionZeroState: h-full flex-1 flex-col items-center justify-center py-12, a quiet ShieldCheck above "All tasks operational — no attention required". The panel itself became flex h-full flex-col so the state actually centres in the height the running feed forces on it.

2. Metrics strip — it already had a container (min-h-9 border-y bg-slate-100 px-3); what it lacked was a closed toolbar above it, so it read as loose text. That is point 4.

3. Scaleless histogram — DailyCompletionsChart is now an area/line chart with a scale: dashed CartesianGrid horizontals, a YAxis labelled 0 and the period's maximum, one marker per day with only the in-progress day in teal. chartPalette.dailyBarFill → dailyPointFill. Recharts drops an edge tick it thinks won't fit, so the baseline needed interval={0} plus bottom margin — an e2e test now asserts both tick labels, the area curve, zero bars, and two dashed gridlines.

4. Floating header — tier 1 (Dashboard · connection status · repo filter) gained border-b and the panes' px-3 rail; tier 2 is the counts bar. Both tiers now close with a rule.

Mobile

1. Seven-line items — new RowMetaLines primitive: row 1 status left / elapsed flush right, row 2 entity chips, row 3 title clamped to 2 lines. sm:contents + order classes dissolve the pairing above 640px, so the desktop line is unchanged. Repo chips drop example/ below sm.

2. Hanging bullets — every Dot is gone from the dashboard rows; separation is space, and the queue footer uses a border-r divider. A design rule asserts no • survives in any section.

3. Raw path bloat — shortenPaths() collapses any token with two or more separators to …/file.tsx below sm. While verifying this I found line-clamp-1 was never clipping at all: block was winning the display fight in RowDetail, which is why the path wrapped to three lines rather than one. Fixed, and the e2e test now measures rendered height instead of line-box count.

4. Metric strip — 4-column micro-grid below sm (number over one word: Attention / Running / Queued / Done), inline bar from sm up.

5. Score collision — the pill is self-center on mobile; the timestamp sits on the status row.

6. Bottom nav — all five items share one h-8 w-9 icon slot, so the New Task label sits on the same baseline as the rest.

Tests: 1270 unit, 85 Playwright, typecheck and lint all pass. Four test expectations changed deliberately (all-clear wording, the summary count's mobile stacking, the progress-line truncation) and seven new assertions were added for the zero-state, the bullets, the path collapse, the two-tier header, the micro-grid, the two-line mobile item and the chart scale.

Visual preview

Zero-state and two-tier header at 1440px

Zero-state and two-tier header at 1440px

NEEDS ATTENTION (0) now fills its pane with a centred shield and "All tasks operational — no attention required" instead of stranding one line above 250px of dead space. The page header is two ruled tiers: page context, connection status and the repo filter, then the summary counts.

Original unavailable: managed storage is unavailable or the upload has expired.

Scaled completions chart at 1440px

Scaled completions chart at 1440px

HISTORICAL STATS draws a line with a scale: a dashed gridline at the period maximum (8) and a labelled baseline at 0, with the in-progress day marked in teal. The bar chart is gone.

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard mobile

Dashboard mobile

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard responsive 1440 no attention

Dashboard responsive 1440 no attention

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard responsive 1440

Dashboard responsive 1440

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard at 320px

Mobile dashboard at 320px

The same structure at the narrowest supported width, with the bottom navigation's five labels now sharing one baseline.

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard at 390px

Mobile dashboard at 390px

A running item is two metadata lines and a title instead of seven: status left and elapsed right, then the entity chips with the owner dropped, then a two-line title. The progress line truncates its path to the file name, the four counts sit in a 4-column micro-grid, and no interpunct survives to wr

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 25m 45s
  • Tokens: 9,518,311 (9,458,288 in / 60,023 out)
  • Cost: $7.27
  • Subscription usage: Session +2%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5802464142✓

@propr-dev

propr-dev Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned darwin-x64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned darwin-x64 package
  • Result: failure
  • Commit: f26805433639 (f268054336399fdfadc400bb2bfb40cd7f7fd79c)
  • Details: View CI failure

Failure evidence

.github:62
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Finalize unsigned validation checksums

Please investigate and fix this CI failure.

  • Check: Finalize unsigned validation checksums
  • Result: failure
  • Commit: f26805433639 (f268054336399fdfadc400bb2bfb40cd7f7fd79c)
  • Details: View CI failure

Failure evidence

.github:41
Process completed with exit code 1.

.github:40
Unsigned packaging matrix finished with result 'failure'.

.github:1
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see actions/runner-images#14748"

…d screenshots at 1440px, 390px and 320px.

All ten points are implemented and verified against rendered screenshots at 1440px, 390px and 320px.

## Desktop

**1. Hollow cavern** — `AllClear` is now a `SectionZeroState`: `h-full flex-1 flex-col items-center justify-center py-12`, a quiet `ShieldCheck` above *"All tasks operational — no attention required"*. The panel itself became `flex h-full flex-col` so the state actually centres in the height the running feed forces on it.

**2. Metrics strip** — it already had a container (`min-h-9 border-y bg-slate-100 px-3`); what it lacked was a closed toolbar above it, so it read as loose text. That is point 4.

**3. Scaleless histogram** — `DailyCompletionsChart` is now an area/line chart with a scale: dashed `CartesianGrid` horizontals, a `YAxis` labelled `0` and the period's maximum, one marker per day with only the in-progress day in teal. `chartPalette.dailyBarFill` → `dailyPointFill`. Recharts drops an edge tick it thinks won't fit, so the baseline needed `interval={0}` plus bottom margin — an e2e test now asserts both tick labels, the area curve, zero bars, and two dashed gridlines.

**4. Floating header** — tier 1 (`Dashboard` · connection status · repo filter) gained `border-b` and the panes' `px-3` rail; tier 2 is the counts bar. Both tiers now close with a rule.

## Mobile

**1. Seven-line items** — new `RowMetaLines` primitive: row 1 status left / elapsed flush right, row 2 entity chips, row 3 title clamped to 2 lines. `sm:contents` + order classes dissolve the pairing above 640px, so the desktop line is unchanged. Repo chips drop `example/` below `sm`.

**2. Hanging bullets** — every `Dot` is gone from the dashboard rows; separation is space, and the queue footer uses a `border-r` divider. A design rule asserts no `•` survives in any section.

**3. Raw path bloat** — `shortenPaths()` collapses any token with two or more separators to `…/file.tsx` below `sm`. While verifying this I found `line-clamp-1` was never clipping at all: `block` was winning the `display` fight in `RowDetail`, which is why the path wrapped to three lines rather than one. Fixed, and the e2e test now measures rendered height instead of line-box count.

**4. Metric strip** — 4-column micro-grid below `sm` (number over one word: Attention / Running / Queued / Done), inline bar from `sm` up.

**5. Score collision** — the pill is `self-center` on mobile; the timestamp sits on the status row.

**6. Bottom nav** — all five items share one `h-8 w-9` icon slot, so the New Task label sits on the same baseline as the rest.

Tests: 1270 unit, 85 Playwright, typecheck and lint all pass. Four test expectations changed deliberately (all-clear wording, the summary count's mobile stacking, the progress-line truncation) and seven new assertions were added for the zero-state, the bullets, the path collapse, the two-tier header, the micro-grid, the two-line mobile item and the chart scale.

PR: #2485
Comment by: @integry (ID: 5802464142)
Model: claude-opus-5
@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit d353f6f

Processed 2 comments:

Summary of Changes

What failed

Both CI comments trace to a single failure.

Validate unsigned darwin-x64 package — the failing step is Exercise staged native install, deep-link, relaunch, and removal lifecycle:

NativeLifecycleFailure: Native lifecycle cleanup failed: launchservices-postcondition
    at throwCombined (apps/desktop/scripts/test-native-artifact-lifecycle.mjs:386:41)

There is no primary error in that message — the install/launch/deep-link/relaunch/removal journey itself passed. Only the cleanup postcondition failed: after lsregister -u, LaunchServicesAuthority.assertGone() still saw the copied bundle's record in lsregister -dump when its window closed.

Finalize unsigned validation checksums — not an independent failure. Its log shows PACKAGE_RESULT: failure, and the job's require 'Unsigned packaging matrix' guard exits 1 on it. It goes green on its own once the matrix does. (The ubuntu-latest line in that evidence is an unrelated GitHub deprecation notice.)

Nothing in this ties to the dashboard work: darwin-arm64 passed in the same run, linux-x64/linux-arm64 passed, and the four prior runs of this workflow on this branch passed. It is an intermittent LaunchServices-database timing failure on the Intel macOS runner.

The fix

apps/desktop/scripts/test-native-artifact-lifecycle.mjs:1183 — the absence proof was bounded by a probe count (LAUNCH_SERVICES_ABSENCE_ATTEMPTS = 10) rather than by time. That makes the retry window depend on how fast lsregister -dump answers: milliseconds on an idle host (≈9s of window), seconds on a loaded CI runner. It gives the shortest allowance exactly where lsd is slowest to flush the removal. assertGone() now re-probes against a 120s deadline, still re-issuing -u between probes and still consulting the deadline only after a probe has answered, so the window always closes on evidence rather than on an unprobed timer.

I also closed a diagnosability gap the investigation ran into: an aggregated cleanup failure printed only the label, so the log could not say whether the record genuinely persisted or the -dump probe itself timed out. NativeLifecycleFailure now carries a fixed reason code beside the label (launchservices-postcondition [result:RECORD_PERSISTED] vs [result:COMMAND_DEADLINE]), behind a shape guard so unclassified error text still never reaches the rendered aggregate — the existing no-leak assertions cover that, plus a new one.

Verification

npx tsx --test scripts/test-native-artifact-lifecycle.test.mjs — 34 pass, 0 fail (the project's own runner for scripts/*.test.mjs); ESLint clean on both files. The two existing LaunchServices tests were converted to an injected clock and keep their original assertions (3 dumps, [1000, 1000] waits, ['-u', '-u']); a new test pins the deadline semantics — with 9s probes the window survives 13 probes past 120s where a 10-probe cap would have declared the record stale at 99s.

One caveat worth stating plainly: I can confirm the window was too short and inconsistently sized, but I cannot prove from the sanitized log that a longer window alone would have let that specific run settle — the underlying cause was unclassified, which is precisely what the second change fixes. If it recurs, the log will now name the reason code.

No preview files: this is a macOS packaging-CI harness change with no user-visible surface.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @propr-dev[bot]
  • Time: 8m 42s
  • Tokens: 3,472,674 (3,441,422 in / 31,252 out)
  • Cost: $3.05

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 5802557650✓, 5802558760✓

## What failed

Both CI comments trace to a single failure.

**`Validate unsigned darwin-x64 package`** — the failing step is `Exercise staged native install, deep-link, relaunch, and removal lifecycle`:

```
NativeLifecycleFailure: Native lifecycle cleanup failed: launchservices-postcondition
    at throwCombined (apps/desktop/scripts/test-native-artifact-lifecycle.mjs:386:41)
```

There is no primary error in that message — the install/launch/deep-link/relaunch/removal journey itself passed. Only the cleanup postcondition failed: after `lsregister -u`, `LaunchServicesAuthority.assertGone()` still saw the copied bundle's record in `lsregister -dump` when its window closed.

**`Finalize unsigned validation checksums`** — not an independent failure. Its log shows `PACKAGE_RESULT: failure`, and the job's `require 'Unsigned packaging matrix'` guard exits 1 on it. It goes green on its own once the matrix does. (The `ubuntu-latest` line in that evidence is an unrelated GitHub deprecation notice.)

Nothing in this ties to the dashboard work: `darwin-arm64` passed in the same run, `linux-x64`/`linux-arm64` passed, and the four prior runs of this workflow on this branch passed. It is an intermittent LaunchServices-database timing failure on the Intel macOS runner.

## The fix

`apps/desktop/scripts/test-native-artifact-lifecycle.mjs:1183` — the absence proof was bounded by a probe count (`LAUNCH_SERVICES_ABSENCE_ATTEMPTS = 10`) rather than by time. That makes the retry window depend on how fast `lsregister -dump` answers: milliseconds on an idle host (≈9s of window), seconds on a loaded CI runner. It gives the shortest allowance exactly where `lsd` is slowest to flush the removal. `assertGone()` now re-probes against a 120s deadline, still re-issuing `-u` between probes and still consulting the deadline only after a probe has answered, so the window always closes on evidence rather than on an unprobed timer.

I also closed a diagnosability gap the investigation ran into: an aggregated cleanup failure printed only the label, so the log could not say whether the record genuinely persisted or the `-dump` probe itself timed out. `NativeLifecycleFailure` now carries a fixed reason code beside the label (`launchservices-postcondition [result:RECORD_PERSISTED]` vs `[result:COMMAND_DEADLINE]`), behind a shape guard so unclassified error text still never reaches the rendered aggregate — the existing no-leak assertions cover that, plus a new one.

## Verification

`npx tsx --test scripts/test-native-artifact-lifecycle.test.mjs` — 34 pass, 0 fail (the project's own runner for `scripts/*.test.mjs`); ESLint clean on both files. The two existing LaunchServices tests were converted to an injected clock and keep their original assertions (3 dumps, `[1000, 1000]` waits, `['-u', '-u']`); a new test pins the deadline semantics — with 9s probes the window survives 13 probes past 120s where a 10-probe cap would have declared the record stale at 99s.

One caveat worth stating plainly: I can confirm the window was too short and inconsistently sized, but I cannot prove from the sanitized log that a longer window alone would have let that specific run settle — the underlying cause was unclassified, which is precisely what the second change fixes. If it recurs, the log will now name the reason code.

No preview files: this is a macOS packaging-CI harness change with no user-visible surface.

PR: #2485
Comment by: @propr-dev[bot] (ID: 5802557650)
Comment by: @propr-dev[bot] (ID: 5802558760)
Model: claude-opus-5
@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

/merge

@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from main into 2478-epic-dashboard-data-2ki in commit 8fe1b33

Conflicting Files

  • apps/desktop/scripts/test-native-artifact-lifecycle.mjs

Resolution Summary

Staging hit the expected permission restriction — the resolved file contents are in place in the working tree, which is what matters.

Merge conflict resolution — apps/desktop/scripts/test-native-artifact-lifecycle.mjs

Both branches had independently hardened the same LaunchServices absence-proof code, in complementary ways. Three marked conflicts, plus one silent breakage git introduced outside the markers.

1. Cleanup failure descriptor (lines ~357–378)

Conflict: Both sides fixed the same gap — a cleanup failure was reported by label alone, so a flaky probe and a genuinely stale artifact looked identical in CI. The PR added a module-private cleanupFailureDescriptor guarded by a shape regex (/^[A-Z][A-Z0-9_]*$/); main added an exported describeCleanupFailure guarded by a frozen CLEANUP_RESULT_CLASSES allowlist.

Resolution: Took main's exported name and allowlist, keeping the PR's comment rationale. Why: the allowlist is strictly safer than the regex — it enumerates the exact tokens that may ever be appended, rather than admitting any SCREAMING_SNAKE string off a foreign error — and it satisfies the PR's own test that a URL-shaped resultClass is dropped. The PR's intent (carry a fixed reason code, never foreign error text) is fully preserved; only the mechanism got stricter.

2. Descriptor call site

Trivial rename follow-on: cleanupFailures.map(describeCleanupFailure).

3. Duplicate class declaration — not marked by git

Git merged both branches' new export class LaunchServicesAbsenceFailure into the file (lines 1072 and 1156) without flagging a conflict, since they landed in different places. That is a module-scope redeclaration, i.e. a hard SyntaxError — the merge would not have loaded at all. I removed the PR's no-argument copy and kept main's, which takes the probe failure and distinguishes "the record persisted" from "the probe never answered."

4. assertGone() retry loop

Conflict: The PR replaced the fixed probe count with a time deadline (now, absenceBudgetMs = 120s), because one lsregister -dump costs milliseconds on an idle host and seconds on a loaded runner — a probe count gives the shortest window exactly where LaunchServices is slowest. Main kept the attempt count but made the loop tolerate probe failures: a dump that couldn't run is not evidence of absence, so it costs one attempt instead of ending the proof, and the failure carries the probe's result class.

Resolution: Unioned them, keeping the PR's deadline as the governing bound. The loop now tolerates probe failures and tracks lastProbeFailure (main), while the window closes on this.now() >= deadline — checked only after a probe answered, so it still closes on evidence, never on an unprobed timer (PR). I added absenceAttempts, defaulting to Number.POSITIVE_INFINITY, as an optional cap that only ever narrows the deadline. Why: the two changes fix different failure modes and neither subsumes the other; dropping either would regress a real bug. The absenceAttempts knob was necessary because main's merged-in tests construct authorities with absenceAttempts: 2/4 and no clock control — under a deadline-only implementation those would have spun for the full 120s of real time.

5. Contradictory test expectation (…lifecycle.test.mjs)

The test file merged cleanly but arrived self-contradictory: the PR's test asserted a stale record yields resultClass === 'RECORD_PERSISTED', while main's asserted 'STALE_REGISTRATION' for the identical case. Both cannot pass. I aligned the PR's two assertions onto main's token. Why: STALE_REGISTRATION is the load-bearing one — it's an exported constant (LAUNCH_SERVICES_STALE_REGISTRATION), it's imported by name in the test file, and CLEANUP_RESULT_CLASSES is built from it. RECORD_PERSISTED was a bare string literal in one test. This is a spelling change only; the PR's behavioral intent is untouched.

Verification

  • No conflict markers remain anywhere in the repo (full sweep, not just the known file).
  • node --check passes on both files.
  • node --test apps/desktop/scripts/test-native-artifact-lifecycle.test.mjs → 36/36 pass, including both branches' absence-proof tests: the PR's deadline tests (13 dumps across the full 120s window; 3 dumps under a 2s budget) and main's probe-tolerance tests (an unreadable dump costs one attempt; stale vs. unprobeable are reported distinctly).
  • ESLint clean on both files.

No changes were made outside the conflicted file and the one contradictory test assertion it forced.


🤖 Resolution Details

  • Model: claude-opus-5
  • Time: 5m 8s

View Task Execution


System-triggered merge conflict resolution

@integry

integry commented Sep 23, 2026

Copy link
Copy Markdown
Owner

2. Delimiter Character Inconsistency (Top Header)

Look closely at the breadcrumb row on the top left:
Dashboard • Reconnecting · Last updated Just now

  • The Issue: You are mixing two completely different Unicode glyphs in the exact same string:
    • Between "Dashboard" and "Reconnecting", you use a heavy bullet (• / &bull;).
    • Between "Reconnecting" and "Last updated", you use a faint middle dot (· / &middot;).
  • The Fix: Pick one delimiter across the application. Standardize on the middle dot or bullet everywhere so string interpolations don't look like they were written by two different engineers.

3. Accordion Affordance Ambiguity (HAPPENING NOW)

Look at the downward chevrons (v) on the far right of the active tasks.

  • The Issue: A chevron on the edge of a list item communicates that clicking it will expand an inline accordion (e.g., revealing live terminal output, recent step logs, or diffs). However, in a dashboard feed, clicking a row typically acts as a link to navigate to the dedicated Task Detail view.
  • The Fix:
    • If clicking the row expands inline telemetry right there on the dashboard, the chevron is correct.
    • If clicking the row navigates to /tasks/2480, remove the chevrons entirely. They create false affordance for a dropdown that doesn't exist.

4. Right-Edge Bleed on the Sparkline Dot (HISTORICAL STATS)

Look at the teal dot marking the latest day on the spline chart.

  • The Issue: The terminal data point (Sep 23) has a solid teal circle. Because it is plotted on the absolute right edge of the SVG viewBox, the right half of the circle and its drop-shadow/glow slightly overhang the right margin, visually misaligning with the Full analytics link and the 30 days toggle button above it.
  • The Fix: Add a small padding-right (e.g., pr-2 or 4px offset inside the SVG coordinates) to the chart container so the final marker dot stays strictly inside the right rail.

mobile:

This mobile iteration successfully resolves the structural collapse: the 4-column micro-grid for the top metrics works, the hanging bullets are gone, the metadata staircase is eliminated, and the [ ● 9 ] score pill is properly anchored on Line 2.

However, compressing the interface down to mobile has exposed several typography and alignment bugs.

Here is the critical breakdown of what is still broken:


1. Truncated Header Label: RECORDED SP...

Look at the third metric in HISTORICAL STATS at the bottom:

  • The Flaw: The label literally renders as RECORDED SP....
  • The Reality: In a 3-column metric grid on a 390px viewport, "RECORDED SPEND" does not fit. Truncating a metric header with an ellipsis looks completely broken and amateur.
  • The Fix: Shorten the copy on mobile. Use SPEND or TOTAL COST. Never allow structural labels in a data grid to truncate with an ellipsis.

2. Timestamp / Chevron Collision (HAPPENING NOW)

Look at Line 1 of the active tasks:

  • ⟳ Implementing ... 26m 00s v
  • ⟳ Finishing up ... 9m 00s v
  • The Flaw: The right-aligned timestamp (26m 00s) is physically crashing into the disclosure chevron (v). There is barely 2px to 4px of clearance between the s in the timestamp and the arrow.
  • The Fix:
    • Apply a strict gap (gap-2 or mr-2 before the chevron).
    • Or better: on mobile, remove the chevron entirely. In mobile UX, the entire row is the tap target to open details/logs. The chevron adds zero value and steals horizontal space from the timestamp.

3. Structural Inconsistency Across Sections

Compare the layout of NEEDS ATTENTION to HAPPENING NOW and RECENT OUTCOMES:

  • NEEDS ATTENTION:
    • Line 1: Status + Repo chip + Issue chip (Run failed [workspace] [Issue #2470])
    • Line 2: Title
    • Line 3: Waiting time + Action button
  • HAPPENING NOW & RECENT OUTCOMES:
    • Line 1: Status + Timestamp
    • Line 2: Repo chip + Issue chip
    • Line 3: Title
  • The Flaw: You have two completely different visual hierarchies stacked on top of each other. In the first section, chips appear on Line 1. In the next two sections, chips drop to Line 2. As the user scrolls, the reading plane jumps erratically.
  • The Fix: Unify the schema across all three sections. Follow the HAPPENING NOW / RECENT OUTCOMES pattern everywhere:
    • Line 1: Status (left) $\leftrightarrow$ Time (right)
    • Line 2: Entity Chips (left) $\leftrightarrow$ Action / Score (right)
    • Line 3: Title

4. Mid-Word Subtitle Truncation (and re...)

Look at the subtitle under Keep the retry budget...:
Editing .../HappeningNowSection.tsx and re...

  • The Flaw: You successfully applied middle-truncation to the file path (good), but the tail end of the sentence still cuts off abruptly with and re.... It looks like an unhandled string slicing error.
  • The Fix: On mobile viewports, omit the second clause entirely. Render only the primary action and the truncated path: Editing .../HappeningNowSection.tsx. Strip the trailing and re-running... logic when screen width is under sm.

5. Fixed Bottom Navigation Occlusion

Look at the bottom of the viewport:

  • The Flaw: The bottom edge of HISTORICAL STATS and the values 34, 87.5%, $12.42 are sitting flush against the top border of the bottom navigation bar. The chart itself is completely hidden below the fold.
  • The Fix: Ensure your scrollable canvas has a generous bottom padding (pb-20 or pb-24) so the user can scroll the lowest card and its full chart completely clear of the fixed bottom navigation bar.

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- apps/desktop/scripts/test-native-artifact-lifecycle.mjs

PR: #2485
Model: claude-opus-5
@propr-dev

propr-dev Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 1efa6f9

Summary of Changes

All nine points are implemented, and verified against rendered screenshots at 1440px, 390px and 320px plus the unit and Playwright suites.

Desktop

  • Delimiter consistency — standardised on the interpunct · as the app's one in-string delimiter: 17 typed • separators across 13 files (global header, search, inbox, goals, plans, task list, task details, planner, MCP, voice briefings, repo todos) became ·. List-item bullet markers in DeepDiveAnalysis / ResultOverview are list glyphs, not delimiters, so they were left alone. In the dashboard toolbar the "heavy bullet" was actually the connection light doing duty as a separator, so the status now owns a rule (sm:border-l) and takes its own line on phones — the dot starts a line instead of separating two facts.
  • Accordion affordance — clicking a row navigates to /tasks/<id>, so by your rule the chevrons are gone, along with the inline dl fold they opened. The row now has one behaviour, and the phase/timing/progress facts it used to unfold already live on the task it links to.
  • Sparkline right-edge bleed — the chart's right margin is now the marker's own radius plus its ring (4px → 8px) and the date rail matches (pr-2). An e2e assertion pins the last marker's right edge inside both the plot area and the vertical the "Full analytics" link sits on.

Mobile

  • RECORDED SP… — metric labels are single words (COMPLETED / SUCCESS / SPEND) and truncate is off the label entirely; the "only executions that reported a cost" qualification moved to the label's tooltip.
  • Timestamp/chevron collision — resolved by the chevron's removal; the test asserts the elapsed time now ends exactly on the row's inner edge (0px of leftover gutter).
  • Structural inconsistency — Needs attention rows are a placement grid: below lg they read status ↔ time, chips ↔ action, then title — the feed schema — and at lg the same five cells re-flow for the 22rem rail (status + chips, title, time ↔ action). One DOM, nothing rendered twice and hidden.
  • and re… — primaryClause() stops a progress sentence at its first clause on phones, so the row shows Editing …/HappeningNowSection.tsx rather than a clamp cutting mid-word. The wide viewport still gets the whole sentence.
  • Bottom-nav occlusion — the shell already padded the scroll canvas by exactly the bar's height, which is why content sat flush on its top rule; the console now adds pb-6 md:pb-0. A test scrolls main to the end and asserts the chart is above the bar with at least 16px under the last pane.

Verification: 44 dashboard unit tests (including a new Dashboard.consistency.test.tsx for the row schema, the single delimiter, the un-truncated labels and the bottom clearance), 25 Playwright tests at 320/390/1024/1440, the full 1313-test UI suite, typecheck and lint all pass. The reorder test that used to click "Expand" now asserts the same guarantee against the row under the pointer.

Visual preview

Dashboard desktop no attention

Dashboard desktop no attention

Original unavailable: managed storage is unavailable or the upload has expired.

Desktop console at 1440px

Desktop console at 1440px

The toolbar separates "Dashboard" from the connection status with a rule, so the status light stops reading as a heavy bullet and the interpunct is the only delimiter in the string. Running rows carry no disclosure chevron, the metric labels read COMPLETED / SUCCESS / SPEND, and the latest chart mar

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard mobile

Dashboard mobile

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard responsive 1440 no attention

Dashboard responsive 1440 no attention

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard responsive 1440

Dashboard responsive 1440

Original unavailable: managed storage is unavailable or the upload has expired.

Phone at 320px, end of the console

Phone at 320px, end of the console

The same end-of-page view at the narrowest supported width: three metric labels fit their columns whole and the chart's last marker stays inside the right edge.

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard responsive 320

Dashboard responsive 320

Original unavailable: managed storage is unavailable or the upload has expired.

Phone at 390px, end of the console

Phone at 390px, end of the console

Scrolled to the end: the historical metrics and the full daily chart clear the fixed bottom navigation with a gap under them, and no metric label is truncated.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 24m 7s
  • Tokens: 12,749,258 (12,675,928 in / 73,330 out)
  • Cost: $9.27
  • Subscription usage: Session +6%, Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5803687186✓

…red screenshots at 1440px, 390px and 320px plus the unit and Playwright suites.

All nine points are implemented, and verified against rendered screenshots at 1440px, 390px and 320px plus the unit and Playwright suites.

**Desktop**

- **Delimiter consistency** — standardised on the interpunct `·` as the app's one in-string delimiter: 17 typed `•` separators across 13 files (global header, search, inbox, goals, plans, task list, task details, planner, MCP, voice briefings, repo todos) became `·`. List-item bullet markers in `DeepDiveAnalysis` / `ResultOverview` are list glyphs, not delimiters, so they were left alone. In the dashboard toolbar the "heavy bullet" was actually the connection light doing duty as a separator, so the status now owns a rule (`sm:border-l`) and takes its own line on phones — the dot starts a line instead of separating two facts.
- **Accordion affordance** — clicking a row navigates to `/tasks/<id>`, so by your rule the chevrons are gone, along with the inline `dl` fold they opened. The row now has one behaviour, and the phase/timing/progress facts it used to unfold already live on the task it links to.
- **Sparkline right-edge bleed** — the chart's right margin is now the marker's own radius plus its ring (4px → 8px) and the date rail matches (`pr-2`). An e2e assertion pins the last marker's right edge inside both the plot area and the vertical the "Full analytics" link sits on.

**Mobile**

- **`RECORDED SP…`** — metric labels are single words (`COMPLETED` / `SUCCESS` / `SPEND`) and `truncate` is off the label entirely; the "only executions that reported a cost" qualification moved to the label's tooltip.
- **Timestamp/chevron collision** — resolved by the chevron's removal; the test asserts the elapsed time now ends exactly on the row's inner edge (0px of leftover gutter).
- **Structural inconsistency** — `Needs attention` rows are a placement grid: below `lg` they read status ↔ time, chips ↔ action, then title — the feed schema — and at `lg` the same five cells re-flow for the 22rem rail (status + chips, title, time ↔ action). One DOM, nothing rendered twice and hidden.
- **`and re…`** — `primaryClause()` stops a progress sentence at its first clause on phones, so the row shows `Editing …/HappeningNowSection.tsx` rather than a clamp cutting mid-word. The wide viewport still gets the whole sentence.
- **Bottom-nav occlusion** — the shell already padded the scroll canvas by exactly the bar's height, which is why content sat flush on its top rule; the console now adds `pb-6 md:pb-0`. A test scrolls `main` to the end and asserts the chart is above the bar with at least 16px under the last pane.

Verification: 44 dashboard unit tests (including a new `Dashboard.consistency.test.tsx` for the row schema, the single delimiter, the un-truncated labels and the bottom clearance), 25 Playwright tests at 320/390/1024/1440, the full 1313-test UI suite, typecheck and lint all pass. The reorder test that used to click "Expand" now asserts the same guarantee against the row under the pointer.

PR: #2485
Comment by: @integry (ID: 5803687186)
Model: claude-opus-5
@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @github-actions[bot]

Analysis Summary

Result: the reported failure is already fixed on the branch head — no code changes needed

What the CI failure was

packages/api/routes/dashboardQueries.ts
  570:1  warning  File has too many lines (512). Maximum allowed is 400  max-lines

Run 35994878866 was built against 72503ad3f, where dashboardQueries.ts was 723 raw lines. The next commit on the branch, 402685045, already split that module:

file raw lines
packages/api/routes/dashboardQueries.ts 249
packages/api/routes/dashboardWorkQueries.ts 417
packages/api/routes/dashboardRoutes.ts 313
packages/api/routes/dashboardOutcomeQueries.ts 113
packages/api/routes/dashboardStatsQueries.ts 97

(max-lines is configured with skipBlankLines/skipComments at eslint.config.js:19, so 417 raw lines counts under 400.)

Verification at the current PR head (402685045, confirmed as PR #2485's headRefOid) — every stage the changed-area check runs, in the same order:

  • npm run lint -w @propr/api -- --max-warnings 0 → exit 0 (the failing stage)
  • npm run build -w @propr/api → exit 0
  • Core lint (eslint src/) → exit 0
  • UI typecheck and lint → exit 0
  • packages/api/test/dashboardRoutes.test.ts + dashboardStatsRoutes.test.ts → 2/2 files passed

So the only action outstanding is a re-run of the build check against the current head; nothing on the branch needs editing. Since this produced no implementation changes, I didn't generate visual previews.

One thing worth flagging for later: dashboardWorkQueries.ts sits at ~388 non-blank lines against the 400 limit, so it has roughly a dozen lines of headroom before it trips the same warning. I left it alone rather than refactor outside the scope of this request, but the next substantial addition there will likely need a further split.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5 (high)
  • Time: 4m 2s
  • Tokens: 688,313 (681,470 in / 6,843 out)
  • Cost: $0.71

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5813909670✓

@integry

integry commented Sep 24, 2026

Copy link
Copy Markdown
Owner

1. The 250px Floating Void in HAPPENING NOW

Look at the bottom of the HAPPENING NOW section.

  • The Flaw: NEEDS ATTENTION on the right has 3 items, pushing the horizontal divider down to ~520px. But HAPPENING NOW on the left only has 1 active task.
  • The Reality: The footer bar (1 queued • All agents are busy | View queue) is pinned directly to the single task at Y ≈ 260px. That leaves a massive 260px empty white hole between the queue bar and the RECENT OUTCOMES divider. It looks like half the content failed to load.
  • The Fix: The queue status footer must act as the structural floor of the HAPPENING NOW section. Pin it to the bottom (mt-auto or anchored flush against the horizontal divider line) so the list area absorbs the empty space naturally and the section maintains a solid baseline.

2. Unparsed Duration: 240m 00s

Look at the timestamp on the active task in HAPPENING NOW:
⟳ Implementing [ example/workspace ] [ Issue #2470 ] 240m 00s

  • The Flaw: No human engineer parses long durations in hundreds of minutes. Printing 240m 00s looks like an unformatted raw database integer dumped straight from the backend without a utility function.
  • The Fix: Once a duration exceeds 59 minutes, format it to standard hours and minutes: 4h 00m or 4h.

3. Ignored Fix: Entity Slug Inconsistency

Compare the repository chips across columns:

  • Left Column (HAPPENING NOW & RECENT OUTCOMES): example/workspace (Full org/repo slug).
  • Right Column (NEEDS ATTENTION): workspace (Organization prefix stripped).
  • The Flaw: I pointed this out in the last review, and it remains untouched. You are using two competing data schemas on the exact same screen.
  • The Fix: Standardize. Since the top dropdown (All Repos) already establishes that everything belongs to the active workspace, strip the redundant example/ prefix globally so every chip consistently reads [ ⎇ workspace ].

4. Ignored Fix: Redundant Title Echo in NEEDS ATTENTION

Look at Items 2 and 3 in NEEDS ATTENTION:

  • Chip: [ PR #2482 ] $\rightarrow$ Title: Pull request #2482
  • Chip: [ PR #2483 ] $\rightarrow$ Title: Pull request #2483
  • The Flaw: The titles convey zero operational value. They literally repeat the chip numbers verbatim. Item 1 has an actual descriptive title (Cache repository icons...); Items 2 and 3 are useless placeholders.
  • The Fix: If an external PR doesn't have an automated title yet, render the branch name (e.g., feature/icon-cache) or the commit summary so the developer knows what they are reviewing without clicking into it.

Also remove this:

image

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit deeba74

Summary of Changes

All four points and the removal are done, verified by unit tests, API tests, Playwright geometry assertions, and rendered screenshots.

1. The floating void under HAPPENING NOW — SectionFooter now carries mt-auto, and the running pane is a flex column (flex h-full flex-col) whose list area is flex-1. The queue bar is the pane's floor: it sits flush against the RECENT OUTCOMES rule, and the slack lands in the list area above it. In a pane that isn't a flex column (a phone's stacked layout, the outcomes feed) mt-auto resolves to zero, so the bar still closes its list directly. A Playwright test asserts the footer's bottom equals the section's bottom with one running row beside three attention items.

2. 240m 00s — formatDuration now hands over a unit at a time: 45m 12s, then 4h 00m, then 2d 06h, so the value stays two fields wide at any scale. Negative skew clamps to 0m 00s. This is the shared task-list utility, so the task list and mobile cards read the same way. New unit test file covers the boundaries.

3. Entity slug inconsistency — RepositoryLabel lost its short/shortOnMobile variants and now draws the repository name alone in every section at every width, with the full owner/repo still in the tooltip and the icon. Every chip on the screen reads [ ⎇ workspace ].

4. Redundant title echo — fixed at the source rather than in the fallback. plan_issues has no title column, so review decisions came through as title: null; they now inherit the title of the run on their thread, and where that run recorded no title, its branch name (feature/icon-cache) — the task-title resolver gained that fallback. The UI fallback chain no longer prints the entity number at all: it drops to the item's state sentence instead. I extended the identical fix to merge/close rows in RECENT OUTCOMES, which had the same Pull request #2467 echo one pane below the one you flagged — a detail promoted into the title is not repeated under it.

Removal — the Reconnecting · Last updated … / Live status line is gone from the toolbar, along with the lastUpdatedAt state and the now-unused onLoaded plumbing through every section. The sections still keep their last known rows through a dropped socket and still refresh when it returns; the behaviour is unchanged, only the commentary is gone. Docs updated to match.

One note on scope: point 4's fix is in the data layer, so the visible improvement depends on the thread having a task recorded. Plan issues whose thread has no task at all still have nothing to be titled with — those now read as their state (Pull request is awaiting review) rather than as their own chip.

Visual preview

One running task beside three attention items

One running task beside three attention items

The reported state at 1440px: the queue bar now floors the HAPPENING NOW pane flush against the RECENT OUTCOMES rule instead of hanging above a void, the elapsed time reads 4h 00m rather than 240m 00s, every repository chip reads 'workspace' in both columns, and the review row is titled 'Cache repos

Original unavailable: managed storage is unavailable or the upload has expired.

Desktop with a full running list

Desktop with a full running list

Seven running tasks at 1440px: the footer still closes the list directly under its last row when the pane has no slack, and the chips and merge title carry the same rules.

Original unavailable: managed storage is unavailable or the upload has expired.

Phone at 390px

Phone at 390px

The stacked layout: panes size to their content, the queue bar sits under its list, and the repository chips read the same way they do on the desktop.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @integry
  • Time: 23m 1s
  • Tokens: 20,742,297 (20,674,212 in / 68,085 out)
  • Cost: $13.41

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5815033411✓

…tests, API tests, Playwright geometry assertions, and rendered screenshots.

All four points and the removal are done, verified by unit tests, API tests, Playwright geometry assertions, and rendered screenshots.

**1. The floating void under `HAPPENING NOW`** — `SectionFooter` now carries `mt-auto`, and the running pane is a flex column (`flex h-full flex-col`) whose list area is `flex-1`. The queue bar is the pane's floor: it sits flush against the `RECENT OUTCOMES` rule, and the slack lands in the list area above it. In a pane that isn't a flex column (a phone's stacked layout, the outcomes feed) `mt-auto` resolves to zero, so the bar still closes its list directly. A Playwright test asserts the footer's bottom equals the section's bottom with one running row beside three attention items.

**2. `240m 00s`** — `formatDuration` now hands over a unit at a time: `45m 12s`, then `4h 00m`, then `2d 06h`, so the value stays two fields wide at any scale. Negative skew clamps to `0m 00s`. This is the shared task-list utility, so the task list and mobile cards read the same way. New unit test file covers the boundaries.

**3. Entity slug inconsistency** — `RepositoryLabel` lost its `short`/`shortOnMobile` variants and now draws the repository name alone in every section at every width, with the full `owner/repo` still in the tooltip and the icon. Every chip on the screen reads `[ ⎇ workspace ]`.

**4. Redundant title echo** — fixed at the source rather than in the fallback. `plan_issues` has no title column, so review decisions came through as `title: null`; they now inherit the title of the run on their thread, and where that run recorded no title, its branch name (`feature/icon-cache`) — the task-title resolver gained that fallback. The UI fallback chain no longer prints the entity number at all: it drops to the item's state sentence instead. I extended the identical fix to merge/close rows in `RECENT OUTCOMES`, which had the same `Pull request #2467` echo one pane below the one you flagged — a detail promoted into the title is not repeated under it.

**Removal** — the `Reconnecting · Last updated …` / `Live` status line is gone from the toolbar, along with the `lastUpdatedAt` state and the now-unused `onLoaded` plumbing through every section. The sections still keep their last known rows through a dropped socket and still refresh when it returns; the behaviour is unchanged, only the commentary is gone. Docs updated to match.

One note on scope: point 4's fix is in the data layer, so the visible improvement depends on the thread having a task recorded. Plan issues whose thread has no task at all still have nothing to be titled with — those now read as their state (`Pull request is awaiting review`) rather than as their own chip.

PR: #2485
Comment by: @integry (ID: 5815033411)
Model: claude-opus-5
@propr-dev

propr-dev Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned linux-arm64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned linux-arm64 package
  • Result: failure
  • Commit: deeba74e3afa (deeba74e3afa33c935077183e43a18b6f9fa9a1d)
  • Details: View CI failure

Failure evidence

.github:6724
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 495f098

Summary of Changes

What failed

Validate unsigned linux-arm64 package failed in its Typecheck and test unsigned desktop runtime step. From the job log (job 107663383952):

not ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
  error: 'Electron frame fixture failed (135): '
  location: 'apps/desktop/scripts/electron-frame-semantics.test.mjs:49:3'
# fail 1

Nothing else failed — linux-x64, darwin-x64 and darwin-arm64 all passed on the same commit, and the identical test passed on linux-arm64 90 minutes earlier on the previous commit. Locally the full suite passes (npm run desktop:test: 998 tests, 0 fail) and both typechecks pass, so this is not a dashboard-code failure.

The signature: exit 135 is xvfb-run reporting its child killed by signal 7, with empty stderr and no evidence line. The fixture died at 2.5s — before it reached any assertion — where the passing arm64 run took 5.2s. The desktop test files run in parallel, so electron-frame-semantics and electron-pairing-zstd each start an Electron behind their own xvfb-run --auto-servernum server at the same moment on a slow 4-core arm64 worker. The old runner rejected on any nonzero exit, so a worker that killed Electron outright was indistinguishable from a real behavioural failure.

Fix

New shared apps/desktop/scripts/electron-fixture-runner.mjs, replacing the two near-identical runFixture copies:

  • A launch that reports no evidence is retried once (bounded, serial). A fresh --auto-servernum scan also lands on a different display, so a collision cannot repeat. A run that keeps failing still fails, with every attempt's exit status and stderr in one message — and PROPR_REQUIRE_NATIVE_ELECTRON=1 still fails rather than skips.
  • Reported evidence outranks the exit status. The fixtures print their report last and then ask Electron to quit, so a crash inside that shutdown says nothing about the behaviour under test; the report is accepted and the odd exit recorded via context.diagnostic.
  • A truncated/unparseable evidence line now counts as no evidence instead of throwing out of the close handler as an uncaught exception.
  • xvfb-run wiring and the per-attempt kill timeout live in one place.

Both call sites use it; test budgets were raised to cover the extra launch (frame 25s→50s, zstd 40s→70s — safety nets only, the normal runs are 1–5s). The existing "no eager Electron resolution" guard now also covers the new module.

Verification

  • New electron-fixture-runner.test.mjs — 8 cases: direct and xvfb-run launches, relaunch-after-crash-without-evidence, evidence kept across a SIGSEGV shutdown, exhausted budget reporting both attempts, unparseable evidence, unspawnable fixture, plus a real-spawn case covering evidence collection and timeout enforcement.
  • npm run desktop:test: 1006 tests, 972 pass, 34 skipped, 0 fail.
  • npm run desktop:typecheck (desktop + propr-ui): clean. ESLint clean on the touched files.
  • The zstd probe genuinely launches Electron headless in this container, so the refactored real-spawn path is exercised end to end; the frame probe skips locally for lack of a display, as it did before.

No preview files: this is test-infrastructure only and not visually perceptible.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @propr-dev[bot]
  • Time: 17m 31s
  • Tokens: 5,177,248 (5,130,291 in / 46,957 out)
  • Cost: $4.47
  • Subscription usage: Weekly +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5815487849✓

@propr-dev

propr-dev Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Finalize unsigned validation checksums

Please investigate and fix this CI failure.

  • Check: Finalize unsigned validation checksums
  • Result: failure
  • Commit: deeba74e3afa (deeba74e3afa33c935077183e43a18b6f9fa9a1d)
  • Details: View CI failure

Failure evidence

.github:41
Process completed with exit code 1.

.github:40
Unsigned packaging matrix finished with result 'failure'.

.github:1
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see actions/runner-images#14748"

## What failed

`Validate unsigned linux-arm64 package` failed in its **Typecheck and test unsigned desktop runtime** step. From the job log ([job 107663383952](https://github.com/integry/propr/actions/runs/36008522864/job/107663383952)):

```
not ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
  error: 'Electron frame fixture failed (135): '
  location: 'apps/desktop/scripts/electron-frame-semantics.test.mjs:49:3'
# fail 1
```

Nothing else failed — `linux-x64`, `darwin-x64` and `darwin-arm64` all passed on the same commit, and the identical test passed on `linux-arm64` 90 minutes earlier on the previous commit. Locally the full suite passes (`npm run desktop:test`: 998 tests, 0 fail) and both typechecks pass, so this is not a dashboard-code failure.

The signature: exit 135 is `xvfb-run` reporting its child killed by signal 7, with **empty stderr and no evidence line**. The fixture died at 2.5s — before it reached any assertion — where the passing arm64 run took 5.2s. The desktop test files run in parallel, so `electron-frame-semantics` and `electron-pairing-zstd` each start an Electron behind their own `xvfb-run --auto-servernum` server at the same moment on a slow 4-core arm64 worker. The old runner rejected on any nonzero exit, so a worker that killed Electron outright was indistinguishable from a real behavioural failure.

## Fix

New shared `apps/desktop/scripts/electron-fixture-runner.mjs`, replacing the two near-identical `runFixture` copies:

- **A launch that reports no evidence is retried once** (bounded, serial). A fresh `--auto-servernum` scan also lands on a different display, so a collision cannot repeat. A run that keeps failing still fails, with every attempt's exit status and stderr in one message — and `PROPR_REQUIRE_NATIVE_ELECTRON=1` still fails rather than skips.
- **Reported evidence outranks the exit status.** The fixtures print their report last and then ask Electron to quit, so a crash inside that shutdown says nothing about the behaviour under test; the report is accepted and the odd exit recorded via `context.diagnostic`.
- A truncated/unparseable evidence line now counts as no evidence instead of throwing out of the `close` handler as an uncaught exception.
- `xvfb-run` wiring and the per-attempt kill timeout live in one place.

Both call sites use it; test budgets were raised to cover the extra launch (frame 25s→50s, zstd 40s→70s — safety nets only, the normal runs are 1–5s). The existing "no eager Electron resolution" guard now also covers the new module.

## Verification

- New `electron-fixture-runner.test.mjs` — 8 cases: direct and `xvfb-run` launches, relaunch-after-crash-without-evidence, evidence kept across a `SIGSEGV` shutdown, exhausted budget reporting both attempts, unparseable evidence, unspawnable fixture, plus a real-spawn case covering evidence collection and timeout enforcement.
- `npm run desktop:test`: 1006 tests, 972 pass, 34 skipped, **0 fail**.
- `npm run desktop:typecheck` (desktop + propr-ui): clean. ESLint clean on the touched files.
- The zstd probe genuinely launches Electron headless in this container, so the refactored real-spawn path is exercised end to end; the frame probe skips locally for lack of a display, as it did before.

No preview files: this is test-infrastructure only and not visually perceptible.

PR: #2485
Comment by: @propr-dev[bot] (ID: 5815487849)
Model: claude-opus-5
@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit eb50fa4

Summary of Changes

What failed

Finalize unsigned validation checksums is an aggregate — it fails when the packaging matrix fails. The actual failure was in Validate unsigned linux-arm64 package, one leg of that matrix:

not ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
  error: 'Electron frame fixture failed (135): '
  location: 'apps/desktop/scripts/electron-frame-semantics.test.mjs:49:3'
# fail 1

linux-x64, darwin-x64 and darwin-arm64 passed on the same commit, and nothing in the dashboard change touches the desktop app. Exit 135 is xvfb-run reporting its child killed by signal 7 (SIGBUS), 2.5s in, before the fixture reached any assertion. The electron-pairing-zstd suite reported ~60ms later, so a second Electron was running beside it on the 4-core arm64 worker.

The head commit on this branch (495f098b0) already added a bounded relaunch for exactly this — a launch that reports no evidence is retried once. That mitigation stands. Two gaps in it remain, and both are fixed here.

Fix

1. The failure was unreadable, and would have been again. Note what follows (135): in the log — nothing. xvfb-run invokes its child as "$@" 2>&1, so a crashing Electron's diagnostics arrive on stdout and stderr is empty; the runner quoted stderr alone. describeStreams in electron-fixture-runner.mjs:37 now quotes whichever streams carry anything, labelled, or says both were empty — so a recurrence names its own cause instead of repeating this investigation.

2. Removed the one SIGBUS source a probe can rule out for itself. Chromium keeps shared-memory segments in /dev/shm; a fault on a segment it cannot back there is delivered as SIGBUS. --disable-dev-shm-usage backs them with the ordinary temp directory instead. It joins --no-sandbox and --disable-gpu in a single exported linuxProbeArguments, replacing the three hand-copied switch lists across the two fixture tests and the launch probe in electron-native-test-setup.mjs — so the probe that decides "Electron can start on this worker" launches the same way the fixtures do.

I did consider serializing the two Electron fixtures behind a worker-wide lock, which would remove the contention outright. I left it out: the fixtures' hard test budgets (50s and 70s) are not large enough to absorb one fixture waiting on the other's worst case, so a lock would trade a rare flake for a systematic timeout risk.

Verification

  • npm run desktop:test: 1008 tests, 974 pass, 34 skipped, 0 fail.
  • The zstd probe genuinely launches Electron headless in this container, so the new switch is exercised against a real launch end to end — it passes. The frame probe skips locally for lack of a display, as before.
  • electron-fixture-runner.test.mjs gains two cases: merged-stdout quoting across a crash where only stdout carries the reason, and a guard that no call site can launch a Linux probe without the switch. The two existing message assertions were updated to the labelled format.
  • npm run desktop:typecheck (desktop + propr-ui) clean; ESLint clean on all five touched files.

One thing worth flagging: electron-native-test-setup.mjs shows as a binary diff. That is pre-existing, not from this change — the file contains a literal NUL byte in [command, ...args].join('\x00') at line 29. My edit preserved it; git diff --text renders the two-line change normally.

No preview files: this is test infrastructure and has no visually perceptible effect.


🤖 Implementation Details

  • Model: Claude Opus 5 (high)
  • Requested By: @propr-dev[bot]
  • Time: 8m 41s
  • Tokens: 2,554,886 (2,531,406 in / 23,480 out)
  • Cost: $2.28

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5815667169✓

## What failed

`Finalize unsigned validation checksums` is an aggregate — it fails when the packaging matrix fails. The actual failure was in `Validate unsigned linux-arm64 package`, one leg of that matrix:

```
not ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
  error: 'Electron frame fixture failed (135): '
  location: 'apps/desktop/scripts/electron-frame-semantics.test.mjs:49:3'
# fail 1
```

`linux-x64`, `darwin-x64` and `darwin-arm64` passed on the same commit, and nothing in the dashboard change touches the desktop app. Exit 135 is `xvfb-run` reporting its child killed by signal 7 (SIGBUS), 2.5s in, before the fixture reached any assertion. The `electron-pairing-zstd` suite reported ~60ms later, so a second Electron was running beside it on the 4-core arm64 worker.

The head commit on this branch (`495f098b0`) already added a bounded relaunch for exactly this — a launch that reports no evidence is retried once. That mitigation stands. Two gaps in it remain, and both are fixed here.

## Fix

**1. The failure was unreadable, and would have been again.** Note what follows `(135):` in the log — nothing. `xvfb-run` invokes its child as `"$@" 2>&1`, so a crashing Electron's diagnostics arrive on *stdout* and stderr is empty; the runner quoted stderr alone. `describeStreams` in `electron-fixture-runner.mjs:37` now quotes whichever streams carry anything, labelled, or says both were empty — so a recurrence names its own cause instead of repeating this investigation.

**2. Removed the one SIGBUS source a probe can rule out for itself.** Chromium keeps shared-memory segments in `/dev/shm`; a fault on a segment it cannot back there is delivered as SIGBUS. `--disable-dev-shm-usage` backs them with the ordinary temp directory instead. It joins `--no-sandbox` and `--disable-gpu` in a single exported `linuxProbeArguments`, replacing the three hand-copied switch lists across the two fixture tests and the launch probe in `electron-native-test-setup.mjs` — so the probe that decides "Electron can start on this worker" launches the same way the fixtures do.

I did consider serializing the two Electron fixtures behind a worker-wide lock, which would remove the contention outright. I left it out: the fixtures' hard test budgets (50s and 70s) are not large enough to absorb one fixture waiting on the other's worst case, so a lock would trade a rare flake for a systematic timeout risk.

## Verification

- `npm run desktop:test`: 1008 tests, 974 pass, 34 skipped, **0 fail**.
- The zstd probe genuinely launches Electron headless in this container, so the new switch is exercised against a real launch end to end — it passes. The frame probe skips locally for lack of a display, as before.
- `electron-fixture-runner.test.mjs` gains two cases: merged-stdout quoting across a crash where only stdout carries the reason, and a guard that no call site can launch a Linux probe without the switch. The two existing message assertions were updated to the labelled format.
- `npm run desktop:typecheck` (desktop + propr-ui) clean; ESLint clean on all five touched files.

One thing worth flagging: `electron-native-test-setup.mjs` shows as a binary diff. That is pre-existing, not from this change — the file contains a literal NUL byte in `[command, ...args].join('\x00')` at line 29. My edit preserved it; `git diff --text` renders the two-line change normally.

No preview files: this is test infrastructure and has no visually perceptible effect.

PR: #2485
Comment by: @propr-dev[bot] (ID: 5815667169)
Model: claude-opus-5
@integry

integry commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Delete the metrics strip entirely (NEEDS ATTENTION 3 | RUNNING 1... is still 100% redundant).
Keep a single, hyper-compact 36px toolbar at the top of the Dashboard canvas:
Left: Dashboard (small, clean text).
Right: [ ⎇ All Repos ▾ ].
Zero margins: The 4-quadrant Split-Pane immediately attaches to the bottom border of this 36px bar.
This gives every section of your app—Dashboard, Plans, Goals, Tasks—an identical, predictable filtering pattern while eliminating 80px of vertical fluff from the main screen.

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit b1f9631

Summary of Changes

I deleted the metrics strip. The top of the Dashboard is now a single 36px bar: Dashboard on the left, a compact All Repos ▾ filter on the right, and the four panes start directly on its bottom border with no margin.

All checks pass: the full UI unit suite (1,316 tests), the dashboard and startup Playwright specs, the desktop acceptance check, typecheck and lint.

What changed

  • Strip removed. Dashboard/SummaryStrip.tsx is deleted and the Dashboard no longer requests the summary counts at all. The pane headings and the queue footer already show them. I left the /api/dashboard/summary endpoint in place, since you only asked about the UI; the desktop acceptance test still checks its fixture.
  • Toolbar (propr-ui/src/components/Dashboard.tsx). It's exactly 36px tall. "Dashboard" is small 13px text and lines up with the pane headings below it.
  • Compact filter. RepositorySelector has a new size="compact" option: a 28px-tall button with small text that fits inside the bar. Its dropdown opens aligned to the right edge so it stays on screen. Plans, Goals, Tasks and other pages still use the default size and look the same as before.

Tests and docs

  • I removed or rewrote the tests about the strip's counts, colours and phone layout. New tests check that:
    • the strip is gone and the summary is never requested.
    • the bar is 36px, with the page name on the left and the filter on the right.
    • at 1440px, both columns start exactly on the bar's bottom border.
    • at 320px and 390px, the name and filter share one row and the first pane attaches directly below.
  • The repository-filter test now checks the pane "View all" links, where it used to check the count links.
  • docs/docs/features/web-ui.md now describes four panes under the 36px toolbar. I also updated two screenshot notes in the docs that mentioned the strip.

I captured previews at 1440px and 320px showing the new toolbar.

The Gmail, Google Calendar, Google Drive and ProPR connectors need to be authorised in your claude.ai connector settings before they can be used. None of them were needed for this change.

Visual preview

Dashboard at 1440px

Dashboard at 1440px

The metrics strip is gone. A single 36px toolbar holds 'Dashboard' on the left and the compact All Repos filter on the right, and both pane columns start directly on its bottom rule.

Original unavailable: managed storage is unavailable or the upload has expired.

Dashboard at 320px

Dashboard at 320px

On a phone the same 36px toolbar keeps the page name and the repository filter on one row, with Needs attention attached directly beneath it.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @integry
  • Time: 8m 12s
  • Tokens: 2,597,866 (2,577,517 in / 20,349 out)
  • Cost: $1.39

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5817656981✓

…w a single 36px bar: **Dashboard** on the left, a compact **All Repos ▾** filter on the right, and the four panes start directly on its bottom border with no margin.

I deleted the metrics strip. The top of the Dashboard is now a single 36px bar: **Dashboard** on the left, a compact **All Repos ▾** filter on the right, and the four panes start directly on its bottom border with no margin.

All checks pass: the full UI unit suite (1,316 tests), the dashboard and startup Playwright specs, the desktop acceptance check, typecheck and lint.

**What changed**
- **Strip removed.** `Dashboard/SummaryStrip.tsx` is deleted and the Dashboard no longer requests the summary counts at all. The pane headings and the queue footer already show them. I left the `/api/dashboard/summary` endpoint in place, since you only asked about the UI; the desktop acceptance test still checks its fixture.
- **Toolbar** (`propr-ui/src/components/Dashboard.tsx`). It's exactly 36px tall. "Dashboard" is small 13px text and lines up with the pane headings below it.
- **Compact filter.** `RepositorySelector` has a new `size="compact"` option: a 28px-tall button with small text that fits inside the bar. Its dropdown opens aligned to the right edge so it stays on screen. Plans, Goals, Tasks and other pages still use the default size and look the same as before.

**Tests and docs**
- I removed or rewrote the tests about the strip's counts, colours and phone layout. New tests check that:
  - the strip is gone and the summary is never requested.
  - the bar is 36px, with the page name on the left and the filter on the right.
  - at 1440px, both columns start exactly on the bar's bottom border.
  - at 320px and 390px, the name and filter share one row and the first pane attaches directly below.
- The repository-filter test now checks the pane "View all" links, where it used to check the count links.
- `docs/docs/features/web-ui.md` now describes four panes under the 36px toolbar. I also updated two screenshot notes in the docs that mentioned the strip.

I captured previews at 1440px and 320px showing the new toolbar.

The Gmail, Google Calendar, Google Drive and ProPR connectors need to be authorised in your claude.ai connector settings before they can be used. None of them were needed for this change.

PR: #2485
Comment by: @integry (ID: 5817656981)
Model: claude-opus-5-5
@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 36043920846, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---

--- Release shell script lint ---

--- Toolchain ---
v22.23.2
10.9.8

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 1125 packages, and audited 1134 packages in 15s

321 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /var/lib/propr-ci/worker2/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice package: [email protected]
npm notice Tarball Contents
npm notice 25.7kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 1.2kB dist/api/agentTank.js
npm notice 10.9kB dist/api/client.js
npm notice 4.7kB dist/api/errors.js
npm notice 5.4kB dist/api/implement.js
npm notice 2.0kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 5.7kB dist/api/plans.js
npm notice 4.2kB dist/api/relay.js
npm notice 10.4kB dist/api/repos.js
npm notice 10.0kB dist/api/settings.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.8kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 25.3kB dist/assets/env.example.txt
npm notice 5.7kB dist/auth/githubLogin.js
npm notice 19.5kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 28.7kB dist/commands/agentValidation.js
npm notice 65.2kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 7.2kB dist/commands/implementCommands.js
npm notice 1.6kB dist/commands/index.js
npm notice 6.0kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 24.9kB dist/commands/planCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 30.1kB dist/commands/repoCommands.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 15.6kB dist/commands/settingCommands.js
npm notice 4.1kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.5kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 15.3kB dist/commands/setup/hostActions.js
npm notice 25.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 13.5kB dist/commands/systemCommands.js
npm notice 2.2kB dist/commands/tankCommands.js
npm notice 43.2kB dist/commands/taskCommands.js
npm notice 29.6kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 20.0kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 42.9kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 12.4kB dist/desktopLocalSetup.js
npm notice 16.3kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 307B dist/orchestrator/manifest.json
npm notice 117.7kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 6.1kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 29.9kB dist/tui/SetupApp.js
npm notice 12.6kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.6kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 62.7kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 9.1kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 25.1kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 1.4kB dist/vendor/shared/events.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 8.4kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 18.1kB dist/vendor/shared/modelDefinitions.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 1.5kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.3kB dist/vendor/shared/reasoningLevels.js
npm notice 1.7kB dist/vendor/shared/reviewPrompt.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 647B dist/vendor/shared/taskLifecycle.js
npm notice 503B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 623B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.8.15
npm notice filename: propr-cli-0.8.15.tgz
npm notice package size: 360.9 kB
npm notice unpacked size: 1.5 MB
npm notice shasum: 51e888c480d708ae069adfff98cdb641508c9879
npm notice integrity: sha512-lCDiQLRm9s5n/[...]ojCh/Jy0tUR5Q==
npm notice total files: 146
npm notice
propr-cli-0.8.15.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
❌ UI Lint FAILED

> [email protected] lint
> eslint . --max-warnings 0


/var/lib/propr-ci/worker2/work/propr/propr/propr-ui/e2e/dashboard-responsive.pw.ts
  553:1  warning  File has too many lines (409). Maximum allowed is 400  max-lines

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /var/lib/propr-ci/worker2/work/propr/propr/propr-ui
npm error workspace [email protected]
npm error location /var/lib/propr-ci/worker2/work/propr/propr/propr-ui
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed

--- API: Build & Lint ---
✅ API Build passed
✅ API Lint passed

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: failure

View Workflow

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 0d4771f

Summary of Changes

The UI lint failure is fixed. propr-ui/e2e/dashboard-responsive.pw.ts went from 409 counted lines to 397, under the 400-line max-lines limit, and no test assertions changed.

I removed code the tests were repeating instead of deleting coverage:

  • Shared section lists: new PANES and SECTIONS constants replace the five places that spelled out the four pane IDs, some with the toolbar added. The section-order test now compares against SECTIONS directly.
  • Shared box measurement: a new sectionBoxes(page, ids) helper replaces three nearly identical page.evaluate blocks that measured each section's position and size.

Checks:

  • npm run lint in propr-ui is clean, and ESLint on this file with --max-warnings 0 (the CI setting) passes.
  • A strict type-check of the file shows no errors.
  • All 21 Playwright tests in dashboard-responsive.pw.ts pass.

Only test code changed and nothing on screen is different, so I didn't make preview images.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @github-actions[bot]
  • Time: 3m 4s
  • Tokens: 253,842 (249,851 in / 3,991 out)
  • Cost: $0.32

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5820285179✓

…nsive.pw.ts` went from 409 counted lines to 397, under the 400-line `max-lines` limit, and no test assertions changed.

The UI lint failure is fixed. `propr-ui/e2e/dashboard-responsive.pw.ts` went from 409 counted lines to 397, under the 400-line `max-lines` limit, and no test assertions changed.

I removed code the tests were repeating instead of deleting coverage:

- **Shared section lists:** new `PANES` and `SECTIONS` constants replace the five places that spelled out the four pane IDs, some with the toolbar added. The section-order test now compares against `SECTIONS` directly.
- **Shared box measurement:** a new `sectionBoxes(page, ids)` helper replaces three nearly identical `page.evaluate` blocks that measured each section's position and size.

**Checks:**
- `npm run lint` in `propr-ui` is clean, and ESLint on this file with `--max-warnings 0` (the CI setting) passes.
- A strict type-check of the file shows no errors.
- All 21 Playwright tests in `dashboard-responsive.pw.ts` pass.

Only test code changed and nothing on screen is different, so I didn't make preview images.

PR: #2485
Comment by: @github-actions[bot] (ID: 5820285179)
Model: claude-opus-5-5
@integry

integry commented Sep 24, 2026

Copy link
Copy Markdown
Owner

1. Delete the Entire Sub-Bar

Do not just delete the word "Dashboard" and leave an empty white bar holding only the [ ⎇ All Repos ▾ ] dropdown on the right. Delete that entire row.


2. Move [ ⎇ All Repos ▾ ] to Where It Belongs

You only kept that bar because of the repository filter dropdown. Move the dropdown to one of two structural locations:

  • Location B: The Global Header (HUD)
    Move [ ⎇ All Repos ▾ ] into the top global toolbar, immediately to the left of the [ 🔍 Search... ⌘K ] bar.
    • Why this works: The top header is already your global command deck; placing the scope dropdown there makes it a clean, accessible control.

The Result

By deleting that redundant bar:

  1. The duplicate "Dashboard" label is gone.
  2. The 800px empty horizontal void is eradicated.
  3. Your active execution stream (HAPPENING NOW and NEEDS ATTENTION) moves directly to the ceiling of the canvas, immediately below the global header, saving another 40px of critical vertical screen space.

On mobile:


1. The Naming Contradiction (Activity vs. Dashboard)

Look at your mobile navigation:

  • Your top header says: Dashboard
  • Your bottom navigation tab is labeled: Activity (with a pulse wave icon)
  • The Flaw: You are using two completely different terms for the exact same screen. If a user taps "Activity" in the bottom bar, landing on a screen titled "Dashboard" creates an immediate cognitive disconnect.
  • The Fix: Pick one name globally. If this screen is the Dashboard, the bottom navigation tab must be labeled Dashboard (with a dashboard/grid icon, not an activity pulse).

2. The Horizontal Squeeze on Mobile

Look at that top row on mobile:
Dashboard on the left $\longleftrightarrow$ [ ⎇ All Repos ▾ ] on the right.

  • The Flaw: On a 390px mobile viewport, putting static text on the left forces your critical repository filter into a cramped box on the right. If the user selects a repository with a realistic name (e.g., design-system or payment-gateway), the text will aggressively truncate because "Dashboard" is stealing half the row.
  • The Reality: The highlighted tab in the bottom bar (Activity / Dashboard) already tells the user where they are. Burning 40% of the top horizontal width on a static title starves your interactive filter.

3. The Native Mobile Solution (The Scope Titlebar)

In professional mobile developer tools (like GitHub Mobile or Linear), you do not waste space on passive titles. The context switcher is the title.

How to execute this on mobile:

  • Option A: The Centered Scope Header (Standard Native Pattern)
    • Remove the static word Dashboard completely.
    • Make [ ⎇ All Repos ▾ ] the centered header of the top navigation bar.
    • Why this works: It gives the repository dropdown 100% of the horizontal space (preventing truncation) and turns passive title real estate into an active, touch-friendly control.

Summary

  • Desktop: Delete "Dashboard" entirely (the permanently highlighted left sidebar already provides clear context).
  • Mobile: Delete "Dashboard" from that row, align the bottom tab label with your branding, and let [ ⎇ All Repos ▾ ] command the full width of the mobile header so repository names don't truncate.

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 24765d1

Summary of Changes

The Dashboard sub-bar is gone. On desktop the All Repos filter now sits in the global header immediately left of Search. On phones the filter is the centered, full-width title bar, and the bottom tab reads Dashboard. The UI's type check, lint, 1,318 unit tests and all 101 Playwright browser tests pass.

Desktop

  • The 36px bar holding "Dashboard" and the filter is deleted. HAPPENING NOW and NEEDS ATTENTION now start directly on the global header's bottom edge, which a browser test checks.
  • The header has a slot immediately left of Search, and the Dashboard fills it with its filter. The slot is empty on every other page, so Search looks the same there as before.
  • The header layout now shrinks Search when the row runs short of width, instead of letting the buttons slide under it. I checked this at 1024, 1100, 1280 and 1440px.
  • The visible "Dashboard" heading is gone; a hidden one is kept for screen readers.

Mobile

  • The static "Dashboard" label is removed. The filter is the title bar: centered, full width and fixed to the top while the page scrolls. A long selection like example/design-system (main) fits without being cut off at 320px, which a browser test checks.

Decisions for you

  • The bottom tab. "Activity" actually opened the Tasks page, not the Dashboard; on the Dashboard the More tab was the one highlighted. I made that slot a Dashboard tab using the sidebar's grid icon, pointing at the Dashboard and highlighted there. That moved Tasks into the More sheet and took the duplicate Dashboard entry out of it. If you'd rather keep Tasks in the bottom bar, the other option is a sixth tab, which is tight at 320–390px.
  • Tablets (768–1023px). The global header has no room there for the filter: both button groups plus the smallest Search box already fill the row, and at 768px Search overlapped the To-Do icon. So in that range the filter is left out of the header and the centered title bar is used, as on phones.
  • Tight header at 1024px. In the normal state it fits, but Search shrinks to about 110px. When the header shows "Plans unavailable" / "Tasks unavailable" badges, the buttons can still overlap at that width.

The main changes are in Dashboard.tsx, GlobalHeader.tsx, Layout.tsx and MobileBottomNavigation.tsx, plus a new headerScopeSlot.ts. RepositorySelector.tsx gained a centered, borderless title style for the mobile bar. I updated the tests that looked for the old bar or the "Activity" tab, and added checks for the new placement.

Preview screenshots: the desktop at 1440px, the phone at 390px, and the phone with a long repository name selected.

Visual preview

Desktop dashboard: filter in the global header

Desktop dashboard: filter in the global header

At 1440px the Dashboard sub-bar is gone. The All Repos filter sits in the global toolbar immediately left of Search, and Happening now / Needs attention start directly under the header.

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard with a long repository selected

Mobile dashboard with a long repository selected

With example/design-system (main) selected, the full repository name fits in the title bar without truncation.

Original unavailable: managed storage is unavailable or the upload has expired.

Mobile dashboard: scope switcher as the title bar

Mobile dashboard: scope switcher as the title bar

At 390px the static Dashboard label is removed. All Repos is the centered, full-width title bar, and the bottom tab now reads Dashboard with the grid icon, highlighted.

Original unavailable: managed storage is unavailable or the upload has expired.


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @integry
  • Time: 20m 50s
  • Tokens: 8,108,102 (8,052,527 in / 55,575 out)
  • Cost: $3.47

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5820947908✓

… filter now sits in the global header immediately left of Search. On phones the filter is the centered, full-width title bar, and the bottom tab reads **Dashboard**. The UI's type check, lint, 1,318 unit tests and all 101 Playwright browser tests pass.

The Dashboard sub-bar is gone. On desktop the **All Repos** filter now sits in the global header immediately left of Search. On phones the filter is the centered, full-width title bar, and the bottom tab reads **Dashboard**. The UI's type check, lint, 1,318 unit tests and all 101 Playwright browser tests pass.

**Desktop**
- The 36px bar holding "Dashboard" and the filter is deleted. `HAPPENING NOW` and `NEEDS ATTENTION` now start directly on the global header's bottom edge, which a browser test checks.
- The header has a slot immediately left of Search, and the Dashboard fills it with its filter. The slot is empty on every other page, so Search looks the same there as before.
- The header layout now shrinks Search when the row runs short of width, instead of letting the buttons slide under it. I checked this at 1024, 1100, 1280 and 1440px.
- The visible "Dashboard" heading is gone; a hidden one is kept for screen readers.

**Mobile**
- The static "Dashboard" label is removed. The filter is the title bar: centered, full width and fixed to the top while the page scrolls. A long selection like `example/design-system (main)` fits without being cut off at 320px, which a browser test checks.

**Decisions for you**
- **The bottom tab.** "Activity" actually opened the Tasks page, not the Dashboard; on the Dashboard the **More** tab was the one highlighted. I made that slot a **Dashboard** tab using the sidebar's grid icon, pointing at the Dashboard and highlighted there. That moved **Tasks** into the More sheet and took the duplicate Dashboard entry out of it. If you'd rather keep Tasks in the bottom bar, the other option is a sixth tab, which is tight at 320–390px.
- **Tablets (768–1023px).** The global header has no room there for the filter: both button groups plus the smallest Search box already fill the row, and at 768px Search overlapped the To-Do icon. So in that range the filter is left out of the header and the centered title bar is used, as on phones.
- **Tight header at 1024px.** In the normal state it fits, but Search shrinks to about 110px. When the header shows "Plans unavailable" / "Tasks unavailable" badges, the buttons can still overlap at that width.

The main changes are in `Dashboard.tsx`, `GlobalHeader.tsx`, `Layout.tsx` and `MobileBottomNavigation.tsx`, plus a new `headerScopeSlot.ts`. `RepositorySelector.tsx` gained a centered, borderless title style for the mobile bar. I updated the tests that looked for the old bar or the "Activity" tab, and added checks for the new placement.

Preview screenshots: the desktop at 1440px, the phone at 390px, and the phone with a long repository name selected.

PR: #2485
Comment by: @integry (ID: 5820947908)
Model: claude-opus-5-5
@propr-dev

propr-dev Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Packaged Connect (darwin-x64)

Please investigate and fix this CI failure.

  • Check: Packaged Connect (darwin-x64)
  • Result: failure
  • Commit: 24765d1074f2 (24765d1074f203f694957b9ede3a37dd688ffdb6)
  • Details: View CI failure

Failure evidence

.github:26
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Packaged Connect Discovery Guard

Please investigate and fix this CI failure.

  • Check: Packaged Connect Discovery Guard
  • Result: failure
  • Commit: 24765d1074f2 (24765d1074f203f694957b9ede3a37dd688ffdb6)
  • Details: View CI failure

Failure evidence

.github:32
Process completed with exit code 1.

.github:31
Packaged Connect discovery finished with result 'failure'.

.github:1
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see actions/runner-images#14748"

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I made no code changes. Both failures come from one intermittent timeout on the Intel Mac CI runner, not from this PR's code, and the fix is to re-run those two jobs. I couldn't do that myself: gh run rerun --failed came back with "Resource not accessible by integration".

What failed: "Packaged Connect Discovery Guard" only reports the result of the per-platform jobs. Its failure is just the knock-on from Packaged Connect (darwin-x64).

In that job, the packaged desktop app runs a two-part check: it connects, then relaunches and connects again. The relaunch got most of the way through. It then waited 15 seconds for the page to say its live connection was up (REACT_CONNECTED), gave up, and reported RENDERER_STAGE_TIMEOUT.

Why I don't think the last commit caused it:

  • The same code connected in the same job. The first part of the check completed, including REACT_CONNECTED, using this commit's new header and Dashboard. The relaunch only runs after the first part passes.
  • The other platforms passed on this commit: darwin-arm64, linux-x64 and linux-arm64.
  • Nothing in the connection path changed. The last commit only changed Layout.tsx and GlobalHeader.tsx to add the header slot for the filter. Nothing there touches the signal the check waits for or the component that sends it (DesktopInstanceSelector), which is still mounted.
  • It's normally fast. On this branch's previous two commits the darwin-x64 check finished the whole journey in 11–16 seconds. This run spent 34 seconds and hung on the relaunch.
  • It has flaked before. The guard has passed on every other run in recent history. The few older failures were on other branches and other runners, and one of them (run 34856598488) passed on its third attempt.

What's needed: re-run the failed jobs in run 36052025245 from the Actions page, or push the next commit, which triggers a fresh run. If darwin-x64 times out at the same point again, that points to a real problem, and I'd look at why the second launch's connection stalls rather than raise the 15-second limit.

No preview was captured because nothing visible changed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (high)
  • Time: 3m 49s
  • Tokens: 1,008,401 (999,738 in / 8,663 out)
  • Cost: $0.63

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 5821405101✓, 5821406016✓

@integry
integry marked this pull request as ready for review September 24, 2026 20:33
@integry
integry merged commit 6d77c7d into main Sep 24, 2026
44 of 47 checks passed
@integry
integry deleted the 2478-epic-dashboard-data-2ki branch September 24, 2026 20:33
@github-actions

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 4).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: success
  • Shard 1/4: passed in 389.9s on gitfix-rootless-4
  • Shard 2/4: passed in 337.2s on gitfix-rootless-2
  • Shard 3/4: passed in 331.2s on gitfix-rootless-1
  • Shard 4/4: failed during Test shard in 380.3s on gitfix-rootless-3
    • apps/desktop/scripts/electron-pairing-zstd.test.mjs: exit 1
View shard 4/4 output
...(truncated)


# [2026-09-24 20:41:20.799 +0000] �[32mINFO�[39m: �[36mRouting WebSocket intake service stopped�[39m
# [2026-09-24 20:41:20.800 +0000] �[32mINFO�[39m: �[36mConnecting to GitHub event routing WebSocket...�[39m
#     routingUrl: "wss://routing.example/v1/connect"
# [2026-09-24 20:41:20.800 +0000] �[33mWARN�[39m: �[36mCannot send routing frame; socket not open or no longer current�[39m
#     type: "ack"
# [2026-09-24 20:41:20.800 +0000] �[32mINFO�[39m: �[36mRouting WebSocket intake service stopped�[39m
# [2026-09-24 20:41:20.801 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..50
# tests 50
# suites 0
# pass 50
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 3464.848103
[118/132] passed test/routingWebSocketIntakeService.test.ts in 3.6s

[119/132] test/securityInputHardening.test.ts
TAP version 13
# Subtest: npm registry package paths encode scoped names and reject ambiguous input
ok 1 - npm registry package paths encode scoped names and reject ambiguous input
  ---
  duration_ms: 1.063049
  type: 'test'
  ...
# Subtest: label hashing rejects unbounded model identifiers
ok 2 - label hashing rejects unbounded model identifiers
  ---
  duration_ms: 0.498375
  type: 'test'
  ...
# Subtest: agent transcript and epic branch suffixes use cryptographic unbiased randomness
ok 3 - agent transcript and epic branch suffixes use cryptographic unbiased randomness
  ---
  duration_ms: 0.351023
  type: 'test'
  ...
1..3
# tests 3
# suites 0
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 406.927284
[119/132] passed test/securityInputHardening.test.ts in 0.5s

[120/132] test/sharedModelDefinitions.test.ts
TAP version 13
# Subtest: shared model definitions
    # Subtest: exposes OpenCode in shared agent models and defaults
    ok 1 - exposes OpenCode in shared agent models and defaults
      ---
      duration_ms: 1.525114
      type: 'test'
      ...
    # Subtest: every default agent model is present in the shared model catalog
    ok 2 - every default agent model is present in the shared model catalog
      ---
      duration_ms: 0.366383
      type: 'test'
      ...
    # Subtest: OpenCode defaults use namespaced unauthenticated OpenCode free model ids
    ok 3 - OpenCode defaults use namespaced unauthenticated OpenCode free model ids
      ---
      duration_ms: 0.177841
      type: 'test'
      ...
    1..3
ok 1 - shared model definitions
  ---
  duration_ms: 3.162438
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 371.361581
[120/132] passed test/sharedModelDefinitions.test.ts in 0.5s

[121/132] test/summarizationRuntimeState.test.ts
TAP version 13
# [2026-09-24 20:41:25.229 +0000] �[32mINFO�[39m: �[36mRunning database migrations...�[39m
# [2026-09-24 20:41:25.231 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-ci.cIx6VO/propr-test-suite-YvvA9F/121-summarizationRuntimeState.test.ts/propr.test.sqlite"
#     environment: "test"
# Subtest: summarization fallback runtime state
    # Subtest: promotes fallback after repeated primary quota failures and preserves old primary as fallback
    ok 1 - promotes fallback after repeated primary quota failures and preserves old primary as fallback
      ---
      duration_ms: 11.199268
      type: 'test'
      ...
    # Subtest: normalizes whitespace-padded aliases before persistence and promotion
    ok 2 - normalizes whitespace-padded aliases before persistence and promotion
      ---
      duration_ms: 4.234628
      type: 'test'
      ...
    # Subtest: promotes fallback after primary returns unusable summarization output
    ok 3 - promotes fallback after primary returns unusable summarization output
      ---
      duration_ms: 2.25608
      type: 'test'
      ...
    # Subtest: promotion clears stale alias failure counters
    ok 4 - promotion clears stale alias failure counters
      ---
      duration_ms: 3.012666
      type: 'test'
      ...
    # Subtest: recording failures alone never promotes; promotion is gated on fallback success
    ok 5 - recording failures alone never promotes; promotion is gated on fallback success
      ---
      duration_ms: 2.865645
      type: 'test'
      ...
    # Subtest: records and returns repository branch cooldown
    ok 6 - records and returns repository branch cooldown
      ---
      duration_ms: 2.434202
      type: 'test'
      ...
    # Subtest: runtime state reads normalize expired cooldowns without writing persisted state
    ok 7 - runtime state reads normalize expired cooldowns without writing persisted state
      ---
      duration_ms: 1.242251
      type: 'test'
      ...
    # Subtest: clears quota warning after primary summarization success
    ok 8 - clears quota warning after primary summarization success
      ---
      duration_ms: 3.013856
      type: 'test'
      ...
    # Subtest: primary success clears counters without deleting cooldown warning
    ok 9 - primary success clears counters without deleting cooldown warning
      ---
      duration_ms: 2.029927
      type: 'test'
      ...
    # Subtest: explicit cooldown clear removes matching repository warning
    ok 10 - explicit cooldown clear removes matching repository warning
      ---
      duration_ms: 2.656684
      type: 'test'
      ...
    # Subtest: settings-change clear preserves cooldowns for still-active models
    ok 11 - settings-change clear preserves cooldowns for still-active models
      ---
      duration_ms: 4.155766
      type: 'test'
      ...
    # Subtest: cooldown clear preserves newer cooldown with different model aliases
    ok 12 - cooldown clear preserves newer cooldown with different model aliases
      ---
      duration_ms: 2.169019
      type: 'test'
      ...
    1..12
ok 1 - summarization fallback runtime state
  ---
  duration_ms: 981.407392
  type: 'suite'
  ...
# [2026-09-24 20:41:26.109 +0000] �[32mINFO�[39m: �[36mDatabase migrations completed successfully�[39m
# [2026-09-24 20:41:26.112 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary:gpt-expensive",
#       "fallback_agent_alias": "fallback:gpt-cheap",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.114 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 1
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.117 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 2
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.118 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary:gpt-expensive",
#       "fallback_agent_alias": "fallback:gpt-cheap",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.118 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "fallback:gpt-cheap",
#       "fallback_agent_alias": "primary:gpt-expensive",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.119 +0000] �[33mWARN�[39m: �[36mPromoted summarization fallback model after repeated primary quota failures�[39m
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.119 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "fallback:gpt-cheap",
#       "fallback_agent_alias": "primary:gpt-expensive",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.122 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary:gpt-expensive",
#       "fallback_agent_alias": "fallback:gpt-cheap",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.122 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary:gpt-expensive",
#       "fallback_agent_alias": "fallback:gpt-cheap",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.123 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 1
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.124 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 2
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.124 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary:gpt-expensive",
#       "fallback_agent_alias": "fallback:gpt-cheap",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.124 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "fallback:gpt-cheap",
#       "fallback_agent_alias": "primary:gpt-expensive",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.125 +0000] �[33mWARN�[39m: �[36mPromoted summarization fallback model after repeated primary quota failures�[39m
#     primaryAgentAlias: "primary:gpt-expensive"
#     fallbackAgentAlias: "fallback:gpt-cheap"
# [2026-09-24 20:41:26.125 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "fallback:gpt-cheap",
#       "fallback_agent_alias": "primary:gpt-expensive",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.126 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "antigravity:antigravity-gpt-oss-120b-medium",
#       "fallback_agent_alias": "claude:claude-haiku-4-5-20251001",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.127 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "antigravity:antigravity-gpt-oss-120b-medium",
#       "fallback_agent_alias": "claude:claude-haiku-4-5-20251001",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.127 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "claude:claude-haiku-4-5-20251001",
#       "fallback_agent_alias": "antigravity:antigravity-gpt-oss-120b-medium",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.127 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary response failure�[39m
#     promoted: true
#     primaryAgentAlias: "antigravity:antigravity-gpt-oss-120b-medium"
#     fallbackAgentAlias: "claude:claude-haiku-4-5-20251001"
#     reason: "No valid summaries parsed for batch of 5 files"
# [2026-09-24 20:41:26.127 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "claude:claude-haiku-4-5-20251001",
#       "fallback_agent_alias": "antigravity:antigravity-gpt-oss-120b-medium",
#       "custom_prompt": "Summarize carefully"
#     }
# [2026-09-24 20:41:26.128 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary",
#       "fallback_agent_alias": "fallback",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.129 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 2
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.130 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary",
#       "fallback_agent_alias": "fallback",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.130 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "fallback",
#       "fallback_agent_alias": "primary",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.130 +0000] �[33mWARN�[39m: �[36mPromoted summarization fallback model after repeated primary quota failures�[39m
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.131 +0000] �[32mINFO�[39m: �[36mSuccessfully saved summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary",
#       "fallback_agent_alias": "fallback",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.132 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 1
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.133 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 2
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.133 +0000] �[32mINFO�[39m: �[36mSuccessfully loaded summarization settings�[39m
#     summarization: {
#       "enabled": true,
#       "agent_alias": "primary",
#       "fallback_agent_alias": "fallback",
#       "custom_prompt": ""
#     }
# [2026-09-24 20:41:26.135 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/propr",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.134Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "primary",
#       "fallback_agent_alias": "fallback"
#     }
# [2026-09-24 20:41:26.139 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 1
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.142 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/propr",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.141Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "primary",
#       "fallback_agent_alias": "fallback"
#     }
# [2026-09-24 20:41:26.144 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/propr",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.143Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "primary",
#       "fallback_agent_alias": "fallback"
#     }
# [2026-09-24 20:41:26.146 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/active",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.146Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "primary",
#       "fallback_agent_alias": "fallback"
#     }
# [2026-09-24 20:41:26.147 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/removed",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.146Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "removed-primary",
#       "fallback_agent_alias": "removed-fallback"
#     }
# [2026-09-24 20:41:26.148 +0000] �[33mWARN�[39m: �[36mRecorded summarization primary quota failure�[39m
#     failureCount: 1
#     primaryAgentAlias: "primary"
#     fallbackAgentAlias: "fallback"
# [2026-09-24 20:41:26.150 +0000] �[33mWARN�[39m: �[36mRecorded summarization cooldown�[39m
#     cooldown: {
#       "repository": "integry/propr",
#       "branch": "main",
#       "until": "2026-09-24T20:42:26.150Z",
#       "reason": "Primary and fallback summarization models are quota-limited.",
#       "primary_agent_alias": "primary-new",
#       "fallback_agent_alias": "fallback-new"
#     }
# [2026-09-24 20:41:26.209 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 12
# suites 1
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 3354.901484
[121/132] passed test/summarizationRuntimeState.test.ts in 3.5s

[122/132] test/summaryMinerBatchLimits.test.ts
TAP version 13
# Subtest: summary miner batch limits
    # Subtest: applies the OSS 120B summarization override across routed model ids
    ok 1 - applies the OSS 120B summarization override across routed model ids
      ---
      duration_ms: 1.435492
      type: 'test'
      ...
    # Subtest: does not cap other Antigravity models by agent namespace alone
    ok 2 - does not cap other Antigravity models by agent namespace alone
      ---
      duration_ms: 0.178492
      type: 'test'
      ...
    1..2
ok 1 - summary miner batch limits
  ---
  duration_ms: 2.571742
  type: 'suite'
  ...
1..1
# tests 2
# suites 1
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 220.634993
[122/132] passed test/summaryMinerBatchLimits.test.ts in 0.4s

[123/132] test/taskStateReconciler.test.ts
TAP version 13
# (node:38015) ExperimentalWarning: Module mocking is an experimental feature and might change at any time
# (Use `node --trace-warnings ...` to show where the warning was created)
# Subtest: recovers completed and failed BullMQ outcomes through the shared finalizer
ok 1 - recovers completed and failed BullMQ outcomes through the shared finalizer
  ---
  duration_ms: 4.245967
  type: 'test'
  ...
# Subtest: leaves live, recent, non-PR, and future-dated work untouched
ok 2 - leaves live, recent, non-PR, and future-dated work untouched
  ---
  duration_ms: 0.848397
  type: 'test'
  ...
# Subtest: leaves an untyped issue task with comments untouched
ok 3 - leaves an untyped issue task with comments untouched
  ---
  duration_ms: 0.603166
  type: 'test'
  ...
# Subtest: leaves future-dated work untouched when the stale threshold is zero
ok 4 - leaves future-dated work untouched when the stale threshold is zero
  ---
  duration_ms: 0.554935
  type: 'test'
  ...
# Subtest: fails an orphan only when Docker is available and no container is live
ok 5 - fails an orphan only when Docker is available and no container is live
  ---
  duration_ms: 1.1768
  type: 'test'
  ...
# Subtest: isolates a task lookup failure and continues the scan
ok 6 - isolates a task lookup failure and continues the scan
  ---
  duration_ms: 0.929458
  type: 'test'
  ...
# Subtest: resumes the unprocessed part of a page before scanning the next cursor
ok 7 - resumes the unprocessed part of a page before scanning the next cursor
  ---
  duration_ms: 11.929966
  type: 'test'
  ...
# Subtest: bounds the initial Redis scan by the reconciliation budget
ok 8 - bounds the initial Redis scan by the reconciliation budget
  ---
  duration_ms: 11.214869
  type: 'test'
  ...
# Subtest: legacy container inspection is non-destructive and distinguishes Docker outages
ok 9 - legacy container inspection is non-destructive and distinguishes Docker outages
  ---
  duration_ms: 0.688346
  type: 'test'
  ...
# Subtest: invalid and future timestamps are not treated as stale
ok 10 - invalid and future timestamps are not treated as stale
  ---
  duration_ms: 0.340023
  type: 'test'
  ...
1..10
# tests 10
# suites 0
# pass 10
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 319.21727
[123/132] passed test/taskStateReconciler.test.ts in 0.5s

[124/132] test/ultrafixInit.test.ts
TAP version 13
# Subtest: resolveJobModulePath finds repo-root TypeScript jobs in dev layout
ok 1 - resolveJobModulePath finds repo-root TypeScript jobs in dev layout
  ---
  duration_ms: 10.696574
  type: 'test'
  ...
# [2026-09-24 20:41:29.655 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-ci.cIx6VO/propr-test-suite-YvvA9F/124-ultrafixInit.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-09-24 20:41:29.665 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 1
# suites 0
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2441.788516
[124/132] passed test/ultrafixInit.test.ts in 2.6s

[125/132] test/ultrafixReadiness.test.ts
TAP version 13
# Subtest: isCooldownElapsed
    # Subtest: returns true when no lastActionTimestamp
    ok 1 - returns true when no lastActionTimestamp
      ---
      duration_ms: 0.659406
      type: 'test'
      ...
    # Subtest: returns true when enough time has passed
    ok 2 - returns true when enough time has passed
      ---
      duration_ms: 0.362673
      type: 'test'
      ...
    # Subtest: returns false when cooldown has not elapsed
    ok 3 - returns false when cooldown has not elapsed
      ---
      duration_ms: 0.129401
      type: 'test'
      ...
    # Subtest: respects custom nowMs parameter
    ok 4 - respects custom nowMs parameter
      ---
      duration_ms: 0.130331
      type: 'test'
      ...
    1..4
ok 1 - isCooldownElapsed
  ---
  duration_ms: 2.067798
  type: 'suite'
  ...
# Subtest: areChecksReadyForUltrafix
    # Subtest: treats zero configured checks as ready instead of waiting forever
    ok 1 - treats zero configured checks as ready instead of waiting forever
      ---
      duration_ms: 0.128161
      type: 'test'
      ...
    1..1
ok 2 - areChecksReadyForUltrafix
  ---
  duration_ms: 0.277082
  type: 'suite'
  ...
# Subtest: action-aware CI readiness
    # Subtest: requires passing checks only for the concrete review action
    ok 1 - requires passing checks only for the concrete review action
      ---
      duration_ms: 0.172681
      type: 'test'
      ...
    1..1
ok 3 - action-aware CI readiness
  ---
  duration_ms: 0.389404
  type: 'suite'
  ...
# Subtest: hasFollowUpJobsForPR
    # Subtest: returns false when queue is empty
    ok 1 - returns false when queue is empty
      ---
      duration_ms: 0.218312
      type: 'test'
      ...
    # Subtest: returns true when matching ultrafix job exists
    ok 2 - returns true when matching ultrafix job exists
      ---
      duration_ms: 0.155102
      type: 'test'
      ...
    # Subtest: returns false when matching job exists but is not ultrafix
    ok 3 - returns false when matching job exists but is not ultrafix
      ---
      duration_ms: 0.170172
      type: 'test'
      ...
    # Subtest: returns false when ultrafix jobs are for different PR
    ok 4 - returns false when ultrafix jobs are for different PR
      ---
      duration_ms: 0.255522
      type: 'test'
      ...
    # Subtest: returns false when ultrafix jobs are for different repo
    ok 5 - returns false when ultrafix jobs are for different repo
      ---
      duration_ms: 0.143312
      type: 'test'
      ...
    1..5
ok 4 - hasFollowUpJobsForPR
  ---
  duration_ms: 1.232081
  type: 'suite'
  ...
# Subtest: hasPendingBatchedComments
    # Subtest: returns false when no pending comments
    ok 1 - returns false when no pending comments
      ---
      duration_ms: 0.260562
      type: 'test'
      ...
    # Subtest: returns true when pending comments exist
    ok 2 - returns true when pending comments exist
      ---
      duration_ms: 0.138971
      type: 'test'
      ...
    1..2
ok 5 - hasPendingBatchedComments
  ---
  duration_ms: 0.508324
  type: 'suite'
  ...
# Subtest: checkReadiness
    # Subtest: returns ready when all conditions pass
    ok 1 - returns ready when all conditions pass
      ---
      duration_ms: 0.165141
      type: 'test'
      ...
    # Subtest: returns not ready when checks not passing
    ok 2 - returns not ready when checks not passing
      ---
      duration_ms: 0.130192
      type: 'test'
      ...
    # Subtest: returns not ready when follow-up jobs exist
    ok 3 - returns not ready when follow-up jobs exist
      ---
      duration_ms: 0.085441
      type: 'test'
      ...
    # Subtest: returns not ready when pending comments exist
    ok 4 - returns not ready when pending comments exist
      ---
      duration_ms: 0.08847
      type: 'test'
      ...
    # Subtest: aggregates multiple blocking reasons
    ok 5 - aggregates multiple blocking reasons
      ---
      duration_ms: 0.0819
      type: 'test'
      ...
    1..5
ok 6 - checkReadiness
  ---
  duration_ms: 0.710347
  type: 'suite'
  ...
# Subtest: deferred continuation persistence
    # Subtest: getUltrafixDeferredKey produces expected format
    ok 1 - getUltrafixDeferredKey produces expected format
      ---
      duration_ms: 0.374064
      type: 'test'
      ...
    # Subtest: save and load round-trips deferred continuation
    ok 2 - save and load round-trips deferred continuation
      ---
      duration_ms: 0.876368
      type: 'test'
      ...
    # Subtest: loadDeferredContinuation returns null when not present
    ok 3 - loadDeferredContinuation returns null when not present
      ---
      duration_ms: 0.172361
      type: 'test'
      ...
    # Subtest: clearDeferredContinuation removes the record
    ok 4 - clearDeferredContinuation removes the record
      ---
      duration_ms: 1.062829
      type: 'test'
      ...
    # Subtest: manual invalidation atomically advances the epoch and removes deferred work
    ok 5 - manual invalidation atomically advances the epoch and removes deferred work
      ---
      duration_ms: 0.284492
      type: 'test'
      ...
    # Subtest: manual invalidation is idempotent per comment revision and a later edit fences newer automatic work
    ok 6 - manual invalidation is idempotent per comment revision and a later edit fences newer automatic work
      ---
      duration_ms: 0.424643
      type: 'test'
      ...
    # Subtest: automatic work detection covers active state and deferred transitions
    ok 7 - automatic work detection covers active state and deferred transitions
      ---
      duration_ms: 0.328022
      type: 'test'
      ...
    # Subtest: manual takeover makes stale active state invisible to later commands
    ok 8 - manual takeover makes stale active state invisible to later commands
      ---
      duration_ms: 0.313642
      type: 'test'
      ...
    # Subtest: a superseded action cannot restore its deferred record
    ok 9 - a superseded action cannot restore its deferred record
      ---
      duration_ms: 0.227722
      type: 'test'
      ...
    # Subtest: a stale continuation cannot delete deferred work from a newer epoch
    ok 10 - a stale continuation cannot delete deferred work from a newer epoch
      ---
      duration_ms: 0.268082
      type: 'test'
      ...
    # Subtest: manual takeover fences a continuation that already claimed deferred work
    ok 11 - manual takeover fences a continuation that already claimed deferred work
      ---
      duration_ms: 0.256093
      type: 'test'
      ...
    1..11
ok 7 - deferred continuation persistence
  ---
  duration_ms: 4.884193
  type: 'suite'
  ...
# Subtest: defer and resume behavior
    # Subtest: checkReadiness blocks when checks are not passing
    ok 1 - checkReadiness blocks when checks are not passing
      ---
      duration_ms: 0.190102
      type: 'test'
      ...
    # Subtest: checkReadiness allows progression when checks turn green
    ok 2 - checkReadiness allows progression when checks turn green
      ---
      duration_ms: 0.107771
      type: 'test'
      ...
    # Subtest: deferred continuation is saved and can be loaded for resume
    ok 3 - deferred continuation is saved and can be loaded for resume
      ---
      duration_ms: 0.223102
      type: 'test'
      ...
    # Subtest: resume clears deferred record after successful wake
    ok 4 - resume clears deferred record after successful wake
      ---
      duration_ms: 0.179182
      type: 'test'
      ...
    # Subtest: resume keeps deferred record when still not ready
    ok 5 - resume keeps deferred record when still not ready
      ---
      duration_ms: 0.167322
      type: 'test'
      ...
    # Subtest: no overlap: blocks when competing ultrafix job exists
    ok 6 - no overlap: blocks when competing ultrafix job exists
      ---
      duration_ms: 0.124091
      type: 'test'
      ...
    # Subtest: cooldown is not a readiness condition (handled by enqueue delay)
    ok 7 - cooldown is not a readiness condition (handled by enqueue delay)
      ---
      duration_ms: 0.111851
      type: 'test'
      ...
    1..7
ok 8 - defer and resume behavior
  ---
  duration_ms: 1.270791
  type: 'suite'
  ...
# Subtest: parseDeferredKey
    # Subtest: parses a valid key
    ok 1 - parses a valid key
      ---
      duration_ms: 0.225602
      type: 'test'
      ...
    # Subtest: returns null for invalid key format
    ok 2 - returns null for invalid key format
      ---
      duration_ms: 0.072641
      type: 'test'
      ...
    # Subtest: returns null for key with too few parts
    ok 3 - returns null for key with too few parts
      ---
      duration_ms: 0.07616
      type: 'test'
      ...
    # Subtest: returns null for key with non-numeric PR
    ok 4 - returns null for key with non-numeric PR
      ---
      duration_ms: 0.06343
      type: 'test'
      ...
    1..4
ok 9 - parseDeferredKey
  ---
  duration_ms: 0.548714
  type: 'suite'
  ...
1..9
# tests 40
# suites 9
# pass 40
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 284.125071
[125/132] passed test/ultrafixReadiness.test.ts in 0.4s

[126/132] test/userWhitelist.test.ts
TAP version 13
# Subtest: empty whitelist allows everyone (open access)
ok 1 - empty whitelist allows everyone (open access)
  ---
  duration_ms: 0.716557
  type: 'test'
  ...
# Subtest: non-empty whitelist gates by membership (case-insensitive)
ok 2 - non-empty whitelist gates by membership (case-insensitive)
  ---
  duration_ms: 0.611635
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 378.640892
[126/132] passed test/userWhitelist.test.ts in 0.5s

[127/132] test/visualPreviewAttachments.test.ts
TAP version 13
# Subtest: resolves the dedicated visual preview upload credential
ok 1 - resolves the dedicated visual preview upload credential
  ---
  duration_ms: 1.289902
  type: 'test'
  ...
# Subtest: explains why the GitHub App credential cannot be used for attachments
ok 2 - explains why the GitHub App credential cannot be used for attachments
  ---
  duration_ms: 0.285912
  type: 'test'
  ...
# Subtest: publishes a private-safe hybrid image from GitHub and authenticated finalized managed metadata
ok 3 - publishes a private-safe hybrid image from GitHub and authenticated finalized managed metadata
  ---
  duration_ms: 7.522216
  type: 'test'
  ...
# Subtest: rejects a pull request upload when GitHub leaves a local path in the body
ok 4 - rejects a pull request upload when GitHub leaves a local path in the body
  ---
  duration_ms: 2.27567
  type: 'test'
  ...
# Subtest: uploads media before updating the existing work comment without creating another comment
ok 5 - uploads media before updating the existing work comment without creating another comment
  ---
  duration_ms: 1.457563
  type: 'test'
  ...
# Subtest: uploads comment attachments serially to bound in-memory upload buffers
ok 6 - uploads comment attachments serially to bound in-memory upload buffers
  ---
  duration_ms: 12.106086
  type: 'test'
  ...
# Subtest: updates the work comment with a safe fallback when a direct attachment upload fails
ok 7 - updates the work comment with a safe fallback when a direct attachment upload fails
  ---
  duration_ms: 1.508293
  type: 'test'
  ...
# Subtest: rejects an updated work comment whose response still contains a local path
ok 8 - rejects an updated work comment whose response still contains a local path
  ---
  duration_ms: 4.913933
  type: 'test'
  ...
# Subtest: uploads an attachment directly to the repository-scoped GitHub endpoint
ok 9 - uploads an attachment directly to the repository-scoped GitHub endpoint
  ---
  duration_ms: 6.005463
  type: 'test'
  ...
# [2026-09-24 20:41:33.193 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-ci.cIx6VO/propr-test-suite-YvvA9F/127-visualPreviewAttachments.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-09-24 20:41:33.207 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.208 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.210 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.211 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.211 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.222 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.224 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# Subtest: direct upload rejects oversized images for paid plans and oversized videos for unresolved auto before network access
ok 10 - direct upload rejects oversized images for paid plans and oversized videos for unresolved auto before network access
  ---
  duration_ms: 61.042857
  type: 'test'
  ...
# Subtest: oversized media is not sent to the GitHub attachment uploader
ok 11 - oversized media is not sent to the GitHub attachment uploader
  ---
  duration_ms: 2.734494
  type: 'test'
  ...
# Subtest: publishers store and link prepared originals without uploading GitHub-ineligible media
ok 12 - publishers store and link prepared originals without uploading GitHub-ineligible media
  ---
  duration_ms: 496.62016
  type: 'test'
  ...
# Subtest: GitHub publishers revalidate stale metadata and upload only actually eligible assets
ok 13 - GitHub publishers revalidate stale metadata and upload only actually eligible assets
  ---
  duration_ms: 3.941095
  type: 'test'
  ...
# Subtest: managed storage failure still publishes GitHub attachments without exposing its error
ok 14 - managed storage failure still publishes GitHub attachments without exposing its error
  ---
  duration_ms: 0.990749
  type: 'test'
  ...
# Subtest: a video between 10 and 100 MiB is inline only with resolved paid capacity and is never transcoded
ok 15 - a video between 10 and 100 MiB is inline only with resolved paid capacity and is never transcoded
  ---
  duration_ms: 17.929887
  type: 'test'
  ...
# Subtest: staged evidence remains until storage, inline upload, and fallback publication have settled
ok 16 - staged evidence remains until storage, inline upload, and fallback publication have settled
  ---
  duration_ms: 7.845319
  type: 'test'
  ...
# Subtest: managed originals return ordered per-asset finalized metadata and bounded independent failures
ok 17 - managed originals return ordered per-asset finalized metadata and bounded independent failures
  ---
  duration_ms: 1.069439
  type: 'test'
  ...
# Subtest: managed client setup failure preserves a safe result for every asset
ok 18 - managed client setup failure preserves a safe result for every asset
  ---
  duration_ms: 0.193882
  type: 'test'
  ...
# Subtest: hybrid publication isolates mixed asset outcomes and rejects untrusted viewer links
ok 19 - hybrid publication isolates mixed asset outcomes and rejects untrusted viewer links
  ---
  duration_ms: 2.313731
  type: 'test'
  ...
# Subtest: GitHub upload transport failures discard raw bodies, paths, and credentials
ok 20 - GitHub upload transport failures discard raw bodies, paths, and credentials
  ---
  duration_ms: 2.25499
  type: 'test'
  ...
# [2026-09-24 20:41:33.827 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "unavailable"
# [2026-09-24 20:41:33.827 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "quota_exceeded"
# [2026-09-24 20:41:33.827 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "content_type_not_allowed"
# [2026-09-24 20:41:33.827 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "disabled"
# [2026-09-24 20:41:33.827 +0000] �[33mWARN�[39m: �[36mManaged preview original was not stored; continuing GitHub publication�[39m
#     code: "disabled"
1..20
# tests 20
# suites 0
# pass 20
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 3402.414944
[127/132] passed test/visualPreviewAttachments.test.ts in 3.5s

[128/132] test/webhookRepositoryFilter.test.ts
TAP version 13
# Subtest: webhook processing rejects unmonitored repositories before side effects
ok 1 - webhook processing rejects unmonitored repositories before side effects
  ---
  duration_ms: 2.862275
  type: 'test'
  ...
# Subtest: webhook processing keeps normal validation for monitored repositories
ok 2 - webhook processing keeps normal validation for monitored repositories
  ---
  duration_ms: 0.700076
  type: 'test'
  ...
# Subtest: webhook processing fails closed when repository identity is missing
ok 3 - webhook processing fails closed when repository identity is missing
  ---
  duration_ms: 0.350903
  type: 'test'
  ...
# [2026-09-24 20:41:36.392 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-ci.cIx6VO/propr-test-suite-YvvA9F/128-webhookRepositoryFilter.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-09-24 20:41:36.400 +0000] �[32mINFO�[39m: �[36mWebhook handler initialized�[39m
# [2026-09-24 20:41:36.402 +0000] �[32mINFO�[39m: �[36mWebhook handler initialized�[39m
# [2026-09-24 20:41:36.403 +0000] �[32mINFO�[39m: �[36mWebhook handler initialized�[39m
# [2026-09-24 20:41:36.403 +0000] �[33mWARN�[39m: �[36mIgnoring event without a repository identity�[39m
#     correlationId: "repository-filter-missing-test"
#     event: "issues"
# [2026-09-24 20:41:36.405 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..3
# tests 3
# suites 0
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2011.986262
[128/132] passed test/webhookRepositoryFilter.test.ts in 2.1s

[129/132] test/worker.modelSpecific.test.ts
TAP version 13
# Subtest: Worker - Model-Specific Features
    # Subtest: addModelSpecificDelay generates consistent delays for same model
    ok 1 - addModelSpecificDelay generates consistent delays for same model
      ---
      duration_ms: 1.049909
      type: 'test'
      ...
    # Subtest: addModelSpecificDelay timing verification
    ok 2 - addModelSpecificDelay timing verification
      ---
      duration_ms: 594.875704
      type: 'test'
      ...
    # Subtest: addModelSpecificDelay handles edge cases
    ok 3 - addModelSpecificDelay handles edge cases
      ---
      duration_ms: 0.316262
      type: 'test'
      ...
    1..3
ok 1 - Worker - Model-Specific Features
  ---
  duration_ms: 597.360596
  type: 'suite'
  ...
# Subtest: Worker - Branch and Worktree Naming
    # Subtest: createWorktreeForIssue generates unique names with model and random string
    ok 1 - createWorktreeForIssue generates unique names with model and random string
      ---
      duration_ms: 0.565285
      type: 'test'
      ...
    # Subtest: createWorktreeForIssue handles different models uniquely
    ok 2 - createWorktreeForIssue handles different models uniquely
      ---
      duration_ms: 0.231552
      type: 'test'
      ...
    # Subtest: createWorktreeForIssue sanitizes issue titles correctly
    ok 3 - createWorktreeForIssue sanitizes issue titles correctly
      ---
      duration_ms: 0.196142
      type: 'test'
      ...
    # Subtest: worktree names include proper timestamp format
    ok 4 - worktree names include proper timestamp format
      ---
      duration_ms: 0.209212
      type: 'test'
      ...
    1..4
ok 2 - Worker - Branch and Worktree Naming
  ---
  duration_ms: 1.643845
  type: 'suite'
  ...
# Subtest: Worker - Model-Specific Job Processing
    # Subtest: processGitHubIssueJob uses modelName from job data
    ok 1 - processGitHubIssueJob uses modelName from job data
      ---
      duration_ms: 0.270412
      type: 'test'
      ...
    # Subtest: processGitHubIssueJob handles missing modelName gracefully
    ok 2 - processGitHubIssueJob handles missing modelName gracefully
      ---
      duration_ms: 0.175371
      type: 'test'
      ...
    1..2
ok 3 - Worker - Model-Specific Job Processing
  ---
  duration_ms: 0.684306
  type: 'suite'
  ...
# Subtest: Worker - Concurrent Execution Prevention
    # Subtest: different models get different delay times
    ok 1 - different models get different delay times
      ---
      duration_ms: 0.255102
      type: 'test'
      ...
    # Subtest: concurrent job simulation shows different timings
    ok 2 - concurrent job simulation shows different timings
      ---
      duration_ms: 124.805558
      type: 'test'
      ...
    1..2
ok 4 - Worker - Concurrent Execution Prevention
  ---
  duration_ms: 125.241632
  type: 'suite'
  ...
1..4
# tests 11
# suites 4
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 934.672793
[129/132] passed test/worker.modelSpecific.test.ts in 1.1s

[130/132] test/workerStateManagerRedisIntegration.test.ts
TAP version 13
# Subtest: Redis CAS rejects a stale metadata snapshot after terminalization
ok 1 - Redis CAS rejects a stale metadata snapshot after terminalization
  ---
  duration_ms: 16.665577
  type: 'test'
  ...
# [2026-09-24 20:41:38.356 +0000] �[32mINFO�[39m: �[36mSQLite database connection established successfully�[39m
#     filename: "/tmp/propr-ci.cIx6VO/propr-test-suite-YvvA9F/130-workerStateManagerRedisIntegration.test.ts/propr.test.sqlite"
#     environment: "test"
# [2026-09-24 20:41:38.371 +0000] �[32mINFO�[39m: �[36mSQLite database connection closed�[39m
1..1
# tests 1
# suites 0
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 713.279535
[130/132] passed test/workerStateManagerRedisIntegration.test.ts in 0.9s

[131/132] test/worktreeLifecycle.integration.test.ts
TAP version 13
# Subtest: Worktree Lifecycle Integration Tests
    # Subtest: Worktree Structure Creation
        # Subtest: creates worktree with proper directory structure
        ok 1 - creates worktree with proper directory structure
          ---
          duration_ms: 229.279857
          type: 'test'
          ...
        # Subtest: .git file exists in worktree (not a directory)
        ok 2 - .git file exists in worktree (not a directory)
          ---
          duration_ms: 210.754723
          type: 'test'
          ...
        # Subtest: .git file contains valid gitdir reference
        ok 3 - .git file contains valid gitdir reference
          ---
          duration_ms: 207.466125
          type: 'test'
          ...
        # Subtest: worktree creates unique directories for different issues
        ok 4 - worktree creates unique directories for different issues
          ---
          duration_ms: 210.628322
          type: 'test'
          ...
        # Subtest: worktree includes model suffix when model name provided
        ok 5 - worktree includes model suffix when model name provided
          ---
          duration_ms: 210.32412
          type: 'test'
          ...
        1..5
    ok 1 - Worktree Structure Creation
      ---
      duration_ms: 1069.656869
      type: 'suite'
      ...
    # Subtest: Checkout Conflict Handling
        # Subtest: handles creating worktree when branch already exists locally
        ok 1 - handles creating worktree when branch already exists locally
          ---
          duration_ms: 253.759782
          type: 'test'
          ...
        # Subtest: handles creating worktree when directory already exists
        ok 2 - handles creating worktree when directory already exists
          ---
          duration_ms: 199.100711
          type: 'test'
          ...
        # Subtest: concurrent worktree creation for same issue with different models
        ok 3 - concurrent worktree creation for same issue with different models
          ---
          duration_ms: 226.044938
          type: 'test'
          ...
        # Subtest: worktree branch points to correct HEAD
        ok 4 - worktree branch points to correct HEAD
          ---
          duration_ms: 200.805126
          type: 'test'
          ...
        1..4
    ok 2 - Checkout Conflict Handling
      ---
      duration_ms: 880.349853
      type: 'suite'
      ...
    # Subtest: Worktree Cleanup
        # Subtest: worktree can be removed with git worktree remove
        ok 1 - worktree can be removed with git worktree remove
          ---
          duration_ms: 257.327623
          type: 'test'
          ...
        # Subtest: worktree directory can be cleaned via fs.remove
        ok 2 - worktree directory can be cleaned via fs.remove
          ---
          duration_ms: 195.785742
          type: 'test'
          ...
        # Subtest: associated branch can be deleted after worktree removal
        ok 3 - associated branch can be deleted after worktree removal
          ---
          duration_ms: 259.144999
          type: 'test'
          ...
        # Subtest: git worktree list reflects created and removed worktrees
        ok 4 - git worktree list reflects created and removed worktrees
          ---
          duration_ms: 260.588002
          type: 'test'
          ...
        1..4
    ok 3 - Worktree Cleanup
      ---
      duration_ms: 973.227069
      type: 'suite'
      ...
    # Subtest: Edge Cases
        # Subtest: handles special characters in issue title
        ok 1 - handles special characters in issue title
          ---
          duration_ms: 192.810005
          type: 'test'
          ...
        # Subtest: handles very long issue titles
        ok 2 - handles very long issue titles
          ---
          duration_ms: 192.575094
          type: 'test'
          ...
        # Subtest: worktree metadata exists in main repo .git/worktrees
        ok 3 - worktree metadata exists in main repo .git/worktrees
          ---
          duration_ms: 192.19003
          type: 'test'
          ...
        1..3
    ok 4 - Edge Cases
      ---
      duration_ms: 577.879362
      type: 'suite'
      ...
    # Subtest: Worktree Cleanup with Retention Strategies
        # Subtest: keep_on_failure strategy creates retention marker when success is false
        ok 1 - keep_on_failure strategy creates retention marker when success is false
          ---
          duration_ms: 190.631966
          type: 'test'
          ...
        # Subtest: keep_on_failure strategy removes worktree when success is true
        ok 2 - keep_on_failure strategy removes worktree when success is true
          ---
          duration_ms: 246.250625
          type: 'test'
          ...
        # Subtest: always_delete strategy removes worktree regardless of success
        ok 3 - always_delete strategy removes worktree regardless of success
          ---
          duration_ms: 245.031695
          type: 'test'
          ...
        # Subtest: keep_for_hours strategy creates marker and then removes worktree
        ok 4 - keep_for_hours strategy creates marker and then removes worktree
          ---
          duration_ms: 248.607576
          type: 'test'
          ...
        # Subtest: retention marker contains correct scheduled cleanup time
        ok 5 - retention marker contains correct scheduled cleanup time
          ---
          duration_ms: 194.224688
          type: 'test'
          ...
        1..5
    ok 5 - Worktree Cleanup with Retention Strategies
      ---
      duration_ms: 1125.159674
      type: 'suite'
      ...
    # Subtest: Expired Worktree Cleanup
        # Subtest: cleanupExpiredWorktrees removes worktrees past scheduled cleanup time
        ok 1 - cleanupExpiredWorktrees removes worktrees past scheduled cleanup time
          ---
          duration_ms: 197.031392
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees retains worktrees before scheduled cleanup time
        ok 2 - cleanupExpiredWorktrees retains worktrees before scheduled cleanup time
          ---
          duration_ms: 198.010771
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees handles multiple worktrees with mixed expiration
        ok 3 - cleanupExpiredWorktrees handles multiple worktrees with mixed expiration
          ---
          duration_ms: 202.917214
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees handles non-existent base path gracefully
        ok 4 - cleanupExpiredWorktrees handles non-existent base path gracefully
          ---
          duration_ms: 175.702035
          type: 'test'
          ...
        # Subtest: cleanupExpiredWorktrees handles corrupted retention info gracefully
        ok 5 - cleanupExpiredWorktrees handles corrupted retention info gracefully
          ---
          duration_ms: 191.033959
          type: 'test'
          ...
        1..5
    ok 6 - Expired Worktree Cleanup
      ---
      duration_ms: 965.039086
      type: 'suite'
      ...
    # Subtest: Safe Worktree Pruning
        # Subtest: detects and prunes stale metadata when worktree directory is missing
        ok 1 - detects and prunes stale metadata when worktree directory is missing
          ---
          duration_ms: 192.504433
          type: 'test'
          ...
        # Subtest: skips young stale entries that are below minimum age threshold
        ok 2 - skips young stale entries that are below minimum age threshold
          ---
          duration_ms: 193.689274
          type: 'test'
          ...
        # Subtest: handles non-existent .git/worktrees directory gracefully
        ok 3 - handles non-existent .git/worktrees directory gracefully
          ---
          duration_ms: 291.931707
          type: 'test'
          ...
        # Subtest: prunes entries without gitdir file when old enough
        ok 4 - prunes entries without gitdir file when old enough
          ---
          duration_ms: 190.478505
          type: 'test'
          ...
        # Subtest: skips entries without gitdir file when too young
        ok 5 - skips entries without gitdir file when too young
          ---
          duration_ms: 193.577812
          type: 'test'
          ...
        # Subtest: preserves valid worktree metadata for existing directories
        ok 6 - preserves valid worktree metadata for existing directories
          ---
          duration_ms: 195.64305
          type: 'test'
          ...
        # Subtest: handles mixed scenarios with valid, stale-old, and stale-young entries
        ok 7 - handles mixed scenarios with valid, stale-old, and stale-young entries
          ---
          duration_ms: 224.316582
          type: 'test'
          ...
        # Subtest: respects configurable minimum age threshold
        ok 8 - respects configurable minimum age threshold
          ---
          duration_ms: 192.32569
          type: 'test'
          ...
        1..8
    ok 7 - Safe Worktree Pruning
      ---
      duration_ms: 1675.047848
      type: 'suite'
      ...
    1..7
ok 1 - Worktree Lifecycle Integration Tests
  ---
  duration_ms: 7267.212738
  type: 'suite'
  ...
1..1
# tests 34
# suites 8
# pass 34
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7644.143233
[131/132] passed test/worktreeLifecycle.integration.test.ts in 7.8s

[132/132] propr-ui#4/4 (workspace test script)

> [email protected] test
> vitest run --shard=4/4


�[1m�[30m�[46m RUN �[49m�[39m�[22m �[36mv5.0.0 �[39m�[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui�[39m

 �[32m✓�[39m src/hooks/useVoiceBriefing.test.tsx �[2m(�[22m�[2m29 tests�[22m�[2m)�[22m�[32m 169�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.management.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1503�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience profile management �[2m(19)�[22m
     �[33m�[2m✓�[22m�[39m switches instances and opens management from the compact connected selector�[33m 487�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/GoalsPage.test.tsx �[2m(�[22m�[2m50 tests�[22m�[2m)�[22m�[33m 5977�[2mms�[22m�[39m
   �[32m✓�[39m GoalsPage �[2m(50)�[22m
     �[33m�[2m✓�[22m�[39m renders up to three inline previews in the responsive goal row without per-row requests�[33m 392�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m narrows the queue by every search keyword and mirrors the query in the URL�[33m 467�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.designRules.test.tsx �[2m(�[22m�[2m19 tests�[22m�[2m)�[22m�[33m 1365�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.logout.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 483�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.test.tsx �[2m(�[22m�[2m18 tests�[22m�[2m)�[22m�[33m 533�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlansPage.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 760�[2mms�[22m�[39m
   �[32m✓�[39m PlansPage �[2m(6)�[22m
     �[33m�[2m✓�[22m�[39m renders repository filter counts and respects the repository query param�[33m 394�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskList.test.tsx�[2m > �[22m�[2mTaskList�[2m > �[22m�[2mshows loading until an initial empty read succeeds and never treats a failure as empty
�[22m�[39mError fetching tasks: Error: Tasks unavailable
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:50
    at /var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:47:24
    at process.env.NODE_ENV.exports.act (/var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mreact�[24m/cjs/react.development.js:814:22)
    at Proxy.<anonymous> (/var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4m@testing-library/react�[24m/dist/act-compat.js:46:25)
    at �[90m/var/lib/propr-ci/worker3/work/propr/propr/propr-ui/�[39msrc/components/TaskList.test.tsx:196:11
    at file:///var/lib/propr-ci/worker3/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.CQOUYP-x.js:2783:20

 �[32m✓�[39m src/components/TaskList.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 528�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard.consistency.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 675�[2mms�[22m�[39m
   �[32m✓�[39m Dashboard consistency rules �[2m(9)�[22m
     �[33m�[2m✓�[22m�[39m gives an attention row the same schema as a feed row, re-flowed for the rail�[33m 364�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.sharedReads.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 218�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.connect-prefill.test.tsx �[2m(�[22m�[2m26 tests�[22m�[2m)�[22m�[33m 2534�[2mms�[22m�[39m
   �[32m✓�[39m macos Add Instance Connect prefill �[2m(13)�[22m
     �[33m�[2m✓�[22m�[39m preserves the typed name and requires confirmation before probe, pairing, or persistence�[33m 424�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/voiceCommands.test.ts �[2m(�[22m�[2m46 tests�[22m�[2m)�[22m�[32m 22�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.status.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 21�[2mms�[22m�[39m
 �[32m✓�[39m src/components/PreviewMedia.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 838�[2mms�[22m�[39m
   �[32m✓�[39m preview thumbnails �[2m(14)�[22m
     �[33m�[2m✓�[22m�[39m limits trusted images, provides alt text and handles unavailable images�[33m 315�[2mms�[22m�[39m
 �[32m✓�[39m src/voice/browserSpeech.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 48�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentLoginModal.test.tsx �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[33m 804�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.running.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 234�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/usePlanRefinement.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 62�[2mms�[22m�[39m
�[90mstderr�[2m | src/contexts/NotificationCenterContext.test.tsx�[2m > �[22m�[2mNotificationCenterProvider�[2m > �[22m�[2mignores a previous account preference after identity changes
�[22m�[39mAn update to NotificationCenterProvider inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/contexts/NotificationCenterContext.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryVisualPreviewControl.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 421�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AuthenticatedAttachmentImage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 259�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/TaskRows.desktop.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 835�[2mms�[22m�[39m
   �[32m✓�[39m desktop task rows �[2m(5)�[22m
     �[33m�[2m✓�[22m�[39m retains named navigation and independent expansion on macos�[33m 491�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Inbox/NotificationActions.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 258�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/AttachmentUploader.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 109�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopInstanceSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 360�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryIcon.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 65�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ActionBar.responsive.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 425�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Layout.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 484�[2mms�[22m�[39m
   �[32m✓�[39m Layout sidebar counts �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m shows running goals separately from active tasks�[33m 482�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/summaryBrowser.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/api/agentLoginApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/api/summaryApi.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 9�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ui/RepositoryChip.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 32�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskList/lifecycleStatus.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 386�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.window-controls.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[33m 424�[2mms�[22m�[39m
   �[32m✓�[39m DesktopExperience Linux window controls �[2m(1)�[22m
     �[33m�[2m✓�[22m�[39m keeps native window actions outside the inert app and actionable while instance management is open�[33m 421�[2mms�[22m�[39m
 �[32m✓�[39m src/components/VisualPreviewGallery.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 333�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GitHubAccountIdentity.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 43�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopWindowControls.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Repositories/ModelContextSelector.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 223�[2mms�[22m�[39m
 �[32m✓�[39m src/components/taskStatusBreakdown.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 15�[2mms�[22m�[39m
 �[32m✓�[39m src/api/revertApi.test.ts �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m41 passed�[39m�[22m�[90m (41)�[39m
�[2m      Tests �[22m �[1m�[32m373 passed�[39m�[22m�[90m (373)�[39m
�[2m   Start at �[22m 20:41:46
�[2m   Duration �[22m 44.52s�[2m (environment 49%, tests 27%, import 9%, setup 8%, transform 7%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 41 times�[39m�[2m · 40.27s total, 49% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.776626
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 48.01713
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 110.570639
[132/132] passed propr-ui#4/4 (workspace test script) in 45.3s

### Shard 4/4: 131/132 passed in 380.3s

Assigned 132 of 528 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 115.5s | passed | `apps/desktop/src/profile-store.test.ts` |
| 45.3s | passed | `propr-ui#4/4` (workspace) |
| 24.6s | failed | `apps/desktop/scripts/electron-pairing-zstd.test.mjs` |
| 11.3s | passed | `test/antigravityAgent.test.ts` |
| 9.1s | passed | `apps/desktop/src/credential-service.pairing-browser.test.ts` |
| 7.8s | passed | `test/worktreeLifecycle.integration.test.ts` |
| 7.3s | passed | `packages/cli/src/commands/initCommands.test.ts` |
| 6.7s | passed | `test/prContinuation.test.ts` |
| 5.7s | passed | `test/notificationPublicEntrypoint.test.ts` |
| 4.1s | passed | `packages/api/test/desktopApiBoundary.test.ts` |
| 3.8s | passed | `packages/api/test/notificationProjectionRepositoryFilter.test.ts` |
| 3.6s | passed | `test/routingWebSocketIntakeService.test.ts` |
| 3.5s | passed | `test/visualPreviewAttachments.test.ts` |
| 3.5s | passed | `test/summarizationRuntimeState.test.ts` |
| 3.3s | passed | `packages/api/test/backgroundDatabase.test.ts` |

Passing units at or above 60% of the 180.0s per-unit timeout. Split or speed these up before they fail:

- `apps/desktop/src/profile-store.test.ts` used 64% (115.5s)

::warning title=Test unit near the per-unit timeout::apps/desktop/src/profile-store.test.ts used 64% (115.5s) of the 180.0s per-unit timeout

1/132 test runs failed in shard 4/4 after 380.3s:
- apps/desktop/scripts/electron-pairing-zstd.test.mjs: exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev

propr-dev Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor Author

❌ Failed to apply follow-up changes requested by @github-actions[bot]

An error occurred while processing your request:

fatal: couldn't find remote ref refs/heads/2478-epic-dashboard-data-2ki


Comment ID: 5821962989✓
Please check the logs for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

1 participant