Skip to content
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

chore: update aws sdk #28712

Merged
merged 2 commits into from Jan 16, 2024
Merged

chore: update aws sdk #28712

merged 2 commits into from Jan 16, 2024

Conversation

AtofStryker
Copy link
Contributor

  • Closes N/A

Additional details

While I was investigating why Circle M1s had issues uploading to S3, I decided to update the aws-sdk from v2 to v3, which is not independent packages and allows us to use @aws-sdk/client-s3 for our upload jobs. I used the migration guide via script to update the changes and tweak a few things on our end. This also allows us to update gulp-awspublish to latest since we are now using the newer aws sdk.

Steps to test

  • run the create-build-artifacts job in circle and verify the binary is uploaded to S3
  • run yarn prepare-release-artifacts --sha <LATEST_DEVELOP_SHA> --version 13.6.3 --dry-run to verify the updated s3 bucket instantiation works. This does not test the actual moving of the binaries, which will need to happen when we release.

How has the user experience changed?

PR Tasks

@AtofStryker AtofStryker changed the title Chore/update aws sdk chore: update aws sdk Jan 12, 2024
Copy link

cypress bot commented Jan 12, 2024

54 failed tests on run #53515 ↗︎

54 232 4 0 Flakiness 0

Details:

run ci for aws_updates
Project: cypress Commit: b4e28c04e3
Status: Failed Duration: 14:45 💡
Started: Jan 12, 2024 9:19 PM Ended: Jan 12, 2024 9:33 PM
Failed  cypress\e2e\runs.cy.ts • 2 failed tests • app-e2e

View Output

Test Artifacts
App: Runs > Runs - No Runs > displays a copy button and copies correct command in Component Testing Test Replay Screenshots
App: Runs > Runs - No Runs > displays a copy button and copies correct command in E2E Test Replay Screenshots
Failed  cypress\e2e\runner\reporter-ct-webpack.errors.cy.ts • 18 failed tests • app-e2e

View Output

Test Artifacts
Webpack - errors ui > assertion failures Test Replay Screenshots
Webpack - errors ui > assertion failures - no preferred IDE Test Replay Screenshots
Webpack - errors ui > exception failures Test Replay Screenshots
Webpack - errors ui > hooks Test Replay Screenshots
Webpack - errors ui > commands Test Replay Screenshots
Webpack - errors ui > cy.then Test Replay Screenshots
Webpack - errors ui > cy.should Test Replay Screenshots
Webpack - errors ui > cy.each Test Replay Screenshots
Webpack - errors ui > cy.spread Test Replay Screenshots
Webpack - errors ui > cy.within Test Replay Screenshots
The first 10 failed tests are shown, see all 18 tests in Cypress Cloud.
Failed  cypress\e2e\runner\ct-framework-errors.cy.ts • 7 failed tests • app-e2e

View Output

Test Artifacts
React 17 > error conditions Test Replay Screenshots
React 18 > error conditions Test Replay Screenshots
Next.js > error conditions Test Replay Screenshots
Vue > error conditions Test Replay Screenshots
Nuxt > error conditions Test Replay Screenshots
Angular 13 > error conditions Test Replay Screenshots
Angular 14 > error conditions Test Replay Screenshots
Failed  cypress\e2e\runner\reporter-ct-vite.errors.cy.ts • 14 failed tests • app-e2e

View Output

Test Artifacts
Vite - errors ui > assertion failures Test Replay Screenshots
Vite - errors ui > assertion failures - no preferred IDE Test Replay Screenshots
Vite - errors ui > hooks Test Replay Screenshots
Vite - errors ui > cy.then Test Replay Screenshots
Vite - errors ui > cy.should Test Replay Screenshots
Vite - errors ui > cy.each Test Replay Screenshots
Vite - errors ui > cy.spread Test Replay Screenshots
Vite - errors ui > cy.within Test Replay Screenshots
Vite - errors ui > cy.wrap Test Replay Screenshots
Vite - errors ui > cy.intercept Test Replay Screenshots
The first 10 failed tests are shown, see all 14 tests in Cypress Cloud.
Failed  cypress\e2e\runner\reporter.command_errors.cy.ts • 13 failed tests • app-e2e

View Output

Test Artifacts
errors ui > assertion failures Test Replay Screenshots
errors ui > assertion failures - no preferred IDE Test Replay Screenshots
errors ui > cy.then Test Replay Screenshots
errors ui > cy.should Test Replay Screenshots
errors ui > cy.each Test Replay Screenshots
errors ui > cy.spread Test Replay Screenshots
errors ui > cy.within Test Replay Screenshots
errors ui > cy.wrap Test Replay Screenshots
errors ui > cy.visit Test Replay Screenshots
errors ui > cy.intercept Test Replay Screenshots
The first 10 failed tests are shown, see all 13 tests in Cypress Cloud.

The first 5 failed specs are shown, see all 41 specs in Cypress Cloud.

Review all test suite changes for PR #28712 ↗︎

@AtofStryker AtofStryker marked this pull request as ready for review January 12, 2024 17:28
accessKeyId: aws.accessKeyId,
secretAccessKey: aws.secretAccessKey,
sessionToken: aws.sessionToken,
credentials: {
Copy link
Member

Choose a reason for hiding this comment

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

Aww the missing piece to why this needed to be reverted: #28379

@AtofStryker AtofStryker merged commit 7df6df4 into develop Jan 16, 2024
126 of 130 checks passed
@AtofStryker AtofStryker deleted the chore/update_aws_sdk branch January 16, 2024 14:41
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.

None yet

3 participants