Skip to content

Implement S3-compatible storage client abstraction (#224)#289

Open
gabrieltemtsen wants to merge 1 commit into
codebestia:mainfrom
gabrieltemtsen:main
Open

Implement S3-compatible storage client abstraction (#224)#289
gabrieltemtsen wants to merge 1 commit into
codebestia:mainfrom
gabrieltemtsen:main

Conversation

@gabrieltemtsen

Copy link
Copy Markdown

Description

Storage Client Wrapper: Implemented the provider-agnostic ObjectStore interface and S3ObjectStore class in
objectStore.ts
using @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner.
Config Updates: Modified
config.ts
to define optional S3-specific configuration variables in EnvSchema.
Router Integration: Updated
files.ts
to utilize the new objectStore singleton instance.
Tests: Created unit tests in
objectStore.test.ts
covering configuration settings, presigned URL generation, head responses, metadata retrieval, deletions, and error-handling conditions.
Verification: Ran pnpm --filter backend test verifying that all 166 tests passed successfully.

closes #224

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Other

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally
  • My code follows the project's coding standards

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@gabrieltemtsen Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Storage client abstraction (lib/objectStore.ts)

1 participant