seanghaeli opened a new pull request, #66972:
URL: https://github.com/apache/airflow/pull/66972

   ## Summary
   Fix the `example_s3_tables` system test by replacing the empty policy 
statement with a dynamically-built valid one.
   
   The S3 Tables `PutTableBucketPolicy` API rejects:
   - Empty `Statement` arrays (malformed)
   - Public policies (`Principal: *`)
   
   Added a `@task` that builds the policy at runtime using 
`sts:GetCallerIdentity` to get the account ID, producing a valid non-public 
policy.
   
   ## Test plan
   - [x] Ran system test against this branch — passes (build `7fe776b1`)
   - [x] Verified no hardcoded account IDs in the code
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.6)
   
   Generated-by: Claude Code (Opus 4.6) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to