Closed sylvioalves closed 2 weeks ago
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action.
How could the PR introducing the wrong revision get merged, though?
Is the root cause a merge on the Zephyr side or a git "push force" that removes the targetted commit on the Espressif side?
Is the root cause a merge on the Zephyr side or a git "push force" that removes the targetted commit on the Espressif side?
In fact it does seem like the issue is caused by a force push on the hal_espressif
repo. Shouldn't be allowed, right?
In fact it does seem like the issue is caused by a force push on the
hal_espressif
repo. Shouldn't be allowed, right?
I believe the issue is that the Zephyr PR referenced the commit hash of the unmerged HAL PR and was merge before the HAL PR.
I believe the issue is that the Zephyr PR referenced the commit of the unmerged HAL PR and was merge before the HAL PR.
You are correct: https://github.com/zephyrproject-rtos/hal_espressif/pull/276/commits
I seems to not break CI yet, but should be tag it as trivial
such that it it will be merged sooner?
Merged, could have used a better commit message though, something describing what was incorrect with the previous hash.
I believe the issue is that the Zephyr PR referenced the commit of the unmerged HAL PR and was merge before the HAL PR.
You are correct: https://github.com/zephyrproject-rtos/hal_espressif/pull/276/commits
Sorry for this. Indeed that hal PR should have been merged before its counterpart in Zephyr.
Sorry for this. Indeed that hal PR should have been merged before its counterpart in Zephyr.
Yeah, and the commit hash referenced should have been the one in the repo after the PR was merged instead of the one in the PR.
Could we have an automatic check to detect this before PRs are merged into main
in the future ?
Could we have an automatic check to detect this before PRs are merged into
main
in the future ?
That would be ideal but unfortunately the way modules are managed is not quite uniform enough to allow writing such a check in a reliable way (not that I can think of anyway), specifically the "main" branch of modules can have different names. Though we could check that the commit it's part of any branch in the repo. If you have cycles to give it a try the code is here: https://github.com/zephyrproject-rtos/action-manifest/blob/main/action.py
@sylvioalves please:
Without 1. we will end up quite soon with this commits in Zephyr being unfetchable by west again
@aescolar We usually make sure to update west.yaml
only after having it merged into default/protected hal_espressif
repo. This was really a mistake that has never happened before and I will, of course, pay more attention to it. Thanks for the recommendation.
Update revision reference for PR #71165 as needed.
Fix #72196