Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Collaborator
Author
|
Validated 2026-10-01 at 3122f1f (port content) + 546a398 (lint companion):
|
Finesssee
added a commit
that referenced
this pull request
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port upstream 0.64.0 Devin manual authentication guidance (steipete#3694):
Bearer ...value, or a fullAuthorization: Bearer ...line is normalized to the bearer token (manual_bearer_token), with case-insensitive prefix handling and whitespace tolerance; missing/empty values now produce actionable guidance (DevTools → Network → Usage & Limits → copyAuthorization).DEVIN_AUTHORIZATIONfor the token,DEVIN_ORGANIZATIONfor the org (both fall through in the existing resolution order); blank values are ignored.https://app.devin.ai/org/<org>/...,https://devin.ai/organizations/<org>/etc. are normalized, but only fordevin.ai/*.devin.aihosts — non-Devin URLs pass through unchanged and fail auth as before.x-cog-org-idheader and the paste workflow; auth failures now also cover 403 (in addition to 401) before non-auth statuses are considered.docs/PROVIDERS.mdgains a "Devin manual authentication" section (Windows: no Chrome-session import).Validation (at 3122f1f + lint companion 546a398, toolchain clippy 1.96):
cargo fmt --all— pass.cargo test --manifest-path rust/Cargo.toml— full suite pass, 0 failed / 1 ignored (includes new tests: pasted-authorization normalization, missing-token guidance, devin.ai-only URL normalization, mockito round-trip asserting theauthorization: Bearer fixture-tokenandx-cog-org-id: org_TJ2demoheaders onGET /org_TJ2demo/billing/quota/usage).cargo clippy --manifest-path rust/Cargo.toml --all-targets -- -D warnings— pass. The companion commit fixes three pre-existing lint sites (alibabatokenplanmanual_range_contains, kiro + openainonminimal_bool) that clippy 1.96 flags identically onorigin/main; no behavior change.port/micro-0.64.0-devin-paste-guidance546a398;docs/PROVIDERS.md+ provider backend only, no UI surface — browser-use UI proof not applicable.