1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-24 12:13:39 +00:00
Commit Graph

699 Commits

Author SHA1 Message Date
Bernd Schoolmann
1bfff49ef5 [PM-29122] Fix debug build causing slow unlock (#17798)
* Fix debug build causing slow unlock

* Cleanup

* Fix release mode build actually building debug
2025-12-03 19:10:10 +00:00
Vince Grassia
5f9759fde1 Update Linux build job in Build Desktop workflow to free up space on disk (#17784) 2025-12-03 12:10:42 -05:00
Todd Martin
92709e63af chore(workflows): Updated branch for checkout 2025-12-02 12:20:22 -05:00
gitclonebrian
bf461879e3 added perms to both token generation steps (#17398) 2025-12-02 11:06:26 -05:00
renovate[bot]
4a4ce8312c [deps]: Update Swatinem/rust-cache action to v2.8.2 (#17716)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-12-02 10:29:11 +00:00
Vince Grassia
39a22113df BRE-1355 - Fix lite naming and remove PAT (#17743) 2025-11-30 22:25:38 -05:00
brandonbiete
72024e71d9 [BRE-739] Create tar.gz amd64 release artifact for desktop client (#17523)
* [BRE-739] Add x64 tar.gz build artifact for desktop client

* [BRE-739] Update the path where the artifact is unpacked
2025-11-26 09:40:53 -05:00
renovate[bot]
dd8e3f963d [deps]: Update actions/checkout action to v5.0.1 (#17537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-25 17:08:17 -05:00
renovate[bot]
d98234c91f [PM-28558] [deps]: Update actions/upload-artifact action to v5.0.0 (#17538)
* [deps]: Update actions/upload-artifact action to v4.6.2

* Bumping to 5.0.0. to keep all usages in sync

All other upload-artifacts actions were also bumped to 5.0.0 with https://github.com/bitwarden/clients/pull/17305

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-11-21 09:25:07 +00:00
Andy Pixley
d86c918e71 [BRE-1303] Providing method for pinning Chrome extension ID for dev (#17432) 2025-11-19 16:11:51 -05:00
Matt Andreko
9ee4fd0e44 Workflow corrections (#17392)
Co-authored-by: Amy Galles <9685081+AmyLGalles@users.noreply.github.com>
2025-11-19 14:15:12 -05:00
renovate[bot]
9ec05a96b9 [deps]: Update GitHub Artifact Actions (#17305)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-11-19 18:44:01 +00:00
neuronull
db16c201b8 Align Desktop Native's Rust CI checks with SDK (#17261)
* clean crate deps

* update lint workflow

* add rustfmt.toml

* apply rust fmt

* missed one

* fix lint of lint lol

* more deps platform fixes

* fix macos_provider

* some more deps clean

* more cleanup

* add --all-targets

* remove another unused dep

* generate index.d.ts

* fix whitespace

* fix split comment in biometric

* formatting comment in biometric_v2

* apply fmt
2025-11-19 15:07:57 +00:00
renovate[bot]
90ca6bf2cd [deps]: Update codecov/test-results-action action to v1.1.1 (#17493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-19 12:00:49 +00:00
gitclonebrian
bf8976ca66 [BRE-1333] Added permissions to token generation (#17471) 2025-11-18 15:27:21 -05:00
Vince Grassia
fa563641b2 BRE-1355 - Rename Bitwarden Unified to Bitwarden Lite (#17456) 2025-11-18 12:23:39 -05:00
renovate[bot]
bd2f6e7566 [deps]: Update anchore/scan-action action to v7 (#16635)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 15:49:45 +01:00
aj-bw
413a024e61 removal of freebsd build, upload, release and other references (#17354) 2025-11-17 16:33:12 -05:00
Vince Grassia
1fa10f24f7 Fix beta artifact name (#17425) 2025-11-17 17:31:54 +00:00
neuronull
a2abbd09bf Desktop Native compile debug builds with debug log level (#17357)
* Desktop Native compile debug builds with debug log level

* typo in code comment
2025-11-17 09:14:50 -07:00
Vince Grassia
9a3ba9e05b Fix workflow formatting (#17382) 2025-11-13 21:56:37 -05:00
Jonathan Prusik
6305a33359 revert broken actions/create-github-app-token version for BIT workflow (#17364) 2025-11-13 12:00:14 -05:00
Andreas Coroiu
c32dee13ca feat: add rust cache (#17280)
* feat: add rust cache

* fix: clean up commented code
2025-11-13 14:59:31 +01:00
Mick Letofsky
4964c212ce [PM-27181] - Grant additional permissions for review code (#17362) 2025-11-13 14:57:03 +01:00
renovate[bot]
e8ac3008c7 [deps]: Update sigstore/cosign-installer action to v4 (#17039) 2025-11-12 14:54:27 -06:00
renovate[bot]
9786594df3 [deps]: Update Minor github-actions updates (#14923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-12 13:18:42 -05:00
Matt Andreko
ec5081a7e9 Clean up workflow files for Zizmor (#17318) 2025-11-11 09:58:49 -05:00
Addison Beck
97ce47b832 build: swap to a workflow_dispatch trigger for sdk breaking change detection (#17314)
* swap to repository dispatch

Introduces GitHub Actions workflow that detects TypeScript breaking changes when SDK artifacts are updated. Workflow is triggered via repository_dispatch from SDK repository and runs npm test:types with newly built SDK artifacts.

The workflow downloads SDK build artifacts, installs them locally, and executes the existing TypeScript type checking process. Exit codes determine success/failure for SDK repository monitoring via gh run watch.

Addresses issue where breaking changes in SDK are discovered only when clients attempt SDK version updates, rather than during SDK development.

* review: claude fixes
2025-11-11 07:57:58 -05:00
Andreas Coroiu
dcabc0165a lint: apply zizmor auto-fixes (#17306) 2025-11-11 09:33:27 +01:00
brandonbiete
c3f4e9b12c [BRE-1302] Update deprecated macos 13 runners (#17312)
* [BRE-1302] Update runner to macos-15 for build-browser workflow on build-safari job

* [BRE-1302] Remove macos-13 and 14, add macos-15 to os matrix for build-cli

* [BRE-1302] Update macos runner to 15 and add python setup step before setuptools install

* [BRE-1302] Update macos runner to 15 for 2 additional jobs and add python setup step
2025-11-10 15:41:49 -05:00
aj-bw
f992b80161 [bre-1149] linux desktop arm builds - continuation of community PR#16096 (#17254)
* adding arm64 snap, flatpak and tar variant to releases now for future flatpak consumption
* adding arm64 snap, flatpak and tar build process

---------

Co-authored-by: fredrmb <69513590+fredrmb@users.noreply.github.com>
2025-11-07 10:31:53 -05:00
Matt Andreko
0b65442d5e 🔧 update cargo-deny version in ci (#17174) 2025-11-03 17:54:26 -05:00
Addison Beck
c1dec4032e ci: add SDK breaking change detection workflow (#17075)
* ci: add SDK breaking change detection workflow

Introduces GitHub Actions workflow that detects TypeScript breaking changes when SDK artifacts are updated. Workflow is triggered via repository_dispatch from SDK repository and runs npm test:types with newly built SDK artifacts.

The workflow downloads SDK build artifacts, installs them locally, and executes the existing TypeScript type checking process. Exit codes determine success/failure for SDK repository monitoring via gh run watch.

Addresses issue where breaking changes in SDK are discovered only when clients attempt SDK version updates, rather than during SDK development.

* review: add input validation for client payload fields

Add validation step early in the workflow to check for required
client_payload fields and prevent failures from malformed payloads.
This improvement was requested during code review to provide better
error handling and debugging information when the SDK workflow sends
incomplete data.

Validates SOURCE_REPO, SDK_VERSION, ARTIFACTS_RUN_ID, and ARTIFACT_NAME
before proceeding with artifact download and type checking.

* review: update action versions to match repository standards

Update GitHub Actions to consistent versions used across the clients
repository for better security and compatibility. This change was
requested during code review to align with existing patterns.

- actions/checkout: v4.2.2 → v5.0.0 with specific SHA hash
- actions/setup-node: v4.2.0 → v5.0.0 with specific SHA hash
- actions/create-github-app-token: v2.1.1 → v2.0.3 with specific SHA hash

Uses specific SHA hashes for all actions following repository security standards.

* review: add timeout to type checking command for faster failure detection

Wrap npm run test:types with 10-minute timeout to provide faster feedback
when type checking hangs and more predictable workflow behavior. This
improvement was requested during code review to prevent workflows from
running until the 15-minute job timeout.

Provides clearer indication when type checking itself fails versus other
workflow issues, improving debugging experience for developers.

* review: use CLIENT_LABEL environment variable in logging and output

Add CLIENT_LABEL to log messages and GitHub Step Summary output for
better traceability and debugging. This change
 was requested during
code review to make use of the defined CLIENT_LABEL environment
variable that was previously unused.

Improves workflow output clarity by showing which client type
(typescript, mobile, etc.) is being processed.

* review: add retry logic for npm ci command to handle network issues

Implement shell-based retry logic (3 attempts with 5-second delays) for
npm ci command to handle temporary network issues without adding external
dependencies. This improvement was requested during code review to make
the workflow more resilient to transient failures.

Continues with existing npm install approach while adding robustness
for dependency installation in GitHub Actions environment.

* review: improve shell script variable quoting for better practices

Update shell script to use proper variable quoting syntax throughout
(${VARIABLE} instead of $VARIABLE) for better shell scripting practices
and consistency. This change was requested during code review to follow
shell scripting best practices.

While this won't cause problems in practice, it prevents potential
word splitting issues and improves code maintainability.

* review: add back logging out of Azure

* review: adjust logic of retries for npm ci

* review: quote some strings

* review: add error catching around npm i

* review: remove unnecessary cleanup step

* review: use npm link and bitwarden/gh-actions/download-artifacts

* review: add underscores to job level env vars

* 🎨 fix artipacked zizmor issue and improved actionlint formatting

---------

Co-authored-by: Matt Andreko <mandreko@bitwarden.com>
2025-11-03 09:30:11 -05:00
Mick Letofsky
69d5c533ef Implement Claude respond reusable workflow (#17079) 2025-10-28 20:19:41 +01:00
renovate[bot]
185c912c62 [deps]: Update peter-evans/repository-dispatch action to v4 (#16848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-28 14:46:17 -04:00
Mick Letofsky
d5f2c9d5ec Implement reusable Claude code review workflow (#16979) 2025-10-27 16:25:40 +01:00
Andreas Coroiu
64590cb3c8 [PM-25911] Add commercial sdk internal as dependency (#16883)
* feat: add commercial sdk as optional dependency

* feat: add alias to CLI

* feat: add alias to browser

* feat: add alias to web

* fix: revert optional - we cant omit optional dependencies or the builds break

* feat: remove commercial package from browser build

* feat: remove commercial package from cli build

* feat: remove commercial package from web build

* chore: add commercial sdk to renovate

* fix: windows cli workflow

* fix: accidental change

* feat: add lint for version string

* undo weird merge changes
2025-10-27 15:17:20 +01:00
neuronull
c94f93d0c6 Desktop Native enable cargo deny CI check (#16935)
* Desktop Native enable cargo deny CI check

* make cargo-deny available

* order

* separate step
2025-10-24 07:35:55 -06:00
renovate[bot]
a592f2b866 [deps]: Update actions/checkout action to v5 (#16424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-23 15:18:43 -04:00
Vince Grassia
228b42f207 Escape dollar sign in URL (#16975) 2025-10-21 20:48:19 +00:00
Matt Andreko
1c9f1dbd62 Fix extra period at end of variable causing dev deployment issue (#16970) 2025-10-21 15:48:06 -04:00
renovate[bot]
1c4eed55a8 [deps]: Update actions/stale action to v10 (#16427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Derek Nance <dnance@bitwarden.com>
2025-10-21 14:29:42 -05:00
Matt Andreko
8beb1c6ab0 Clean up workflow files from Zizmor output (#16690) 2025-10-21 13:13:45 -04:00
Vince Grassia
d65824e624 BRE-1220 - Update Publish CLI workflow (#16912) 2025-10-17 09:35:57 -06:00
renovate[bot]
af529fbf39 [deps]: Update actions/setup-node action to v5 (#16426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 10:42:42 -04:00
Vince Grassia
a063099c61 BRE-1178 - Add Desktop Beta app for the Microsoft Store (#16691) 2025-10-13 15:37:31 -04:00
Mick Letofsky
d17fa04b7a PM-26727 - First iteration of Claude Code Review tuning (#16803)
* First iteration of Claude Code Review tuning
2025-10-09 14:25:22 +00:00
renovate[bot]
8f29d0325a [deps]: Update samuelmeuli/action-snapcraft action to v3 (#14930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amy Galles <9685081+AmyLGalles@users.noreply.github.com>
2025-10-08 13:49:42 -07:00
neuronull
aa3be491d7 Re-enable CI to run rust unit tests in desktop_native on Windows platform (#16711)
* Re-enable CI to run rust unit tests in desktop_native on Windows platform

* selectively exclude napi crate

* use proper package name
2025-10-06 14:38:17 -06:00
Mick Letofsky
525a6003bc Create Claude code review action (#16745) 2025-10-06 14:32:06 +02:00