Skip to content

fix: update lockfile and detect TLS errors in login#74

Merged
rhuanbarreto merged 3 commits into
mainfrom
fix/lockfile-and-tls-error-handling
Mar 18, 2026
Merged

fix: update lockfile and detect TLS errors in login#74
rhuanbarreto merged 3 commits into
mainfrom
fix/lockfile-and-tls-error-handling

Conversation

@rhuanbarreto

@rhuanbarreto rhuanbarreto commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Lockfile fix: The 0.12.0 release PR bumped platform package versions in package.json but did not regenerate bun.lock, causing bun install --frozen-lockfile to fail in CI.
  • TLS error handling: Corporate proxies performing SSL inspection cause fetch() to fail with opaque certificate errors (e.g. self signed certificate in certificate chain). The login command now detects these and shows an actionable message telling the user to set NODE_EXTRA_CA_CERTS.

Test plan

  • bun run validate passes
  • New tests in tests/helpers/tls.test.ts (9 tests) cover pattern detection and edge cases
  • CI should pass with the updated lockfile

The release PR bumped platform package versions in package.json but
did not regenerate the lockfile, causing `bun install --frozen-lockfile`
to fail in CI.
Corporate proxies performing SSL inspection cause fetch() to fail with
opaque certificate errors. This detects those errors and tells the user
to set NODE_EXTRA_CA_CERTS instead of showing a raw error message.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 18, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8c72940
Status: ✅  Deploy successful!
Preview URL: https://8454f1c6.archgate-cli.pages.dev
Branch Preview URL: https://fix-lockfile-and-tls-error-h.archgate-cli.pages.dev

View logs

The release bump script updates optionalDependencies in package.json
but was not running `bun install` afterward, leaving the lockfile stale
and breaking `--frozen-lockfile` in CI.
@rhuanbarreto rhuanbarreto merged commit 2c15d83 into main Mar 18, 2026
7 checks passed
@rhuanbarreto rhuanbarreto deleted the fix/lockfile-and-tls-error-handling branch March 18, 2026 14:17
@github-actions github-actions Bot mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant