SEPURI-SAI-KRISHNA opened a new pull request, #29482:
URL: https://github.com/apache/flink/pull/29482
## What is the purpose of the change
`community-review.sh` means to skip draft pull requests, but the filter
never removes any,
so drafts are scanned and can be labelled `community-reviewed`.
Line 116 uses jq's update-assignment operator instead of a comparison:
```
select((.node.isDraft = false))
```
`=` assigns `false` to `.node.isDraft` and returns the modified object,
which is always
truthy, so `select` keeps every element.
## Brief change log
- Compare `isDraft` instead of assigning it, so drafts are filtered out
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
The behaviour was confirmed against live data. On a page of 100 open pull
requests of
which 10 are drafts:
```
select((.draft = false)) -> 100 kept (current form)
select(.draft == false) -> 90 kept (fixed form)
```
The workflow logs show the same thing. Every page of the most recent run
retained
everything it received:
```
Filtering 100 received pull requests... 100 PR retained
Filtering 100 received pull requests... 100 PR retained
Filtering 100 received pull requests... 100 PR retained
Filtering 96 received pull requests... 96 PR retained
```
That is 396 of 396 retained, while 31 of the open pull requests are drafts.
Four draft pull requests currently carry the `community-reviewed` label:
#26288, #26810,
#28330 and #28831. The script's existing delete logic only keeps the two
review labels
mutually exclusive, so it does not reconcile against draft status. This
change stops new
mislabels but leaves those four as they are.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: no
- The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code (Opus 5)
--
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]