Repository navigation
Release Meridian 1.7.15-beta - #317
Merged
Merged
Conversation
Rework the Docker publish workflow so pull requests only build images while only tag pushes publish them, sharing build cache through GHCR instead of the per-ref Actions cache. - Add a build-pr job (build only, no push, no cache export) and gate build-and-push to tag pushes; raise max-parallel to 5 for both. - Replace type=gha cache with a registry cache at ghcr.io/<lowercased-repo>/<image>:buildcache so cache survives across runs, using a trusted lowercased cache repository output and mode=max. - Keep PR and lint jobs read-only by disabling persisted checkout credentials and requesting only packages: read, with no GHCR login. - Install the pinned Camoufox browser through a build-only adapter that avoids release-list discovery, preventing GitHub API rate limits. - Add the offline cache probe, workflow policy tests, and a local min/max cache benchmark, and wire them into CI and run-tests.sh. - Document cache trust boundaries, rollback, and measured local results.
Add pytest 9.0.3 to the development dependencies so tests can be installed and run consistently in local and CI environments.
…igate-github-job-duration Split PR builds from tag publishing and use registry cache
Move every Python service (api, browser_service, sandbox_manager) and the sandbox worker image from 3.11 to 3.14, declaring the version once in .python-version so local tooling, CI, and containers stay aligned. - Bump Docker base images to python:3.14 with service-specific OS baselines (Trixie for api to keep Node compatibility, Bookworm for browser, sandbox manager, and sandbox worker). - Pin CI to .python-version via setup-python and include the file in the pip cache key so runtimes are selected before any Python step runs. - Add scripts/python-env.sh to create/validate virtualenvs and reject older or broken environments without deleting or upgrading them in place; wire Make, run-dev, run-linter, run-checks, and run-tests through it with API_VENV/BROWSER_SERVICE_VENV/SANDBOX_VENV overrides. - Update typecheck targets, mypy, and dev requirements to match, and adjust a few annotations that 3.14 type checking now enforces. - Add scripts/tests/test_python_runtime.py to keep runtime declarations, container baselines, CI ordering, and non-destructive env guards honest. - Run the Gemini bridge import smoke check in the API image build as the runtime user to catch Node bridge breakage early.
…e-python-version Upgrade all Python services to Python 3.14
Replace inline tool_call_context expansion with paired, typed history reconstructed from persisted tool records, so providers receive native call/result messages instead of model-written markup. - Add get_completed_tool_calls_for_history and build_tool_history to reconstruct assistant calls plus tool results, scoped by user, graph, node, model entry, and completed status. - Serialize history per provider: OpenAI-style call/result, Anthropic tool_use/tool_result, Responses and Codex function_call/output, and Gemini functionCall/functionResponse without inventing signatures. - Label escaped tool data as non-instruction user context for prompt-only SDKs (Claude Agent, GitHub Copilot) instead of elevating it to system. - Preserve final answers by cleaning reserved legacy spans, with matching cleanup in the UI so raw context never reaches rendered output. - Keep reduced/presentation history free of synthetic tool pairs and add offline regression coverage for mapping, consumers, and UI cleanup.
…ol-call-rewrite Replay persisted tool calls as native history pairs
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.
Meridian 1.7.15-beta
Meridian
1.7.15-betaimproves how follow-up conversations retain tool results, keeps legacy tool-context markup out of chat, and upgrades Python services and sandbox execution to Python 3.14. This release also separates pull-request image checks from publishing and updates shared build caching.Highlights
Tool Results in Follow-Up Conversations
Completed tool calls can now return to model history as paired calls and results rather than being embedded in assistant prose.
Cleaner Chat History
Reserved legacy tool-context blocks stay out of rendered replies and derived conversation text.
Updated Runtime and Image Builds
Python services and sandbox workers now use Python 3.14, with build checks aligned to that runtime.
Self-Hosting and Upgrade Notes
Meridian
1.7.15-betarequires Python 3.14 for source-based Python environments and changes the Python runtime used by sandbox code. It adds no database schema migration, configuration keys, or secrets.1.19.1across Python services and add pytest9.0.3to the API development environment. Application dependency manifests and frontend lockfiles are unchanged.