Problem: CI and the packaging pipeline still installed the Wails-era native
toolchain (libwebkit2gtk headers, the webkit2_41 build tag, the wails CLI pin)
and ran the WebView2/WebKitGTK native smoke harnesses whose binaries no longer
exist.
Fix: delete the transcript-native-smoke workflow, the WebKitGTK install steps
in desktop-prepare/desktop-go, the WKWebView/WebView2 native transcript steps,
the WebView2 smoke scripts and the vendored-edge test step, and the wails pin
check (scripts, .wails-version, make wails-install). desktop-build.sh builds
the service without -tags webkit2_41, so Linux needs no WebKitGTK headers.
desktop/packaging reads the frozen product identity from a constant instead of
wails.json. The contract tests now pin the packaged-Electron startup smoke and
reject references to the retired harnesses. The root ./dev script drives the
Electron shell against a freshly built service plus the Vite dev server;
prod_test/prod_fast_test lose the Wails CLI pinning. The issue labeler
describes the desktop app as Electron. Browser-compatibility Playwright tests
(chromium/webkit) for the Web/Serve product are unchanged.
Verification: bash scripts/release-workflows.test.sh,
node scripts/check-desktop-build-contract.mjs,
node scripts/check-single-release-public-contract.mjs,
node --test scripts/desktop-release-artifacts.test.mjs scripts/ci-workflow.test.mjs,
desktop/frontend/scripts/check-motion-ci-contract.mjs and actionlint on the
release workflows all pass.
pnpm honors npm_config_*, not PNPM_CONFIG_*, so dev's guards never took effect.
After an upstream sync, pnpm 11's verify-deps-before-run reinstalls before
`pnpm build`, wants to remove node_modules, and aborts with no TTY under
wails dev (ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY). Pin confirm-modules-purge
+ verify-deps-before-run in a committed desktop/frontend/.npmrc and fix the
env-var form in dev.
Co-authored-by: reasonix <[email protected]>
* fix(dev): suppress pnpm TTY prompts and lockfile age checks in dev script
pnpm v11 aborts node_modules removal without a TTY and rejects lockfiles
with packages published within the minimum release age window. Both checks
are meant for CI safety and are irrelevant during local development.
Set PNPM_CONFIG_CONFIRM_MODULES_PURGE=false and
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0 before launching wails dev.
* ci: trigger re-run
---------
Co-authored-by: wufengfan <[email protected]>
* fix(styles): improve light theme contrast for semantic colors, diffs, and syntax highlighting
- Override --ok/--warn/--err in light theme with V1 values (#15803d,
#b45309, #dc2626) — previously inherited dark-theme values with
insufficient contrast (1.8-2.8:1, now 4.2-6.5:1, WCAG AA).
- Add light-theme --add-bg/--del-bg/--add-fg/--del-fg so diff markers
are readable on white backgrounds instead of inheriting dark tones.
- Add light-theme --hl-* syntax-highlight palette (GitHub-inspired) so
code blocks in light mode are legible instead of displaying dark-mode
neon colors on white.
- Detach .hljs-addition from --hl-string and add .hljs-deletion —
both now use --add-fg/--del-fg respectively so diff inline changes
match the diff-gutter color.
- Add REASONIX_DEV=1 to the dev script.
* fix: make TestBranchMetaRoundTripAndList order-independent for Windows
ListBranches sorts by CreatedAt then ID, but Windows filesystem timestamp
resolution is too coarse — two files created rapidly share the same timestamp,
so the ID tiebreaker (child < root) puts child first. Replace positional
assertions with ID-based lookups.
---------
Co-authored-by: wufengfan <[email protected]>