Skip to content

Conversation

@fabiobaltieri
Copy link
Member

@fabiobaltieri fabiobaltieri commented May 16, 2025

Hi, GH backends are causing more mysery recently, trying to work around it, proposing to keep this simple for a start see if helps, followups:

  • expand DNM to catch wildcards
  • integrate the PR message check in the python code too
  • add a strategic delay to wait for the metadata workflow to finish since this step is primarily racing with it

Yes I know this will use a shocking ONE github API call per PR, I'd say it's worth for not having to manually chase down PRs dropped from the merge list and close/reopen them or mess about with labels.


GitHub seems to have issue with workflow state caching that causes the DNM step to not work properly in few cases and not detecting changes in the DNM tag, forcing people to mess with tags or close/opening PRs, which in turns restarts all workflows.

Convert the script to Python so that the tag data is guaranteed to be fresh.

@fabiobaltieri fabiobaltieri added DNM (manifest) This PR should not be merged (controlled by action-manifest) and removed DNM (manifest) This PR should not be merged (controlled by action-manifest) labels May 16, 2025
@fabiobaltieri fabiobaltieri marked this pull request as ready for review May 16, 2025 07:53
@github-actions github-actions bot requested review from nashif and stephanosio May 16, 2025 07:54
jhedberg
jhedberg previously approved these changes May 16, 2025
@fabiobaltieri fabiobaltieri force-pushed the pr-metadata-py branch 2 times, most recently from bbcd299 to 3cbaf86 Compare May 16, 2025 18:35
pdgendt
pdgendt previously approved these changes May 17, 2025
GitHub seems to have issue with workflow state caching that causes the
DNM step to not work properly in few cases and not detecting changes in
the DNM tag, forcing people to mess with tags or close/opening PRs,
which in turns restarts all workflows.

Convert the script to Python so that the tag data is guaranteed to be
fresh.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
@sonarqubecloud

This comment was marked as resolved.

@kartben kartben merged commit 649eb62 into zephyrproject-rtos:main May 20, 2025
32 checks passed
@fabiobaltieri fabiobaltieri added the backport v3.7-branch Request backport to the v3.7-branch label Jul 2, 2025
@fabiobaltieri fabiobaltieri deleted the pr-metadata-py branch July 2, 2025 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Continuous Integration backport v3.7-branch Request backport to the v3.7-branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants