feat(oci): add native foundation - #7444
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryThe PR introduces native server-side OCI API-key credential support, including validation, request signing, endpoint resolution, encrypted storage, API contracts, and setup UI.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains in the eligible follow-up review scope. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/internal/oci/client.server.ts | Implements server-only OCI credential parsing, Signature v1 request signing, bounded transport, and setup verification. |
| apps/sim/lib/internal/oci/endpoints.ts | Adds a fixed OCI region/realm registry and strict service-endpoint validation. |
| apps/sim/lib/credentials/oci-api-key-service-account.server.ts | Validates OCI API-key material, verifies it against OCI, sanitizes failures, and encrypts the resulting secret. |
| apps/sim/lib/credentials/orchestration/index.ts | Integrates OCI fields into credential updates and enforces complete credential tuples during rotation. |
| apps/sim/lib/credentials/orchestration/credential-create.ts | Integrates OCI verification and sanitized provider errors into credential creation. |
| apps/sim/lib/api/contracts/v2/credentials.ts | Extends V2 credential contracts with OCI identifiers, region, private key, and optional passphrase fields. |
| apps/sim/app/workspace/[workspaceId]/integrations/components/connect-service-account-modal/connect-service-account-modal.tsx | Adds the OCI API-key setup and reconnect form with required-field checks and secret inputs. |
| apps/sim/lib/credentials/service-account-secret.ts | Registers OCI as a supported service-account secret provider and routes its fields through verification. |
| packages/sim-cli/src/generated/v2-api.ts | Updates generated CLI API types to expose the new write-only OCI credential fields. |
Sequence Diagram
sequenceDiagram
participant User
participant API as Credential API
participant Validator as OCI Credential Validator
participant OCI as OCI GetNamespace
participant Store as Encrypted Credential Store
User->>API: Submit OCI API-key fields
API->>Validator: Validate OCIDs, region, fingerprint, and RSA key
Validator->>OCI: Send signed, bounded GetNamespace request
OCI-->>Validator: Return namespace
Validator->>Store: Encrypt and persist validated credential
Store-->>API: Return sanitized credential metadata
API-->>User: Credential created or rotated
Reviews (17): Last reviewed commit: "fix(oci): preserve transport size errors" | Re-trigger Greptile
There was a problem hiding this comment.
All reported issues were addressed across 12 files
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
d7a3b4f to
d2d066d
Compare
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
d2d066d to
77e26a0
Compare
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
b1c7879 to
a48813a
Compare
|
@greptile review this PR |
|
@cubic-dev-ai review this PR |
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 38 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 38 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 38 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 36 files
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Fix all with cubic | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@BillLeoutsakosvl346 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 36 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
You've manually re-run cubic several times on this PR. Each manual re-review checks the full PR again and counts toward your usage quota. To preserve your usage limits, we recommend letting cubic automatically review new commits.
Re-trigger cubic
Summary
Type of Change
Testing
Checklist
Screenshots/Videos
Not applicable; this change is server-only.