Commit Graph
69 Commits
Author SHA1 Message Date
Daniel NormanandRūdolfs Ošiņš b1acb3eb4d Integrate radicle-artifact into explorer
- Add release read API to httpd as cargo feature enabled by default
- Add Releases and Release views to the UI
- Filter out redacted artifacts and mark delegate authors
- Degrade releases UI gracefully with older radicle-httpd versions
- Hide fully redacted releases
- Skip releases in the list endpoint when every artifact was redacted by
  its author or a delegate, so no empty release entries are shown
- Keep them reachable with showRedacted=true and by release id
- Add e2e tests for the release routes

Co-Authored-By: Rūdolfs Ošiņš <rudolfs@osins.org>
2026-08-28 16:33:14 +02:00
Rūdolfs Ošiņš c1bda5f9e5 Bump Rust toolchain to 1.97.1 2026-07-28 09:22:15 +02:00
Georgios Jason Efstathiou b201ddd501 radicle-search: Add search backend and httpd endpoints 2026-07-13 10:53:17 +02:00
Rūdolfs Ošiņš c45c919826 Key Playwright browser cache on Playwright version
To avoid missing browsers in feature branches.
2026-04-22 17:48:45 +02:00
Rūdolfs Ošiņš 9ca1d7973e Fix GitHub actions warnings
Gets rid of "Node.js 20 actions are deprecated".
2026-04-22 15:25:27 +02:00
Rūdolfs Ošiņš a1b0723908 Bump nodejs 22.12.0 -> 24.15.0
This also drops .tool-versions to keep a single source of truth for the
node version in .nvmrc. We also point the github actions to .nvmrc now.
I'm the only dev who's using asdf to manage my tooling and I decided to
just configure it to fall back to .nvmrc via `legacy_version_file =
yes`.
2026-04-22 11:20:25 +02:00
Rūdolfs Ošiņš d21434d256 Remove unused test projects
We only run tests on chromium on CI.
2026-02-26 14:57:57 -06:00
Sebastian Martinez 9561049789 Update used rust toolchain to 1.87 2025-06-04 09:59:59 +02:00
Sebastian Martinez c6f0a7a0d2 Update node version to 22.12.0 2025-06-04 09:59:48 +02:00
Rūdolfs Ošiņš 98ad210b8d Allow manually triggering workflow builds 2025-02-03 11:00:41 -06:00
Sebastian Martinez 2bbcc2f9d1 http: Make the rust github workflow throw errors instead of warnings
Instead of failing silently, warnings should be treated as errors and be
fixed before merging a patch.
2024-09-04 08:00:35 +02:00
Sebastian Martinez cf995c09c1 Fix radicle-httpd tests for release instead of build from source 2024-07-09 15:39:58 +02:00
Sebastian Martinez 59a38e4191 Update install binaries script
radicle-httpd and rad-web have been removed from the files.radicle.xyz
tar files, so we should build them to always have the web client be
compatible with the httpd
2024-06-21 14:19:16 +02:00
Rūdolfs Ošiņš 2f1a5dcdfe Rename http-server -> radicle-httpd
So that the directory name matches the crate name.
2024-06-20 11:44:44 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Sebastian Martinez f87c09c634 http: Add GitHub workflow for http-server test and linting 2024-06-07 12:22:28 +02:00
Sebastian Martinez 4bb0e72841 Remove hash routing
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +01:00
Rūdolfs Ošiņš f9b1e5bf79 Install deps regardless of cache hit 2024-01-29 18:54:25 +00:00
Sebastian Martinez 27dcde41b0 Update actions in github workflow to v4 2024-01-25 16:14:16 +00:00
Rūdolfs Ošiņš 5684b8ef42 Refactor visual tests
We use built in devices for testing instead of our own custom ones.
Split up desktop and mobile visual tests for better separation.
2024-01-05 17:45:20 +00:00
Sebastian Martinez 23895bd826 Remove continue-on-error from e2e tests
This has introduced CI issues where e2e tests show up as successfull
as workflow but when entering the workflow show up as failed.
This is due to the nature of `continue-on-error` which marks a workflow
as successfull even if there where errors
2023-12-04 20:14:24 +01:00
Rūdolfs Ošiņš 709450cbac Disable Firefox e2e tests on CI
They give us more headaches than they find bugs.
2023-11-16 17:53:30 +01:00
Sebastian Martinez 3bdf21ec06 Update dependencies 2023-11-15 12:51:02 +01:00
Sebastian Martinez aa2ce409fb Update GitHub CI
Due to us moving to Radicle, we need to implement the following changes.

- We don't need the CI to run on pull_requests anymore.
- We want the CI to run on any push.
- For visual tests we don't want to update any comments and just fail
  the test and upload the artifacts for checking.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-02 11:23:09 +02:00
Sebastian Martinez b079b7f51a Update node version to 18.17.1
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 14:33:30 +02:00
Thomas Scholtes 40f2b3e516 Tests automatically use heartwood binaries from local test folder
It’s not necessary anymore to add the folder with the heartwood test
binaries to `PATH` before running the end-to-end tests.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-06-29 11:34:53 +02:00
Sebastian Martinez c95b879edd Update dependencies
Also update node to v18.16

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 09:59:09 +02:00
Sebastian Martinez c32b303744 Add CLI tooling to create seed fixtures on the fly
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-12 14:23:10 +02:00
Rūdolfs Ošiņš c8c251fabd Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-11 15:31:08 +02:00
Sebastian Martinez 4c3bd7ee04 Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the
hashRouter.spec.ts into the webserver config in the
playwright.config.ipfs.ts

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 11:50:24 +02:00
Rūdolfs Ošiņš c1d0fbc1d7 Don't try to find comment on master for visual diffs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-14 15:21:33 +01:00
Rūdolfs Ošiņš 68b0832280 Make sure visual diffs are generated on master
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-14 14:23:05 +01:00
Sebastian Martinez e8325294fa Join check and check-format scripts into one
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 10:35:57 +01:00
Rūdolfs Ošiņš ce36068c57 Update nodejs version
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-13 15:04:20 +01:00
Rūdolfs Ošiņš 30ceea80ce Fix link to artifacts
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-09 14:37:59 +01:00
Rūdolfs Ošiņš 8b9cbeb3ae Use a Github bot to comment about visual diff changes
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-08 12:22:57 +01:00
Rūdolfs Ošiņš 742fe4dec0 Update deps
And re-enable Firefox tests.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-06 11:53:55 +01:00
Rūdolfs Ošiņš 2bad94457c Migrate to the heartwood protocol stack
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-03 14:23:46 +01:00
Rūdolfs Ošiņš d71f47a98a Disable Firefox checks until Playwright is fixed
See https://github.com/microsoft/playwright/issues/21145 for more
details.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-27 16:26:10 +01:00
Rūdolfs Ošiņš 6287f1f916 Use radicle-httpd from our public download location
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 16:49:31 +01:00
Rūdolfs Ošiņš 40ad8c1efb Fix clearing snapshot cache
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-30 15:04:57 +01:00
Adam Szkoda 8df7d66419 Download radicle-httpd executable for e2e tests
Signed-off-by: Adam Szkoda <adaszko@gmail.com>
2023-01-09 15:25:12 +01:00
Rūdolfs Ošiņš 972b5ccf20 Remove playwright dependency install steps
It seems like the tests on CI work just fine without installing the
deps. We assume the deps are already installed in the ubuntu image.

This saves build time and our builds still work when the azure servers
that provide the deps are down.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-06 15:25:54 +01:00
Rūdolfs Ošiņš c3c3d06380 Split up visual markdown specs into sections
So that it's easier to spot changes.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
Rūdolfs Ošiņš 57600c8adf Remove *.log files from snapshot artifacts
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 17:37:06 +01:00
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņš 5f2cd259a0 Clean up snapshot cache on master
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-19 13:31:54 +01:00
Rūdolfs Ošiņš 41168db8d5 Improve CI workflows
- bump visual spec timeouts
- don't warn if there are no artifacts
- revert unneeded workflow checks
- improve workflow messages

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 23:10:57 +01:00
Sebastian Martinez 65b37b7ef4 Updates some CI packages to v3 and skips test if PR is merged
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-16 16:16:39 +01:00
Rūdolfs Ošiņš d7f8156725 Format yaml files with prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-16 15:51:13 +01:00