feat(oci): add native Vision integration - #7554
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
GitHub validation dispatched for current head |
Greptile SummaryAdds a native OCI Vision integration spanning workflow configuration, ten executable tools, three resource selectors, credential registration, generated metadata, documentation, and deployment configuration.
Confidence Score: 5/5The PR appears safe to merge, with no outstanding correctness, security, or repository-rule findings. The const-assertion requirement is fully addressed at the current revision, and the manually resolved output-prefix thread required no code change after Greptile conceded that the documented behavior does not bypass OCI or workspace authorization.
|
| Filename | Overview |
|---|---|
| apps/sim/blocks/blocks/oci_vision.ts | Defines the OCI Vision workflow block and now const-asserts fixed operation arrays while copying them where mutable condition arrays are required. |
| apps/sim/lib/internal/oci-vision/operations.ts | Implements bounded OCI Vision and Object Storage operations, including analysis, job management, discovery, and output retrieval. |
| apps/sim/lib/internal/oci-vision/image-input.ts | Validates authorized Sim image inputs and enforces supported image constraints. |
| apps/sim/lib/internal/oci-vision/normalizers.ts | Projects provider responses into bounded typed workflow outputs with explicit truncation metadata. |
| apps/sim/lib/selectors/server/providers/oci-vision.ts | Implements authorized, filtered OCI Vision project and model selectors. |
| apps/sim/tools/oci_vision/index.ts | Exports the ten OCI Vision tool definitions registered by the integration. |
| apps/sim/tools/oci_vision/download_image_job_output.ts | Defines bounded output download behavior that returns an OCI object as a Sim UserFile. |
| apps/sim/lib/internal/oci-vision/operations.test.ts | Covers provider contracts, limits, pagination, projections, job behavior, and output scoping. |
| apps/docs/content/docs/integrations/oci_vision.mdx | Documents all OCI Vision operations, inputs, outputs, limits, retry behavior, and output-prefix semantics. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
Block[OCI Vision workflow block] --> Tool[Registered OCI Vision tool]
Selector[Project and model selectors] --> Vision
Tool --> Operation[Trusted in-process operation]
Operation --> Auth[Resolved OCI signing credential]
Auth --> Vision[OCI Vision API]
Vision --> Result[Bounded normalized workflow output]
Operation --> Storage[OCI Object Storage]
Storage --> File[Authorized Sim UserFile]
Reviews (4): Last reviewed commit: "feat(oci): add native Vision integration" | Re-trigger Greptile
43e830b to
343e8a1
Compare
343e8a1 to
b8a6277
Compare
|
@greptile Please review b8a6277. The latest changes only apply GitHub formatting suggestions; prior build and both independent test shards passed. Please consider the evidence in the resolved prefix thread: Oracle IAM remains the object authorization boundary, and these tools explicitly provide location-scoped reads without claiming exclusive job authorship. |
b8a6277 to
e461983
Compare
Summary
feat/oci-foundation; no foundation, executor, generator, or Object Storage child changes.Analysis and unkeyed job creation use one foundation attempt. A stable caller-supplied job retry token enables bounded tokenized retries; opt-in whole-block retries can replay paid analysis or duplicate unkeyed jobs. Job creation returns immediately, status reads do not poll, and cancellation only acknowledges the request. Output prefix membership does not guarantee exclusive job ownership when prefixes are reused.
Type of Change
Testing
e461983517e5586d9ba066c5fd5a5dbf1bf53ec2. All four jobs passed, including lint, repository audits, workspace type checking, all test shards, and app build. Greptile reports 5/5 for this exact revision; all review threads are resolved. Security and Vercel checks also passed. Cubic execution is excluded from the completion gate.Inspected revisions and API evidence
3fa59e758f5d282e95978aca7482a91a4f3dcee5(feat(oci): add native foundation #7444).e461983517e5586d9ba066c5fd5a5dbf1bf53ec2./20220125: official specification.8ed954762e04a3329b057f4f634ae193c924efb3.Review notes
Checklist