Skip to content

Conversation

@danadajian
Copy link
Contributor

📝 Description

🔗 Related Issues

danadajian and others added 12 commits December 18, 2025 11:05
- Created s3Client.ts to export s3 from bun as s3Client for easier mocking
- Updated all S3 operations to use Bun's native S3 API:
  - getKeysFromS3: uses s3Client.list() instead of S3Client.listObjectsV2
  - getTemporaryObjectUrl: uses s3Client.presign() instead of getSignedUrl
  - copyS3File: uses s3Client.file() with exists(), arrayBuffer(), and write()
  - acceptVisualChanges: updated to use copyS3File helper
- Removed @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner dependencies
- Updated all tests to mock s3Client instead of reimplementing functions
- Fixed test isolation by using beforeEach with mock.clearAllMocks()
- All tests pass when run together
- Added CI environment variable support in docker-compose.yml
- Modified s3Client.ts to conditionally load credentials based on the CI environment variable
@danadajian danadajian merged commit 698f662 into main Dec 28, 2025
2 checks passed
@danadajian danadajian deleted the replace-env-run-attempt-with-context branch December 28, 2025 19:34
@eg-oss-ci
Copy link

🎉 This PR is included in version 1.30.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants