Skip to content

[3713 by Claude Opus 5.5] Release rollout check: one command and one workflow summary that say where a release is live - #3717

Merged
integry merged 3 commits into
3713-epic-release-flow-z2mfrom
3713/claude-opus-5-5-release-rollout-check-one-20261118-1621-jdd
Nov 18, 2026
Merged

integry merged 3 commits into
3713-epic-release-flow-z2mfrom
3713/claude-opus-5-5-release-rollout-check-one-20261118-1621-jdd

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3713

Branch: 3713/claude-opus-5-5-release-rollout-check-one-20261118-1621-jdd
Commits: ✅ Changes committed (c352f23)


AI Processing Completed

Execution Details:

Summary:
I added npm run release:rollout -- --version <x.y.z> (scripts/verify-release-rollout.mjs). It checks every place a release should reach, using only public reads with no credentials, and prints one ok / missing / stale line per target. The new tests and the existing hosted-UI, release-validation and CI tests pass (169 of 169), and release:verify still passes for v0.9.2.

Run against the real v0.9.2 today, it shows what was invisible before:

missing  github-release      v0.9.2 published 2026-11-18T09:23:29Z; no checked-in summary release-notes/v0.9.2.md …
ok       docker:propr/app    propr/app:0.9.2 sha256:f7dee34f4af7… = latest      (ui, docs, agent: ok too)
ok       npm:propr-cli       propr-cli@latest is 0.9.2
stale    hosted-ui           /assets/index-CQeUwGlO.js does not contain "0.9.2"
missing  demo                GET https://demo.propr.dev/api/status returned HTTP 502
ok       desktop:linux       desktop-linux-preview-v0.9.2-60792554ba3a-all-signed with 7 expected files
ok       desktop:macos       desktop-macos-preview-v0.9.2-60792554ba3a with 6 expected files
ok       site:whats-new      https://propr.dev/whats-new/0.9.2/ HTTP 200
stale    site:download       links desktop-linux-preview-v0.9.1-…-all-signed, not desktop-linux-preview-v0.9.2-*-all-signed; …
  • github-release is missing only because the summary file doesn't exist on this base. The issue doesn't say where the "checked-in summary" lives. I used release-notes/v<version>.md, the path from the unmerged Releases: a human-readable summary in every GitHub release, checked in and verified #3701 work. The script reads it from the release tag, or from the local checkout if the tag has none. If Releases: a human-readable summary in every GitHub release, checked in and verified #3701 settles on a different path, it's one field in the target table.
  • The demo is returning HTTP 502 right now, so I couldn't confirm what it reports when up. The check reads the version field, which comes from the /api/status code in this repo.
  • The download page is https://propr.dev/desktop/. The issue doesn't give the URL; that page is the one with the desktop download links. It still links the 0.9.1 builds.

How it behaves:

  • It exits 0 only when every target is ok, 1 otherwise, and 2 for a bad argument. --json prints the same results, and v0.9.2 is accepted as well as 0.9.2.
  • In GitHub Actions it also writes a results table to the run summary. That's the "workflow summary" part of the title: I didn't add a workflow that runs it, since Release rollout: demo, Hosted repin and site links as tracked follow-up steps #3716 plans one.
  • A network or HTTP failure shows as missing with the reason, not a crash. GitHub allows 60 unauthenticated API reads an hour per IP, so a rate-limited read shows as missing with "HTTP 403 (GitHub API rate limit?)".
  • Targets are one table (TARGETS in the script), so adding a destination is one entry using one of the eight check kinds in scripts/lib/release-rollout/run.mjs.

The shared bundle check now lives in scripts/lib/hosted-ui-bundle.mjs. scripts/verify-hosted-ui-release.mjs re-exports it, so the deploy workflow and its tests are unchanged.

Tests: test/releaseRollout.test.mjs covers ok, missing and stale for every target kind with mocked HTTP, plus the command itself (exit codes, --json, the run summary, and that no request carries credentials). I added it to test:unit.

Docs: No document described release:verify on this base. I added a "Releases" section to .github/CONTRIBUTING.md with the rollout check as the last step and a table of what each target checks. #3701 adds a "Releases" section in the same place, so expect a small merge conflict there. I also mentioned the shared check in docs/docs/operations/hosted-ui-release.md and added an Unreleased entry to CHANGELOG.md.

There are no visual previews, because this is a command-line check with no UI change.

Review digest

Risk-tiered paths

  • High risk (1 file)
    • package.json (+2/−1): dependency manifest
  • Normal risk (8 files)
    • scripts/lib/hosted-ui-bundle.mjs (added, +64/−0)
    • scripts/lib/release-rollout/github.mjs (added, +82/−0)
    • scripts/lib/release-rollout/http.mjs (added, +44/−0)
    • scripts/lib/release-rollout/registries.mjs (added, +43/−0)
    • scripts/lib/release-rollout/run.mjs (added, +61/−0)
    • scripts/lib/release-rollout/web.mjs (added, +83/−0)
    • scripts/verify-hosted-ui-release.mjs (+5/−39)
    • scripts/verify-release-rollout.mjs (added, +123/−0)
  • Low risk (4 files)
    • .github/CONTRIBUTING.md (+30/−1)
    • CHANGELOG.md (+11/−0)
    • docs/docs/operations/hosted-ui-release.md (+1/−1)
    • test/releaseRollout.test.mjs (added, +374/−0)

Diff size: 13 files changed, +923/−42 lines

View task for the run's logs and conversation.


This PR was created automatically by ProPR after processing issue #3713.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…fy-release-rollout.mjs`). It checks every place a release should reach, using only public reads with no credentials, and prints one `ok` / `missing` / `stale` line per target. The new tests and the existing hosted-UI, release-validation and CI tests pass (169 of 169), and `release:verify` still passes for v0.9.2.

Run against the real v0.9.2 today, it shows what was invisible before:
```
missing  github-release      v0.9.2 published 2026-11-18T09:23:29Z; no checked-in summary release-notes/v0.9.2.md …
ok       docker:propr/app    propr/app:0.9.2 sha256:f7dee34f4af7… = latest      (ui, docs, agent: ok too)
ok       npm:propr-cli       propr-cli@latest is 0.9.2
stale    hosted-ui           /assets/index-CQeUwGlO.js does not contain "0.9.2"
missing  demo                GET https://demo.propr.dev/api/status returned HTTP 502
ok       desktop:linux       desktop-linux-preview-v0.9.2-60792554ba3a-all-signed with 7 expected files
ok       desktop:macos       desktop-macos-preview-v0.9.2-60792554ba3a with 6 expected files
ok       site:whats-new      https://propr.dev/whats-new/0.9.2/ HTTP 200
stale    site:download       links desktop-linux-preview-v0.9.1-…-all-signed, not desktop-linux-preview-v0.9.2-*-all-signed; …
```
- `github-release` is `missing` only because the summary file doesn't exist on this base. The issue doesn't say where the "checked-in summary" lives. I used `release-notes/v<version>.md`, the path from the unmerged #3701 work. The script reads it from the release tag, or from the local checkout if the tag has none. If #3701 settles on a different path, it's one field in the target table.
- The demo is returning HTTP 502 right now, so I couldn't confirm what it reports when up. The check reads the `version` field, which comes from the `/api/status` code in this repo.
- The download page is `https://propr.dev/desktop/`. The issue doesn't give the URL; that page is the one with the desktop download links. It still links the 0.9.1 builds.

How it behaves:
- It exits 0 only when every target is `ok`, 1 otherwise, and 2 for a bad argument. `--json` prints the same results, and `v0.9.2` is accepted as well as `0.9.2`.
- In GitHub Actions it also writes a results table to the run summary. That's the "workflow summary" part of the title: I didn't add a workflow that runs it, since #3716 plans one.
- A network or HTTP failure shows as `missing` with the reason, not a crash. GitHub allows 60 unauthenticated API reads an hour per IP, so a rate-limited read shows as `missing` with "HTTP 403 (GitHub API rate limit?)".
- Targets are one table (`TARGETS` in the script), so adding a destination is one entry using one of the eight check kinds in `scripts/lib/release-rollout/run.mjs`.

The shared bundle check now lives in `scripts/lib/hosted-ui-bundle.mjs`. `scripts/verify-hosted-ui-release.mjs` re-exports it, so the deploy workflow and its tests are unchanged.

Tests: `test/releaseRollout.test.mjs` covers ok, missing and stale for every target kind with mocked HTTP, plus the command itself (exit codes, `--json`, the run summary, and that no request carries credentials). I added it to `test:unit`.

Docs: No document described `release:verify` on this base. I added a "Releases" section to `.github/CONTRIBUTING.md` with the rollout check as the last step and a table of what each target checks. #3701 adds a "Releases" section in the same place, so expect a small merge conflict there. I also mentioned the shared check in `docs/docs/operations/hosted-ui-release.md` and added an Unreleased entry to `CHANGELOG.md`.

There are no visual previews, because this is a command-line check with no UI change.
@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

/ultrafix goal=8 max=3
Triggered automatically by the requested execution settings.

@propr-dev propr-dev Bot added the ultrafix label Nov 18, 2026
@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 3)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-dev[bot]

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR adds a focused, data-driven rollout checker covering public release destinations. It needs a localized correctness fix before merge.

✅ Shared verification — The hosted UI extraction preserves the existing bundle-selection, version-matching, and cache-bypass behavior.

✅ Isolated target failures — Target exceptions become individual results, allowing the remaining checks to complete.

✅ Useful coverage — Mocked tests cover target outcomes, CLI exit codes, JSON output, and Actions summaries.

This review is based on static inspection only; no commands were run. Current-head checks are all neutral/skipped, so they provide no passing validation.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Preserve summary lookup failures

  • Category: correctness

  • Required behavior: The checker must compare against the summary at the release tag, using the local fallback only when the tag has no summary. An unavailable authoritative source must not produce a successful verification.

  • Evidence: scripts/lib/release-rollout/github.mjs:21-24 — readSummary

    1. The release tag contains summary A, while the local checkout contains revised summary B and the published release body starts with B.
    2. The raw GitHub request returns HTTP 503. readSummary treats every unsuccessful HTTP response as grounds to use the local file.
    3. checkGithubRelease compares the body against B and reports ok, although comparison against the authoritative summary A would report stale.

    The existing fallback test covers an absent file, but does not distinguish absence from an HTTP failure. The outer exception handler cannot prevent this false success because the unsuccessful response is consumed by the fallback. static trace: followed the unsuccessful-response branch through the local read and body-prefix comparison; this scenario was not executed.

  • Minimum fix: Fall back locally only on HTTP 404. Return an unsuccessful check with the HTTP reason for other unsuccessful responses, and add a regression covering HTTP 503 with a matching local summary.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Expose release search limits

github.mjs stops listing releases after 500 entries but subsequently reports an unmatched desktop release as absent. Consider indicating that the search was incomplete when the final page is full. This is optional for the current rollout use case, but would make checks of older releases less misleading.

S2: 🟢 Restore the license heading

The contribution guide replaces ## License with the Releases section and leaves the license paragraph beneath release instructions. Restoring the heading would preserve the document’s organization; this is a documentation cleanup rather than a merge blocker.

Score

The implementation is well scoped and has useful mocked coverage, but its summary fallback can incorrectly certify a release during an HTTP failure. The correction is localized; current-head checks provide no additional validation.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 53s
  • Tokens: 55,066 (54,167 in / 899 out)
  • Cost: $0.46

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1 S1 S2

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

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

Addressed 1 AI review comment (IDs: 6984889659)

Addressed finding F1

Summary of Changes

I fixed F1. The release check now uses the local summary file only when the release tag has no summary (HTTP 404). Before, any failed read of the summary at the tag fell back to the local file, so a GitHub 503 could still produce an ok.

Fix (scripts/lib/release-rollout/github.mjs): readSummary still falls back to the local checkout on a 404. Any other failed read now makes github-release report missing with the HTTP reason, for example release-notes/v0.9.2.md at v0.9.2 returned HTTP 503. A 403 or 429 also carries the existing "(GitHub API rate limit?)" hint.

Regression test (test/releaseRollout.test.mjs): the summary read at the tag returns HTTP 503. The local file and the start of the published release body both hold the revised summary, which is the case that used to pass as ok. The test checks that the result is missing, that the reason names HTTP 503, and that the local file is never read.

Verification: all 33 tests in test/releaseRollout.test.mjs pass and ESLint is clean on both files. With the original github.mjs put back, the new test fails and the other 32 pass, so it does catch the old behaviour.

Siblings checked: no other check in the PR uses a local copy in place of a failed read. The other read failures all already report a non-ok status.

Separate discovery (not changed, outside F1): in scripts/lib/release-rollout/registries.mjs:41, when npm's latest is not the release version and reading that version fails for any reason, the check reports "<pkg>@<version> is not published". A 503 would therefore show up as "not published" instead of the HTTP error. It still reports missing, so it can't cause a false success; only the message is wrong.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • scripts/lib/release-rollout/github.mjs (+8/−1)
  • Low risk (1 file)
    • test/releaseRollout.test.mjs (+15/−0)

Diff size: 2 files changed, +23/−1 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 3m 38s
  • Tokens: 294,582 (292,079 in / 2,503 out)
  • Cost: $0.30

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…le only when the release tag has no summary (HTTP 404). Before, any failed read of the summary at the tag fell back to the local file, so a GitHub 503 could still produce an `ok`.

I fixed F1. The release check now uses the local summary file only when the release tag has no summary (HTTP 404). Before, any failed read of the summary at the tag fell back to the local file, so a GitHub 503 could still produce an `ok`.

**Fix** (`scripts/lib/release-rollout/github.mjs`): `readSummary` still falls back to the local checkout on a 404. Any other failed read now makes `github-release` report `missing` with the HTTP reason, for example `release-notes/v0.9.2.md at v0.9.2 returned HTTP 503`. A 403 or 429 also carries the existing "(GitHub API rate limit?)" hint.

**Regression test** (`test/releaseRollout.test.mjs`): the summary read at the tag returns HTTP 503. The local file and the start of the published release body both hold the revised summary, which is the case that used to pass as `ok`. The test checks that the result is `missing`, that the reason names HTTP 503, and that the local file is never read.

**Verification:** all 33 tests in `test/releaseRollout.test.mjs` pass and ESLint is clean on both files. With the original `github.mjs` put back, the new test fails and the other 32 pass, so it does catch the old behaviour.

**Siblings checked:** no other check in the PR uses a local copy in place of a failed read. The other read failures all already report a non-`ok` status.

**Separate discovery (not changed, outside F1):** in `scripts/lib/release-rollout/registries.mjs:41`, when npm's `latest` is not the release version and reading that version fails for any reason, the check reports "`<pkg>@<version>` is not published". A 503 would therefore show up as "not published" instead of the HTTP error. It still reports `missing`, so it can't cause a false success; only the message is wrong.

PR: #3717
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR adds a readable, data-driven rollout checker with useful diagnostics and focused tests. It needs a localized correctness fix before merge: the download-page check can accept prerelease links as evidence that the stable release is live.

✅ Failure isolation — Individual target failures become diagnostic results without preventing other targets from completing.

✅ Shared verification — The hosted-UI extraction preserves the existing entry-bundle and version checks while reusing them for rollout verification.

✅ Command coverage — Added tests cover exit codes, JSON output, workflow summaries, and requests without authorization headers.

The supplied current-head status shows 23 passed checks, no failures, and one pending check. This review used static inspection only, as requested.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F2: 🔴 Reject prerelease links for stable releases

  • Category: correctness

  • Required behavior: The download-page target must report ok only when it links desktop releases of the requested version.

  • Evidence: scripts/lib/release-rollout/web.mjs:69–75, checkPageLinks

    1. Run the checker with --version 0.9.2 while the download page still links desktop-linux-preview-v0.9.2-rc.1-60792554ba3a-all-signed and desktop-macos-preview-v0.9.2-rc.1-60792554ba3a.
    2. The generated prefixes are desktop-linux-preview-v0.9.2- and desktop-macos-preview-v0.9.2-. Both prerelease tags satisfy their respective startsWith(prefix) and endsWith(suffix) checks.
    3. Both families enter linked, so site:download reports ok even though users receive release-candidate downloads. If the other destinations have completed the stable rollout, the command incorrectly exits 0.

    static trace: The supplied tag producers include the version followed by a source-revision suffix; prefix matching does not distinguish that suffix from a prerelease version continuation. The desktop asset checks separately inspect versioned filenames, but their results do not validate the tags selected by checkPageLinks. Existing page tests cover an older patch version and unsigned Linux tags, not this collision.

  • Minimum fix: Match the complete desktop tag structure, including the source-revision component and applicable signing suffix, so a prerelease version cannot match a stable version. Add a regression covering both desktop families with the tags above.

Suggestions

These are optional follow-ups and are not sent to /fix.

S3: 🟢 Restore the License heading

The change to .github/CONTRIBUTING.md replaces ## License with ## Releases, leaving the license paragraph inside the release instructions. Restoring the heading would preserve document navigation. This is optional documentation cleanup.

S4: 🟢 Explain release-history exhaustion

scripts/lib/release-rollout/github.mjs stops after 500 releases and reports an unmatched desktop release as absent. Consider distinguishing an exhausted search budget from confirmed absence, especially for historical checks. This is optional hardening for larger release histories; the supplied context does not establish that the limit currently affects the intended rollout.

Score

The implementation is focused and well tested, with no reported failing checks. One false-positive path in the release verification needs correction before merge.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 37s
  • Tokens: 55,852 (54,846 in / 1,006 out)
  • Cost: $0.47

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F2 S3 S4

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit e4ed074

Addressed 1 AI review comment (IDs: 6985699813)

Addressed finding F2

Summary of Changes

I fixed F2. With --version 0.9.2, a download page that links desktop-linux-preview-v0.9.2-rc.1-60792554ba3a-all-signed and desktop-macos-preview-v0.9.2-rc.1-60792554ba3a now reports stale instead of ok.

The fix: I added one shared matcher, isVersionTag in scripts/lib/release-rollout/github.mjs. It accepts a tag only if it has exactly the shape the desktop release scripts produce: the prefix with the version, then a 12-character hex source revision, then the suffix. In v0.9.2-rc.1-60792554ba3a, the text rc.1-… after the version is not a revision, so the tag no longer matches. checkPageLinks in web.mjs now uses this matcher instead of the loose prefix/suffix check.

Same problem in a sibling check: checkDesktopPrerelease (the desktop:linux and desktop:macos targets) picked release tags with the same loose match. In practice the file-name check would usually catch a release candidate, because its files carry the rc version. But the tag choice itself was wrong, so it now uses the shared matcher too.

Tests: I added two regressions to test/releaseRollout.test.mjs:

  • Download page: with both rc tags from the finding, the result is stale and the message names both rc links.
  • Desktop pre-releases: with only rc-tagged releases (even with stable-named files attached), both targets report missing.

All 35 tests in that file pass and eslint is clean. I also ran the suite against the previous web.mjs and github.mjs: exactly those two new tests fail there.

I found nothing else that needs reporting separately.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (2 files)
    • scripts/lib/release-rollout/github.mjs (+14/−1)
    • scripts/lib/release-rollout/web.mjs (+2/−2)
  • Low risk (1 file)
    • test/releaseRollout.test.mjs (+20/−0)

Diff size: 3 files changed, +36/−3 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 4m 11s
  • Tokens: 760,334 (755,021 in / 5,313 out)
  • Cost: $0.49

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…nks `desktop-linux-preview-v0.9.2-rc.1-60792554ba3a-all-signed` and `desktop-macos-preview-v0.9.2-rc.1-60792554ba3a` now reports `stale` instead of `ok`.

I fixed F2. With `--version 0.9.2`, a download page that links `desktop-linux-preview-v0.9.2-rc.1-60792554ba3a-all-signed` and `desktop-macos-preview-v0.9.2-rc.1-60792554ba3a` now reports `stale` instead of `ok`.

**The fix:** I added one shared matcher, `isVersionTag` in `scripts/lib/release-rollout/github.mjs`. It accepts a tag only if it has exactly the shape the desktop release scripts produce: the prefix with the version, then a 12-character hex source revision, then the suffix. In `v0.9.2-rc.1-60792554ba3a`, the text `rc.1-…` after the version is not a revision, so the tag no longer matches. `checkPageLinks` in `web.mjs` now uses this matcher instead of the loose prefix/suffix check.

**Same problem in a sibling check:** `checkDesktopPrerelease` (the `desktop:linux` and `desktop:macos` targets) picked release tags with the same loose match. In practice the file-name check would usually catch a release candidate, because its files carry the rc version. But the tag choice itself was wrong, so it now uses the shared matcher too.

**Tests:** I added two regressions to `test/releaseRollout.test.mjs`:
- **Download page:** with both rc tags from the finding, the result is `stale` and the message names both rc links.
- **Desktop pre-releases:** with only rc-tagged releases (even with stable-named files attached), both targets report `missing`.

All 35 tests in that file pass and eslint is clean. I also ran the suite against the previous `web.mjs` and `github.mjs`: exactly those two new tests fail there.

I found nothing else that needs reporting separately.

PR: #3717
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR adds a focused, read-only rollout checker with a declarative target list, consistent reporting, and substantial mocked coverage. It is merge-ready within the supplied scope, conditional on the two pending checks completing successfully. This review used static analysis only; no commands were run.

✅ Preserved deployment verification — The shared bundle helper retains entry-module selection, same-origin validation, cache bypass, and quoted-version matching while preserving the existing exports.

✅ Isolated target failures — Each target’s request or parsing failure becomes a diagnostic result rather than preventing other targets from reporting.

✅ Precise desktop version matching — The tag matcher requires the twelve-character revision and appropriate suffix, preventing release-candidate tags from satisfying a stable-version check.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S5: 🟢 Tighten download-link extraction

scripts/lib/release-rollout/web.mjs:48–58 scans all HTML text for release paths without checking anchor attributes or the destination repository. A future page containing commented-out links or release-path examples could therefore produce misleading results. Extracting actual links and validating their destination would improve resilience; the supplied context does not establish that the current download page encounters this condition.

S6: 🟢 Restore the License heading

The change to .github/CONTRIBUTING.md replaces ## License with ## Releases, leaving the licensing paragraph under the release instructions. Restoring the License heading above that paragraph would preserve document navigation. This is a non-blocking documentation cleanup.

Score

The implementation is cohesive, preserves the existing hosted-UI verification contract, and includes useful success and failure coverage. The authoritative checks report no failures, with two still pending; runtime behavior was not independently exercised during this review.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 53s
  • Tokens: 56,903 (56,136 in / 767 out)
  • Cost: $0.47

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S5 S6

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 18, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3713 by Claude Opus 5.5] Release rollout check: one command and one workflow summary that say where a release is live ✅❽ [3713 by Claude Opus 5.5] Release rollout check: one command and one workflow summary that say where a release is live Nov 18, 2026
@integry
integry merged commit 763b90b into 3713-epic-release-flow-z2m Nov 18, 2026
44 checks passed
@propr-dev propr-dev Bot changed the title ✅❽ [3713 by Claude Opus 5.5] Release rollout check: one command and one workflow summary that say where a release is live [3713 by Claude Opus 5.5] Release rollout check: one command and one workflow summary that say where a release is live Nov 18, 2026
propr-dev Bot pushed a commit that referenced this pull request Nov 18, 2026
… call, and skip any label the PR already has. But I couldn't find a second labelling call in ProPR's code for the normal case, so this may not stop the duplicates you're seeing.

What the PR timelines show. I checked the last 80 PRs and 23 have `AI` added twice, in two patterns:
- Older PRs (#3579–#3711): `AI` and `llm-*` appear twice, 0–1 s apart. ProPR's retry waits at least 2 s, so a retry can't explain this.
- Newer PRs (#3712, #3717): `AI`, `ultrafix` and `llm-*` all appear again 2 s after `ultrafix` is added. No ProPR code adds those three together, and `ultrafix` was already on the PR.

Normal creation makes a single label call. The labels were already in place when the second set appeared. That suggests GitHub may record labels again on a PR it is still setting up, which ProPR can't prevent. I couldn't test that without making real PRs.

Code paths that could label twice, now fixed:
- Final validation: if a step after creation failed, the run lost track of the PR it had opened. Final validation then found that PR and labelled it again. Validation now records the labels the PR already has (`packages/core/src/utils/prValidation.ts`), so that second call sends nothing.
- Creation itself: in `src/jobs/issueJobHelpers.ts`, only the create request is now inside the `try`. Labelling happens once afterwards, so an error after labelling can no longer fall into the "find existing PR" path and label again.
- The other paths (existing PR found after a duplicate error, and the API retry in `src/jobs/issueJobPRRetry.ts`) use the same shared helper and skip labels GitHub already lists on the PR.
- The shared helper in `src/jobs/pullRequestProcessingLabels.ts` now sends only the missing labels, and makes no call at all when nothing is missing.

Tests
- A new file, `test/pullRequestCreationLabels.test.ts`, checks that each creation path makes exactly one label call. It also checks that labels already on the PR aren't re-sent, and that a failed label call isn't repeated through the existing-PR fallback.
- I added cases to `test/recoveredPullRequestLabels.test.ts` covering final validation and the API retry when the PR already has some or all of its labels.
- Against the original `issueJobHelpers.ts`, 2 of the 5 new creation-path tests fail. The single-call tests also pass on the old code, because it already made one call per path.
- The suites that touch these files ran 508 tests with 507 passing and 0 failing. Typecheck is clean for the root and core packages, and lint is clean on the changed source files.

If the duplicates continue after this ships, the next step is to compare ProPR's worker log for one affected PR with its timeline. Two "Added processing labels" log lines would mean ProPR sent two calls; one would mean the duplicate comes from GitHub.

The change isn't visible on screen, so there are no previews.
integry pushed a commit that referenced this pull request Nov 18, 2026
…hen a PR is created (#3721)

What the PR timelines show. I checked the last 80 PRs and 23 have `AI` added twice, in two patterns:
- Older PRs (#3579–#3711): `AI` and `llm-*` appear twice, 0–1 s apart. ProPR's retry waits at least 2 s, so a retry can't explain this.
- Newer PRs (#3712, #3717): `AI`, `ultrafix` and `llm-*` all appear again 2 s after `ultrafix` is added. No ProPR code adds those three together, and `ultrafix` was already on the PR.

Normal creation makes a single label call. The labels were already in place when the second set appeared. That suggests GitHub may record labels again on a PR it is still setting up, which ProPR can't prevent. I couldn't test that without making real PRs.

Code paths that could label twice, now fixed:
- Final validation: if a step after creation failed, the run lost track of the PR it had opened. Final validation then found that PR and labelled it again. Validation now records the labels the PR already has (`packages/core/src/utils/prValidation.ts`), so that second call sends nothing.
- Creation itself: in `src/jobs/issueJobHelpers.ts`, only the create request is now inside the `try`. Labelling happens once afterwards, so an error after labelling can no longer fall into the "find existing PR" path and label again.
- The other paths (existing PR found after a duplicate error, and the API retry in `src/jobs/issueJobPRRetry.ts`) use the same shared helper and skip labels GitHub already lists on the PR.
- The shared helper in `src/jobs/pullRequestProcessingLabels.ts` now sends only the missing labels, and makes no call at all when nothing is missing.

Tests
- A new file, `test/pullRequestCreationLabels.test.ts`, checks that each creation path makes exactly one label call. It also checks that labels already on the PR aren't re-sent, and that a failed label call isn't repeated through the existing-PR fallback.
- I added cases to `test/recoveredPullRequestLabels.test.ts` covering final validation and the API retry when the PR already has some or all of its labels.
- Against the original `issueJobHelpers.ts`, 2 of the 5 new creation-path tests fail. The single-call tests also pass on the old code, because it already made one call per path.
- The suites that touch these files ran 508 tests with 507 passing and 0 failing. Typecheck is clean for the root and core packages, and lint is clean on the changed source files.

If the duplicates continue after this ships, the next step is to compare ProPR's worker log for one affected PR with its timeline. Two "Added processing labels" log lines would mean ProPR sent two calls; one would mean the duplicate comes from GitHub.

The change isn't visible on screen, so there are no previews.

Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant