Repository navigation
[Epic] 0.9.3: remaining findings from the 0.9.2 release check - #3730
Conversation
…and skip the code follow-up for runner-only failures (#3729) * I've implemented both parts of #3725. All the affected suites pass (about 650 tests) and core and root typecheck and lint are clean. One limit: GitHub only re-runs jobs once the whole workflow run has finished, so the "re-run once" path depends on a deferral explained below. I didn't make a visual preview because the change is a line of text in the PR body. 1. The status block says when CI is suspended - While a follow-up holds an active suspension on the current head, the status block in the PR body shows: `CI suspended until the follow-up finishes, re-running checks before then has no effect`. - Once the suspension has cancelled runs, it also shows `runs cancelled by ProPR: N`. A change to that count alone is paced like other check-count changes, so a burst of cancellations doesn't edit the body once per run. The suspension starting or ending is written straight away. - The text goes away when the suspension ends. It is only shown while the suspension is `active`; once ProPR starts restoring runs, a re-run is no longer cancelled. - It uses the existing status computation and rendering, so it follows the same update rules. The suspension text is placed ahead of the check counts, so it survives when the line is cut to fit the 512-character limit. - The facts come from the `pr_ci_suspensions` table (`pullRequestStatusCiNotes.ts`). If that record can't be read, the note is left out rather than failing the whole status read. - The worker's suspension store now asks for a status update when a suspension is reserved, changes state, or is deleted. How long a suspension lasts and which runs it cancels are unchanged. 2. Runner-only failures don't start a code follow-up - Classifier: `classifyCiInfrastructureFailure` is a pure function in `ciFailureInfrastructure.ts`, next to the CI-failure evidence code. Any sign of a test, type or lint failure, or an annotation pointing at a source file, makes it a code failure. Otherwise it counts as infrastructure only if: - the runner received a shutdown signal or lost communication, or - every failed step is a setup/install step and the evidence shows a network, mirror or registry error. - Doubt: if the steps can't be read or anything is unclear, it stays a code failure and gets its comment as today. - Handling (`ciFailureInfrastructureRerun.ts`): it runs after the existing cancellation check, before anything is claimed. It posts no comment, so no follow-up and no suspension start. It re-runs the failed jobs once per workflow run and records what it did so the status block can name the job: - `runner problem in <job>, re-run requested` - `…, re-run when its workflow finishes` - `<job> failed on what looks like a runner problem, re-run it` (when GitHub refuses the re-run, or the one re-run was already used) Because nothing is claimed, a real code failure on the re-run still gets its follow-up. - Deferral: if the workflow run is still going, the re-run waits and is sent when the next check of that commit completes (a new hook in `checkRunHandler.ts`). If that last check finishes before GitHub marks the run complete, the re-run is never sent and the PR stays on "re-run when its workflow finishes", so a person would have to re-run it. A periodic retry would close this gap; I didn't add one. - Evidence read: besides the evidence the comment already uses, this reads one extra thing: the failed job's step names, and only when the text already looks like an infrastructure error. Tests - `test/ciFailureInfrastructure.test.ts`: the classifier cases from the issue (the #3703 apt mirror stall, runner shutdown and lost communication, registry 5xx during install as infrastructure; a failing test, a type error and a lint error as not), plus the doubt cases. It also checks that an infrastructure failure posts no comment and claims nothing, re-runs once, doesn't re-run twice, handles a refused re-run, and handles the deferred re-run. When I disabled the hook, 4 of these tests failed as they should. - `packages/core/test/pullRequestStatusCiNotes.test.ts`: the status-line text during and after a suspension, the length limit, the pacing, the runner-problem text, and reading the facts from SQLite and Redis. Limit on one acceptance test: the "no suspension" check is indirect. In this codebase a follow-up, and the suspension its implementation records, only starts from that posted comment, so the test shows that no comment is posted and nothing is claimed. It doesn't run the worker path itself. I also documented the behaviour in `docs/docs/features/pr-followup.md` and added a CHANGELOG entry under Fixed. * feat(ai): I fixed all four findings (F1–F4), and each one has regression tests. The new suite passes (23 of 23), and the neighbouring suites pass too: check-run handler 146, CI failure follow-up 31, recovery 3, epic merge progress 61, task-intent withdrawal 169, plus two smaller ones. Core and root typecheck and lint are clean. I fixed all four findings (F1–F4), and each one has regression tests. The new suite passes (23 of 23), and the neighbouring suites pass too: check-run handler 146, CI failure follow-up 31, recovery 3, epic merge progress 61, task-intent withdrawal 169, plus two smaller ones. Core and root typecheck and lint are clean. **F1 – a deferred re-run is no longer left waiting forever** - **A sweep every minute.** The daemon now checks waiting re-runs once a minute (`src/daemon/ciInfrastructureRerunSweep.ts`, which calls `retryPendingCiInfrastructureReruns`). When a run has finished, it sends the re-run. This covers a workflow whose last check completed before GitHub marked the run finished. - **A 24-hour limit.** If a run still hasn't finished after 24 hours, ProPR stops waiting. The status block then says the job failed on what looks like a runner problem and needs a manual re-run. - **Closed PR or new head.** If the PR is closed or has a new head, the waiting re-run is dropped without being sent. - **Ordinary recovery now sends it.** When the same run attempt fails again, recovery used to return `already_requested`. It now sends the waiting re-run if the run has finished. - **No double re-runs.** Three paths can send a re-run: the check-completion hook, recovery, and the sweep. A per-run lock stops them from sending the same one twice. - **Order of steps.** Each path checks the waiting entry is still unchanged, sends the re-run, removes the entry, and only then updates the notice. So if the notice write fails, the re-run is not sent again. **F2 – two workflows no longer overwrite each other** Waiting re-runs are now stored separately for each workflow run, in the new `ciInfrastructureRerunPending.ts`. The hook re-runs every waiting run for the PR head. The PR notice is still a single "latest event" summary, as the finding allows. **F3 – test steps are no longer treated as setup steps** - Before checking for setup, `isSetupStep` now rejects any step that runs tests, builds, lint or type checks. So `Run Playwright tests`, `Run browser tests` and `Install dependencies and run tests` stay code failures. - Setup recognition is narrower: a step counts only if it names a preparation action (install, set up, checkout, cache, `npm ci`, image pull, and similar). A bare `playwright`, `chromium`, `browser`, `apt` or `pip` no longer counts. - Real install steps still count, including `Install Playwright browsers` and the #3703 install script. **F4 – unreadable annotations no longer hide a code failure** If the annotations can't be read, the runner-problem path backs off and the ordinary follow-up is posted. That's enforced in `handleInfrastructureFailure`, and the classifier also refuses when annotations are missing. Reading zero annotations successfully is still accepted. **Tests and docs** - The regression tests are in `test/ciFailureInfrastructure.test.ts`. They cover: - a single workflow finishing with no further check event, sent by the sweep. - a recovery-path resume. - the 24-hour give-up. - a dropped re-run after a new head. - two deferred runs, each re-run exactly once. - a run whose lock is already held. - network errors in Playwright, browser and mixed install-and-test steps. - an annotation read that fails. - With the old classifier and annotation handling put back, the F3 and F4 tests failed as expected. I didn't run the same revert check for F1 and F2. - I updated `docs/docs/features/pr-followup.md` to describe the new deferral behaviour and the narrower setup-step rule. **One behaviour change:** a check-run failure with no check-run ID can no longer be classified as a runner problem, because there are no annotations to rule out a code failure. It gets the normal follow-up. There's no visual preview because nothing here changes what a user sees. PR: #3729 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F5, F6 and F7 in `ciFailureInfrastructureRerun.ts` and `ciInfrastructureRerunPending.ts`, with regression tests. The suite is 28 of 28 passing. With the old source restored, all five new tests fail. Core and root typecheck and core lint are clean, and the neighbouring suites pass: check-run handler 146, CI failure follow-up 31, CI failure recovery 3, comment grouping 8, ultrafix CI failure recovery 61, status CI notes 8. I fixed F5, F6 and F7 in `ciFailureInfrastructureRerun.ts` and `ciInfrastructureRerunPending.ts`, with regression tests. The suite is 28 of 28 passing. With the old source restored, all five new tests fail. Core and root typecheck and core lint are clean, and the neighbouring suites pass: check-run handler 146, CI failure follow-up 31, CI failure recovery 3, comment grouping 8, ultrafix CI failure recovery 61, status CI notes 8. **F5 – a re-run GitHub already accepted is never sent again.** Before sending a pending re-run, ProPR now compares the run's current attempt number on GitHub with the one it recorded. If the run has already moved past it, the earlier re-run was accepted: ProPR clears the pending entry and does not send it again. This check sits in `resumePendingRerun`, which every path uses: the check-run hook, ordinary recovery, the daemon sweep and the 24-hour give-up. Clearing a stale entry this way doesn't overwrite a newer status notice from a later attempt of the same run. **F6 – an interrupted claim stays recoverable.** The seven-day claim and the pending entry are now written together in one atomic step. So every claim comes with a recorded "re-run owed" entry from the start, before GitHub is asked anything. On a repeat of the same attempt, an existing entry means the work isn't finished and it gets resumed. No entry means the re-run was already sent, refused or given up on. **F7 – the runner-problem verdict survives bookkeeping failures.** Once a failure is classified as a runner problem, any failure to record the re-run or write the status notice is logged and the result is still treated as a runner problem. No code follow-up comment is posted. Unreadable or inconclusive evidence still falls back to the normal follow-up, as before. **New tests** (`test/ciFailureInfrastructure.test.ts`): - GitHub accepts the re-run but clearing the pending entry fails. Later sweeps, the hook and recovery don't send it again, with GitHub reporting attempt 2. - The same accepted-then-failed-clear case, recovered through ordinary failure recovery. - A stale entry cleared after attempt 2 failed keeps attempt 2's "re-run it" notice. - A process stopping right after the claim is picked up by both recovery and the sweep. - A failed notice write, or a failed claim write, after the verdict posts no follow-up comment. I also added a few sentences to `docs/docs/features/pr-followup.md` describing this. **Limits and other findings (not changed):** - The F5 check relies on GitHub showing the new attempt number on the run once it has accepted a re-run. If GitHub accepts the request but hasn't updated the run yet, a retry in that gap can't be told apart. That race is between GitHub's own calls and can't be closed from ProPR's side. - Separate, older issue: if the workflow-run read fails, the pending entry is released with a "re-run it" notice instead of being kept for the next sweep. I left it alone because it's outside these findings. - `recordPendingRerun` is no longer called anywhere but is still exported. No visual preview, because nothing a user sees has changed. PR: #3729 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I removed the automatic re-run from the PR. An infrastructure-only CI failure now starts no code follow-up and records no CI suspension, and the PR status block tells a person to re-run the failed jobs. All affected suites pass, and core and root typecheck and lint are clean. I couldn't update the PR description myself, so the replacement wording is at the end for you to paste in. I removed the automatic re-run from the PR. An infrastructure-only CI failure now starts no code follow-up and records no CI suspension, and the PR status block tells a person to re-run the failed jobs. All affected suites pass, and core and root typecheck and lint are clean. I couldn't update the PR description myself, so the replacement wording is at the end for you to paste in. **What was removed (item 1)** - I deleted `ciFailureInfrastructureRerun.ts`, `ciInfrastructureRerunPending.ts`, `ciInfrastructureNotice.ts` and the daemon sweep (`src/daemon/ciInfrastructureRerunSweep.ts`). - I took out the resume hook in `checkRunHandler.ts`, the sweep wiring in `src/daemon.ts` and the export in `index.ts`. Those three files are back to exactly what they are on `main`. - Nothing in the code calls GitHub's re-run endpoints any more, and the follow-up path no longer needs any Redis operations beyond what it used before. **What stayed (items 2 and 5)** - The classifier in `ciFailureInfrastructure.ts` is unchanged, including the F3 fix (test, build and lint steps are never setup steps) and the F4 fix (unreadable annotations fall back to the normal follow-up). - The suspension text in the status block and the cancelled-run count are unchanged. **How the failure is shown on the PR (items 3 and 4)** - A new module, `ciFailureInfrastructureCheck.ts`, classifies one failed check. Both the follow-up path and the status block use it. - For an infrastructure-only failure, `postCiFailureFollowup` posts no comment, claims nothing and asks for a status update. If that update fails, it is only logged and the verdict stays infrastructure-only. - The status text is worked out each time the status block is updated, from the failed checks on the current head. Nothing is stored. It reads: `Validate Changes failed on what looks like a runner or network problem, re-run the failed jobs` (two names at most, then `+N`). It disappears once those checks stop failing on the head. - **Cost of rendering:** each status update now makes a few extra GitHub reads: - the annotations of each failed check. - the job's steps, but only when the text already looks like an infrastructure error. - **Limits on rendering:** it only looks at failed GitHub Actions checks. If more than 5 checks fail, it skips the check and shows no runner-problem text. Any read failure also means no text. **Tests** - `test/ciFailureInfrastructure.test.ts` (16 tests): the classifier, F3 and F4 cases are kept and all re-run tests are gone. New tests check that an infrastructure-only failure posts no comment, claims and stores nothing, makes no re-run request, and asks for a status update. They also cover a failing status update and an unreadable job. - `pullRequestStatusCiNotes.test.ts` (9): the text with the job name, plus which failed checks get it and which don't. - `pullRequestStatusSync.test.ts` (82): one new end-to-end test. A sync writes the job name into the PR body and makes no re-run request; when the check passes, the text is gone. - **Checks that the tests catch a regression:** - With the status-read wiring disconnected, the new sync test fails. - With the classification call disabled, 2 of the follow-up tests fail. - **Other suites, all passing:** - check-run handler 146 - CI failure follow-up 31 - recovery 3 - Ultrafix CI recovery 61 - comment grouping 8 - status 36, text 12, epic 24, epic sync 46, reconcile runs 8 I also updated `docs/docs/features/pr-followup.md` and the CHANGELOG entry to say the re-run is manual. There's no visual preview, because the change is a line of text in the PR body. **Replacement wording for the PR description**, section "2. Runner-only failures don't start a code follow-up": > **Handling:** an infrastructure-only failure posts no comment, so no follow-up starts and no suspension is recorded. Nothing is claimed, so a real code failure on a later re-run still gets its follow-up. ProPR does not re-run the jobs: re-running is manual. While the check fails on the current head, the status block says `<job> failed on what looks like a runner or network problem, re-run the failed jobs`. The text is worked out from the head's failed checks each time the status block is updated, so nothing is stored, and it disappears once those checks no longer fail. If that status update fails, it is only logged and the failure stays infrastructure-only. The "Deferral" paragraph and the re-run lines of the Tests section should be deleted. PR: #3729 Comment by: @integry (ID: 7000077650) Model: Claude Opus 5.5 * feat(ai): I fixed F8 and F9. The CI-notes suite passes 12 of 12 and the other eight status suites pass 240 of 240. Core and root typecheck and lint on the changed folder are clean. With the old source put back, the three new tests fail, so they do catch both defects. I fixed F8 and F9. The CI-notes suite passes 12 of 12 and the other eight status suites pass 240 of 240. Core and root typecheck and lint on the changed folder are clean. With the old source put back, the three new tests fail, so they do catch both defects. **F8: six or more failed jobs lost the runner note** - `loadCiRunnerProblemFact` in `pullRequestStatusCiNotes.ts` used to give up when more than five jobs failed. It now classifies every failed GitHub Actions job, reading at most four at a time. - The old test that expected no note above five jobs is replaced by a six-job case. All six jobs fail during `npm ci` with a registry 503, and the test checks that: - all six jobs are named. - no more than four are read at once. - only read requests are made. - the line shows "shard-1, shard-2 +4 failed on what looks like a runner or network problem, re-run the failed jobs". - Every status read now reads annotations for every failed job, at most four at a time. A head with dozens of failed jobs means proportionally more GitHub reads each time the status is refreshed. **F9: epics dropped both CI notes** - **Finished epics** (every issue merged): the suspension and runner-problem notes were already attached but never shown. They now appear after the reason or activity and before the check counts, as on a normal PR. - **Unfinished epics:** the notes were never attached. `computeEpicStatus` now attaches the epic branch's own notes in every case, and the line shows them after what the sub-PRs and issues are doing. - New tests cover a finished and an unfinished epic, each with a suspension and with a runner problem. They also check that an unfinished epic's line is unchanged when it has neither. I looked for the same gap elsewhere and found none. An epic with no issues left to count (total 0) already used the normal path, which handles both notes. The text for sub-PRs inside an epic doesn't use these notes. The docs and CHANGELOG never mentioned the five-job limit or epics, so they needed no change. I made no preview because the change is only text in the PR status line. PR: #3729 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): The F10 fix is in place and tested. My attempt to update the PR description was refused, so the new wording is below for you to paste in. The F10 fix is in place and tested. My attempt to update the PR description was refused, so the new wording is below for you to paste in. **F10 fix (`packages/core/src/webhook/ciFailureInfrastructure.ts`)** - `isSetupStep` now accepts a step only if it names a single setup operation. - A step is compound, and so not setup, if it contains: - `and`, `then` or `plus`. - `run`, `runs` or `running` with words both before and after it. - `&&`, `;` or `|` anywhere. - `+` or `,` between words. - a `/` with a space beside it, or between two plain words. - The existing `EXECUTION_STEP_PATTERN` rule still applies. - A leading `Run ` is not a joiner, because GitHub adds it to unnamed command steps. That keeps the existing cases "Run npm ci" and "Run ./scripts/ci-install-chromium.sh" (the #3703 case) as setup. A `/` inside a path also doesn't count. - GitHub's generated action steps (`Run <owner>/<action>@<ref>`, or `Post Run …`) are recognised by that shape. They are setup only when the action name is checkout, `setup-*`, cache, login or download-artifact. Any other action, such as "Run actions/github-script@v7", is not setup. **Tests (`test/ciFailureInfrastructure.test.ts`)** - I added every case you listed, the end-to-end classifier case ("Install dependencies and run migrations" with `ECONNRESET` is a code failure), and also "Run actions/cache@v4", "Run docker/login-action@v3" and "Post Run actions/checkout@v4". - The suite passes 20 of 20, including all the earlier setup and non-setup cases. - With the old source put back, 3 of the 4 new tests fail. The test for "Run ./scripts/deploy.sh" and "Run actions/github-script@v7" passed on the old code too, since the old rule already rejected both. - Core and root typecheck, and core lint on the changed file, are clean. Nothing else in the PR changed. **PR description (S2):** `gh pr edit` was refused with "Resource not accessible by integration". Here is the replacement. Keep the status block and header; replace everything from **Summary:** up to the "View task" line. --- **Summary:** This PR does both parts of #3725. The status block says when CI is suspended, and a CI failure that looks like a runner or network problem starts no code follow-up. ProPR never re-runs failed jobs itself: the automatic re-run in the first version was removed, and re-running is manual. The status block tells a person to do it. There's no visual preview because the change is a line of text in the PR body. **1. The status block says when CI is suspended** - While a follow-up holds an active suspension on the current head, the status block in the PR body shows: `CI suspended until the follow-up finishes, re-running checks before then has no effect`. - Once the suspension has cancelled runs, it also shows `runs cancelled by ProPR: N`. A change to that count alone is paced like other check-count changes, so a burst of cancellations doesn't edit the body once per run. The suspension starting or ending is written straight away. - The text goes away when the suspension ends. It is only shown while the suspension is `active`; once ProPR starts restoring runs, a re-run is no longer cancelled. - It uses the existing status computation and rendering, so it follows the same update rules. Epics show it too, whether finished or not. The suspension text is placed ahead of the check counts, so it survives when the line is cut to fit the 512-character limit. - The facts come from the `pr_ci_suspensions` table (`pullRequestStatusCiNotes.ts`). If that record can't be read, the note is left out rather than failing the whole status read. - The worker's suspension store now asks for a status update when a suspension is reserved, changes state, or is deleted. How long a suspension lasts and which runs it cancels are unchanged. **2. Runner-only failures don't start a code follow-up** - **Classifier:** `classifyCiInfrastructureFailure` is a pure function in `ciFailureInfrastructure.ts`. Any sign of a test, type or lint failure, or an annotation pointing at a source file, makes it a code failure. Otherwise it counts as infrastructure only if: - the runner received a shutdown signal or lost communication, or - every failed step is a setup/install step and the evidence shows a network, mirror or registry error. - **Setup steps:** a step is a setup step only if it names one preparation operation (install, checkout, cache, set up, …). - A step that also runs tests, builds, lint or type checks is not one. - A step that joins two operations is not one either: "Install dependencies and run migrations", "Setup && seed database", "Install, then start the server", "Install Chromium / launch app". - GitHub's generated action step names count only when the action is a setup action, for example "Run actions/checkout@v4", "Run actions/setup-node@v4" or "Run docker/login-action@v3". "Run actions/github-script@v7" doesn't count. - **Doubt:** if the steps or annotations can't be read or anything is unclear, it stays a code failure and gets its comment as today. - **Handling:** an infrastructure-only failure posts no comment, so no follow-up starts and no suspension is recorded. Nothing is claimed, so a real code failure on a later re-run still gets its follow-up. ProPR does not re-run the jobs: re-running is manual. - **On the PR:** while the check fails on the current head, the status block says `<job> failed on what looks like a runner or network problem, re-run the failed jobs`. It names two jobs at most, then `+N`. - The text is worked out from the head's failed checks each time the status block is updated, so nothing is stored. - It disappears once those checks no longer fail. - If that status update fails, it is only logged and the failure stays infrastructure-only. - **Evidence read:** `ciFailureInfrastructureCheck.ts` reads the annotations of each failed GitHub Actions job, at most four at a time. It reads the job's step names only when the text already looks like an infrastructure error. Any read failure means no runner-problem text. A head with many failed jobs means proportionally more GitHub reads on each status update. **Tests** - `test/ciFailureInfrastructure.test.ts`: the classifier cases from the issue (the #3703 apt mirror stall, runner shutdown and lost communication, registry 5xx during install as infrastructure; a failing test, a type error and a lint error as not), plus the doubt cases, test/build/lint steps, and compound step names. It also checks that an infrastructure failure posts no comment, claims and stores nothing, makes no re-run request, and asks for a status update. - `packages/core/test/pullRequestStatusCiNotes.test.ts`: the status-line text during and after a suspension, the length limit, the pacing, the runner-problem text with six failed jobs, epics, and reading the facts from SQLite. - `packages/core/test/pullRequestStatusSync.test.ts`: a sync writes the job name into the PR body and makes no re-run request; when the check passes, the text is gone. **Limit on one acceptance test:** the "no suspension" check is indirect. In this codebase a follow-up, and the suspension its implementation records, only starts from that posted comment, so the test shows that no comment is posted and nothing is claimed. It doesn't run the worker path itself. I also documented the behaviour in `docs/docs/features/pr-followup.md` and added a CHANGELOG entry under Fixed. ### Review digest **Risk-tiered paths** - **High risk**: none - **Normal risk** (9 files) - `packages/core/src/services/pullRequestStatus/pullRequestStatus.ts` (+53/−0) - `packages/core/src/services/pullRequestStatus/pullRequestStatusBlock.ts` (+36/−2) - `packages/core/src/services/pullRequestStatus/pullRequestStatusCiNotes.ts` (added, +143/−0) - `packages/core/src/services/pullRequestStatus/pullRequestStatusEditPacing.ts` (+2/−2) - `packages/core/src/services/pullRequestStatus/pullRequestStatusFacts.ts` (+18/−10) - `packages/core/src/webhook/ciFailureFollowup.ts` (+18/−8) - `packages/core/src/webhook/ciFailureInfrastructure.ts` (added, +174/−0) - `packages/core/src/webhook/ciFailureInfrastructureCheck.ts` (added, +130/−0) - `src/jobs/followupCiSuspensionStore.ts` (+10/−0) - **Low risk** (5 files) - `CHANGELOG.md` (+12/−0) - `docs/docs/features/pr-followup.md` (+10/−0) - `packages/core/test/pullRequestStatusCiNotes.test.ts` (added, +240/−0) - `packages/core/test/pullRequestStatusSync.test.ts` (+35/−0) - `test/ciFailureInfrastructure.test.ts` (added, +305/−0) **Diff size:** 14 files changed, +1186/−22 lines PR: #3729 Comment by: @integry (ID: 7001385179) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…nder the shard that made it fail (#3731) * The comment now lists the failed shard as the failure and mentions the aggregate job once as its consequence, with no evidence block of its own. The 15 new tests and the 132 existing CI-failure and comment tests pass, and typecheck and lint on core are clean. I didn't check that a new test fails with the fold logic removed. How it decides. When a failed check comes in, ProPR reads the job's steps, the run's full list of jobs, and the workflow file at the run's head commit. The file is fetched once per run per comment, and not at all when nothing else in the run failed. An aggregate is folded only if all of these hold: - the job's reported name maps to exactly one job id in the workflow, and that job `needs` at least one job that failed in this run attempt. - each failed needed job also maps to exactly one id, including matrix jobs with expanded names. - every failed step of the aggregate is a gate step: a named step that reads `needs.<id>.result` for one of those failed jobs. If anything can't be read, parsed or mapped, or the aggregate has another failed step, the job is listed as a separate failure, as before. In the comment: - Shard already reported: the existing comment is edited to add a line like *"Also failed: Run Full Test Suite, which only reports the result of the failed job it needs (`Full Test Suite Shard 3/4`); it has no failure of its own."* The title stays the same. - Aggregate reported first: the new comment lists the shard as the failure, reading the shard's own output and annotations, plus the "Also failed" line. It carries the shard's hidden marker, so the shard's own report later counts as a duplicate. The follow-up prompt is the comment body without its hidden markers, so it gets the same folded list; a test checks that. Choices you may want to revisit: - In this repo's workflow, the coverage step ("Verify shards ran every discovered test exactly once") counts as the aggregate's own failure, so if it fails, the aggregate stays a separate failure. - An aggregate with no failed step at all is not folded. I left out the issue's alternative condition ("no steps that ran tests/builds of its own") because "test/build step" can't be told from the workflow without guessing. - If the aggregate's report starts the comment while the shard was judged a runner problem, the posted comment lists the shard as a code failure. Before this change the aggregate would have started a follow-up in that case too. Files: - New `packages/core/src/webhook/ciFailureAggregateFold.ts`: workflow parsing, the pure fold decision, and the GitHub reads. - New `packages/core/src/webhook/ciFailureCommentText.ts`: the comment text helpers, moved out of `ciFailureFollowup.ts` to keep it under the 400-line lint limit. `buildAnnotationExcerpt` is still exported from the old module. - `ciFailureFollowup.ts` loads the fold and builds the folded comment; `ciFailureCommentGrouping.ts` has the edit for the "Also failed" line. - New `test/ciFailureAggregateFold.test.ts`, which runs on the real `pr-test-on-label.yml` and covers the four acceptance cases, plus ambiguous names, matrix names, both orders of arrival and the once-per-run file read. - `docs/docs/features/pr-followup.md` now describes the folding. To run the suites here I needed `--experimental-test-module-mocks` and writable `GIT_CLONES_BASE_PATH`/`GIT_WORKTREES_BASE_PATH`, because `/tmp/git-processor` is read-only in this container. I made no preview, since the change is comment text and logic rather than a screen. * feat(ai): I fixed F1, F2 and F3, but the F1 fix means this repo's own `Run Full Test Suite` aggregate no longer folds. Its gate step also checks a result of the aggregate's own, and GitHub hides when that fails. I fixed F1, F2 and F3, but the F1 fix means this repo's own `Run Full Test Suite` aggregate no longer folds. Its gate step also checks a result of the aggregate's own, and GitHub hides when that fails. **What the API reports:** I checked real runs of this workflow. When a step with `continue-on-error: true` fails, GitHub's jobs API still reports it as `success`. For example, run 44380032434 shows `Run Full Test Suite shard=success` on a shard that failed. The gate step "Enforce shard and docs results" reads `steps.coverage.outcome`, so when coverage verification fails, only the gate shows as failed. Before this fix, that coverage failure would have been folded away. The existing test assumed GitHub would report the coverage step as failed, which it doesn't. So that gate counts as a mix of shard checks and the aggregate's own check, and the aggregate is listed as its own failure, as before this PR. To get folding back here, the coverage check would need its own step. I didn't change the workflow because that's outside these findings. **F1 – a step only counts as a gate with positive evidence.** The new `ciFailureGateStep.ts` accepts a failed step only if all of this holds: - It's a plain bash/sh `run` step: no `uses`, `with` or other keys. - Every expression in its `run`, `env` and `if` reads only the needed jobs' results and outputs, or the `github` context. Reading the job's own steps, `env` or `inputs` disqualifies it. - Its script uses only shell builtins (`echo`, `printf`, `test`, `[`, `exit`, …), variable assignments and functions it defines. Running any program, `$(…)`, backticks, here-documents, `case`, `for` or `eval` disqualifies it. - It reads the result of at least one failed needed job. **F2 – a comment started by another failure now gets the shards' evidence.** Before editing the existing comment, ProPR checks each failed shard's hidden marker in it. Shards not listed yet are added as failures with their evidence and marker, then the "Also failed" line. Shards already listed aren't added twice. **F3 – runner-problem shards are no longer claimed.** Each shard the comment doesn't list yet is first checked by the same runner/network classifier its own report uses. If any is a runner or network problem, the aggregate isn't folded and is listed on its own, as before this PR. That shard gets no hidden marker, so a real failure on a manual re-run is still reported. The shard-loading code moved to the new `ciFailureFoldCauses.ts` to keep `ciFailureFollowup.ts` under the 400-line limit. **Tests:** I added 7 regression tests in `test/ciFailureAggregateFold.test.ts`, covering: - the repo's real gate not folding. - a step that reads the result but also runs its own tests (`npm test`, `$(…)`, a script). - steps that use an action, Python, or read their own job. - an unrelated `Lint` comment followed by the aggregate. - a shard already on the comment. - the runner problem → aggregate → real re-run failure sequence. The folding tests now use the workflow with the coverage check removed from the gate. All 22 tests in that file pass; with the fixes reverted, 5 of the new ones fail as expected. The other CI-failure suites (84 tests) and the checkRunHandler and Ultrafix recovery suites (207 tests) pass, and typecheck and lint on core are clean. `docs/docs/features/pr-followup.md` now describes the stricter rule and both changes. **Something to decide:** under F3, if every failed shard was a runner problem, the aggregate is still posted on its own and starts a code follow-up, as it did before this PR. Leaving it unreported would be more accurate, but I left that out because it goes past the minimum correction. I made no preview, since nothing here changes a screen. PR: #3731 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I fixed F4 and F5. The CI-failure suites pass (237 tests, including the existing checkRunHandler and non-blocking tests), and typecheck and lint on core are clean. The new tests fail on the previous code and pass with the fix. I fixed F4 and F5. The CI-failure suites pass (237 tests, including the existing checkRunHandler and non-blocking tests), and typecheck and lint on core are clean. The new tests fail on the previous code and pass with the fix. **F4: a gate step must be able to fail only on its dependencies' results.** Using only builtins is no longer enough. Your example script (`echo "${{ needs.build.result }}"` then `test -f dist/bundle.js`) is now treated as the aggregate's own failure, so the aggregate is listed separately with its evidence. A step counts as a gate only if all of these hold: - **Tests:** every `test`, `[` and `[[` compares only values from the step's `env`, literals, variables set from those, or arguments to the script's own functions. Comparisons must be string or integer, so no `-f`, `-d` or `-s`, and unquoted globs and `~` are rejected. - **Failure points:** `exit 1`, `return 1`, `false`, a call to a function that always fails, or `exit "$status"` after `status=1` must sit inside an `if` over such tests, or right after one via `&&`/`||`. Something like `echo "$BUILD"; exit 1` is not a gate. - **Redirects:** output can go only to the step summary, `GITHUB_OUTPUT`, `GITHUB_ENV`, `/dev/null`, the standard streams or `>&N`. Reading input (`<`) is rejected. - **Unsupported shell:** pipes, `&`, subshells, `set -u` and `shopt` are rejected. - **Same flaw elsewhere:** a step with `working-directory` no longer counts as a gate, because a missing directory fails the step by itself. I tested 10 of the new rejected cases against the previous checker, and it accepted every one. A second test checks that common real gate forms still fold. One example is `test "$R" = success || { echo ...; exit 1; }`; another is a `fail()` helper called after a test. The existing fold tests still pass, including the one built on this repo's own `Run Full Test Suite` gate with its coverage check removed. The shell reading now lives in two new files, `ciFailureGateScript.ts` and `ciFailureShellLexer.ts`, so each file stays within the line and complexity limits. **F5: non-blocking checks are never listed as the cause.** Before folding, `resolveFoldCauses` now checks each failed dependency against the repository's `nonBlockingChecks` patterns. If any one matches, the aggregate is reported on its own, exactly as before this PR. The filter sits in the one function both paths use, so it covers posting a new comment and adding to an existing one, and there is a test for each. The patterns are loaded only when a fold is possible. If the configuration can't be read, ProPR treats every check as blocking, as the webhook path already does; you can override the loader through a new `loadNonBlockingChecks` dependency. I updated `docs/docs/features/pr-followup.md` for both rules. **Not changed:** - **`github` context in conditions:** tests may still compare `github` context values (for example `github.event_name`). So `[ "$EVENT" = push ] || exit 1` would still be read as a gate, even though it can fail regardless of the dependencies. It reads run metadata, not the job's own work, so I left it as the original design had it. Say if you want gates to require a dependency result in every failing condition. - **Stricter in two ways:** `set -euo pipefail` and `[[ a && b ]]` with `&&` inside the brackets are now rejected, so such gates are listed separately rather than folded. `set -eo pipefail` still works. No preview, since nothing here is visual. PR: #3731 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): The PR no longer folds anything. A failed job that directly `needs` other jobs that failed in the same run is still listed with its own evidence. Its section gets one extra line, and it is listed after the jobs it depends on. The new tests and the existing CI-failure, comment and check-run suites pass (377 tests), and typecheck and lint on core are clean. The PR no longer folds anything. A failed job that directly `needs` other jobs that failed in the same run is still listed with its own evidence. Its section gets one extra line, and it is listed after the jobs it depends on. The new tests and the existing CI-failure, comment and check-run suites pass (377 tests), and typecheck and lint on core are clean. **What changed** - **Deleted:** `ciFailureShellLexer.ts`, `ciFailureGateScript.ts`, `ciFailureGateStep.ts`, `ciFailureAggregateFold.ts`, `ciFailureFoldCauses.ts` and `test/ciFailureAggregateFold.test.ts`. Nothing reads a step's `run` script any more, and nothing reports a failure on behalf of another check. - **New `ciFailureJobDependencies.ts`:** reads the job, the run attempt's job list and, only when another job in the run failed, the workflow file at the failing commit. It uses only each job's name, `needs`, matrix and `uses`. It gives up silently, adding no line and changing no order, when: - the workflow file can't be read or parsed. - the job list is incomplete. - the failed job's name doesn't map to exactly one job id. - a failed job that could be one of its `needs` maps to no id or to several (the matrix case). - **The dependency line:** "Depends on the failed job(s) above: `<names>`. It may have failed only because they did; check them first." It sits between the Run line and the failure evidence. Jobs the repository marked non-blocking are left out, and if none remain there is no line. - **Ordering:** if the dependent job is reported first and a job it needs is reported later, the later one is inserted before it in both the title and the sections. The commit line moves with the first section. Otherwise a new check is added at the end, as before. - **Unchanged:** each check keeps its own evidence block, dedupe marker and blocking handling. The follow-up prompt is the comment as first posted, so the agent sees the same order and line. There is a test for this. - **Docs:** `docs/docs/features/pr-followup.md` describes the behaviour above. **Tests** (`test/ciFailureJobDependencies.test.ts`, 17 tests, run on the repo's real `pr-test-on-label.yml`): - Shard fails, then the aggregate: both listed with evidence, the aggregate after the shard, with the line. - Aggregate first: the prompt has the line, and the shard reported later goes before it. - Aggregate fails but none of the jobs it needs failed: no line. When nothing else in the run failed, the workflow file isn't read at all. - Unreadable or unparsable workflow file: no line, order unchanged. - Ambiguous matrix name, or a failed job matching no id: no line. - Non-blocking failed shard: not named, and only blocking shards are named when both kinds failed. With the reordering switched off, the two ordering tests fail, so they do test it. **Two things you might trip over:** - If the aggregate is reported first, its line says "above" before the shard is listed. The follow-up prompt is taken from that first comment, so the agent gets the line naming the shard but not the shard's own section. - A shard ProPR judged to be a runner problem is still named in the aggregate's line, though it never appears in the comment. Only non-blocking checks are filtered, as you specified; I didn't add an infrastructure check for the shards it needs. **PR description** (I couldn't update the PR body from here, so here is replacement text): > Closes #3726. When a failed GitHub Actions job directly `needs` jobs that also failed in the same workflow run (for example `Run Full Test Suite` over a failed `Full Test Suite Shard 3/4`), the CI-failure comment still lists it with its own evidence and adds "Depends on the failed job(s) above: <names>. It may have failed only because they did; check them first." to its section. Dependent jobs are listed after the jobs they need; a needed job reported later is inserted before its dependent. Only job names and `needs` from the workflow file at the failing commit are read; step scripts are never interpreted. Non-blocking jobs are not named. If the workflow can't be read or parsed, or a name doesn't map to exactly one job id (matrix names), there is no line and no reordering. The follow-up prompt is the posted comment, so it gets the same order and line. New `packages/core/src/webhook/ciFailureJobDependencies.ts` and `test/ciFailureJobDependencies.test.ts`; the shell-analysis and fold modules are removed. I made no preview, since this changes comment text, not a screen. PR: #3731 Comment by: @integry (ID: 7003653067) Model: Claude Opus 5.5 * feat(ai): I fixed F6. The order of checks in a merged CI-failure comment now follows every dependency between them, not only whether something already listed depends on the check that just arrived. In your example (aggregate, then runner selection, then the shard), the comment now lists runner selection, then the shard, then the aggregate. Each check keeps its evidence, its dependency line and its hidden marker. I fixed F6. The order of checks in a merged CI-failure comment now follows every dependency between them, not only whether something already listed depends on the check that just arrived. In your example (aggregate, then runner selection, then the shard), the comment now lists runner selection, then the shard, then the aggregate. Each check keeps its evidence, its dependency line and its hidden marker. **What changed** (`packages/core/src/webhook/ciFailureCommentGrouping.ts`): I replaced the insertion logic with a reorder of the whole comment each time a check is added: - Every listed section is read back, and the new check is added at the end. - For each section, the dependencies are the other listed checks its dependency line names. - Sections are placed one at a time: each step takes the earliest section whose dependencies are all already placed. Checks with no relation between them keep their arrival order. A dependency loop shouldn't happen in a valid workflow, but if it does, the earliest remaining section is taken. - The title is rebuilt in the new order, and the shared commit line moves to whichever section ends up first. - If the comment doesn't have the expected layout, the check is simply added at the end, as before. That includes a section whose check name can't be read back, or a title that doesn't match the listed checks. **Regression test** (`test/ciFailureJobDependencies.test.ts`): it runs on this repo's real workflow file, delivering the aggregate, then runner selection (`Select PR check runners`), then shard 3/4. It checks: - the order of the title and the sections. - that the commit line sits under runner selection, once. - that both dependency lines stay in their own sections. - that all three checks keep their evidence and markers. **Verification:** - The new test fails on the previous code and passes with the fix. - The CI-failure, comment-grouping, checkRunHandler, non-blocking and ultrafix-recovery suites pass (290 tests). - Typecheck and lint on core are clean. I found no other place with the same mistake: this function is the only one that changes the order of an existing comment, and a new comment only ever has one check. PR: #3731 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5 * feat(ai): I removed the reordering. Sections now stay in the order the checks were reported, the title and commit line are built as before this PR, and the dependency line no longer says "above". The CI-failure and check-run suites pass (226 tests, 0 failures), and typecheck and lint on core are clean. I removed the reordering. Sections now stay in the order the checks were reported, the title and commit line are built as before this PR, and the dependency line no longer says "above". The CI-failure and check-run suites pass (226 tests, 0 failures), and typecheck and lint on core are clean. - **No reordering:** I restored `ciFailureCommentGrouping.ts` to exactly its state before this PR, which removes the reordering in the existing-comment path. The new-comment path builds a single check's content the same way as before, so there was no reordering to remove there. The helper that read dependency lines back out of an existing comment had no other use, so I removed it too. - **Wording:** the line is now "Depends on the failed job(s): <names>. It may have failed only because they did; check them first." The follow-up prompt is the posted comment without its hidden markers, so it gets the same line. One test checks that the prompt doesn't contain "above". - **A dependency reported later:** the dependent section is not edited. One test reports the aggregate first and the shard after, and checks that the aggregate's section is unchanged in the merged comment. - **Tests** (`test/ciFailureJobDependencies.test.ts`): I removed the ordering assertions. The tests now check each section on its own: every failed job keeps its evidence and its hidden marker, and the line is in the dependent job's section and names only failed jobs it needs directly. They still check that a job marked non-blocking is not named, and that no line appears when the workflow file can't be read or parsed. - **Docs** (`docs/docs/features/pr-followup.md`): updated with the new wording, the arrival order, and what happens when a dependency is reported later. I couldn't edit the PR description myself (ProPR has refused PR description edits in past sessions), so here is replacement text for its summary section: > When a failed GitHub Actions job directly `needs` jobs that also failed in the same workflow run (for example the `Run Full Test Suite` aggregate over a failed shard), the job is still listed as a failure with its own evidence and marker. Its section adds one line: "Depends on the failed job(s): <names>. It may have failed only because they did; check them first." Only failed, blocking jobs it needs directly are named. Checks stay in the order they were reported, and the title and commit line are built as before. If a needed job's failure is reported after the dependent job's section already exists, it is added as its own section and the dependent section is not edited. The follow-up prompt carries the same line. ProPR reads only the job names and `needs` from the workflow file at the failing commit. If that file can't be read or parsed, or a name doesn't map to exactly one job, no line is added. F6 is resolved by this change. I made no preview, since only comment text and logic changed. PR: #3731 Comment by: @integry (ID: 7004316668) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
…llation rate limit on unchanged or bursty edits (#3734) What it does now - Where the budget comes from: a new file, `pullRequestStatusRateBudget.ts`, wraps the GitHub client for each status update. It reads `x-ratelimit-remaining` and `x-ratelimit-reset` from the update's own responses. Each update reads the pull request right before deciding, so every worker sees a fresh value and nothing needs to be shared between processes. - Threshold: fewer than 500 requests left (10% of the smallest installation limit). Below that, `decideStatusBodyEdit` in `pullRequestStatusEditPacing.ts` skips any edit that would only change check progress. It tries again when the limit resets, but no sooner than 60 seconds and no later than 10 minutes. - What is never delayed: status changes a person waits on (run started or finished, review score, ready to merge, suspended), title renames, and every write outside the status line: opening the PR, summaries, review comments, labels. - Logging: each skip writes one log warning with the repository, PR number, requests remaining, threshold and reset time. Nothing is posted on the pull request. - Status text: unchanged. - Docs: `docs/docs/features/pr-status.md` now says check progress can lag by up to 30 seconds, and describes the low-budget rule. Tests (in `packages/core/test/pullRequestStatusSync.test.ts`; the fake GitHub client can now report a remaining budget): - Identical status: five updates with nothing new send no write requests. - 20 check completions in the window: one or two edits in total, and the last one shows "20 passed, 1 pending". - Low budget (40 left): check-count edits are skipped and logged once each. The run finishing still writes "✅ Ready", a completion summary written to the PR body still goes out, and check-count edits resume once the budget recovers. - Negative check: with the budget skip turned off, the low-budget test fails. - Overall: all 255 status tests pass, and core's typecheck and lint are clean. The fix saves edits, not reads. Each check completion still triggers the reads needed to work out the status, and those count against the same rate limit. Cutting those reads would mean changing how check-completion updates are scheduled, which I left out of this change. I didn't make a visual preview, since nothing in the UI changes. Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
… still takes seconds on a 27-character string (#3735) * Both vendored picomatch builds now handle a group followed by `+` whose body can match the same text in more than one way. Every pattern from the issue returns in under 1 ms on a 5,000-character non-matching string, in both builds. I ran `test:unit` and the picomatch tests, not the full `npm run test:full` suite. How it works. The existing extglob guard turns a risky `+(...)` into literal text, so I did the same here: the group and its `+` are matched as the literal string. The change is identical in `vendor/picomatch/lib/parse.js` (4.x) and `vendor/picomatch-v2/lib/parse.js` (2.3.2). - Groups checked: plain `(...)`, `@(...)`, `!(...)` and comma braces `{a,b}` when followed by `+`. - When a body counts as risky: - it contains `*`, ``, a regex `+`, or a nested repeating extglob (`(*a)+`, `(*)+x`, `(a*)+b`, `((*)+)+`, `{*a,}+`, `(a+|b)+`, `(*(a))+b`). - it has an alternation inside a nested group (`((a|aa))+`). - its top-level branches are not plain words that join together in only one way (`(a|aa)+`, `(ab|a|ba)+`, `(a|)+`). With `nocase`, branches are lowercased first, so `(A|a)+` counts. - Negation: `!(...)+` is always treated as risky. Its compiled form ends in `*`, so it took about 5–6 s on 26 characters whatever the body was. - Unchanged: `(js|ts)+`, `{a,b}+`, `(ab)+`, `([a-z][0-9])+`, `(a?)+`, and anything not followed by `+`. That includes `(*)*x`, whose second `*` is a wildcard rather than a repeat; it stays at about 7 ms on 5,000 characters. `maxExtglobRecursion: false` turns this check off along with the existing guard. Behaviour change. Glob users who relied on these patterns will now get literal matches. Upstream's own mocha suites (4.0.7 and 2.3.2 tags) still pass except for 9 assertions, up from the 4 already documented. The 5 new ones are all `(a+|b)+`, which took 13 s on 29 characters with the old build. Both READMEs and `docs/dependency-audit-exceptions.md` describe this. Version bump and lockfile. - The tarballs were rebuilt with `npm pack` from the source directories and renamed to `…extglobguard.3.tgz`. - I updated every reference: `package.json` overrides, the lockfile, `THIRD_PARTY_LICENSES.md`, the test and the signed-RPM acceptance files. - Lockfile integrity was set as the README describes and regenerated with `npm install`. `npm ls` shows no invalid entries. Tests. - `test/vendoredPicomatch.test.mjs`: 17/17 pass. The new cases cover each issue pattern against both builds with a 50 ms bound, check that safe groups keep their results, and add a check through the real `anymatch`. - `npm ci` in a clean copy of the tree succeeded and the same 17 tests pass there. - `signed-rpm-acceptance-context.test.mjs` passes. - `npm run test:unit`: 798 of 799 pass. The one failure was caused by my setting `PROPR_DEMO_MODE`; that file passes when rerun without it. - A fuzz of 200,000 random globs per build found no unintended output changes, no new errors and no slow regexes. Where controllable globs reach picomatch in ProPR (for the PR description). No ProPR source imports picomatch, micromatch, fast-glob, globby or similar libraries directly. They are reached through two dependencies: 1. `chokidar.watch(...)` in `packages/api/services/taskWatcher.ts:177`, `:233` and `:286` (picomatch via anymatch and readdirp). The watched path is built from the operator's agent config path in the database and a session ID, which comes from `randomUUID()` or the Claude CLI's output stream. No globbing option is turned off, so glob characters in that path would be read as a glob. 2. repomix `pack()` in `packages/core/src/services/context/optimizedContext.ts:63`, `:80` and `:238` (globby → fast-glob → micromatch → picomatch). - The include patterns are file paths from the cloned repository. Repomix escapes `( ) [ ] \` in them, and fast-glob expands braces before compiling, so a repository file name cannot form a repeated group. - Repomix also reads the target repository's `.gitignore`, `.ignore` and `.repomixignore`. globby turns those rules into extra skip patterns for fast-glob, but drops any rule containing `(){}|\`. - `.git/info/exclude` is passed to fast-glob without escaping. A cloned remote can't set that file, but an agent working in the clone could write it. - Repomix config files in the target repository are not read, because `pack()` is the library API rather than the CLI. Build-only users: vite, vitest, tailwind, eslint and Playwright configs. There are no visual previews because nothing user-visible changed. * feat(ai): I removed the vendored picomatch builds, and ProPR is back on upstream picomatch from the npm registry. A clean `npm ci`, the unit suite (799/799), typecheck and lint all pass. I couldn't change the PR title or description: both `gh pr edit` and the GitHub API returned 403 "Resource not accessible by integration". Please set the title to **Remove the vendored picomatch builds (advisory GHSA-fc5q-39xc-vjpf withdrawn)** and use the description at the end. I removed the vendored picomatch builds, and ProPR is back on upstream picomatch from the npm registry. A clean `npm ci`, the unit suite (799/799), typecheck and lint all pass. I couldn't change the PR title or description: both `gh pr edit` and the GitHub API returned 403 "Resource not accessible by integration". Please set the title to **Remove the vendored picomatch builds (advisory GHSA-fc5q-39xc-vjpf withdrawn)** and use the description at the end. **What changed** - **Guard work dropped.** `vendor/picomatch/`, `vendor/picomatch-v2/`, both tarballs and `test/vendoredPicomatch.test.mjs` are deleted, so the `extglobguard.3` changes go with them. - **`package.json`.** The `"picomatch": "$picomatch"` override and the three nested ones (`anymatch`, `micromatch`, `readdirp`) are gone. The vendoring commit (800738d) was what added picomatch as a direct dependency, so I removed it rather than replacing it with a version range. - **Signed-RPM acceptance files.** The Dockerfile `COPY` lines, the allowlist in `signed-rpm-acceptance-context.mjs` and its test assertions are back to their pre-vendoring braces-only form. - **Docs.** I removed the picomatch section from `docs/dependency-audit-exceptions.md` and the vendored picomatch row from `THIRD_PARTY_LICENSES.md` (MIT count 225 → 224). The notices validator passes. - **`CHANGELOG.md`.** One entry under Unreleased → Removed. - No CI workflow or `.npmrc` referred to the vendored builds. `vendor/braces/` is untouched. **Lockfile** (regenerated with `npm install`; a second run leaves it byte-identical) | Path | Version | |---|---| | `node_modules/picomatch` | 4.0.7 (dev) | | `node_modules/anymatch/node_modules/picomatch` | 2.3.2 | | `node_modules/micromatch/node_modules/picomatch` | 2.3.2 | | `node_modules/readdirp/node_modules/picomatch` | 2.3.2 | All four come from the registry. The only `file:` entry left is the braces tarball. **Audit gates** - `npm audit --omit=dev`: `found 0 vulnerabilities` - `npm run audit:runtime`: `runtime dependency audit passed.` - `npm run desktop:audit:packaging`: `packaging dependency audit passed.` - **"Review dependency changes":** this job compares pushed commits through GitHub's dependency graph, so it can't run locally. As a stand-in, I asked the same API to compare the vendoring commit with its parent. It now lists `[email protected]` and `2.3.2` with no vulnerabilities, so GitHub's data already reflects the withdrawal. The job itself will run on CI after the push. I added no ignore entry. **Other checks** - `git grep -n "extglobguard\|picomatch-v2"` finds matches only in `CHANGELOG.md` history; the lockfile has none. - The 799 unit tests and the signed-RPM context test (5/5) pass. A clean `npm ci` installs only picomatch 4.0.7 and 2.3.2. There are no visual previews because nothing user-visible changed. **PR description to paste:** --- Closes #3728 GitHub withdrew advisory GHSA-fc5q-39xc-vjpf on 2026-11-18, and the picomatch maintainers say on micromatch/picomatch#273 that it is not a security issue. The two vendored picomatch builds only existed because that advisory had no fixed release. This PR removes them and goes back to upstream picomatch from the npm registry. It also drops this PR's earlier work extending the extglob guard (`extglobguard.3`). **Removed** - `vendor/picomatch/`, `vendor/picomatch-v2/`, both tarballs and `test/vendoredPicomatch.test.mjs`. - From `package.json`: the `"picomatch": "$picomatch"` override, the nested `picomatch` overrides under `anymatch`, `micromatch` and `readdirp`, and the direct `picomatch` dependency, which the vendoring commit had added. - The vendored picomatch tarballs from the signed-RPM acceptance Dockerfile, its allowlist and its test, which are back to braces only. - The picomatch section of `docs/dependency-audit-exceptions.md` and the vendored picomatch row in `THIRD_PARTY_LICENSES.md`. `vendor/braces/` and the braces advisories are unchanged. **Lockfile:** picomatch resolves from the registry only, as 4.0.7 at the root (dev) and 2.3.2 under `anymatch`, `micromatch` and `readdirp`. The only `file:` entry left is the braces tarball. **Audit gates:** `npm audit --omit=dev` finds 0 vulnerabilities, and `audit:runtime` and `desktop:audit:packaging` pass. GitHub's dependency-graph compare API lists `[email protected]` and `2.3.2` with no vulnerabilities. No ignore entry was added. **Verification:** a clean `npm ci` succeeds, `test:unit` passes 799/799, and typecheck, lint and `signed-rpm-acceptance-context.test.mjs` pass. `git grep -n "extglobguard\|picomatch-v2"` matches only `CHANGELOG.md` history. 🤖 Generated with [Claude Code](https://claude.com/claude-code) PR: #3735 Comment by: @integry (ID: 7006455579) Model: Claude Opus 5.5 --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
✅ Epic ready for final merge: 0.9.3: remaining findings from the 0.9.2 release check4 of 4 issues merged All 4 issues have been merged into this epic branch. This epic PR is ready for final review and merge. Posted automatically by ProPR |
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR improves CI suspension visibility, adds infrastructure-failure classification, and reduces status writes when the API budget is low. It is not ready to merge because aggregate reporting does not deliver the visible requirement in #3726. ✅ Suspension lifecycle visibility — Status notes are scoped to the current head and active suspension state; reservation, state transitions, and deletion signal status updates. ✅ Conservative classification fallbacks — Annotation or job-request failures retain ordinary code follow-up behavior, and explicit test/type/lint evidence prevents infrastructure classification. ✅ Targeted rate-budget handling — Low-budget deferral applies to check-progress edits while preserving immediate writes for other status changes. The supplied check summary reports 37 passed, none failed, and one pending. Review was static; no commands were run. The issue bodies are abbreviated, so assessment of requirements is limited to their visible text. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Implement proven aggregate folding
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Measure repeated classification reads
ScoreThe suspension and rate-budget changes have useful targeted coverage, but aggregate handling implements a materially reduced version of a visible acceptance criterion. Passing checks do not resolve that requirement gap. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
ℹ️ Analyzed the follow-up request by @propr-ultrafix
Analysis SummaryI didn't make any changes for F1, because the issue's owner has already decided against what it asks for. Why: at 11:41:08Z, three minutes after the review comment with F1 was posted (7008003707, 11:38:33Z), integry edited issue #3726 and added this at the top:
The reviewer said it saw only "abbreviated" issue text, and the copy of #3726 given to this run is cut short above that note, so F1 was written against the original "Expected" section the owner has since set aside. The current code on this branch does exactly what the scope decision accepts:
History: F1's fix needs a "gate-only failure" proof. On #3731 that proof took three rounds of shell-script analysis ( If you still want folding: remove or revise the scope decision on #3726 and re-run this fix. Note that this repository's own There's no preview, since nothing changed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
On review finding F1 ("Implement proven aggregate folding"): do not implement it. This is a deliberate scope decision by the author of issue #3726, made on sub-PR #3731, and it replaces the issue's original wording. Folding an aggregate job under its shard requires proving that the aggregate failed only because of the shard, which means reading what its steps run. Two review rounds on #3731 showed that this needs shell-script analysis (it reached 1,800 lines with a shell lexer) and kept producing new ways to drop real evidence. Dropping a failed job's evidence on a wrong proof is worse than showing one redundant section. The accepted behavior for #3726 is what the branch does now:
Please do not add gate-step verification, step-script reading, folding or reordering. The only change wanted for F1 is wording: make |
|
✅ Applied the requested follow-up changes in commit 8f7fa13 Summary of ChangesI changed the wording only for F1. No code changed, and nothing for folding, reordering or step-script reading was added. One part is still open: I couldn't edit the PR description.
I didn't make previews because the change is text in the changelog only. Review digestRisk-tiered paths
Diff size: 1 file changed, +13/−0 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…hing for folding, reordering or step-script reading was added. One part is still open: I couldn't edit the PR description. I changed the wording only for F1. No code changed, and nothing for folding, reordering or step-script reading was added. One part is still open: I couldn't edit the PR description. - **`docs/docs/features/pr-followup.md`:** no change needed. The Auto CI follow-up paragraph already says what you listed: every failed job keeps its own evidence, the "Depends on the failed job(s): …" line, sections stay in reported order, and no line when the workflow can't be read or a name doesn't map to exactly one job. It doesn't claim folding anywhere. - **`CHANGELOG.md`:** the branch had no entry for #3726, so I added one under Unreleased → Fixed. It describes the dependency line with your exact wording. It says nothing is folded, dropped or reordered, that ProPR reads only job names and `needs`, never what the steps run, and that no line appears when the workflow can't be read or parsed or a name maps to more than one job. The line text matches `packages/core/src/webhook/ciFailureCommentText.ts:10-11`. - **PR description:** `gh pr edit` was refused with "Resource not accessible by integration". The #3726 entry still shows the issue's original title ("fold an aggregate job under the shard…"), with nothing saying folding was dropped. You can paste this sub-item under that line: > - Scope decision on #3731: nothing is folded. Every failed job keeps its own evidence section and marker. A failed job that directly `needs` another failed job gets the line "Depends on the failed job(s): <names>. It may have failed only because they did; check them first." Sections stay in the order the checks were reported. When the workflow cannot be read or a job name does not map to exactly one job, no line is added. I didn't make previews because the change is text in the changelog only. PR: #3730 Comment by: @integry (ID: 7008058774) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds visible CI suspension notes, infrastructure-failure classification, dependency hints, and rate-budget-aware status edits. It needs a localized correctness fix before merge. ✅ Evidence preserved — Dependency reporting retains each failed job’s evidence and marker without reordering sections, matching the authorized replacement for #3726. ✅ Suspension lifecycle reflected — Status facts require an active suspension matching the current head; restoration and deletion trigger status refreshes. ✅ Focused coverage — Added tests cover ambiguous dependency mappings, annotation-read failures, infrastructure classification, and bursty status edits. The supplied issue bodies contain truncation notices, limiting acceptance-criteria verification. This review does not infer missing requirements. Current checks show 33 passed, four pending, and no failures. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F2: 🔴 Preserve failures preceding runner shutdown
SuggestionsThese are optional follow-ups and are not sent to S2: 🟢 Measure classification read amplification
ScoreThe implementation preserves evidence and has useful targeted coverage, but runner-loss classification can suppress an independent code failure. The remaining checks are pending rather than failed. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit ee98985
Summary of ChangesI fixed F2. A runner-loss annotation no longer makes a failure infrastructure-only if a step failed before the runner went away. In your scenario (tests fail with What changed
The webhook/recovery follow-up and the status note both call this classifier, so both now get the stricter rule. I found no other place making the same assumption. Tests (
Verification
Nothing visible changed, so there are no previews. Review digestRisk-tiered paths
Diff size: 3 files changed, +129/−22 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ure infrastructure-only if a step failed before the runner went away. In your scenario (tests fail with `Process completed with exit code 1.`, then the runner is lost in an `always()` cleanup step), the failure now posts the normal CI-failure comment and starts the code follow-up. I fixed F2. A runner-loss annotation no longer makes a failure infrastructure-only if a step failed before the runner went away. In your scenario (tests fail with `Process completed with exit code 1.`, then the runner is lost in an `always()` cleanup step), the failure now posts the normal CI-failure comment and starts the code follow-up. **What changed** - **`packages/core/src/webhook/ciFailureInfrastructureCheck.ts`:** it now passes the job's full step list, in run order with each step's status and conclusion, instead of only the names of failed steps. - **`packages/core/src/webhook/ciFailureInfrastructure.ts`:** a runner loss counts as infrastructure only if it accounts for every failed step: - no step failed (the interrupted step is usually cancelled or still in progress), or - exactly one step failed and no step started after it, so it is the step the runner loss cut off. Steps skipped after it don't count as started. A runner loss is now treated as a code failure when: - two or more steps failed. - any step started after the failed one (success, failure, cancelled, in progress, or unknown state). - the job's steps couldn't be read. The network/setup-step rule works as before, with the failed-step names taken from the same step list. The webhook/recovery follow-up and the status note both call this classifier, so both now get the stricter rule. I found no other place making the same assumption. **Tests (`test/ciFailureInfrastructure.test.ts`)** - A failed test step followed by a runner loss in a cleanup step stays a code failure, checked for each state the cleanup step can be in. A step skipped after the failure still allows the runner-loss verdict. - A runner loss with unreadable job steps stays a code failure. - An end-to-end case through `postCiFailureFollowup` with the exit-code and lost-communication annotations: the comment is posted. - The existing runner-loss tests now pass real step lists: the interrupted step failed, cancelled, or still in progress. **Verification** - I put the old unconditional return back temporarily: the three new regressions fail against it, and the other 20 tests pass. - With the fix, all 23 tests in that file pass. The related suites (`pullRequestStatusCiNotes`, `pullRequestStatusSync`, `ciFailureFollowup`, `ciFailureJobDependencies`, `ciFailureCommentGrouping`) pass 154 of 154. - `tsc --noEmit` on `packages/core` and eslint with zero warnings on the changed source files are clean. Nothing visible changed, so there are no previews. PR: #3730 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
ℹ️ Analyzed the follow-up request by @propr-dev[bot] Analysis SummaryI didn't change any code. This failure came from the CI runner's network, not from this branch, and re-running Validate Changes should clear it. What failed: the "Install Chromium for PWA Smoke Test" step. No tests or lint ran in it. The install script allows each
Why it isn't this branch: the branch doesn't touch Next step: re-run the Validate Changes job for commit No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
ℹ️ Analyzed the follow-up request by @github-actions[bot] Analysis SummaryI made no code changes: this failure was a runner problem, not something wrong with the branch. What failed: The one failed job in run 44521629523 is "Validate Changes", and it ran on the current PR head ( The apt mirror was down while the job ran:
No browser test ran, so nothing on the branch was tested and failed. The same mirror failure happened earlier on #3697 and #3722. Next step: Re-run the "Validate Changes" job. If the mirror is still down, it may time out again, and that still won't mean the branch is broken. I didn't create a preview because nothing changed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds visible CI-suspension notes, infrastructure-failure classification, dependency hints, and rate-budget-aware status pacing. It needs a localized correctness fix before merge: the infrastructure classifier can suppress a genuine failure when another setup step reports a network error. ✅ Evidence preserved — Dependency hints retain each failed job’s evidence and marker without reordering, matching the authorized replacement for #3726. ✅ Status pacing — Check-progress edits respect the low-budget guard, while other status changes bypass it; the added tests cover both paths. ✅ Conservative read failures — Unreadable annotations or job steps preserve ordinary follow-up handling. The supplied current-head status has 29 passed checks, no failures, and no pending checks. Original issue bodies contain truncation notices, so requirement assessment is limited to their visible wording and the authorized follow-ups. This review used static analysis only; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F3: 🔴 Require infrastructure evidence for every failed step
SuggestionsThese are optional follow-ups and are not sent to S3: 🟢 Measure repeated classification reads
ScoreThe implementation has substantial focused coverage and passing current-head checks, but mixed setup failures can incorrectly suppress necessary follow-up work. Fixing that classification boundary should make the change suitable for another merge-readiness review. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit a1539a2
Summary of ChangesI fixed F3. If more than one step of a job failed, the failure is now treated as a code failure, even when the failed steps are all setup steps and the output shows a network error. In your scenario ( The fix: in Other paths checked:
New tests:
Checks: both test files pass. With the old classifier put back, the three new tests fail and the other 34 still pass. The change isn't visible on screen, so there are no previews. Review digestRisk-tiered paths
Diff size: 3 files changed, +60/−4 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ure is now treated as a code failure, even when the failed steps are all setup steps and the output shows a network error. In your scenario (`Install dependencies` fails on a lockfile mismatch, then an `always()` `Install browsers` step hits `ECONNRESET`), the normal CI-failure comment is posted, the code follow-up starts, and the PR status no longer says to re-run the jobs. I fixed F3. If more than one step of a job failed, the failure is now treated as a code failure, even when the failed steps are all setup steps and the output shows a network error. In your scenario (`Install dependencies` fails on a lockfile mismatch, then an `always()` `Install browsers` step hits `ECONNRESET`), the normal CI-failure comment is posted, the code follow-up starts, and the PR status no longer says to re-run the jobs. **The fix:** in `classifyCiInfrastructureFailure` (`packages/core/src/webhook/ciFailureInfrastructure.ts`), a network error now counts only when exactly one step failed and that step is a setup step. It used to be enough that every failed step looked like setup. The annotations and output aren't linked to a particular step, so with two failed steps a network error can't explain both. The header comment and the network-pattern comment now say this. **Other paths checked:** - The follow-up suppression (`isInfrastructureOnlyFailure`) and the status note (`loadCiRunnerProblemFact`) both go through `classifyFailedCheckRun` into this one classifier, so the change fixes both. - The runner-loss rule already rejects more than one failed step (that was the F2 fix), so nothing changed there. - Six separate jobs each failing their single install step on a registry outage are each still flagged as runner problems. **New tests:** - `test/ciFailureInfrastructure.test.ts`, classifier: the lockfile-mismatch-plus-`ECONNRESET` case, given both as a list of failed step names and as the job's steps. It also covers two failed install steps where the network error is the only evidence, and confirms a single failed install step with that error is still infrastructure. - `test/ciFailureInfrastructure.test.ts`, follow-up: `postCiFailureFollowup` with that job posts the follow-up and asks GitHub for no re-run. - `packages/core/test/pullRequestStatusCiNotes.test.ts`, status: the same job reads the job's steps and gets no runner-problem note. **Checks:** both test files pass. With the old classifier put back, the three new tests fail and the other 34 still pass. `tsc --noEmit` for `packages/core` and ESLint with zero warnings on the changed source file are clean. ESLint has no config for the two test files, so they weren't linted. The change isn't visible on screen, so there are no previews. PR: #3730 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
|
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationMerge-ready within the visible scope, conditional on pending checks completing successfully. The changes add suspension visibility, infrastructure-failure classification, dependency hints, and rate-budget-aware status pacing while removing the vendored picomatch builds. ✅ Evidence remains intact — Dependency hints retain each failure’s section and marker in reporting order, respecting the explicit decision against folding. ✅ Conservative classification safeguards — Unreadable annotations or job steps retain ordinary follow-up behavior; tests cover multiple failed steps and runner loss after an earlier test failure. ✅ Selective status pacing — Low-budget suppression applies to check-progress-only edits, while other status changes remain eligible for immediate writes. This is a static review of the supplied code; no commands were run. Some original issue specifications are explicitly truncated, limiting acceptance-criteria verification. The authoritative current checks show no failures, with 15 pending. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S4: 🟢 Align infrastructure documentationIn S5: 🟢 Measure repeated classification reads
S6: 🟢 Remove stale ordering wordingThe opening comment in ScoreThe supplied changes have focused regression coverage and no verified merge blocker. Pending checks still need to finish; review confidence is bounded by the truncated issue specifications and static-only validation. Score: 8/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
✅ Epic merged: 0.9.3: remaining findings from the 0.9.2 release checkEpic PR #3730 has been merged into main. 4 of 4 issues merged into main through this epic PR. All planned epic work is now merged. Posted automatically by ProPR |
…n the issue's list passed. This is metadata only, with no behaviour changes. I checked upstream `main` first; it is at `83ed9acd0` (#3730), the same commit as this branch. Version bump (the same 19 files as the 0.9.2 preparation, #3683): - Packages: root `package.json`, the six `@propr` packages (api, cli, client, core, local-setup, shared) and `apps/desktop` are now 0.9.3, and their internal `^0.9.2` ranges are now `^0.9.3`. `package-lock.json` has the same 19 changed lines as last time. - Version constant and manifest: `PROPR_VERSION` is `'0.9.3'`. The launcher manifest pins version 0.9.3, the images `:0.9.3` and `git_sha` `83ed9acd0…`, the current `main` head, as 0.9.2 did. - Left alone: independently versioned packages (docs stays 0.0.0) and the vendored `braces` tarball. CHANGELOG: - `## [0.9.3] - 2026-11-20` with a new empty `## [Unreleased]` above it, and the comparison links updated. Everything from `## [0.9.2]` down is byte-identical to the `v0.9.2` tag; I checked with `diff`. - Added (missing before): - Follow-up comments always picked up - The "branch already exists" worktree fix - A run that didn't open its PR now ends as `publication_failed` - Runs that end while the agent is still waiting are flagged as unconfirmed - Repeated bot comments post once, with the rate-limit reset time fixed - Labels applied once - Status-line edits skipped when the App's rate limit runs low - The hosted UI deploy now fails when it did not deploy - Four web UI fixes: tap targets, Maintenance showing Running, LLM Log, and the automation run list - Merged: the two agent CLI bump entries into one (Codex 0.170.0, Claude Code 2.1.328, Antigravity 1.5.12). - Updated: the CI-suspension entry now says when a failure still counts as a code failure (two or more failed steps, or a step that ran after the failed one). - Moved: Gemini 4 Neon and Carbon from Changed to Added. - Removed: the CI-only Chromium install entry. - Unchanged: the CI-failure comment entry already describes a dependency line, not folding. The picomatch removal was already listed. Release notes: `release-notes/v0.9.3.md` (37 lines) has Highlights in five groups (agents and models, follow-ups and CI failures, pull requests and comments, web UI, releases), then Upgrade notes. The upgrade notes say: - No manual steps are expected. - The vendored picomatch builds are gone, so run `npm ci` in source checkouts. - Runs that committed but didn't open a PR now end as failed (`publication_failed`). - The new "unconfirmed" comment wording, which needs a summarization model. - `reportPreview` now holds the report's first sentence instead of its title. - Existing PRs without the `AI` label still need it added by hand. Docs: the current-release examples in `README.md`, `apps/desktop/README.md`, `desktop-application.md`, `desktop-pairing.md` and `hosted-ui-release.md` now say 0.9.3. Historical references such as "v0.9.2 and earlier" are unchanged. Validation results: - `EXPECTED_VERSION=0.9.3 RELEASE_TAG=v0.9.3 RELEASE_CANDIDATE=true npm run release:verify`: `Release metadata is consistent for v0.9.3`, exit 0. - `node --test test/releaseValidation.test.mjs`: 37 of 37 pass. - `npx tsx --test test/orchestratorProprUrlsDrift.test.ts`: 13 of 13 pass. - Desktop version tests (release-config, release-workflow, the macOS and signed update policies, macOS branding, release-architecture, release-publish, nightly-native-bundle, runtime-manifest, release-artifacts, preflight, Windows installer, Linux and macOS preview releases): 194 tests, 188 pass, 0 fail, 6 skipped. - `npm run audit:runtime` and `npm run desktop:audit:packaging`: both pass. - Lint with `--max-warnings 0` on root `src/`, core, api, cli and propr-ui: clean. - Typechecks for root, shared, client, core, local-setup, api, cli, propr-ui and desktop: clean. - `npm run build --prefix docs`: succeeds. - `git diff --check`: clean. - `THIRD_PARTY_LICENSES.md`: regenerated twice with byte-identical results, and the notice validator passes. Only the `Generated:` date and the three ProPR package versions changed. picomatch is not listed there, so its move from vendored to upstream changes nothing in the file. Two things to know before merging: - Generated date: the regenerated license file says `Generated: 2026-11-19`, because the lockfile change is uncommitted and the script uses today's UTC date. If this is committed after midnight UTC, the script will expect 2026-11-20 and the file will need regenerating. - Nightly test fix: the one the issue mentions is PR #3739, which is still open and not on `main`. It only changes a test, so it needs no changelog entry, but it is not in this release yet. Nothing was tagged, published, merged or deployed, and I made no previews because nothing here changes the UI.
0.9.3: remaining findings from the 0.9.2 release check
This Epic PR aggregates all changes for the plan: 0.9.3: remaining findings from the 0.9.2 release check
Issues in this Epic
Auto-close
When this PR is merged, the following issues will be automatically closed:
Fixes #3725
Fixes #3726
Fixes #3727
Fixes #3728
Created automatically by ProPR