Skip to content

V4 Cleanup#346

Merged
TheUnderScorer merged 18 commits into
mainfrom
chore/v4-cleanup
Apr 1, 2026
Merged

V4 Cleanup#346
TheUnderScorer merged 18 commits into
mainfrom
chore/v4-cleanup

Conversation

@TheUnderScorer
Copy link
Copy Markdown
Contributor

@TheUnderScorer TheUnderScorer commented Mar 30, 2026

  • Removed mentions of "Fingerprint Pro"
  • Updated docs links
  • Updated repository links in readme
  • Make V3-related variables null by default
  • Updated Cloudformation template to make V3-related variables optional
  • Updated E2E and Mock Warden tests to also test new CloudFront distro that only supports v4

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 30, 2026

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
92.29% (+0.02% 🔼)
718/778
🟢 Branches
85.2% (-0.19% 🔻)
190/223
🟢 Functions 91.22% 135/148
🟢 Lines
92.44% (+0.04% 🔼)
685/741
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / handleStatus.ts
100%
91.67% (-4.17% 🔻)
100% 100%

Test suite run success

204 tests passing in 22 suites.

Report generated by 🧪jest coverage report action from 0c2b2fd

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 92.28 85.2 91.21 92.44
🟢  mgmt-lambda 98.93 93.33 100 98.93
🟢   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 20
🟢   routing.ts 100 100 100 100
🟢  mgmt-lambda/handlers 87.22 72.5 93.33 87.15
🟢   errorHandlers.ts 100 71.42 100 100 22,41
🟡   statusHandler.ts 80 50 100 80 76-80,84-89
🟢   updateHandler.ts 87.21 75.86 87.5 87.12 50-51,67-68,139-142,214,219-228,290-291,319
🟢  mgmt-lambda/utils 81.25 88.88 66.66 100
🟢   cloudfrontUtils.ts 100 88.88 100 100 6
🔴   delay.ts 40 100 0 100
🟢  proxy/handlers 98.48 91.89 100 98.48
🟢   handleIngress.ts 97.43 92.3 100 97.43 62
🟢   handleStatus.ts 100 91.66 100 100 57,71
🟡  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 89.6 78.57 89.47 89.4
🟢   buffer.ts 100 100 100 100
🟢   cache-control.ts 100 100 100 100
🟢   cache.ts 100 90 100 100 15
🟢   cookie.ts 100 100 100 100
🔴   generateErrorResponse.ts 23.07 100 25 25 15-30
🟢   headers.ts 96.15 92.59 100 95.89 240-242
🔴   is-blob.ts 0 0 0 0 6-7
🟢   log.ts 85.71 33.33 100 83.33 11
🟢   paths.ts 100 87.5 100 100 19
🟢   request.ts 93.54 66.66 85.71 91.66 7-8
🟢   routing.ts 100 100 100 100
🔴   string.ts 14.28 100 0 14.28 2-8
🟢   traffic.ts 100 100 100 100
🟢   transport.ts 93.1 62.5 100 93.1 33,58
🟢  proxy/utils/customer-variables 98.82 92.3 95.45 98.61
🟢   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 96.87 100 90 95.23 30
🟢   types.ts 100 75 100 100 19
🟢  proxy/utils/customer-variables/secrets-manager 95.71 100 100 95.65
🟢   normalize-secret.ts 100 100 100 100
🟢   retrieve-secret.ts 100 100 100 100
🟢   secrets-manager-variables.ts 87.5 100 100 87.5 31,53-58
🟢   validate-secret.ts 100 100 100 100

@TheUnderScorer TheUnderScorer marked this pull request as draft March 30, 2026 13:02
@TheUnderScorer TheUnderScorer marked this pull request as ready for review March 31, 2026 12:11
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Following releases will be created using changesets from this PR:

@fingerprint/aws-cloudfront-proxy@2.2.0-rc.2

Minor Changes

  • Skip creation of V3-related routes if related variables are empty (dc29d6c)

@TheUnderScorer TheUnderScorer merged commit 601341b into main Apr 1, 2026
9 checks passed
@TheUnderScorer TheUnderScorer deleted the chore/v4-cleanup branch April 1, 2026 12:07
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.

3 participants