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

[PM-13804] Add new Is-Prerelease header to requests #11605

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

trmartin4
Copy link
Member

@trmartin4 trmartin4 commented Oct 17, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-13804

📔 Objective

We want the ability to control feature flags based on whether the requesting client is a beta build or not.

To provide this context to LaunchDarkly, we must introduce a way for the clients to communicate that they are a beta to the server, where it can be used to build the LaunchDarkly context.

This will be done with an Is-Prerelease header on the request.

This PR adds that header to all API requests to our back-end based on whether the client-side prereleaseBuild flag is enabled.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@trmartin4 trmartin4 changed the title Added new Is-Beta header to requests [PM-13804] Add new Is-Beta header to requests Oct 17, 2024
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 30 lines in your changes missing coverage. Please review.

Project coverage is 33.25%. Comparing base (97e195c) to head (3427ea7).
Report is 32 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
libs/common/src/services/api.service.ts 0.00% 30 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11605      +/-   ##
==========================================
+ Coverage   33.20%   33.25%   +0.05%     
==========================================
  Files        2782     2789       +7     
  Lines       86484    86675     +191     
  Branches    16484    16507      +23     
==========================================
+ Hits        28714    28826     +112     
- Misses      55483    55554      +71     
- Partials     2287     2295       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Oct 17, 2024

Logo
Checkmarx One – Scan Summary & Detailsb89321c2-e0b0-4cad-9ffb-7b9065bce382

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.ts: 63 Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.ts: 63 Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.ts: 63 Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.ts: 63 Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.html: 11 Attack Vector
MEDIUM Client_Privacy_Violation /apps/web/src/app/vault/individual-vault/password-history.component.html: 11 Attack Vector
MEDIUM Missing_HSTS_Header /libs/common/src/services/api.service.ts: 228 Attack Vector
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 122 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 515 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 48 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 82 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 267 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 359 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 245 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 247 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 367 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 180 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 187 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 181 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1293 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 405 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 194 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 35 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /retrieve-current-desktop-rollout.yml: 23 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 507 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 891 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 342 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 104 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /brew-bump-desktop.yml: 26 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1339 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 162 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 499 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 141 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 523 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 191 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /staged-rollout-desktop.yml: 29 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 288 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 408 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 201 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-web.yml: 44 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 196 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 41 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-auto-bump.yml: 21 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 297 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 297 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 180 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 141 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 48 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /retrieve-current-desktop-rollout.yml: 23 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 245 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 405 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 523 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 187 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1339 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 515 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 891 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-web.yml: 44 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 408 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 196 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 499 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 288 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 201 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 82 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 104 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 194 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 247 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 507 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 181 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 122 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 359 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1293 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 367 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 297 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 162 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Fixed Issues

Severity Issue Source File / Package
MEDIUM Client_Privacy_Violation /libs/vault/src/components/password-history-view/password-history-view.component.html: 6
MEDIUM Client_Privacy_Violation /libs/vault/src/components/password-history-view/password-history-view.component.html: 6
MEDIUM Client_Privacy_Violation /apps/web/src/app/tools/access-intelligence/password-health-members.component.html: 51
MEDIUM Client_Privacy_Violation /apps/web/src/app/tools/access-intelligence/password-health-members.component.html: 46
MEDIUM Client_Privacy_Violation /apps/web/src/app/tools/access-intelligence/password-health-members.component.html: 41
MEDIUM Client_Privacy_Violation /apps/web/src/app/tools/access-intelligence/password-health-members.component.html: 46
MEDIUM Client_Privacy_Violation /apps/browser/src/autofill/popup/settings/autofill-v1.component.ts: 101
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault/password-history.component.html: 18
MEDIUM Client_Privacy_Violation /apps/browser/src/vault/popup/components/vault/password-history.component.html: 18
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 190
MEDIUM Unpinned Actions Full Length Commit SHA /version-auto-bump.yml: 20
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1292
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 246
MEDIUM Unpinned Actions Full Length Commit SHA /brew-bump-desktop.yml: 25
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 161
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1338
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 366
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 296
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 498
MEDIUM Unpinned Actions Full Length Commit SHA /retrieve-current-desktop-rollout.yml: 22
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 195
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 34
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 47
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 244
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 341
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 140
MEDIUM Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 40
MEDIUM Unpinned Actions Full Length Commit SHA /build-web.yml: 266
MEDIUM Unpinned Actions Full Length Commit SHA /build-browser.yml: 407
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 514
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 180
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 179
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 81
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 287
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 186
MEDIUM Unpinned Actions Full Length Commit SHA /staged-rollout-desktop.yml: 28
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 890
MEDIUM Unpinned Actions Full Length Commit SHA /publish-cli.yml: 103
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 358
MEDIUM Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 121
MEDIUM Unpinned Actions Full Length Commit SHA /publish-web.yml: 43
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 404
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 296
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 200
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 522
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 193
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 506
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 140
LOW Unpinned Actions Full Length Commit SHA /brew-bump-desktop.yml: 25
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 186
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 296
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 200
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 47
LOW Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 40
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 341
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 498
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 890
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 506
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 121
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1338
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 407
LOW Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1292
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 179
LOW Unpinned Actions Full Length Commit SHA /staged-rollout-desktop.yml: 28
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 190
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 161
LOW Unpinned Actions Full Length Commit SHA /build-browser.yml: 366
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 296
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 81
LOW Unpinned Actions Full Length Commit SHA /retrieve-current-desktop-rollout.yml: 22
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 180
LOW Unpinned Actions Full Length Commit SHA /publish-web.yml: 43
LOW Unpinned Actions Full Length Commit SHA /build-web.yml: 266
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 193
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 522
LOW Unpinned Actions Full Length Commit SHA /crowdin-pull.yml: 34
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 404
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 358
LOW Unpinned Actions Full Length Commit SHA /version-auto-bump.yml: 20
LOW Unpinned Actions Full Length Commit SHA /publish-cli.yml: 103
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 246
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 514
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 195
LOW Unpinned Actions Full Length Commit SHA /publish-desktop.yml: 244
LOW Use_of_Broken_or_Risky_Cryptographic_Algorithm /libs/common/src/platform/services/sdk/default-sdk.service.ts: 155
LOW Use_of_Broken_or_Risky_Cryptographic_Algorithm /libs/common/src/platform/services/sdk/default-sdk.service.ts: 172

@withinfocus
Copy link
Contributor

💭 What if we don't consider just betas? Is the naming of "prerelease" more appropriate? Do we think these need to be enumerated?

@trmartin4
Copy link
Member Author

💭 What if we don't consider just betas? Is the naming of "prerelease" more appropriate? Do we think these need to be enumerated?

Addressed with 3427ea7 (#11605)

@trmartin4 trmartin4 marked this pull request as ready for review October 21, 2024 20:34
@trmartin4 trmartin4 requested a review from a team as a code owner October 21, 2024 20:34
@trmartin4
Copy link
Member Author

🤔 I see that there aren't any tests for api.service.ts. Should we add that as part of this request?

@trmartin4 trmartin4 changed the title [PM-13804] Add new Is-Beta header to requests [PM-13804] Add new Is-Prerelease header to requests Oct 21, 2024
Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

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

Changes LGTM, I'm also surprised there aren't any tests for the API service, seems like it would be fairly easy to mock the nativeFetch method to add some tests for expected headers.

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