fix: address unresolved review feedback from PRs #77 and #82#85
Conversation
Proxy (#77): - Add missing audit log fields (statusCode, durationMs, credentialsInjected, protocol) to blocked-request log entry for schema consistency - Add missing statusCode: 502 to upstream-failure log entry - Fix httpsPort log condition: check caCert && caKey, not just caCert Workspace (#82): - Add workspace field to control-plane StoredDaemon interface and both in-memory and SQLite store implementations (was silently dropped) - Add workspace column to daemons DB schema - Fix UpdateWorkspaceRequestSchema refinement: use Object.values().some() instead of Object.keys().length to reject all-undefined payloads - Remove "types": [] from workspace tsconfig.json (violates repo policy) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughSchema and storage layer enhancements adding optional Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Deploying getpaws with
|
| Latest commit: |
86fecf2
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://7d86aec0.getpaws-6m4.pages.dev |
| Branch Preview URL: | https://fix-unresolved-review-feedba.getpaws-6m4.pages.dev |
Summary
Addresses 6 unresolved CodeRabbit review comments that were never fixed before merge:
Proxy audit logging (#77)
statusCode: 403,durationMs,credentialsInjected: false,protocolfor schema consistency with forwarded-request logsstatusCode— addedstatusCode: 502httpsPortlog condition wrong — changedcaCert ?tocaCert && caKey ?so log accurately reflects whether HTTPS actually startedWorkspace domain (#82)
workspacefield silently dropped — added to CPStoredDaemoninterface, in-memory storecreate(), SQLite storecreate()/update()/rowToStoredDaemon(), and DB schemaUpdateWorkspaceRequestSchemaaccepts all-undefined — changed.refine()fromObject.keys(data).length > 0toObject.values(data).some(v => v !== undefined)tsconfig.jsonhas"types": []— removed, violates repo convention (types from root@types/bun)Not fixed (CodeRabbit was wrong)
@paws/logger: "workspace:*"— CodeRabbit suggestedcatalog:but@paws/loggeris a workspace package, not an npm dep.workspace:*is correct.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes