Skip to content

[CI] fix openapi regen push failing on a dirty tree - #289

Merged
rgodha24 merged 1 commit into
mainfrom
fix/openapi-workflow-dirty-tree
Nov 18, 2026
Merged

rgodha24 merged 1 commit into
mainfrom
fix/openapi-workflow-dirty-tree

Conversation

@rgodha24

Copy link
Copy Markdown
Member

The OpenAPI spec workflow failed on be88aef (#287) with cannot pull with rebase: You have unstaged changes. Install or proto generation leaves other tracked files modified in the runner, so the rebase retry never runs and the regenerated docs/openapi.json never lands. That's why main's spec is still missing the file-provider routes from #287. This resets the tree to the bot's commit right after committing, so the pull/rebase/push loop works. Once merged, the push to main reruns the workflow and should commit the fresh spec.

@greptile-apps

greptile-apps Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Disclaimer: This comment was AI-generated and is not necessarily completely accurate. Please take code comments with a grain of salt.

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This change appears safe to merge.

Summary

The workflow now clears leftover tracked-file edits after committing the generated OpenAPI spec, so those edits no longer block the rebase and push.

  • The OpenAPI job clears generated edits before it retries its push.

Score: 100/100. The workflow was not run during this review.

Reviews (1) · Last reviewed commit: "[CI] fix openapi regen push failing on a..." · Reviewed by Greptile

@rgodha24
rgodha24 merged commit 7f237b5 into main Nov 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant