Repository navigation
feat(cli): dynamic Flow endpoint and managed Flow key commands (beta) - #68
Merged
Merged
Conversation
|
Warning Review limit reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 10 minutes. View limit detailsLimit details: You’ve used all 8 included reviews currently available. Your 8 included PR review attempts over the past 7 days set your current allowance at 8 reviews per hour. Review configuration: ⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds CLI commands for API polymorfa/polymorfa#428 and #434 and pins
@polymorfa/sdkto exactly0.1.0-dev.20261004024706, which is published from SDK polymorfa/sdks#332 (merged96df7d).flow endpoint get FLOW --session Nflow endpoint set FLOW --session N --mode forward|function|direct:forward:--url, optional--rotate-signing-secret.function:--function, optional--deployment.direct:--url.--disabledand--expected-revision.Mismatched flags are refused before any request is sent. The signing secret is printed once, with a warning. The command makes one attempt.
flow endpoint delete FLOW --session N --yesflow endpoint receipts FLOW [--session N] [--limit 1-100]. Receipts are metadata only.flow key custody --session Nflow key rotate --session N --yes. One attempt; an unknown outcome is not retried.The existing
flow key get/registercommands (customer key through Graph) are unchanged. The README documents the new commands and custody rules.Verification
npm run verifypasses: format, lint, typecheck, 108 files and 1027 tests, build, pack, and audit (0 vulnerabilities). The newtest/commands/flow-endpoints.test.tscovers paths and query binding, exact bodies per mode, flag refusal before dispatch, confirmation requirements, and the single-attempt rotate.Five-part
platform.functionsfor function mode).Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.