Release v1.4.19-alpha #33

Merged
Mike Bros merged 3 commits from release/1.4.19-alpha into main 2026-02-16 07:17:32 +00:00
Contributor

Summary

  • fix(setup): API key validation now works in BOTH setup paths (--setup flag and npx auto-setup)
  • refactor(setup): Extracted validateAuthKey() as a shared function eliminating duplicated auth logic
  • test: 8 new tests — 4 for validateAuthKey flow (correct key, wrong key, retry, network error) + 2 integration tests for raw HTTP round-trip + 2 for testAuth

Root cause

Auth validation was added to runSetup() but not promptCredentials() — the latter is the code path hit by npx users when no .env exists.

Test plan

  • 231 tests pass (8 new tests)
  • Manual test from remote machine: npx open-project-sidecar-mcp → Docker sidecar → connect → wrong key → should show "Validating API key... ✗" and prompt

🤖 Generated with Claude Code

## Summary - **fix(setup):** API key validation now works in BOTH setup paths (--setup flag and npx auto-setup) - **refactor(setup):** Extracted `validateAuthKey()` as a shared function eliminating duplicated auth logic - **test:** 8 new tests — 4 for `validateAuthKey` flow (correct key, wrong key, retry, network error) + 2 integration tests for raw HTTP round-trip + 2 for `testAuth` ### Root cause Auth validation was added to `runSetup()` but not `promptCredentials()` — the latter is the code path hit by `npx` users when no `.env` exists. ## Test plan - [x] 231 tests pass (8 new tests) - [ ] Manual test from remote machine: `npx open-project-sidecar-mcp` → Docker sidecar → connect → wrong key → should show "Validating API key... ✗" and prompt 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Mike Bros approved these changes 2026-02-16 07:16:51 +00:00
Mike Bros force-pushed release/1.4.19-alpha from d691d1ac94
All checks were successful
CI / lint (pull_request) Successful in 8s
CI / security (pull_request) Successful in 6s
CI / test (pull_request) Successful in 18s
to 484d615a6f
All checks were successful
CI / lint (pull_request) Successful in 12s
CI / security (pull_request) Successful in 7s
CI / test (pull_request) Successful in 15s
2026-02-16 07:17:03 +00:00
Compare
Mike Bros deleted branch release/1.4.19-alpha 2026-02-16 07:17:32 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mike/open-project-sidecar-mcp!33
No description provided.