Skip to content

test(live): assert the Disk facts a two-way sync builds on - #13

Merged
leemour merged 4 commits into
mainfrom
test/live-mirror-probes
Nov 18, 2026
Merged

leemour merged 4 commits into
mainfrom
test/live-mirror-probes

Conversation

@leemour

@leemour leemour commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Two-way folder sync (next feature) needs four facts that Yandex's API docs leave open. Probed on the test account on 2026-11-18:

  • the Disk sha256 equals the sha256 of the file's content;
  • an upload with overwrite=true keeps the file's resource_id;
  • the Disk revision (GET /v1/disk) moves with each write, so a watch can poll it before listing;
  • DELETE ?md5=<wrong> is refused with 409 and the file stays.

The live check now asserts them, so a change at Yandex fails the release check instead of the sync.

Also: bin/live skips the check when the version already has a record, so #12's folders browse step had not run against the Disk. It ran in this PR's live check and passed.

🤖 Generated with Claude Code

Conformance

  • Live check: 0.2.0 9004287f2fdc84b3524652352915d5cb6382955a 2026-11-18 scripts/live.sh v2:00ba1ad80aabdce948b0c64f2a6a29a54ca74e78c356462c78ade3240570392a

leemour and others added 4 commits November 18, 2026 15:01
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The probes showed on the test account: the Disk's sha256 is the content's, a replacing upload keeps the
resource_id, the Disk revision moves with each write, and a delete with a wrong md5 is refused with 409.
Yandex's docs leave all four open; the sync design relies on them, so the release check now asserts them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 7c4bc5a into main Nov 18, 2026
17 of 18 checks passed
@leemour
leemour deleted the test/live-mirror-probes branch November 18, 2026 14:08
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.

1 participant