Anurag-S1ngh opened a new pull request, #41721: URL: https://github.com/apache/beam/pull/41721
## Summary The Java Dataflow runner now checks the staging bucket lifecycle configuration when submitting a pipeline and warns when an age-based Delete rule can remove staged files. ## Changes - Check bucket lifecycle metadata just before staging artifacts. - Warn only for Delete rules with an age condition that apply to the staging prefix or the whole bucket. - Keep lookup failures at debug level so missing permissions never block submission. - Add unit coverage for matching prefixes, unrelated prefixes, empty rules, local paths, and lookup failures. ## Testing - `./gradlew :runners:google-cloud-dataflow-java:test` - `./gradlew :runners:google-cloud-dataflow-java:spotlessApply` - `./gradlew :runners:google-cloud-dataflow-java:checkstyleMain :runners:google-cloud-dataflow-java:checkstyleTest` Closes #18209 -- 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]
