From 52cd15cdb7b58f1b71c05170093cd823cf76c8c4 Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Tue, 8 Jul 2025 09:21:27 +0200 Subject: [PATCH] Improved error messages WIP #1085 --- .dagger/src/index.ts | 2 +- .github/workflows/main.yml | 7 + browser/data-browser/src/views/CrashPage.tsx | 2 +- browser/data-browser/src/views/ErrorPage.tsx | 2 +- browser/e2e/tests/search.spec.ts | 3 +- browser/lib/src/resource.ts | 4 +- browser/pnpm-lock.yaml | 1413 +----------------- lib/src/authentication.rs | 13 +- lib/src/db.rs | 5 +- lib/src/errors.rs | 269 ++-- lib/src/plugins/versioning.rs | 3 +- lib/src/storelike.rs | 5 +- 12 files changed, 162 insertions(+), 1566 deletions(-) diff --git a/.dagger/src/index.ts b/.dagger/src/index.ts index c42b950b5..cc94065f5 100644 --- a/.dagger/src/index.ts +++ b/.dagger/src/index.ts @@ -575,7 +575,7 @@ VOLUME /atomic-storage @func() /** Creates Docker images for all supported architectures */ - async createDockerImages(@argument() tag: string = "latest"): Promise { + async createDockerImages(@argument() tag: string = "develop"): Promise { const targets = Object.keys(TARGET_IMAGE_MAP); // Build one variant first. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbd155458..7182edc13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,3 +40,10 @@ jobs: with: name: build-artifacts path: ./artifact + - name: Publish Docker images + if: github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' + uses: docker/build-push-action@v4 + with: + context: . + push: true + tags: ${{ steps.meta.outputs.tags }} diff --git a/browser/data-browser/src/views/CrashPage.tsx b/browser/data-browser/src/views/CrashPage.tsx index 1d0540b6c..40869c11c 100644 --- a/browser/data-browser/src/views/CrashPage.tsx +++ b/browser/data-browser/src/views/CrashPage.tsx @@ -28,7 +28,7 @@ function CrashPage({ - {children ? children : } + {children ? children : } {clearError && }