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

[INTER-634] Remove cache ttl for e2e tests #236

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

TheUnderScorer
Copy link
Contributor

No description provided.

@TheUnderScorer TheUnderScorer self-assigned this Apr 29, 2024
Copy link
Contributor

github-actions bot commented Apr 29, 2024

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 93.67% 607/648
🟢 Branches 80.46% 140/174
🟢 Functions 90.55% 115/127
🟢 Lines 93.5% 575/615

Test suite run success

127 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 85ed584

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 93.67 80.45 90.55 93.49
🟢  mgmt-lambda 98.92 93.33 100 98.92
🟢   DefaultSettings.ts 100 100 100 100
🟢   app.ts 97.91 95 100 97.91 26
🟢   auth.ts 100 100 100 100
🟢   exceptions.ts 100 66.66 100 100 19
🟢   routing.ts 100 100 100 100
🟢  mgmt-lambda/handlers 88.37 62.26 79.16 88.09
🟢   errorHandlers.ts 100 71.42 100 100 22,41
🟡   statusHandler.ts 70.58 8.33 42.85 70.58 72-76,81,84-89
🟢   updateHandler.ts 91.73 79.41 92.3 91.45 41-42,58-59,132,135-138,284
🟢  proxy/handlers 85.22 77.27 86.66 85.88
🟢   handleAgentDowloading.ts 88 44.44 85.71 87.5 26,47-48
🟡   handleResult.ts 76.19 100 76.92 77.5 88-103
🟢   handleStatus.ts 100 100 100 100
🟡  proxy/test 77.77 100 50 71.42
🟡   aws.ts 77.77 100 50 71.42 4-5
🟢  proxy/test/utils/customer-variables 100 100 100 100
🟢   in-memory-customer-variables.ts 100 100 100 100
🟢  proxy/utils 98.55 82.05 96.42 98.41
🟢   buffer.ts 100 100 100 100
🟢   cache-control.ts 100 100 100 100
🟢   cookie.ts 100 100 100 100
🟢   headers.ts 100 100 100 100
🔴   is-blob.ts 0 0 0 0 6-7
🟢   log.ts 100 50 100 100 5-6
🟢   request.ts 100 83.33 100 100 8
🟢   routing.ts 100 100 100 100
🟢   traffic.ts 100 100 100 100
🟢  proxy/utils/customer-variables 100 100 100 100
🟢   customer-variables.ts 100 100 100 100
🟢   defaults.ts 100 100 100 100
🟢   header-customer-variables.ts 100 100 100 100
🟢   maybe-obfuscate-variable.ts 100 100 100 100
🟢   selectors.ts 100 100 100 100
🟢   types.ts 100 100 100 100
🟢  proxy/utils/customer-variables/secrets-manager 95.52 100 100 95.45
🟢   normalize-secret.ts 100 100 100 100
🟢   retrieve-secret.ts 100 100 100 100
🟢   secrets-manager-variables.ts 86.95 100 100 86.95 28,50-55
🟢   validate-secret.ts 100 100 100 100

@TheUnderScorer TheUnderScorer force-pushed the tests/INTER-634-fix-mock-app-tests branch from 7e37953 to 85ed584 Compare April 29, 2024 11:30
Copy link
Contributor

This PR will create a major release 🚀

2.0.0 (2024-04-29)

⚠ BREAKING CHANGES

  • use node 20

Features

  • add ability to override API hosts in AWS Secret (11af4c4)
  • add endpoints structure and error handlers (c473539)
  • add event and ctx types (82c053b)
  • add lambda function update (38b445f)
  • add settings secret, update mgmt lambda permissions (#162) (ab3caa5)
  • check CodeSha256 before upgrading consequent resources (7fdbd21)
  • check version's state after Lambda@Edge function upgrade (12e5aad)
  • improve error handling in mgmt-lambda (3736d14)
  • increase timeout for Fingerprint lambda (1e0ae54)
  • introduce deployment settings (ec13d5f)
  • introduce mgmt-token scheme for authorization (#176) (c884027)
  • mgmt-lambda-update: introduce error codes (6929756)
  • pass AWS clients into handlers (1aa3dc8)
  • rework logging (#184) (a88941c)
  • reworked getting env, updated tests (0b29764)
  • rollout as a code (#161) (0636c1a)
  • status endpoint: return necessary information about Lambda and CloudFront (2f3ceed)
  • update all cache behavior that has fingerprint pro association (#186) (2970364)
  • update lambda existence check (403680c)
  • update package management (#189) (5135b1b)
  • update secrets manager to V3, retrieve secret in mgmt-lambda (a60bee4)
  • upgrade Lambda functions runtime to Node 20 (2818c30)
  • use AWS SDK v3 Client mock for testing (0bb22ce)
  • use revisionId for Lambda code deployment (934dd37)

Bug Fixes

  • cloudformation templatex (#188) (a32e4ff)
  • don't set code 500 in status endpoint responses (b4a4d04)
  • handle requests with trailing and leading slashes in URI (cabe27a)
  • normalize secret before retrieving values (26ab35f)
  • remove aws-sdk v2 usage (b1d0d72)
  • remove CodePipeline client (ed7d52d)
  • remove CodePipeline part from mgmt code (fb79578)
  • set correct type for public URL events (379ec65)
  • update handleResult tests with comparing hrefs (aeb49c8)
  • update logging (07664bc)
  • use default region for getting secret (ec596ec)

@TheUnderScorer TheUnderScorer marked this pull request as ready for review April 30, 2024 07:42
@TheUnderScorer TheUnderScorer changed the title [INTER-634] Fix mock app tests [INTER-634] Remove cache ttl for e2e tests Apr 30, 2024
@necipallef necipallef changed the base branch from rc to feat/routing April 30, 2024 18:31
@necipallef necipallef merged commit a2def5b into feat/routing Apr 30, 2024
8 of 9 checks passed
@necipallef necipallef deleted the tests/INTER-634-fix-mock-app-tests branch April 30, 2024 18:31
@fingerprint-dx-team
Copy link
Contributor

🎉 This PR is included in version 2.0.0-rc.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants