feat: release 2.1.0 with optional Flash final AI review
Default Flash final review to off and persist the setting across the UI, MCP, SDK and queued tasks. Keep execution separate from test verdicts. Bundle UI fonts and licenses to remove Google Fonts from startup builds. Align backend/frontend versions and document installation and upgrades.
This commit is contained in:
1 parent
b584dae80a
commit
83bcfd54d5
52 files changed
+898
-33
No files matched your search
@@ -74,6 +74,24 @@ async def test_config_requires_explicit_persistence_and_excludes_secrets(monkeyp
|
||||
assert payload["tool_fallback_model"] == "gpt-6-luna"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_config_can_save_flash_review_without_exposing_task_overrides(monkeypatch):
|
||||
request = AsyncMock(
|
||||
return_value={"flash_final_check_enabled": False, "recording_enabled": False}
|
||||
)
|
||||
monkeypatch.setattr(tools, "_request", request)
|
||||
await tools.mobile_config(
|
||||
section="capabilities",
|
||||
changes={"flash_final_check_enabled": True},
|
||||
persist_defaults=True,
|
||||
)
|
||||
assert request.call_args.args == ("POST", "/api/system/capability-settings")
|
||||
assert request.call_args.kwargs["json"] == {
|
||||
"flash_final_check_enabled": True,
|
||||
"recording_enabled": False,
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_preview_is_read_only_and_create_is_draft(monkeypatch, tmp_path):
|
||||
source = tmp_path / "cases.xlsx"
|
||||
|
||||
Reference in new issue
Block a user