You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extension example test uses a non-portable file URL path on Windows #62
PR #59's Windows Node 26 verification fails in checked-in extension example runs with an explicit operator registry. The fixture converts a file URL with .pathname, which leaves a leading slash before the Windows drive and fails configuration loading. Linux and macOS jobs pass.
Use Node's fileURLToPath for the example directory. Keep the executable example test enabled on Windows and require its CI rerun to pass. The fix is being included in PR #59.
The fix uses fileURLToPath in that generated module and gives the fixture a directory containing a space and #, so URL decoding is exercised on Unix too. The public recipe uses composeHost defaults and does not contain the incorrect .pathname conversion. Local verification is running; Windows confirmation requires CI.
Activity
Fix extension example path on Windows (fixes #62)
jimhoyd commentedon Sep 27, 2026
This file-URL portability defect has recurred in the generated host module in
packages/auth/test/headless-auth-profile-recipe.test.ts(#811/#816).Revision/environment: main
ff69ce41661cc52087a21bc3857916f38312d848, release run https://github.com/jimhoyd-com/urlcode/actions/runs/36332281231, Windows Node 22/24/26. All three auth jobs fail the CLI lifecycle/audit test; publishing is skipped.Reproduction: build core and auth's workspace dependencies, then run the auth test suite on Windows. The generated host uses
new URL('./data/', import.meta.url).pathnamefor its database directory. The CLI fails before the lifecycle runs withHost file failed to load: ENOENT ... realpath 'D:\C:\Users\...\data'. Node 24 evidence: https://github.com/jimhoyd-com/urlcode/actions/runs/36332281231/job/108656489551 . This is separate from the SQLite teardown-order regression in #775.The fix uses
fileURLToPathin that generated module and gives the fixture a directory containing a space and#, so URL decoding is exercised on Unix too. The public recipe usescomposeHostdefaults and does not contain the incorrect.pathnameconversion. Local verification is running; Windows confirmation requires CI.