Skip to content

Add telemetry batch flush threshold tests (#10)#61

Open
albertoblancas123 wants to merge 2 commits into
Saiaaax:mainfrom
albertoblancas123:codex/telemetry-batch-tests-20260709155709
Open

Add telemetry batch flush threshold tests (#10)#61
albertoblancas123 wants to merge 2 commits into
Saiaaax:mainfrom
albertoblancas123:codex/telemetry-batch-tests-20260709155709

Conversation

@albertoblancas123

Copy link
Copy Markdown

Summary

Adds focused frontend telemetry tests for batch flush behavior and documents the tested batching rules in the operations guide.

Changes

  • Added frontend/src/services/telemetry.test.ts covering threshold flush, page unload flush, partial batch preservation, and queue reset after flush.
  • Added npm run test:telemetry script.
  • Documented telemetry batching behavior in docs/OPERATIONS.md.
  • Included diagnostic build artifacts from python build.py -m frontend --verbose.

Testing

  • node --experimental-strip-types src/services/telemetry.test.ts ? passed
  • python build.py -m frontend --verbose ? diagnostic artifact generated; frontend build currently fails on existing React Router type errors unrelated to this telemetry test change.

Closes #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[$10 BOUNTY] [TypeScript] Add telemetry batch flush threshold tests

1 participant