Skip to content

Grade the crates against the new object-tests cases - #34

Merged
tiptenbrink merged 6 commits into
masterfrom
object-tests-coverage
Sep 26, 2026
Merged

tiptenbrink merged 6 commits into
masterfrom
object-tests-coverage

Conversation

@tiptenbrink

@tiptenbrink tiptenbrink commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Moves grade.sh to object-tests master, which now has the new cases (borink-org/object-tests#3), and updates the adapter to match:

  • A call field that the adapter does not map makes the case unsupported, so no request is sent without something the case asked for.
  • An operation the crate lacks (copy, leases, tiers, tags, append and page blobs, containers, batch delete) is reported as a crate limitation.
  • A read declares the response headers that the crate does not read (Content-MD5, Content-Language, Content-Disposition, Cache-Control) as unsupported fields.

expected-unsupported.json names whole categories with patterns, such as operations/s3/* and operations/azure*/lease-*, and the response headers the crate does not read with field entries, such as field:/value/content_md5_base64. That cuts it from 535 entries to 70. With #35 merged in, the crates pass every case they support, including the lease cases, and grade.sh reports no mismatch.

object-tests master builds its example adapter from a commit on this branch, so merge with a merge commit, which keeps that commit reachable.

…rts a call field it does not map, an operation the crate lacks and a response header the crate does not read as unsupported, and the list records those cases; the four cases where Azure answers a leased blob with 412 LeaseIdMissing stay wrong, since the crate treats that answer as a fault.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
tiptenbrink and others added 5 commits September 26, 2026 14:56
… names one.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…se cases, which the crates now pass.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ry S3 case and every lease operation, which cuts the list from 535 entries to 121. Grade against the object-tests revision that reads those patterns and credits a range decline only when the adapter names the range.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…he crate does not read by field, not by case, which cuts the list to 70 entries. Grade against the object-tests revision that reads field entries.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@tiptenbrink
tiptenbrink merged commit a87b1b0 into master Sep 26, 2026
14 checks passed
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