Repository navigation
fix(release): poll the compiler binary run instead of gh run watch - #5194
Conversation
Since #4985, h, html and element version on their own, so a core release leaves them at a version already on npm. verify-release-artifacts.mjs dry-run-published every public package, and npm refuses even a dry run over a published version, so the 2.0.1 release failed before publishing anything. It now skips a published version the same way release.mjs does, with packageIsPublished shared from release-packages.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
…ding on it retryReaches counted a dep that is the source itself as a path even after that source settled, so settleFamily and the re-park sweep in recompute kept a settled derive node in a reader's pending sources. With an optimistic store over one async memo and a slower sibling memo whose re-ask answers unchanged, the reader stayed pending and the action's transaction never landed. A direct link now counts only while the source is pending. Claude-Session: https://claude.ai/code/session_01CP9T3j2CTCEPyTS2bcKsBu
# Conflicts: # packages/signals/docs/RULES-INDEX.md
…#5170) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
…tream The top-level abort wrapper for streamed results matched any async iterable, so a decoded ReadableStream (which is one in Node and Chrome) was replaced by a plain iterable and lost getReader/pipeTo/tee. Leave a ReadableStream out of that check; it passes through as it already does when nested. Test shape from #5175. Co-authored-by: Marve10s <igrimanigroman@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
The instanceof check with its typeof guard cost +59 B minified on every server-function page and put three page scenarios over their caps. A decoded ReadableStream is told apart from an async generator's result by its getReader method. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMpyUtA1ZFwzKmr1sg
Send `,` in one header write when the joined keys are only whitespace, and digest `X-Revalidate` with empty keys filtered, so an empty declaration reads as `[]` on the outcome instead of `[""]` or `["", ""]`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
…hing it The 2.0.4 publish stopped at `gh run watch`: `gh workflow run` printed the new run's URL, and watching it one second later returned 404 because the run was not readable yet. Poll `gh run view` until it resolves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
The 2.0.4 re-run got past the run lookup, then `gh run watch` failed on the run's jobs (HTTP 404) before GitHub had created them. Poll `gh run view --json status,conclusion` until the run completes, retrying failed reads, and check the conclusion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWMR7ndYUnqBW5NjTbC
|
Size (brotli, eager entry chunk)
|
Merging this PR will improve performance by 5.97%3 warnings
Performance Changes
Tip Curious why performance improved? Comment Comparing Footnotes
|
Coverage Report for CI Build 45513858238Coverage remained the same at 79.815%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
The 2.0.4 publish failed a second time (Release run 45513299307, on the #5191 merge f3e7d36). #5191's wait for the run worked, but
gh run watchthen asked for the run's jobs before GitHub had created them:This replaces the visibility loop and
gh run watchwith one poll ofgh run view --json status,conclusionevery 15 s until the run completes (up to two hours). It retries a failed read, so a 404 on the run or its jobs no longer ends the release, and then requires the run to have concludedsuccess.Still nothing JS-side is on npm (solid-js is at 2.0.3). The compiler platform packages from the first binaries run did publish (
@solidjs/compiler-linux-x64-gnu@2.0.3), and the publish step skips those ("cannot publish over"). Scripts only, no changeset: merging re-runs the publish of the pending versions.How did you test this change?
node --check scripts/release.mjsand prettier pass.Generated by Claude Code