Skip to content

Conversation

Weves
Copy link
Contributor

@Weves Weves commented Jul 2, 2025

Description

^

How Has This Been Tested?

Mimic tested this

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

@Weves Weves requested a review from a team as a code owner July 2, 2025 19:46
Copy link

vercel bot commented Jul 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 3:55pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Modifies file storage migration script to properly initialize external S3 storage before file transfer operations begin.

  • Added external_store.initialize() call in backend/alembic/versions/c9e2cd766c29_add_s3_file_store_table.py to ensure storage system is ready before migration
  • Migration renames table from 'file_store' to 'file_record' and adds S3-specific columns (bucket_name, object_key)
  • Added timestamps for better file tracking and debugging capabilities
  • The initialization ensures no file transfers begin before storage system is properly configured

1 file reviewed, no comments
Edit PR Review Bot Settings | Greptile

@wenxi-onyx wenxi-onyx merged commit b0639ad into main Jul 3, 2025
12 of 14 checks passed
@wenxi-onyx wenxi-onyx deleted the fix-migration branch July 3, 2025 16:18
AnkitTukatek pushed a commit to TukaTek/onyx that referenced this pull request Sep 23, 2025
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