chore(release): verify integrated 1.16 queue - #2517
Conversation
Rebuilds #2392 from @mimran-khan against the current retry runtime.
Co-authored-by: octo-patch <266937838+octo-patch@users.noreply.github.com>
Co-authored-by: ndgigliotti <12902796+ndgigliotti@users.noreply.github.com>
Co-authored-by: Steeveyboy <43120807+Steeveyboy@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
instructor | 0980b3d | Commit Preview URL Branch Preview URL |
Aug 08 2026, 08:26 PM |
|
Combined GitHub verification is complete at All workflows pass:
The umbrella remains draft and must not be merged while exact |
|
Versioned follow-up #2518 is now fully green at |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit 0980b3d. Configure here.
| _extract_bedrock_text(response), | ||
| context=validation_context, | ||
| strict=strict, | ||
| ) |
There was a problem hiding this comment.
JSON schema skips reasoning strip
Medium Severity
Mode.JSON_SCHEMA validates the raw Bedrock text payload, while Mode.MD_JSON now runs the same text through extract_json_from_codeblock to take the final JSON after reasoning or <think> content. When a model returns thinking plus JSON in one text block, JSON schema parsing can fail or validate the wrong span even though MD JSON succeeds for the same response shape.
Reviewed by Cursor Bugbot for commit 0980b3d. Configure here.


Purpose
This PR consolidates the six independently reviewed and fully green 1.16 maintenance PRs into one integration merge while preserving their commit history.
Jason approved the fold-forward release history on 2026-08-09: standalone 1.15.5 will not be published, and its changelog will be folded into 1.16.0 by follow-up #2519. This PR lands the runtime, tests, dependency constraints, and contributor documentation; #2519 supplies the audited final 1.16 version metadata and changelog.
Components
The branch starts from exact
origin/main1454af92b4012e679d8156ff4d16953301714e2eand applies those commits in that order. Conflict resolution was limited to additive changelog entries, preserving Mistral<3with Bedrockboto3>=1.42.42, and retaining both Bedrock test groups.Linked cleanup
Superseded source PRs closed: #2086, #2287, #2298, #2307, #2354, #2392.
Issues to close after this merge: #2056, #2076, #2084, #2365, #2391.
Held outside 1.16: provider additions #2283, #2306, #2322, #2384, #2423, #2435; architecture stack #2355-#2357; dependency batch #2433; mode policy #2394; memory/security product work #2321 and #2405; Bedrock auth #2409; product examples #2311 and #2468.
Validation
ty,uv lock --check, install/export checks, all pre-commit hooks, andgit diff --check: passNo tag, GitHub release, PyPI publication, deployment, or social post is performed by this merge.
Note
Medium Risk
Touches core v2 retry/patch paths, Bedrock Converse request shapes, and validator prompt handling across providers; behavior is well-tested but spans security-sensitive validation and provider compatibility boundaries.
Overview
This merge folds six reviewed 1.16 maintenance PRs into one integration branch ahead of 1.16.0 metadata in follow-up work. Runtime and docs change; version/changelog publication stays separate.
Bedrock adds native
Mode.JSON_SCHEMAandMode.TOOLS_STRICT(ConverseoutputConfig/ strict tools), recursive strict schema normalization, boto3 ≥1.42.42, and fixes for reasoning-prefixed JSON and non-mutating reask/message prep.Retries introduce cumulative
token_budgetfor structured non-streaming validation retries,completion:usagehooks, immutable usage snapshots on_total_usage, andTokenBudgetExceeded/TokenUsageUnavailableErrorwhen budgets cannot be enforced safely (xAI explicitly rejectstoken_budget).Mistral loads
mistralai.client.Mistralon 2.x (Python 3.10+) with 1.x fallback on 3.9; dependency range widens tomistralai<3.Security:
llm_validatorsends rules and candidates as JSON with a fixed system instruction and raisesValueErrorinstead of assertions.Contributor/docs updates point repo links to
567-labs/instructorand standardize onuv sync/uv runworkflows.Reviewed by Cursor Bugbot for commit 0980b3d. Configure here.