agent-ecosystem/test/main
777genius f79ea145d7 perf: batch per-member task-interval resume into one locked pass
During launch the live-status loop resumes every alive member every audit cycle.
resumeActiveIntervalsForMember runs a synchronous file-lock + full read of every
task file, so for an N-member team with M task files it did N locked passes x M
readFileSync per cycle (e.g. 6 members x 20 task files), blocking the main event
loop. Profiling a 6-member mixed launch showed mutateTeamTasks/withFileLockSync as
a top main-thread cost (~14%).

Add resumeActiveIntervalsForMembers that applies the identical per-member resume
logic against a member set in a single locked pass, and use it in the live-status
loop. Same mutations, but one lock + task read per cycle instead of one per member.
Adds a test covering multi-member resume in one pass.
2026-05-30 10:02:01 +03:00
..
build chore: checkpoint existing workspace changes 2026-05-23 13:48:35 +03:00
features perf: include process table usage metrics 2026-05-29 12:34:13 +03:00
http feat(team): improve runtime provider workflows 2026-05-17 19:11:26 +03:00
ipc fix(startup): serialize provider runtime checks 2026-05-26 09:12:05 +03:00
services perf: batch per-member task-interval resume into one locked pass 2026-05-30 10:02:01 +03:00
utils fix(provenance): classify synthetic user turns 2026-05-26 23:51:17 +03:00
sentry.test.ts chore: checkpoint frontend workspace updates 2026-05-18 01:57:16 +03:00