hermes-agent/apps/desktop/e2e
Teknium b29ee6a650 test(desktop): give the auto-compaction E2E real headroom over threshold_tokens
The 'queues an Enter-submitted draft while compaction is active' test
pastes a large message to push the session over the fixture's 22k
threshold_tokens. At repeat(500) the payload is only ~4k tokens — the
other ~18k came from the ambient system prompt (tool schemas + skills
index + memory), leaving the trigger margin-less. The hermes-agent
skill hub restructure (e3d524b482) shrank the bundled skills index by
~160 tokens and dropped the total just under threshold: compaction never
started, waitForHeldCompletion() hung, and the test timed out at 90s on
every branch since — including main (first red run: 9a4d1a0130).

Bump the payload to repeat(1500) (~12.4k tokens, total ~30k) so the
test crosses the threshold on its own weight with ~8k tokens of margin,
and document the invariant so the next prompt-weight change doesn't
resurrect this.
2026-07-23 21:05:35 -07:00
..
boot-failure.spec.ts
boot.spec.ts
chat.spec.ts
correction-session-switch.spec.ts
fix-electron-tracing.ts
fixtures.ts
hidden-history-messages.spec.ts
interim-messages.spec.ts
large-session-resume.spec.ts
launch-packaged-app.spec.ts
mock-backend-setup.spec.ts
mock-server.ts
onboarding.spec.ts
queue-turn-boundary.spec.ts
real-session-builder.ts
session-compression-and-queue-stop.spec.ts
sidebar-states.spec.ts
submit-drift.spec.ts
test.ts
tile-unread-bug.spec.ts
visual-snapshot.ts
warm-resume-jitter.spec.ts
worktree-branch-status.spec.ts