supertag-cli
supertag-cli copied to clipboard
Delta sync aborts on 2.6.0: Tana `edited.since` now appears to expect milliseconds
On supertag 2.6.0 (Windows), supertag sync index --delta aborts with "the Local API returned 100 nodes edited since now". The filter does not seem to be ignored: the unit seems to be the problem.
Tested with the search_nodes tool of Tana's local MCP server (limit 100), whose schema describes edited.since as "Milliseconds timestamp":
- now, in ms: 0 nodes
- 1 hour ago, in ms: 5 nodes, all recently edited
- now, in seconds: long list up to the limit
- 1 hour ago, in seconds: long list up to the limit
assertSinceHonored and fetchChangedNodes in src/services/delta-sync.ts send seconds, which would be read as January 1970. This reverses the finding in v2.5.6, and the probes in #105 and #85 only used seconds values.
I tested the MCP tool, not the REST /nodes/search endpoint directly, so this needs confirming there.