Skip to content

Commit

Permalink
docs(release-controller): improvements for missing label runbook (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleChimera authored Nov 21, 2024
1 parent c09058b commit 51e063f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions release-controller/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ ERROR:root:failed to reconcile: Could not find targets for commit 99ab7f0370
To resolve, you'll need to manually label all the commits that commit-annotator is struggling with.
> [!CAUTION]
> Do not annotate commits reported by release-controller!
> This will break commit-annotator and then you'll end up having to annotate more commits manually.
> Instead, see if commit-annotator is stuck on certain commit and annotate that one.
Example error message in commit-annotator.
```
Expand Down Expand Up @@ -113,6 +118,16 @@ ERROR: ...
git push origin refs/notes/guestos-changed
```
> [!TIP]
> If someone messed up and labeled commits in between, commit annotator might report that it labeled everything.
> Run the below commands on IC repo to find commits without labels.
```shell
git fetch origin 'refs/notes/*:refs/notes/*' -f --prune
git rev-list --ancestry-path [BASE_COMMIT]...[RELEASE_COMMIT] | xargs -L1 -I_commit bash -c "echo -n '_commit '; git notes --ref guestos-changed show _commit | cat"
```


### Missing proposal

Proposal placement most likely failed.
Expand Down

0 comments on commit 51e063f

Please sign in to comment.