feat(FN-5204): add test mode activation across settings, engine, and dashboard

- Add core settings schema/types support for testMode with model-resolution override handling
- Enforce engine session lane overrides in test mode with targeted helper coverage
- Add dashboard settings toggle plus persistent test-mode banner and related component tests
- Update settings documentation and parity/roundtrip tests for the new test mode behavior
This commit is contained in:
Fusion (runfusion.ai)
2026-05-22 00:15:14 -07:00
committed by gsxdsm
parent fbf7e2cb4d
commit 9c2b61eec6
23 changed files with 557 additions and 73 deletions

View File

@@ -4522,6 +4522,23 @@ export function SettingsModal({
<small>When enabled, tasks that pass review are automatically merged into the main branch</small>
</details>
</div>
<div className="form-group">
<label htmlFor="testMode" className="checkbox-label">
<input
id="testMode"
type="checkbox"
checked={form.testMode === true}
onChange={(e) =>
setForm((f) => ({ ...f, testMode: e.target.checked }))
}
/>
Enable test mode
</label>
<details className="settings-option-details">
<summary>More details</summary>
<small>Forces all AI lanes to use the deterministic mock provider. No network calls, zero token cost.</small>
</details>
</div>
<div className="form-group">
<label htmlFor="workflowRevisionForkOnScopeMismatch" className="checkbox-label">
<input