-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SIMPLE-FORMS] fix: updates to S3 presigned URL and directory naming logic #19454
Merged
Conversation
This file contains 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
va-vfs-bot
temporarily deployed
to
jap/simple-forms/fix-dated-directory/main/main
November 13, 2024 22:49
Inactive
pennja
changed the title
WIP
[] fix: updates to S3 presigned URL and directory naming logic
Nov 14, 2024
pennja
changed the title
[] fix: updates to S3 presigned URL and directory naming logic
[SIMPLE-FORMS] fix: updates to S3 presigned URL and directory naming logic
Nov 14, 2024
github-actions
bot
added
require-backend-approval
and removed
require-backend-approval
labels
Nov 14, 2024
rhasselle-oddball
previously approved these changes
Nov 14, 2024
pennja
force-pushed
the
jap/simple-forms/fix-dated-directory
branch
from
November 15, 2024 14:48
95a17d3
to
b7a0d3c
Compare
github-actions
bot
added
require-backend-approval
ready-for-backend-review
and removed
require-backend-approval
test-passing
labels
Nov 15, 2024
va-vfs-bot
temporarily deployed
to
jap/simple-forms/fix-dated-directory/main/main
November 15, 2024 14:57
Inactive
github-actions
bot
added
require-backend-approval
lint-failure
ready-for-backend-review
and removed
ready-for-backend-review
require-backend-approval
labels
Nov 15, 2024
va-vfs-bot
temporarily deployed
to
jap/simple-forms/fix-dated-directory/main/main
November 15, 2024 16:46
Inactive
pennja
force-pushed
the
jap/simple-forms/fix-dated-directory
branch
from
November 15, 2024 19:09
7f7a352
to
90941a6
Compare
github-actions
bot
added
require-backend-approval
test-passing
and removed
require-backend-approval
lint-failure
audit-service-failure
test-failure
labels
Nov 15, 2024
va-vfs-bot
temporarily deployed
to
jap/simple-forms/fix-dated-directory/main/main
November 15, 2024 19:28
Inactive
rhasselle-oddball
approved these changes
Nov 15, 2024
… files or directories
pennja
force-pushed
the
jap/simple-forms/fix-dated-directory
branch
from
November 18, 2024 13:57
90941a6
to
b2cca9e
Compare
github-actions
bot
added
require-backend-approval
ready-for-backend-review
and removed
require-backend-approval
test-passing
labels
Nov 18, 2024
rmtolmach
approved these changes
Nov 18, 2024
Backend-review-group approval confirmed. |
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
simple_forms_api
service. It also modifies the date-based file and directory naming conventions to improve efficiency.retrieve_presigned_url
, which accesses existing archive data directly. This eliminates the need for temporary file generation and consolidates directory naming logic. This approach is chosen for its efficiency and clarity in handling S3 paths.Related issue(s)
Testing done
s3_client_spec.rb
andsubmission_archive_spec.rb
to confirm that all new and modified methods function as expected.What areas of the site does it impact?
simple_forms_api
service, specifically in how presigned URLs are generated and how files and directories are named.Acceptance criteria
Requested Feedback
I would appreciate feedback on the new naming conventions and whether the changes to the S3 client meet the expected efficiency improvements.