Repository navigation
Finoptic blocks (aws_call, supervisor_approval) and image workflow - #1
Merged
Merged
Conversation
finoptic-aws: aws_call runs one AWS SDK v3 call with short-lived credentials fetched from the Finoptic broker per call; output is only the API result, credential material is redacted from results and errors. finoptic-approval: supervisor_approval posts to Finoptic, pauses the run (ctx.run.pause) and stops the flow on anything but action=approve. finoptic-images.yml: tests the blocks on PRs; on a finoptic-<version> tag builds the app and worker images (amd64) and pushes them to ECR. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011p3Hfsd7txb9ATxLizJBPh
…pproval on resume
- aws_call: X-Broker-Secret, FINOPTIC_BACKEND_URL + /internal/broker/resolve,
request {executionId, handle}, response {accessKeyId, secretAccessKey,
sessionToken, expiration}
- supervisor_approval: X-Broker-Secret; on RESUME continue only when
action=approve AND GET /internal/automations/approvals/:id says approved
- contract.json shared with finoptic-infra's backend, tested here
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011p3Hfsd7txb9ATxLizJBPh
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.
T76 spike, slice S3.
packages/blocks/finoptic-aws:aws_call. Creds from the Finoptic broker per call (env URL + secret), in-memory SDK v3 client, only the API result returned, credential material redacted from results and errors.packages/blocks/finoptic-approval:supervisor_approval. Posts to Finoptic, pauses withctx.run.pause(same as core Wait for Approval), anything butaction=approvestops the flow. Resume contract in the block README..github/workflows/finoptic-images.yml: PRs test the blocks on GitHub-hosted runners. Afinoptic-<version>tag builds app + worker (amd64) on the CodeBuild runnerfinoptic-openops-releaseand pushes to ECRfinoptic/openops-app/finoptic/openops-worker.Tests:
nx test blocks-finoptic-aws12 passed,blocks-finoptic-approval7 passed; lint and build pass.Not merged, not released. Needs the CodeBuild project from finoptic-infra and the ECR repos from S1 before the tag job can run.
Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com