Repository navigation
fix(deps): bump nested brace-expansion to clear desktop packaging audit - #2656
Merged
Merged
Conversation
…kaging audit The desktop packaging audit (--include=dev, --audit-level=high) fails on brace-expansion <=1.1.20 (GHSA-q2hr-2g5m-vwhr, GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p). The earlier runtime-audit bump only moved the top-level copy; the nested dev copies under @electron/asar, glob and eslint stayed at 1.1.18. Lockfile-only patch update within their ranges. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
propr-dev Bot
pushed a commit
that referenced
this pull request
Oct 4, 2026
…. One correction to the review: in F4 it had the viewports the wrong way round (details below). I fixed all four findings (F3–F6) and added a test for each. One correction to the review: in F4 it had the viewports the wrong way round (details below). **Verification:** API typecheck and lint are clean, and 35/35 tests pass in the task, dashboard and goal-isolation suites. The preview-media suite passes (16/16) with the flags the repo's test runner uses; without them it fails for environment reasons. In the UI, typecheck and lint are clean, all 1920 unit tests pass, and all 20 cases in `task-list-desktop.pw.ts` and `startup-critical-path.pw.ts` pass. The node modules weren't installed, so I ran `.propr/setup.sh` first. That needed no repo changes. **F3 – filters dropped a task's other runs** - When the list is grouped by task, the filters now pick tasks instead of removing runs. The grouping and page-picking moved into a new file, `packages/api/routes/taskGrouping.ts`. - **Status filters** (and `forReview`) check only the task's newest run, ordered by `created_at`, the same order the UI uses. - **Search and Needs attention** select a task if any of its runs matches. - **The page** then returns every run of the tasks it lists, ignoring the filters. `total` and `totalRuns` count those tasks and all their runs. - The ungrouped (per-run) list behaves as before. - The new test covers: Completed no longer showing a task whose newest run is still processing; Active keeping a task's completed history; Waiting; and a search that matches only an older run still returning the current one. - One judgement call: for Needs attention I used "any run matches" rather than "newest run", so the list keeps agreeing with the dashboard's attention count. **F4 – historical-run banner hidden** - The banner was actually inside the desktop header, so it showed on desktop and was hidden on mobile, the reverse of what the finding says. - It now renders once, outside both headers, so it shows at every width. On desktop that puts it just below the progress bar. - The e2e test now checks that the "Back to Run 8" button is visible, not just that the text exists. A unit test checks the banner isn't inside either header and that "Back to Run 2" works. **F5 – queued runs shown as running** - Queued, pending and waiting runs now get their own `waiting` outcome. - **Run track:** a still, dashed ring with no pulse, and the tooltip says "Run N waiting to start". - **Timeline:** "Queued" where the duration goes and a grey "Waiting" badge, instead of "Running…" and "Active". - Tests cover the outcome logic, the run track and the timeline. **F6 – header token count frozen while viewing an older run** - The header now remembers the live count it last saw along with when it saw it. - On each poll, a count the history recorded later replaces it, so the header keeps rising and shows the final count when the newest run completes. - A hook test checks 400 → 700 → 950 through completion while an older run is open. Unrelated issue I noticed but didn't change: in the step list under an open run, the last step of a run that is only queued says "Running...". That predates this PR. Previews: the desktop 1920px view of an older run with the banner showing, and the task list with PR #2656's queued run drawn as a dashed ring. PR: #2720 Comment by: @integry (ID: 5982331441) Model: claude-opus-5-5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Every open PR fails the four Desktop Package and Release › Validate unsigned … package jobs, and Finalize unsigned validation checksums fails with them. The failing step is Audit committed dependency resolution:
It reports
brace-expansion <=1.1.20as high severity (GHSA-q2hr-2g5m-vwhr, GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p).The earlier "bump brace-expansion" commit on main updated only the top-level copy (5.0.12). The runtime audit (
--omit=dev) passed, but the dev-only nested copies stayed at 1.1.18:@electron/asar/node_modules/brace-expansionglob/node_modules/brace-expansioneslint/node_modules/brace-expansion@eslint/config-array/node_modules/brace-expansion@eslint/eslintrc/node_modules/brace-expansionFix
A lockfile-only patch update (
npm update brace-expansion --package-lock-only) moves those five nested copies from 1.1.18 to 1.1.21, within their existing^1.1.xranges. There are nopackage.jsonoroverrideschanges, and no other lockfile entries change.Verification
npm run desktop:audit:packaging: found 0 vulnerabilitiesnpm run audit:runtime: found 0 vulnerabilitiesThese are the only two audit commands the workflows run. Once this merges, open PRs pass after a rerun or after merging main.
🤖 Generated with Claude Code