Repository navigation
chore(deps): upgrade dart_agent_core to 2.1.6 - #465
Merged
Merged
Conversation
PR AI Review / PR AI 语义预检中文
AI 语义预检未得到可解析结果,需要 maintainer 人工审核。 影响范围
黄金链路
风险项
测试缺口
English
AI semantic review did not return a parseable result; maintainer review is required. Affected Areas
Golden Path
Findings
Test Gaps
|
PR Preflight Summary / PR 预检汇总中文
English
PR Policy Preflight / PR 规则预检PR Policy Preflight / PR 规则预检中文
未发现确定性规则问题。 English
No deterministic policy findings. PR Flutter Quality / Flutter 质量预检PR Flutter Quality / Flutter 质量预检中文
English
Flutter Analyzer Baseline
No new analyzer issues introduced by this PR. Flutter Test Baseline
No new Flutter test failures introduced by this PR. |
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.
What changed
Upgrade
dart_agent_corefrom 2.1.5 to 2.1.6, the latest stable release returned by the pub.dev API on 2026-09-16. Update the minimum compatible constraint to^2.1.6and regenerate the lockfile; no other locked dependency changes.Add a child-runtime regression verifying that an empty model response can retry with one committed turn remaining and that the successful response survives Memex state persistence. Extend the existing failed-child test to verify that the failure diagnostic is persisted and restored through
loadOrCreateAgentState.Why
The upstream patch release fixes shared cancellation propagation, failure lifecycle/state reporting, retry turn accounting, content-only responses, and several provider/MCP edge cases. Memex's existing agent APIs remain compatible. The added regressions exercise retry accounting and persisted error diagnostics through the actual Memex child runtime with a scripted LLM and temporary workspace.
Type of change
Risk areas
This updates the shared agent runtime used by multiple agents and providers. No application implementation, UI, schema, permissions, or authentication configuration changes are included.
Screenshots or recordings
Not applicable: no UI changes.
Test plan
Added/updated unit/integration coverage in
test/agent/super_agent_child_test.dartfor retry-budget preservation and persisted child failure diagnostics.Widget tests not added: no UI or interaction changes.
flutter pub get— resolved 2.1.6; onlydart_agent_corechanged in the lockfile, with the published archive checksum.Targeted tests: 55 passed, using this exact command:
flutter test --no-pub --reporter expanded test/agent/super_agent_child_test.dart test/agent/super_agent_harness_test.dart test/agent/agent_tool_error_result_test.dart test/agent/state_util_test.dart test/data/services/super_agent_chat_turn_resume_test.dartflutter analyze --no-pub --no-fatal-infos --no-fatal-warnings --no-congratulate --write /tmp/memex-core-upgrade-analyze.txt— exit 0, no errors; 157 warning/info findings, matching the local baseline count before this upgrade. GitHub CI performs the exact base/head comparison.git diff --check.Full
flutter test: delegated to the repository's PR Flutter Quality CI. Local elevated full-suite execution was rejected earlier in this session by automatic approval review; narrowly scoped tests and static analysis are permitted. No local full-suite pass is claimed.Manual iOS/Android checks: not run; this patch-level dependency upgrade was validated with scripted clients and temporary files, not a device or live model service.
Contributor checklist
CONTRIBUTING.md.*.g.dartfiles manually.