damccorm opened a new pull request, #41787:
URL: https://github.com/apache/beam/pull/41787
Note: this PR was auto-generated by tooling. Before moving it out of draft,
the author has done a full review of the PR, specifically evaluating it on the
following criteria:
- The PR is an appropriate fix for the issue (e.g. we're not changing a test
to avoid a bug)
- The PR is a simple fix to the issue (e.g. we're not adding infra when we
could just modify a test)
- The PR is not covering for other problems (e.g. if we're bumping timeouts,
it is not because we're covering for a performance problem)
Full details of the methodology of generation and review can be found here -
https://docs.google.com/document/d/14lj7ECVov4T4EdwmIzNlWrRGE3lLDMOwX5xUMGzaLoc/edit?usp=sharing
If you have concerns with the PR or with the underlying methodology used to
generate this, please comment below - they will be addressed by the author not
the tooling :)
## Summary
Prevents `Cancel Stale Dataflow Jobs` from canceling legitimate 1TB BigQuery
performance tests mid-cleanup, as seen in
https://github.com/apache/beam/actions/runs/45702639346
(`BigQueryIOReadIT.testBigQueryRead1T`, Dataflow job
`2026-11-25_13_25_51-2503633600144734919`), which had already completed its 1TB
read and passed its assertion at `00:24:26Z` before being canceled at
`00:27:30Z` (age `3h01m38s`) by `beam_CancelStaleDataflowJobs.yml` run
https://github.com/apache/beam/actions/runs/45728682851.
## Root Cause
`.test-infra/tools/stale_dataflow_jobs_cleaner.sh` canceled all active
Dataflow jobs older than 3 hours (`--created-before=-P3H`), even though
`beam_CancelStaleDataflowJobs.yml` runs every 4 hours (`0 */4 * * *`) and 1TB
BigQuery performance jobs can take slightly over 3 hours including final
cleanup.
## Changes
- `.test-infra/tools/stale_dataflow_jobs_cleaner.sh`: Increase
`--created-before` threshold from `-P3H` to `-P4H`.
--
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]