Skip to content

fix(indexer,e2e): halt on unsupported event schema; stabilise layout snapshots - #839

Closed
UltimateUser1 wants to merge 1 commit into
Hel-Phone:mainfrom
UltimateUser1:fix/issues-757-747-756-version-gate-snapshots-dao
Closed

UltimateUser1 wants to merge 1 commit into
Hel-Phone:mainfrom
UltimateUser1:fix/issues-757-747-756-version-gate-snapshots-dao

Conversation

@UltimateUser1

Copy link
Copy Markdown
Contributor

Summary

Two independent fixes for P0 spikes:

#757: event schema version gate

Events that declare a schemaVersion the parser does not support now throw UnsupportedSchemaError instead of silently dropping unknown fields. The supported set is SUPPORTED_EVENT_SCHEMA_VERSIONS in server/indexer/parser.ts. Events without a declared version keep the existing decode path, so current indexing is unaffected.

#747: deterministic layout snapshots

tests/e2e/layout.spec.ts now freezes CSS animations and transitions before capture, and masks live map canvases alongside the existing video mask, so tile and pin re-rasters no longer change the diff.

Not covered

Closes #757
Closes #747

…el-Phone#757, Hel-Phone#747)

- parser: events declaring an unsupported schemaVersion throw instead of
  silently dropping fields; undeclared versions keep the legacy path.
- layout e2e: freeze CSS animations and mask live map canvases so
  screenshot diffs no longer depend on tile and animation timing.
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@UltimateUser1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

1 participant