Commit Graph
296 Commits
Author SHA1 Message Date
7w1 b63b9b3b98 fix ios uninstallable 2026-07-22 12:23:22 -05:00
7w1 6d875ff449 ci: change nightly version scheme 2026-07-22 12:18:39 -05:00
7w1 28ecfd2900 add working directory to dev deploy 2026-07-21 16:35:37 -05:00
7w1 fc291d37ee ci: add nightly info to web deploys 2026-07-21 16:25:36 -05:00
7w1 4773ee2399 cache media and fix mac workflow (#1179)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-21 11:49:37 -05:00
7w1 e566db3074 cahce media and fix mac workflow 2026-07-21 11:43:41 -05:00
7w1 6dab80de31 fix(tauri): don't leak wry into CEF builds + don't gate updater manifest on android (#1165)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fix packaging to not including wry in cef build + don't wait 45 minutes
to release the desktop auto update json

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-21 16:25:39 +00:00
7w1 9869bf3339 unify naming and clean up press detection and fix selection 2026-07-21 10:59:01 -05:00
7w1 f72eb6cfea fix(ci): update builds to display nightly 2026-07-20 23:23:04 -05:00
Erwan Leboucher 45d08e43b9 fix(ci): don't gate updater manifest on android build
The updater-manifest job needed [setup-release, build, android], but
android takes 45 min and dev pushes cancel in-progress runs. So the
manifest almost never ran -- latest.json was stuck at nightly.29.1 for
4 builds.

The manifest only uses desktop .sig files (produced by the build job);
android produces no updater artifacts. Drop it from needs.
2026-07-20 22:46:05 +02:00
Andrew Attali 2857ecf5cd fix(ci): setup xcode first for ios 2026-07-20 19:41:47 +02:00
hazre e065fa674a fix(ci): pin actions correctly
Signed-off-by: hazre <[email protected]>
2026-07-20 19:21:21 +02:00
Erwan Leboucher 76f0f08ecc feat(ios): add AltStore/SideStore IPA distribution
Add nightly iOS build job to tauri-build.yml using tauri ios build --no-sign,
upload the unsigned IPA + altstore-source.json to the release, and document
the install flow in the README.
2026-07-20 09:03:05 +02:00
7w1 5628c5cc28 build(cef): compile via pnpm tauri:cef build instead of raw cargo (#1134)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-19 19:13:50 +00:00
Erwan Leboucher 5a430d73ff build(cef): compile via pnpm tauri:cef build instead of raw cargo 2026-07-19 20:55:59 +02:00
7w1 08113934ce Update tauri-build.yml 2026-07-19 13:49:19 -05:00
7w1 c0c4d6dd62 maybe fix windows 2026-07-19 13:34:53 -05:00
7w1 5b628ef781 ci: fix build workflows 2026-07-19 13:03:32 -05:00
7w1 2b2d0d1681 ci(tauri): add nightly auto updating 2026-07-19 12:19:37 -05:00
7w1 0742666c75 ci: add artifact attestations to releases 2026-07-19 12:04:29 -05:00
Erwan Leboucher eda2e91e96 ci(tauri): add android release job, nightly builds on dev, and graceful signing 2026-07-19 17:41:50 +02:00
Erwan Leboucher 8f0db81a1a build(cef): package Linux CEF via cef-package.sh, skip tauri's bundler 2026-07-19 17:36:20 +02:00
7w1 8822963ec1 ci(rust): add pull request quality checks 2026-07-18 23:17:49 -05:00
Erwan Leboucher d13c195d47 fix(tauri): apply desktop review fixes and drop redundant unifiedpush plugin 2026-07-19 01:06:27 +02:00
Erwan Leboucher 87f1728c6e fix(tauri): package full CEF runtime and correct AppImage sandbox handling 2026-07-19 01:06:27 +02:00
Erwan Leboucher 3f648236fa feat(tauri): add desktop auto-updater with signed release artifacts 2026-07-19 01:06:27 +02:00
Erwan Leboucher 825af1aa8e ci(tauri): build desktop apps and native packages on release 2026-07-19 01:06:27 +02:00
7w1 914f5a632d formatting 2026-07-11 16:43:16 -05:00
7w1 4a06202262 dev workflow 2026-07-11 16:40:44 -05:00
7w1 3517f733ff update latest and dev tags 2026-05-21 19:48:01 -05:00
7w1 403592b6ca update workflow to credit all committers 2026-05-18 17:52:00 -05:00
hazre f1a93cb087 fix(ci): use GitHub App bot identity for flake-lock-fix workflow 2026-05-13 01:00:59 +02:00
Flori Ava Star Weber f13280710e feat: add nix flake
this nix flake is heavily based off of prior work i have done in one of my
repos. it comes with the following features:

- building sable: `nix build .#sable` or just `nix build`. creates a `result/`
  dir with the built application.
- devshell: nix users now no longer need to do download and install all the
  dependencies for sable by themselves. the devshell comes with all the
  dependencies needed to develop sable
- checks: `nix flake check` is configured to perform all checks listed in
  `CONTRIBUTING.md` (fmt:check, lint, typecheck, knip, test:run)
- formatting: `nix fmt` runs all the formatters pnpm would also call, but
  provides a more familiar interface for nix users.
- pre-commit checks: nix users can benefit from having their changes checked for
  before the commit goes through. yay :3

`.vscode/settings.json` was updated to include hints for VS Code users using the
"nix env selector" extension to auto-detect the nix dev environment, if you have
nix installed.

I had to change `oxfmt.config.ts` just a tiny bit to make it work with the nix
stuff, because `node_modules` does not exist inside the nix build sandbox. `pnpm
fmt` successfully runs, so nothing should have broken.

`flake-lock-fix.yml` is a small workflow heavily based on
<https://docs.determinate.systems/guides/fix-hashes/>, which triggers on pushes
to `dev` which change `pnpm-lock.yaml`. The workflow uses `determinate-nixd` to
fix hashes in the `flake.nix`, then pushes the changes to `dev` automatically.
2026-05-08 18:04:24 +02:00
7w1 967b28b1e7 reescape arrows and update workflow to suppress preveiws 2026-05-06 21:22:27 -05:00
Rose 99630e0579 Update CodeQL action versions in codeql.yml
Updated CodeQL action versions in the workflow file.
2026-03-29 03:56:56 +02:00
Rose cd4b4c7651 Add CodeQL analysis workflow configuration
This workflow file sets up CodeQL analysis for the repository, specifying languages and build modes for scanning.
2026-03-28 13:27:27 +01:00
7w1 c0bf26c409 Update cloudflare-web-deploy.yml 2026-03-23 23:54:23 -05:00
7w1 f6934852d6 Update release.yml 2026-03-19 22:28:50 -05:00
Evie Gauthier 57eedcbf60 chore: resolve merge conflicts with dev; document telemetry consent banner 2026-03-16 22:27:17 -04:00
Evie Gauthier 2ac73d0aa9 feat(testing): add Vitest testing infrastructure with example tests 2026-03-16 11:20:37 -04:00
Evie Gauthier 36c4e0591b feat: add Sentry→GitHub Issues triage for PR preview builds
- Tag all Sentry events with PR number via VITE_SENTRY_PR env var
  (instrument.ts: setTag('pr', prNumber) on global scope)
- cloudflare-web-preview.yml: inject Sentry DSN, environment=preview,
  PR number, and source-map secrets into build env for PR runs
- New workflow sentry-preview-issues.yml: on every PR push, query Sentry
  for unresolved issues tagged with the PR number and environment=preview;
  create a GitHub issue per unique error (deduplicated by sentry-id marker),
  labelled 'sentry-preview' + 'pr-{N}'; maintain a sticky PR comment
  with a summary table; reopen closed issues on regression
- Labels allow filtering: -label:sentry-preview hides all automated issues
2026-03-15 23:40:58 -04:00
Evie Gauthier 3ce9e54145 feat(sentry): initialize SDK, performance instrumentation, developer settings, and error capture
Adds Sentry error tracking, performance monitoring, and session replay:

- Environment-based sampling: production 10%, preview/dev 100%
- Session replay with full privacy masking (text, media, inputs)
- Hashed MXID as anonymous user ID with homeserver tag
- Error rate limiting (50 events/session) to protect quota

Performance spans and metrics across all critical paths: auth login,
message send, timeline jump-load, per-event decryption, sliding sync
cycles, key backup, store wipe, UTD failures, sync degradation,
background notification clients, media uploads.

Developer settings panel (Settings → General → Diagnostics & Privacy):
error reporting toggle, session replay opt-in, breadcrumb category
controls, debug log export.

Crash page shows Sentry event ID with one-click feedback dialog.
Bug report modal sends structured reports to Sentry feedback API
with optional debug log attachment.

CI: Sentry env vars injected into preview (100% sampling) and
production (10% sampling) builds. Source maps uploaded via
@sentry/vite-plugin.
2026-03-15 23:40:58 -04:00
hazre c710b5d803 fix: align workflows to v* tags and support manual release deploys 2026-03-15 00:16:30 +01:00
7w1 ee3fdf68d5 Update prepare-release.yml 2026-03-14 13:55:38 -05:00
7w1 74a4d6a9ec Update prepare-release.yml 2026-03-14 13:47:28 -05:00
7w1 6881752c31 Update prepare-release.yml 2026-03-14 13:41:58 -05:00
7w1 f63a347df4 Update prepare-release.yml 2026-03-14 13:39:54 -05:00
7w1 fbbd46cd62 Update cloudflare-web-deploy.yml 2026-03-14 13:37:37 -05:00
hazre 721a2064ec ci: add merge queue support 2026-03-13 17:58:49 +01:00
hazre 57ac8e6391 ci: disable quality checks and changeset workflows on release pr 2026-03-13 17:58:47 +01:00