The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
ccd750f45df43dd210ed223a847e4e1342c95c8e / Jarek Potiuk <[email protected]>
Avoid too many conflicts when generating breeze images

The `breeze setup regenerate-command-images` used hash calculation
to determine when to regenerate commands. There was only one file
with hashes for all commands which often cause conflicts if several
people changed adjacent commands. Also when one of the subcommands
changed, this immediately invalidated the "parent" command where
the subcommand was, however such invalidation is only needed if
a new subcommand is added or if name or help description of the
subcommand changes - because this is the only information displayed
in the parent command.

This PR improves hash calculation and verification and calculation
to avoid conflicts as much as possible. The hash will only have
conflict when the same command is modified by the same people in
parallel (signifying that indeed you need to regenerate the image
for that command). This is achieved by:

* splitting hashes to separate files - each command has its own
  .txt file where hash of the command is kept

* when hash of the group command is calculated, only name and
  help text of the subcommands for the group are used to calculate
  hash

Report URL: https://github.com/apache/airflow/actions/runs/6787641462

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to