From 71faec841ff8aabdb35ff04320807c10bfb8d4ec Mon Sep 17 00:00:00 2001 From: pope-h Date: Sun, 8 Mar 2026 00:45:08 +0100 Subject: [PATCH 1/4] ci: fix client generation summary parsing --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fc3dc30..68212ca7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,10 +80,10 @@ jobs: - name: Check client generation summary run: | # Extract the number after "Failed: " - FAILED=$(grep -Eo "Failed: [0-9]+" build_clients.log | awk '{print $2}') + FAILED=$(grep -Eo "Failed: [0-9]+" build_clients.log | awk '{print $2}' | tail -n 1) if [ -z "$FAILED" ]; then - echo "Could not find 'Failed: N' in build_clients.log, all clients succeeded." - # Proceed even if not found, as output format might vary + echo "Could not find 'Failed: N' in build_clients.log; assuming 0 failures." + FAILED=0 fi if [ "$FAILED" -gt 0 ]; then echo "Client generation summary check failed: Failed: $FAILED" From badfc9dfe38e4bcd84e28e2ebbcca36afd0e38b8 Mon Sep 17 00:00:00 2001 From: pope-h Date: Sun, 8 Mar 2026 00:46:41 +0100 Subject: [PATCH 2/4] fix(frontend): avoid misused-promises in Settings save button --- frontend/src/pages/Settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index 52f4f86c..bc2d8d64 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -162,7 +162,7 @@ export default function Settings() { Cancel -

Recommended size: 256x256px. Max file size: 2MB.

+

+ Recommended size: 256x256px. Max file size: 2MB. +

@@ -133,7 +137,9 @@ export default function Settings() { -

Default token used for payroll distributions.

+

+ Default token used for payroll distributions. +

- - + +