Files
MyIP/tests
jason5ng32andClaude Opus 5.5 f81fce0c02 Fix(datasets): roll back a publish a timeout cuts short; skip only on a lost lock
publish took the combined signal (caller timeout + lock loss) and treated
any abort as a lost lock, so a scheduled or boot timeout firing between
renames skipped the rollback and cleanup while this process still held the
lock, leaving a mixed set and .next / .bak files. The combined signal still
cancels, but only the lock's own signal now stops rollback and cleanup.
Once every rename is done, only a lost lock keeps the version from being
recorded, so a timeout landing after a complete publish no longer forces a
re-download.

The lock-loss test now trips the engine's real onCompromised handler; a
new test covers the timeout path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CauPFca6bYL9qpuYEmsU9H
2026-10-05 01:45:45 +00:00
..
2026-07-16 16:19:30 +08:00
2026-09-18 10:00:47 +08:00
2026-09-24 09:37:12 +08:00
2026-07-21 22:29:05 +08:00
2026-09-29 16:00:44 +08:00
2026-08-15 01:05:00 +08:00
2026-08-16 15:29:00 +08:00
2026-06-08 11:43:35 +08:00
2026-07-13 22:56:56 +08:00
2026-07-17 15:11:28 +08:00
2026-06-07 01:10:11 +08:00
2026-08-09 09:08:26 +08:00
2026-09-26 17:02:59 +08:00
2026-09-24 09:37:12 +08:00
2026-07-21 22:29:05 +08:00
2026-09-21 23:11:43 +08:00