This Commit:
- Fixes issue this.skip() in tests. Cannot use fat arrow function for test.
- Fixes test target names
- Makes sure keys are generated before running integration test
Because:
- Compile job was failing in nightly
- Lint job was failing in nightly
- Unit test job was failing in nightly
This Commit:
- Add 'run-many' option, which is required when affected isn't present.
Because:
- ts-jest is consuming too much memory during unit test execution
This commit:
- Replace ts-jest with @swc/jest, which has better memory utilization
- Replace Nx TSC build executor with Nx esbuild build executor, for better performance.
- Reduce size of unit-test job instance size from large back to medium+
Closes #FXA-9879
Because:
* the `--split-by=timings` default type `file` and alternative type `name` are unsupported for the playwright junit xml file
This commit:
* adds the `--split-by=classname` option
Closes #FXA-9720
Because:
* we want to execute the functional tests in CI as fast as possible
This commit:
* matches parallelism to the number of cores for a resource_class (4 for large and 8 for xlarge)
* splits and refactors the misc/keyStretchingV2.spec module into:
* key-stretching-v2/totp.spec.ts
* key-stretching-v2/signinBlocked.spec.ts
* splits the oauth/oauthPermissions.spec.ts module into:
* oauth/oauthPermissionsSignin.spec.ts
* oauth/oauthPermissionsSignup.spec.ts
* splits part of the oauth/signin.spec.ts module into oauth/signinBlocked.spec.ts
* splits part of the react-conversion/oauthResetPassword.spec.ts module into:
* react-conversion/oauthResetPasswordRecoveryKey.spec.ts
* react-conversion/oauthResetPasswordScopeKey.spec.ts
* react-conversion/oauthResetPasswordSyncMobile.spec.ts
* splits part of the react-conversion/signup.spec.ts module into react-conversion/oauthSignup.spec.ts
* splits part of the settings/changeEmail.spec.ts module into settings/changeEmailBlocked.spec.ts
* splits part of the settings/changePassword.spec.ts module into settings/changePasswordValidation.spec.ts
* splits part of the subscription-tests/coupons-ui-tests/coupon.spec.ts module into:
* subscription-tests/coupons-ui-tests/couponExpired.spec.ts
* subscription-tests/coupons-ui-tests/couponForeverDiscount.spec.ts
* subscription-tests/coupons-ui-tests/couponInvalid.spec.ts
* subscription-tests/coupons-ui-tests/couponOneTimeDiscount.spec.ts
* splits part of the subscription-tests/coupons-ui-tests/resubscription.spec.ts module into subscription-tests/coupons-ui-tests/paymentMode.spec.ts
* splits part of the syncV3/fxDesktopHandshake.spec.ts module into syncV3/fxDesktopHandshakeNonSync.spec.ts
* splits part of the syncV3/fxDesktopV3ForceAuth.spec.ts module into syncV3/fxDesktopV3ForceAuthUnregistered.spec.ts
* splits part of the syncV3/signIn.spec.ts module into syncV3/oauthSignIn.spec.ts
* fixes confirmResetPasswordHeading error in react-conversion/resetPassword.spec.ts
Closes #FXA-9699
Because:
- We want to use the `cloud-tasks` nx lib that introduced last sprint
This commit
- Updates account end points to use the nx lib
- Updates CI to include cloud-task emulator
(cherry picked from commit 7c0c70d2a4)
Because:
- We want to use the `cloud-tasks` nx lib that introduced last sprint
This commit
- Updates account end points to use the nx lib
- Updates CI to include cloud-task emulator
Because:
* We want to update to Node 20 LTS.
* We want to target the JS output of Node 20.
* We want to use the latest TypeScript 5.4
This commit:
* Updates the Node version to 20 LTS.
* Updates the TypeScript version and related TS libs
to 5.4.
* Updates tsconfig for the new Node 20 target.
Because:
* Want to migrate Nx to latest
This commit:
* Migrate nx to 18 using nx cli migrate latest
* Readd a few dev dependancies back into packages/**/package.json
* Behavior of `npx nx...` commands seems to have changed, resulting in
multiple "command not found: <library>" errors, where <library>
refers to libaries used in packages/**/package.json scripts, such as
tailwindcss, tsc-alias, nx, etc.
* Updates nx cache location for Circle CI
Closes #FXA-8880
Because:
- We want to add support for up coming changes to key stretching in the auth server first
- We want to ensure all changes are backwards compatible
This Commit:
- Updates test to use approach for the client side stretch where:
- Stretch uses 650k iterations
- Client salt uses random value instead of user's original email
- Updates tests to run using both V1 and V2 credentials
- Updates database to support new columns for housing V2 credentials
- Updates account models accordingly
- Adds statsd metrics to track use of v2 credentials
- Updates CI tests to run remote integration tests for V2 credentials
Because:
* We have turned on the new account recovery key creation flow to 100% and now want to remove the old unused settings and content-server (post_verify/account_recovery) flows
This commit:
* Remove feature flag set up for old vs new account recovery key flow
* Remove all code related to old PageAddRecoveryKey in fxa-settings
* Remove all code related to old post_verify/acccount_recovery in content-server
* Test fixes
Closes #FXA-7419
Because:
- Styling in auth server storybooks was off
This Commit:
- Adds the email css folders to workspace
- Adds the locales folders to workspaces
- Updates the log level for gcp export so we can see what is being published
- Has `mozilla-fxa/storybook-gcp-publisher` to only publish, we now build ourselves with an nx command.
Because:
- We want to see if anything breaks
- Setting `CI: true` changes the behavior of tsc such that warnings result in a non-zero exit code
This Commit:
- Turns off overrides
Because:
* Experiment rollout to 100% of users was not working as expected
* We already have a feature flag that we can use to toggle the new flow on/off
This commit:
* Remove all code related to experiment rules for the new recovery key flow
* Keep feature flag for new flow
* Effectively rollout to 100% of traffic unless feature flag is turned off in an environment
Closes #FXA-8335