Skip to content

feat: delete_object and delete_objects#175

Merged
kessplas merged 3 commits into
stagingfrom
tonyknap/feat-delete-object-2
Apr 21, 2026
Merged

feat: delete_object and delete_objects#175
kessplas merged 3 commits into
stagingfrom
tonyknap/feat-delete-object-2

Conversation

@texastony

@texastony texastony commented Apr 16, 2026

Copy link
Copy Markdown

Implement delete_object per the spec requirement that DeleteObject MUST
delete both the given object key and its associated instruction file.

Accepts an optional InstructionFileSuffix kwarg (default ".instruction")
mirroring get_object's per-request suffix pattern.

Implement DeleteObjects on S3EncryptionClient per spec requirements:

  • DeleteObjects MUST delete each of the given objects
  • DeleteObjects MUST delete each of the corresponding instruction files
    using the default instruction file suffix

Uses two separate delete_objects calls (objects, then instruction files)
to preserve the S3 1,000-key limit for callers and keep the response
clean. Follows the same pattern as the existing delete_object method.

Closes #158

Implement delete_object per the spec requirement that DeleteObject MUST
delete both the given object key and its associated instruction file.

Accepts an optional InstructionFileSuffix kwarg (default ".instruction")
mirroring get_object's per-request suffix pattern.
@texastony texastony changed the base branch from main to staging April 16, 2026 19:05
Implement DeleteObjects on S3EncryptionClient per spec requirements:
- DeleteObjects MUST delete each of the given objects
- DeleteObjects MUST delete each of the corresponding instruction files
  using the default instruction file suffix

Uses two separate delete_objects calls (objects, then instruction files)
to preserve the S3 1,000-key limit for callers and keep the response
clean. Follows the same pattern as the existing delete_object method.
@texastony texastony changed the title Tonyknap/feat delete object 2 feat: delete_object and delete_objects Apr 16, 2026
@texastony texastony marked this pull request as ready for review April 16, 2026 19:10

@kessplas kessplas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the existing unit tests we should also have integration tests for delete_object(s).

@kessplas kessplas merged commit 515aa4b into staging Apr 21, 2026
6 checks passed
@kessplas kessplas deleted the tonyknap/feat-delete-object-2 branch April 21, 2026 00:13
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.

Implement DeleteObject(s)

2 participants