Repository navigation
fix(credentials): report a refused host as the user's input, persist normalized account ids, cap Databricks reads - #9859
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
All reported issues were addressed across 8 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
[Medium impact] This PR appears safe to merge; no new actionable issues remain. SummaryThis PR corrects saved-credential errors and bounds Databricks response reads.
Both earlier, unnumbered findings are fixed: oversized identity replies stop the save, and interrupted token reads report a read failure instead of a size failure. No new actionable issues were found.
|
Drops the response cap and crawl depth (landed in #9860), CONTRIBUTING (#9860), Firecrawl search sources (on hold), Databricks JSON caps (#9859), and the workflow middleware and route-policies cleanups (#9858). Drops the NO_PROXY entry-syntax docs line (owned by a separate NO_PROXY change). Generated files regenerated on current staging.
|
@cubic-dev-ai review this PR |
@waleedlatif1 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 9 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
82cb3b7 to
e7bfe31
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 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 9 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
…normalized account ids, cap Databricks reads - A saved-credential check whose typed host the egress policy refuses (private address, plain http where https is required) now fails as invalid_credentials instead of provider_unavailable, which rendered as a retryable 503 - The stored account id is the validator's normalized value, matching how the domain is stored - Databricks token and identity responses are read through the capped JSON reader - Comparison data no longer says Sim can be built in code via an SDK
…ty reply, cite the CLI docs
…om an oversized one
dac87b7 to
cfdf4b7
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
configuredEndpoint/selfHostedServicechecks) now validate the host and fetch in two steps. A host the egress policy refuses (private address, plain http where https is required) fails asinvalid_credentials400 instead ofprovider_unavailable, which rendered as a retryable 503 for a refusal that never clears. Unknown hosts staysite_not_found; transport failures and transient DNS failures stayprovider_unavailableMeresponses are read through the capped JSON reader like the other credential checksType of Change
Testing
bunx vitest run lib/credentials/in apps/sim: 87 files, 772 tests pass, including new cases for a refused host (invalid_credentials) and an unreachable host (provider_unavailable)check:comment-hygiene,check:utilsChecklist
test-auditauthoring gate)