feat(oracle-fusion): add shared integration foundation - #7427
BillLeoutsakosvl346 wants to merge 20 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryThe PR adds a product-neutral Oracle Fusion credential and transport foundation without registering product-facing services.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains in the eligible follow-up scope. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/lib/credentials/client-credential-accounts/descriptors.ts | Adds the Oracle Fusion provider descriptor and strict canonical application-origin normalization. |
| apps/sim/lib/credentials/client-credential-accounts/minters/oracle-fusion.ts | Validates integration-user fields and derives bounded, locally cached Basic authentication material. |
| apps/sim/lib/internal/oracle-fusion/client.ts | Adds the DNS-pinned, deadline-aware Oracle request boundary with constrained methods, headers, retries, and response handling. |
| apps/sim/lib/internal/oracle-fusion/paths.ts | Defines fixed-version family roots and validates family-relative resource paths. |
| apps/sim/lib/internal/oracle-fusion/protocol.ts | Adds bounded collection parsing, self-link validation, opaque-key handling, and pagination metadata. |
| apps/sim/lib/internal/oracle-fusion/request-body.ts | Adds bounded plain-JSON serialization with exact integer token support. |
Sequence Diagram
sequenceDiagram
participant Caller
participant Credential as Credential Resolver
participant Client as Oracle Fusion Client
participant DNS as DNS Validation
participant Oracle as Oracle Fusion
Caller->>Credential: Resolve integration-user credential
Credential-->>Caller: Canonical origin and Basic material
Caller->>Client: Bounded family-relative request
Client->>DNS: Validate origin and pin public IP
DNS-->>Client: Validated address
Client->>Oracle: Fixed-root request with constrained method and headers
Oracle-->>Client: Bounded JSON or empty response
alt Transient GET and deadline permits
Client->>Oracle: Retry once
Oracle-->>Client: Final response
end
Client-->>Caller: Parsed result or fixed error
Reviews (14): Last reviewed commit: "feat(oracle-fusion): serialize exact int..." | Re-trigger Greptile
There was a problem hiding this comment.
All reported issues were addressed across 18 files
Reply with feedback, questions, or to request a fix.
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 18 files
Reply with feedback, questions, or to request a fix.
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 18 files
Reply with feedback, questions, or to request a fix.
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. |
|
@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 19 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
|
@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 19 files
Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.
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 19 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Heads up: you’re close to your flex budget. Increase your flex budget so reviews don’t pause.
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
Retain the Oracle origin and credential safeguards while respecting staging test cleanup. Adopt shared test mocks and keep unused internal types private for current audit compatibility.
Summary
Adds the shared Oracle Fusion foundation used by sibling product integrations without registering or advertising any product service.
Oracle addressing/protocol stabilization and bounded mutations remain separate commits for independent review.
Product-specific services, blocks, routes below the family root, schemas, selectors, registrations, operations, and documentation remain child-owned. Downloads, binary bodies, streaming, automatic pagination, mutation retries, arbitrary transport inputs, and async-job infrastructure are intentionally excluded.
Fixes: N/A
Type of Change
Testing
Reviewers should focus on fixed-origin and family-root enforcement, exact identifiers, mutation serialization/header constraints, retry/deadline behavior, and product-neutral protocol invariants.
Checklist
Screenshots/Videos
Not applicable. This foundation does not add a product UI surface.