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 fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
boot.spec.ts fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
chat.spec.ts fix(desktop): show steer glyph in busy composer (#69612) 2026-07-22 23:29:38 +00:00
correction-session-switch.spec.ts fix(desktop): place steer messages before redirected replies (#69739) 2026-07-22 22:04:57 -04:00
fix-electron-tracing.ts fix(desktop): address review — overlay a11y, e2e typecheck, nits 2026-07-20 14:37:39 -04:00
fixtures.ts fix(desktop): queue prompts during context compaction (#69783) 2026-07-22 23:19:22 -04:00
hidden-history-messages.spec.ts fix(timeline): persist typed display events (#69771) 2026-07-23 14:46:24 -04:00
interim-messages.spec.ts test(desktop): add E2E coverage for session lifecycle (#69580) 2026-07-22 22:56:13 +00:00
large-session-resume.spec.ts fix(timeline): persist typed display events (#69771) 2026-07-23 14:46:24 -04:00
launch-packaged-app.spec.ts fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
mock-backend-setup.spec.ts fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
mock-server.ts fix(timeline): persist typed display events (#69771) 2026-07-23 14:46:24 -04:00
onboarding.spec.ts fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
queue-turn-boundary.spec.ts fix(desktop): split steer and queue keyboard shortcuts (#69797) 2026-07-23 00:13:58 -04:00
real-session-builder.ts fix(timeline): persist typed display events (#69771) 2026-07-23 14:46:24 -04:00
session-compression-and-queue-stop.spec.ts test(desktop): give the auto-compaction E2E real headroom over threshold_tokens 2026-07-23 21:05:35 -07:00
sidebar-states.spec.ts test(desktop): add E2E coverage for session lifecycle (#69580) 2026-07-22 22:56:13 +00:00
submit-drift.spec.ts test(desktop): cover submit drift through e2e (#69599) 2026-07-22 16:44:54 -04:00
test.ts fix: tool_calls double-encoding on import (#68856) 2026-07-21 18:53:05 +00:00
tile-unread-bug.spec.ts test(desktop): add E2E coverage for session lifecycle (#69580) 2026-07-22 22:56:13 +00:00
visual-snapshot.ts fix(desktop): link artifacts in E2E summary + upload all screenshots 2026-07-20 11:44:41 -04:00
warm-resume-jitter.spec.ts fix(timeline): persist typed display events (#69771) 2026-07-23 14:46:24 -04:00
worktree-branch-status.spec.ts fix(desktop): separate workspace defaults from live cwd (#69765) 2026-07-23 02:44:26 +00:00