potiuk commented on PR #31825:
URL: https://github.com/apache/airflow/pull/31825#issuecomment-1585195590
> > We also do not need to run anything on stable, because stable is the
result of merging those changes from test after they get green.
>
> Doesn't the run on stable update constraint files though?
Glad you asked :)
Nope. The "test" one updates constraints immediately if the test build
succeeds. We do not need to defer updating constraints - this is only needed
for PR runs.
This is controlled by "canary-run" flag, which is set by "get-workflow-info":
```
def is_canary_run(self) -> str:
if (
self.event_name == "push"
and self.head_repo == "apache/airflow"
and self.ref_name
and (self.ref_name == "main" or
TEST_BRANCH_MATCHER.match(self.ref_name))
):
return "true"
return "false"
````
--
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]