Repository navigation
Conversation
Linux and Windows cannot run Aside, but missing-browser errors still asked users to open it. Keep the shared help export and headless-browser remedies, adding the Aside suggestion only on macOS. Cover Linux, Windows and macOS through both renderer error paths and update the PDF consumer expectations. Fixes: garrytan#3735 Co-Authored-By: Claude Code <[email protected]>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
The test-layout ratchet cannot see the production import inside the standalone test's child-process script. Move the three platform cases into the existing renderer owner suite and reuse its subprocess driver. Keep the same exported-help and renderer error-path assertions without adding a baseline exception or weakening the guard. Refs: garrytan#3735 Co-Authored-By: Claude Code <[email protected]>
Contributor
|
Thank you, this is a clean fix for #3735, and the before/after output makes it easy to check. I've put it on the crew's pick-up list. If it lands, the crew will rebuild it on current main with Co-authored-by credit to you, and we'll note it here. |
3 tasks done
capy-ai Bot
added a commit
that referenced
this pull request
Nov 7, 2026
…kills.md vision-model line (#3375) (#4131) * fix(render): offer the Aside remedy only on macOS (#3735) NO_BROWSER_HELP told Linux and Windows hosts to open the Aside app, which ships only for macOS. noBrowserHelp(platform) now adds the Aside remedy on darwin only and keeps the ./setup and GSTACK_BROWSE_BIN remedies everywhere. Also corrects docs/skills.md's /design-html refinement loop, which still said "Uses GPT-4o vision", to match the design-html template (#3375). Rewritten on main from outside PR #4122. Co-authored-by: szsunyuan <[email protected]> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * chore(changelog): name the #3735 fragment after the branch Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: szsunyuan <[email protected]> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Contributor
|
Thanks, @szsunyuan. We rewrote this change on main and landed it in #4131 (9b491bb), with you credited as co-author. Closing this one in favor of that. It will ship in the next gstack release after 1.98.0.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why (in your own words)
When neither browser is available, Linux and Windows users are told to open the Aside app even though Aside is macOS-only. The same shared help reaches the renderer's missing-browser errors and make-pdf's setup/error flow. Keep the supported recovery advice on every host and offer Aside only on macOS.
Fixes #3735. #3734 already made the Aside probe skip non-macOS hosts; this fixes the help text it explicitly deferred, without changing that probe.
Why this shape
The issue asks to show only the setup advice off macOS. The condition belongs in the existing
NO_BROWSER_HELPexport, so both renderer error paths and the PDF consumers receive the correction. No new helper, production test seam or API is needed.CONTRIBUTING's wave process prefers the smaller change when two PRs solve the same thing. This is five files against main at
6cf00aee9, with one shared production fix, targeted regressions and a changelog fragment. Fine to absorb into a wave.What it does
./setupandGSTACK_BROWSE_BINremedies, without the instruction to open Aside.pickEngine's no-engine error andrenderWithBrowse's no-binary error.What it deliberately does not do
VERSION, package-version, releasedCHANGELOG.md, README or ETHOS edits. The only release documentation ischangelog.d/fix-3735-platform-browser-help.md./shipworkflow changes or manual version stamp; the repository's merge/release process assigns the version.Live evidence
The native-Linux reproduction uses the real renderer functions with the existing no-binary seams. It does not launch a browser or write renderer output. Bun 1.4.0 on Linux. The Windows/macOS regression cases simulate
process.platformin separate child processes; they are not native Windows/macOS runs.Reproduce the base and branch messages:
Actual output:
The regression test also failed before changing the production code:
After the fix:
Scope
lib/aside-render.ts(+3/-1),test/aside-render-help.test.ts(+39),make-pdf/test/asideClient.test.ts(+1/-1),make-pdf/test/setup-smoke.test.ts(+2/-2), and the changelog fragment (+3). No VERSION, released CHANGELOG or generated-file changes.git diff --check; outgoing staged-diff redaction scan with zero findings./shipreview/verification run. Four real-browser renderer cases and one macOS-only CLI case were skipped. The live fallback daemon did not start on this machine; those cases receive no pass credit.Focused checks already run, each test file in its own process with
umask 022andbun --no-env-file --no-load-bunfig test <file>:test/aside-render-help.test.tstest/aside-render.test.tstest/gstack-render-cli.test.tsmake-pdf/test/setup-smoke.test.tsmake-pdf/test/asideClient.test.tsmake-pdf/test/cli-exit-codes.test.tstest/spawnsync-timeout-tripwire.test.tsLiveness proof (required for external contributors)
Checklist
GSTACK PRtyped live into a real surface).Test plan
bun run teston the final integrated code after opening this PR.diagram-tripletprobe throughbun run eval:bg:pr, or record the maintainer-run fork-PR coverage.diagram-authoring-qualityandsafety-design-risk-stopwere deferred by the PR selection profile to scheduled/release coverage; neither ran and neither receives PR-pass credit. Fork PRs do not receive upstream eval secrets, so skipped paid jobs are not passes and maintainer coverage is still required before merge.Fixes #3735.