Skip to content

[server] Minor fixes and add timeout for filedata fetch#9703

Open
ua741 wants to merge 3 commits intomainfrom
fixes_server
Open

[server] Minor fixes and add timeout for filedata fetch#9703
ua741 wants to merge 3 commits intomainfrom
fixes_server

Conversation

@ua741
Copy link
Copy Markdown
Member

@ua741 ua741 commented Mar 18, 2026

Description

Tests

@ua741
Copy link
Copy Markdown
Member Author

ua741 commented Mar 18, 2026

@codex review

@ente-io ente-io deleted a comment from chatgpt-codex-connector bot Mar 18, 2026
Copy link
Copy Markdown

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

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: b37220c384

ℹ️ 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 on lines +226 to +227
if len(errFileIds) > 10 {
return nil, stacktrace.Propagate(
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Don't abort GetFilesData when >10 item fetches fail

This new guard turns a partially successful bulk fetch into a hard 500 once more than 10 objects fail, even though the API already models per-file failures via ErrFileIDs. In practice, transient S3 issues or timeout cancellations can easily push failures above 10 for large requests, causing clients to lose all successful results and retry the whole batch repeatedly instead of making progress on good items.

Useful? React with 👍 / 👎.

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.

2 participants