chore: session auto-commit

This commit is contained in:
MythEclipse
2026-06-06 03:08:16 +07:00
parent 917714f237
commit 187d6eba23
2 changed files with 18 additions and 1 deletions
+17
View File
@@ -25,6 +25,23 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Type check
run: bun run typecheck
- name: Run tests
run: bun test
- name: Lint
run: bun run lint
- name: Set lowercase image name
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> "$GITHUB_ENV"
+1 -1
View File
@@ -128,7 +128,7 @@ export async function handleInteraction(
} catch (error) {
// Normalize Zod validation errors to our ValidationError type
const normalized = error instanceof z.ZodError
? new ValidationError(error.errors.map(e => e.message).join("; "))
? new ValidationError(error.issues.map(e => e.message).join("; "))
: error;
logger.warn("Booster-role command failed", { error: normalized instanceof Error ? normalized.message : String(normalized) });
// If already deferred, edit the reply instead of replying anew