Repository navigation
feat: polymorfa trigger for Test number test events - #15
Conversation
|
Warning Review limit reached
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 49 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 74 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
Comment |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: df5c883376
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
8c10131 to
c0d923a
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c0d923a044
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Adds
polymorfa triggerfor signed test events on a Test number. The command lists supported fixtures, validates typed overrides before sending, and prints the event ID returned by the API. It can also simulate a message between two Test numbers with--from-session.polymorfa trigger --list --project PROJECT_ID polymorfa trigger message.received --project PROJECT_ID --session my-test-number --text "hi" polymorfa trigger session.restriction_updated --project PROJECT_ID --session my-test-number --override restricted=true polymorfa trigger message.received --project PROJECT_ID --session my-test-number --from-session other-test-numberThe command requires a server API key. API refusals, including a real-session
400, authorization403, and rate-limit429, use the standard CLI error and exit behavior. The README covers listener output and the forwarding secret requirement.The CLI pins published
@polymorfa/sdk@0.1.0-dev.20260923093259, produced from SDK merge commit2b693964305b91dc34b9092ca5774055c7e47d88. A cleannpm ciinstalled that artifact. Fullnpm run verifypassed on the branch merged with currentdev: 635 tests across 73 files, formatting, lint, typecheck, build, pack check, and production audit (zero findings). No live API or listener session was exercised.Contract impact: the API endpoint and auth remain unchanged; the SDK fixture and types were updated in polymorfa/sdks#290; CLI command, README and tests are updated here.
docs/internal/launch-docs/cli-trigger.mdxprepares the public Test events guide insertion. The CLI is unpublished, so public Mintlify insertion and changelog await a released CLI artifact and live acceptance. This PR changes no feature flags, enrollment, entitlements, or admin controls.