Commit Graph
3488 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 8e2148599e Probe archive download support on demand
The source and commit views hit the /raw archive endpoint with a
HEAD request on every page load to decide whether to show the
download UI. That endpoint runs `git archive` server-side.

Move detection to user interaction: the clone popover probes when
the Download tab is opened, and the commit view checks on click,
navigating on success or showing a message on failure.

Cache only successful results per URL so transient or moving-ref 404s
aren't latched for the session.
2026-06-11 13:38:49 +02:00
Lorenz LeutgebandRūdolfs Ošiņš 09cb50bbf1 httpd/raw: Stream the result of git archive
The result of `git archive` is written to memory and only then sent off
via the network.

Instead of buffering potentially large archives, stream the response
body.

Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-06-11 13:07:03 +02:00
Lorenz Leutgeb 3c5e970bad httpd/raw: Do not archive for HEAD requests
`git archive` is executed for HEAD requests, even though the resulting
archive is never sent to the client.

Resolve this by taking the HTTP method as an argument an only producing
the archive if the request method is not HEAD.
2026-06-10 18:00:41 +02:00
Rūdolfs Ošiņš f922e9415c Show "Up to date" only after a successful check
The settings footer showed "Up to date" whenever no new version was
known — including when the update checker was disabled or the version
fetch had silently failed. Derive an explicit upToDate state that is
only true when a check succeeded and found no newer version, so a
failed or disabled check no longer claims the app is current.
2026-06-10 16:03:38 +02:00
Rūdolfs Ošiņš b363fdb297 Bypass HTTP cache when checking for new versions
The version check fetched latest.json without any cache directive.
The server sends no Cache-Control header, so WebKit applied heuristic
caching (RFC 9111 4.2.2): the response is considered fresh for 10% of
the time since Last-Modified, which can be hours to days between
releases. Apps checking for updates right after a release were served
a stale latest.json from disk cache and concluded they were up to
date. Dev builds use a separate cache, which is why the bug only
appeared in release builds.

Fetch with cache: "no-store" so every check hits the server.
2026-06-10 16:02:38 +02:00
Rūdolfs Ošiņš 239cc84bbf Show Linux launcher name as Radicle
On Linux, Tauri derives the deb/rpm package name from productName with
no way to set them independently. We override productName to
radicle-desktop so the package is named correctly, which would otherwise
also force the launcher entry to read radicle-desktop.

Add a custom .desktop template that hardcodes Name=Radicle while keeping
the package name unchanged.
2026-06-10 14:00:58 +02:00
Rūdolfs Ošiņš 984a614f19 Rename step in check-arch-package to match intent 2026-06-10 11:29:34 +02:00
Rūdolfs Ošiņš 3a1324cf7f Fix arch package check
Radicle is now officially distributed via arch itself, so we don't need
to fetch it manually anymore.
2026-06-09 17:49:53 +02:00
Rūdolfs Ošiņš eca06b7b31 Check if prerequisites are met before cutting release
Make sure docker and podman are up and running as they're necessary for
the arch packaging and artifact building.

This also shows what commands would have been run when a phase fails.
2026-06-09 17:04:59 +02:00
Rūdolfs Ošiņš 1482727860 Bump node version in release image to match project 2026-06-09 17:04:59 +02:00
Rūdolfs Ošiņš 31fed63737 Replace libsoup with libsoup3 in arch package
The official Arch repos dropped libsoup (2.x); it now lives
only in the AUR, so pacman fails with "target not found:
libsoup".
2026-06-09 15:19:54 +02:00
Rūdolfs Ošiņš 6cc5549975 Update arch package to v0.12.0 releases/desktop/0.12.0 2026-06-09 14:00:20 +02:00
Rūdolfs Ošiņš 3abba53437 Release v0.12.0 2026-06-09 13:55:44 +02:00
Rūdolfs Ošiņš e47a43498d Add interactive release script 2026-06-09 13:29:48 +02:00
Rūdolfs Ošiņš 411e2a9126 Raise open-file limit at startup
Listing a repo's refs for the peer selector resolves every remote's
signed refs through libgit2, opening a file descriptor per packfile it
reads. Radicle storage is a git monorepo that can hold thousands of
packfiles, so under the low default limit a Finder-launched bundle
exhausts descriptors and objects in the unopened packs spuriously fail
with "missing commit", leaving the peer selector stuck loading.

Raise the limit to 4096 at startup, matching heartwood's binaries.
2026-06-05 10:59:59 +02:00
Rūdolfs Ošiņš a6d7d0c1e0 Cache job listings per commit 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš 063b7f8d01 Run heavy read commands on the blocking pool 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš a3b66593a5 Log invoke timing in dev builds 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš d2441f1b3a Speed up commit count with a direct revwalk 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš 27f860fd77 Cache repo summaries for the sidebar 2026-06-04 18:04:33 +02:00
Rūdolfs Ošiņš efea7f1ab2 Add peer selector to repo source browsing
Introduce a peer/branch/tag selector in the repository source and commits
views, letting you browse the canonical refs or any peer's namespace.
2026-06-04 17:19:31 +02:00
Georgios Jason Efstathiou dded3703ee Annotate the test-e2e-docker bash 3.2 array guard
Add quick explainer for odd bash 3.2 workaround in docker harness.
2026-06-03 17:57:38 +02:00
Georgios Jason EfstathiouandClaude Opus 4.8 3414b6a5e2 Fix test-e2e-docker under bash 3.2 on macOS
The non-local path leaves EXTRA_ENV as an empty array, and expanding
"${EXTRA_ENV[@]}" under `set -u` errors with "unbound variable" on
bash 3.2 (the version shipped on macOS), aborting before the suite
runs. Guard the expansion with ${EXTRA_ENV[@]+...} so an empty array
expands to nothing instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 17:11:43 +02:00
Rūdolfs Ošiņš 857d68a1e9 Fix Linux AppImage on non-Debian distros
Force-bundle libjpeg.so.8 (Fedora/RHEL lack the libjpeg8 ABI the bundled
gdk-pixbuf needs) and strip the mismatched bundled glib core so the whole
glib stack resolves from the host. Repackage with mksquashfs, reusing the
AppImage's own runtime, so the step fetches nothing from the network.
2026-06-02 14:32:13 +02:00
Rūdolfs Ošiņš 50bd93e550 Dedupe job runs by runId to fix duplicate keys
The same run can appear under multiple job COBs at a commit, causing an
each_key_duplicate crash. Keep one view per runId, letting a terminal
status override a stale "started" one.
2026-05-29 17:15:04 +02:00
Rūdolfs Ošiņš a3386040d5 Dedupe job runs by runId to fix duplicate keys
The same run can appear under multiple job COBs at a commit,
causing an each_key_duplicate crash. Keep one view per runId,
letting a terminal status override a stale "started" one.
2026-05-29 17:03:49 +02:00
Georgios Jason Efstathiou a304fa471b Run e2e tests in a Docker container 2026-05-29 13:35:13 +02:00
Rūdolfs Ošiņš 17cd7adcb8 Harden rendered markdown links 2026-05-28 16:16:41 +02:00
Rūdolfs Ošiņš 747d9b05f9 Restrict job log links to http(s) URLs 2026-05-28 16:16:41 +02:00
Rūdolfs Ošiņš 5c1efdeaa6 Show a placeholder when there is no commit message 2026-05-28 12:39:39 +02:00
Rūdolfs Ošiņš 74b3c079ad Show a commit message placeholder when there is no message
This way we can still navigate to the single commit view.
2026-05-28 10:25:40 +02:00
Rūdolfs Ošiņš b02c1556cb Update arch package to v0.11.0 releases/desktop/0.11.0 2026-05-22 12:36:47 +02:00
Rūdolfs Ošiņš 657ac9a6c1 Release v0.11.0 2026-05-22 12:33:32 +02:00
Rūdolfs Ošiņš 6dc071a6ca Harden rendered markdown links 2026-05-22 11:32:34 +02:00
Rūdolfs Ošiņš 154d89851e Restrict job log links to http(s) URLs 2026-05-22 11:32:34 +02:00
Rūdolfs Ošiņš 270117ee7d Escape emoji character in twemoji alt attribute 2026-05-22 11:32:34 +02:00
Rūdolfs Ošiņš 14b25872ea Add cargo cooldown config 2026-05-22 10:34:46 +02:00
Rūdolfs Ošiņš f0c17d237e Upgrade rust deps with a 7 day cooldown 2026-05-22 10:34:29 +02:00
Rūdolfs Ošiņš 676597a669 Add a .npmrc cooldown setting of 7 days 2026-05-22 09:34:41 +02:00
Rūdolfs Ošiņš d80658a9f0 Upgrade all npm dependencies with a 7 day cooldown 2026-05-22 09:34:15 +02:00
Rūdolfs Ošiņš 4011aee528 Upgrade npm dependencies with a 7 day cooldown 2026-05-22 09:10:43 +02:00
Rūdolfs Ošiņš 7fbbbd3224 Fix did wrapping in JobCob dropdown 2026-05-22 08:53:05 +02:00
Rūdolfs Ošiņš d79bbf3a4d Defer TextInput autofocus past portal move
Fixes autofocus in New Repo modal text input.
2026-05-21 17:58:02 +02:00
Rūdolfs Ošiņš 15763d7c6e Stop add-repo button from expanding All Repos 2026-05-21 17:58:02 +02:00
Rūdolfs Ošiņš fece6edc44 Revert to 100 items per repository in inbox 2026-05-21 17:32:46 +02:00
Rūdolfs Ošiņš c651ef7779 Exclude job COBs without runs from list_jobs 2026-05-21 15:56:53 +02:00
Rūdolfs Ošiņš 0c40670e2b Show JobCob on the single-commit view 2026-05-21 15:56:53 +02:00
Rūdolfs Ošiņš 1e2eb18e8c Redesign JobCob popover 2026-05-21 15:56:52 +02:00
Rūdolfs Ošiņš 18953e9b08 Redesign JobCob popover 2026-05-21 15:47:18 +02:00
Rūdolfs Ošiņš 900074b282 Center checkmark icon in viewBox 2026-05-21 12:57:51 +02:00