Skip to content

chore(ci): reconcile main into internal_staging to unblock promotion (#31384) - #31392

Merged
yuneng-berri merged 44 commits into
litellm_internal_stagingfrom
litellm_reconcile_main_into_staging_v2
Jun 26, 2026
Merged

chore(ci): reconcile main into internal_staging to unblock promotion (#31384)#31392
yuneng-berri merged 44 commits into
litellm_internal_stagingfrom
litellm_reconcile_main_into_staging_v2

Conversation

@yuneng-berri

Copy link
Copy Markdown
Collaborator

⚠️ MERGE THIS WITH "CREATE A MERGE COMMIT" — NOT SQUASH, NOT REBASE

The previous attempt (#31390) was squash-merged, which collapsed the two-parent
merge into a single commit and discarded the link to main — the one thing this
PR exists to create. As a result #31384 stayed CONFLICTING. This PR redoes it; it only
works if merged as a real merge commit so main is preserved as a second parent.

What this is

A history-reconciliation merge of main into litellm_internal_staging to unblock
the stuck promotion PR #31384 (staging → main, currently CONFLICTING).

This PR intentionally changes 0 files. Its only effect is to record main as an
ancestor of internal_staging. That is by design.

Why #31384 is conflicting

main is normally strictly behind internal_staging, so promotion should be trivial.
It isn't, because async-first Rust OCR was developed twice:

Same feature, two incompatible file layouts → every conflict in #31384 is in the OCR /
litellm-rust area.

Nothing is lost

internal_staging already contains a superset of every behavior the main-side
hotfixes added: async-first Rust OCR bridge + dispatch, the duplicate-Authorization-header
guard (identical tests present on staging), Fable 5 cost-map entries, and the README
AWS/GCP deploy buttons — all already on staging. The only main-only content is the
hotfix's now-obsolete registry-codegen scaffolding (crates/core/build.rs,
providers/provider.rs, provider_endpoints_support.json entries), which staging's
refactor replaced. This merge resolves in staging's favor, so the merged tree is
byte-identical to internal_staging.

Effect

After this lands as a merge commit, main becomes an ancestor of internal_staging, so
#31384 (staging → main) fast-forwards with zero conflicts and main ends up exactly
matching staging.

Verification

  • Merged tree byte-identical to litellm_internal_staging (0 files differ).
  • git merge-base --is-ancestor main HEAD → true (downstream staging → main is a clean fast-forward).
  • git merge-tree main HEAD → exit 0, no conflicts.

shin-berri and others added 30 commits May 13, 2026 22:37
[Infra] Promote internal staging to main
[Infra] Promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
Adds a quickstart for the two published Terraform modules on the public
registry (BerriAI/litellm/aws and BerriAI/litellm/google). Copy-paste
main.tf for each cloud, the one-time GCP Artifact Registry remote-repo
command, and pointers to the registry pages for the full input surface.

Sits inside the Get Started section, between the gateway/SDK table and
Run in Developer Mode -- where someone scanning the README for "how do I
deploy this" will land.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
GCP gets the real 1-click: Open in Cloud Shell badge that clones the repo
and walks through `terraform apply` via the existing DeployStack
tutorial (already shipped at terraform/litellm/gcp/examples/default/
TUTORIAL.md). User just picks a project.

AWS gets a soft 1-click: a Launch in AWS CloudShell badge that opens an
in-browser, already-authenticated shell. User runs four commands
(clone + cd + cp tfvars + terraform apply) once inside. There's no
native AWS deeplink that pre-clones a repo + runs a tutorial -- CFN
"Launch Stack" + CodeBuild would be needed for that, and that's a
separate piece of work.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…on font

GitHub rewrites an image's height attribute to "height: auto; max-height: Npx", which only caps and never stretches, so each image renders at its intrinsic height. The AWS/GCP shields badges are intrinsically 28px while the Render/Railway buttons are 40px, leaving the row uneven regardless of the height="48" we set. Replace the two shields badges with committed 40px PNGs so all four header buttons render at the same 40px.

Also swap the Cloud Shell button from open-btn.svg to open-btn.png. The SVG renders its label as live text with font-family "Roboto, Sans" and no generic fallback; since neither font exists in GitHub's render environment, the text fell back to a serif (Times New Roman). The PNG bakes in the correct typeface.
The Railway button wrapped its img across indented lines, so the anchor contained leading and trailing whitespace. GitHub underlines link content, rendering that whitespace as a small blue underline beside the button. Put the anchor on one line like the other three buttons so there is no inner whitespace to underline.
Backports only the model map changes from #30064 so deployments on
released litellm versions pick up Fable 5 pricing, context window, and
the adaptive thinking flag through the hosted cost map fetch without
upgrading. Includes the supports_sampling_params flag on the 28
Fable 5 / Opus 4.7 / Opus 4.8 entries (ignored by released code, read
by the gating that ships with the next release) and the matching
one-line schema declaration so the map validation test passes.

https://claude.ai/code/session_01MZarYYT3aS7DxaNjoax6Gm
Add Claude Fable 5 cost map entries (data-only hotfix for the hosted map)
chore(ci): promote internal staging to main
chore(ci): promote internal staging to main
@greptile-apps

greptile-apps Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

No reviewable files after applying ignore patterns.

@CLAassistant

CLAassistant commented Jun 26, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 7 committers have signed the CLA.

✅ yuneng-berri
✅ mateo-berri
❌ shin-berri
❌ claude
❌ krrish-berri-2
❌ yassin-berriai
❌ ishaan-berri
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yuneng-berri yuneng-berri changed the title Merge main into internal_staging (reconcile OCR history; unblocks #31384) — MERGE COMMIT ONLY chore(ci): reconcile main into internal_staging to unblock promotion (#31384) Jun 26, 2026
@yuneng-berri
yuneng-berri merged commit 61e705a into litellm_internal_staging Jun 26, 2026
122 of 123 checks passed
@yuneng-berri
yuneng-berri deleted the litellm_reconcile_main_into_staging_v2 branch June 26, 2026 16:34
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.

9 participants