mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 06:43:06 +00:00
O events.watch serializa o expiration (int64 epoch ms) como string JSON; o client tipava number|null e o motor lancava RangeError: Invalid time value no new Date(...).toISOString(), gravando pushChannelError sem persistir o canal. - parseGoogleWatchExpiration (borda do client) normaliza string|number para number|null com teto do range do Date; malformado cai no fallback de PUSH_CHANNEL_TTL_SECONDS, nunca lanca. - pushChannelError ganha a causa do fetch (error.cause) preservada no teto de 500 chars. - Unit: stub de transporte modela /watch (string real) + matriz do parser; int: caminho number->ISO, fallback null->now+TTL e causa. Closes #1009 |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| helpers | ||
| int | ||
| unit | ||