WIP: fix: make static export paths portable on Windows #195
Draft
KofTwentyTwo wants to merge 2 commits from
fix/windows-export-1309 into release/collab-rc37
pull from: fix/windows-export-1309
merge into: QRun-IO:release/collab-rc37
QRun-IO:main
QRun-IO:feat/assistant-card-lists-its-set
QRun-IO:feature/table-default-sort
QRun-IO:fix/audit-dialog-layout-and-requests
QRun-IO:feature/account-menu-host-links
QRun-IO:fix/presence-outage-quiet
QRun-IO:fix/explore-views-way-back
QRun-IO:fix/process-link-and-preference-redirect
QRun-IO:fix/ask-indicator-anchor
QRun-IO:feat/about-build-info
QRun-IO:feat/session-user-activity
QRun-IO:fix/error-banner-names-cause
QRun-IO:fix/signin-always-asks-credentials
QRun-IO:kof22/next-workflow-assets-on-pr206
QRun-IO:feat/standalone-qbits-ui
QRun-IO:feature/authentik-access-ui
QRun-IO:feat/qqq-tools
QRun-IO:ci/historical-finding-baseline-20261101
QRun-IO:dependabot/npm_and_yarn/npm-minor-and-patch-89ab5b524d
QRun-IO:dependabot/npm_and_yarn/dompurify-3.4.17
QRun-IO:dependabot/npm_and_yarn/storybook-10.6.2
QRun-IO:dependabot/npm_and_yarn/zod-4.6.6
QRun-IO:feature/collaboration-rc37
QRun-IO:dependabot/github_actions/github-actions-85a4666970
QRun-IO:release/collab-rc37
QRun-IO:feature/collaboration-production-20261021
QRun-IO:feature/assistant-panel-chrome
QRun-IO:dependabot/npm_and_yarn/playwright/test-1.64.0
QRun-IO:dependabot/npm_and_yarn/jest-axe-11.0.0
QRun-IO:dependabot/npm_and_yarn/testing-library/jest-dom-7.0.1
QRun-IO:dependabot/npm_and_yarn/lucide-react-1.54.0
QRun-IO:dependabot/maven/maven-minor-and-patch-9cd342f381
QRun-IO:feature/process-one-time-secrets
QRun-IO:pr-assets/user-preferences
QRun-IO:pr-assets/date-filters
QRun-IO:pr-assets/search-ux
QRun-IO:pr-assets/record-picker
QRun-IO:pr-assets/resizable-nav
QRun-IO:pr-assets/sql-workbench-theme
QRun-IO:pr-assets/record-developer-view
QRun-IO:feature/next-rc13-prep
QRun-IO:feature/home-app
QRun-IO:pr-assets/widget-width-readability
QRun-IO:feature/responsive-readable-layout
QRun-IO:pr-assets/single-scroll-container
QRun-IO:feature/image-preview-lightbox
QRun-IO:feature/sql-workbench
QRun-IO:pr-assets/responsive-readable-layout
QRun-IO:feature/GH-712-next-rc12
QRun-IO:fix/45-record-actions-menu
QRun-IO:feature/GH-660-header-off-bulk-load
QRun-IO:feature/GH-723-record-view-process-order
QRun-IO:feature/widget-date-defaults
QRun-IO:feature/GH-1001-dashboard-readiness
QRun-IO:feature/GH-985-browser-security-integration
QRun-IO:feature/GH-1003-chart-label-readiness
QRun-IO:feature/GH-1017-standalone-csp-metadata
QRun-IO:feature/GH-1009-standalone-branding
QRun-IO:feature/GH-1015-circle-stage-diagnostic
QRun-IO:feature/GH-734-standalone-security-acceptance
QRun-IO:feature/GH-696-security-review-status
QRun-IO:feature/GH-985-agent-handoff-20261002
QRun-IO:feature/GH-1006-next-query-cleanup
QRun-IO:feature/next-date-default-rc12
QRun-IO:feature/GH-995-cell-focus-investigation
QRun-IO:feature/GH-994-copy-menu-focus
QRun-IO:feature/GH-952-session-capture
QRun-IO:feature/GH-716-menu-viewport
QRun-IO:feature/GH-904-document-capture
QRun-IO:feature/GH-712-next-rc11
QRun-IO:feature/GH-904-transport-capture
QRun-IO:feature/GH-970-browser-input-races
QRun-IO:feature/GH-990-esb-touch-coverage
QRun-IO:feature/GH-712-next-rc10
QRun-IO:feature/QQQ-989-pr15-reconciliation
QRun-IO:feature/browser-stability
QRun-IO:feature/GH-985-next-tracking
QRun-IO:feature/GH-10-esb-acceptance
QRun-IO:feature/rc9-publication-notes
QRun-IO:feature/next-1.0
QRun-IO:feature/next-issue-tracking
QRun-IO:fix/GH-12-flaky-qry-051
QRun-IO:feature/GH-9-esb-process-dev-overview-management
QRun-IO:feature/GH-8-esb-table-dev-section
QRun-IO:fix/ci-unattended-install
QRun-IO:feature/GH-649-next-acceptance
QRun-IO:feature/qqq-641-local-quickstart
QRun-IO:feature/4.0-joined-list-permissions
QRun-IO:circleci-project-setup
No Reviewers
Labels
Clear labels
architecture
bug
dependencies
documentation
duplicate
enhancement
full-acceptance
github_actions
good first issue
help wanted
invalid
java
javascript
question
secuurity
ux
wontfix
Architecture review: coupling, cohesion, UI API
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Run the full real-backend acceptance matrix on this PR
Pull requests that update GitHub Actions code
Good for newcomers
Extra attention is needed
This doesn't seem right
Pull requests that update java code
Pull requests that update javascript code
Further information is requested
Admin UX / information architecture
This will not be worked on
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: QRun-IO/qqq-frontend-next#195
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Windows export command failed before Next started because it used POSIX environment assignment. After invoking Next natively, public route prefetch fragments were still written under nested backslash-derived paths instead of the flat filenames requested by browsers.
Use a portable Node launcher and a pinned two-line patch to Next16.3.8's CommonJS/ESM exporters. Normalize native separators before segment filename encoding. Every export now verifies all public prerendered segment paths and exact source bytes. The lockfile only adds the patch hash and corresponding peer references; dependency versions are unchanged.
Windows verification: original launcher reproduced failing; clean export reproduced25 missing public-route fragments. Patched export and the complete pnpm build:export command pass78 segment checks. Syntax, diff and license checks pass. Linux export parity and real browser diagnostics remain pending on this PR's own CI.
Related: QRun-IO/qqq#1309. Stacked on release/collab-rc37 to keep the already-verified RC37 branch unchanged. Keep draft pending Linux/browser qualification; no merge or release. Details: docs/WINDOWS-STATIC-EXPORT.md.
Linux acceptance build120105016937 passed the new export integrity check: all78 public segment paths and bytes verified. Full workflow39859146757 remains live; no rerun/cancellation/push yet.
Both dashboard image jobs failed during dependency installation because the new pinned patch was not copied before pnpm install. Local signed follow-up
ecbe9fccadds COPY patches ./patches before the frozen install. The corrected Linux Docker frontend stage builds successfully locally, including production compilation. This commit is intentionally not pushed until the running workflow finishes so its browser results are retained. Both architecture jobs must then revalidate the new head.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.