Skip to content

ategcs: recognize every S3 "not there" as object absence - #1135

Open
Troy Chiu (troychiu) wants to merge 1 commit into
agent-substrate:mainfrom
troychiu:split/1-s3-object-absence
Open

ategcs: recognize every S3 "not there" as object absence#1135
Troy Chiu (troychiu) wants to merge 1 commit into
agent-substrate:mainfrom
troychiu:split/1-s3-object-absence

Conversation

@troychiu

@troychiu Troy Chiu (troychiu) commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Towards #372

Recognize any HTTP 404 response (including bare 404s and NoSuchBucket) in addition to typed NoSuchKey errors as object absence in the S3 client, mapping them to ateerrors.ReasonFailedGetExternalObject. This ensures consistent absence classification across AWS S3 and S3-compatible endpoints (e.g., MinIO, R2, Ceph). HTTP 403 (AccessDenied) remains an unclassified error.

AI has assisted with this PR but I have verified all the changes.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

@troychiu
Troy Chiu (troychiu) marked this pull request as ready for review August 22, 2026 00:18
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