fix(file-service): restore configured S3 uploads - #267
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: bot_apk <apk@cognition.ai>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This was referenced Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
500 storage_errorfor every user running the affected file-service image because S3 writes are redirected away from the configured bucket.FILE_UPLOAD_ALWAYS_FAIL=true;upload_filetherefore selectsotterworks-files-chaos-nonexistentinstead ofS3_BUCKET.ENVdefaults in assignment, legacy, multi-variable, quoted, and continued forms.cargo test(26 passed),cargo fmt --check,cargo clippy --all-targets -- -D warnings, and green CI. A rebuilt image has no baked upload-failure default; the browser upload returned HTTP201, LocalStack S3 gained one 77-byte object byte-identical to the source, and the file loaded through Search and its detail/download flow. The explicit runtime override still reproduces the failure without writing an object. Screen recording.Independent incident run; compare with #266. This implementation keeps the runtime failure switch available but prevents the production image from enabling it by default.
Unrelated follow-up: the Files grid fetches only its first 50 results and sorts that page client-side, so a just-uploaded file in this large seeded drive is visible through Search but not the grid.
Link to Devin session: https://app.devin.ai/sessions/6c565ca90fd4476dbe269672de1bd6ba
Devin Review