Skip to content

fix: probe Vertex AI's prediction endpoint for the API status - #30

Merged
insertt merged 1 commit into
mainfrom
fix/vertex-api-probe
Dec 2, 2026
Merged

insertt merged 1 commit into
mainfrom
fix/vertex-api-probe

Conversation

@insertt

@insertt insertt commented Dec 2, 2026

Copy link
Copy Markdown
Owner

With Vertex AI the API status probed the bare host with a GET, which a
network policy that allows only prediction requests blocks, so the API
showed as blocked although the agent worked. The launch check and the
status line now send an empty POST to the rawPredict endpoint of the
configured project and region instead; without a token Vertex answers
401, which counts as reachable.


Checked locally on stable Rust: cargo fmt --check, cargo clippy --all-targets --locked (with -D warnings) and cargo test --locked pass.

With Vertex AI the API status probed the bare host with a GET, which a
network policy that allows only prediction requests blocks, so the API
showed as blocked although the agent worked. The launch check and the
status line now send an empty POST to the rawPredict endpoint of the
configured project and region instead; without a token Vertex answers
401, which counts as reachable.
@insertt insertt closed this Dec 2, 2026
@insertt insertt reopened this Dec 2, 2026
@insertt
insertt merged commit 16c16b2 into main Dec 2, 2026
10 checks passed
@insertt
insertt deleted the fix/vertex-api-probe branch December 2, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant