Expand test coverage across server, agent, and web; fix bugs found during audit.

Adds hundreds of unit/integration/e2e tests, fixes WS bcrypt auth, config merge, fleet analytics, agent schedule/log tail, and documents stale PROBLEMS items. Updates PROBLEMS.md, README, and test scripts; ignores local spread-kits and coverage dirs.
This commit is contained in:
AetherForge
2026-05-31 01:13:49 -07:00
parent 159747877c
commit ea6f54ad03
89 changed files with 5307 additions and 322 deletions

View File

@@ -635,6 +635,20 @@ export default function BuilderPage() {
fusionPrepFile,
]);
// Cancel any in-progress server-side build when the component unmounts
// (e.g. user navigates away mid-forge). This closes the M14 UI desync where
// the server kept compiling after the Forge page was left.
useEffect(() => {
return () => {
const tok = cancelTokenRef.current;
if (tok) {
api.cancelBuild(tok).catch(() => {});
cancelTokenRef.current = '';
}
batchCancelRef.current = true;
};
}, []);
if (loadingDefaults) {
return (
<div className="page fade-in command-deck">