Skip to content

Version Packages - #22

Merged
CopilotKit merged 1 commit into
mainfrom
changeset-release/main
Aug 28, 2023
Merged

CopilotKit merged 1 commit into
mainfrom
changeset-release/main

Conversation

@CopilotKit

Copy link
Copy Markdown
Collaborator

No description provided.

@CopilotKit
CopilotKit merged commit ecc9206 into main Aug 28, 2023
@CopilotKit
CopilotKit deleted the changeset-release/main branch August 28, 2023 04:29
jpr5 added a commit that referenced this pull request Jun 15, 2026
… B2 tests

CB-1 (Slot 2 #22): convert B2 deploy-webhook tests to vi.stubEnv with
`vi.unstubAllEnvs()` in afterEach instead of manual process.env mutation
+ try/finally restoration. Test runner now guarantees restoration and the
test bodies are shorter / less error-prone (CR Slot 2 #22).

CB-2 (Slot 2 #28): when `loadWebhookSecrets`' escape hatch fires with a
real-looking NODE_ENV (anything except "test"), log at `warn` instead of
`info` so a production typo (NODE_ENV=staging + HARNESS_ALLOW_NO_SECRET=1)
is visible in dashboards / log alerting. Pure local-dev (NODE_ENV=test)
stays at info level so a normal unit-test boot doesn't spam warnings.

CB-3 (Slot 4 #17): clarify `loadWebhookSecrets`' docstring + bypass-log
message — "set" is ambiguous (empty string would qualify pre-fix); use
"non-empty" to match the actual predicate.
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