Skip to content

fix: report repository refresh failures and reject busy updates - #841

Merged
tdurieux merged 2 commits into
mainfrom
fix/repository-refresh-feedback
Sep 27, 2026
Merged

tdurieux merged 2 commits into
mainfrom
fix/repository-refresh-feedback

Conversation

@tdurieux

Copy link
Copy Markdown
Owner

Repository refresh requests could hang during an active operation, and the dashboard could report success after a refresh ended in an error. API failures could also appear without an explanation because the dashboard read the wrong response field.

Return HTTP 409 for refreshes during preparation, queueing, download, removal, or expiration, after checking ownership. Show API and polling failures, and report refresh success only when the repository reaches ready.

Related to #834. This fixes reproducible refresh and feedback bugs; the specific production restoration failure still needs repository status and logs, so this PR does not close the issue.

Validation: 48 focused tests passed, including restoration with an unchanged commit and preservation of the repository ID. Changed backend/test files passed ESLint; the browser bundle compiled. Full TypeScript checking reports existing errors in unchanged files.

@tdurieux

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T06:28:52.516330Z 9c95cfb Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7ada28f9e3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread public/script/app.js
@tdurieux
tdurieux merged commit 3c41a00 into main Sep 27, 2026
2 checks passed
@tdurieux
tdurieux deleted the fix/repository-refresh-feedback branch September 27, 2026 06:18
@tdurieux

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3c41a00137

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread public/script/app.js
Comment thread src/server/routes/repository-private.ts
Comment thread src/server/routes/repository-private.ts
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