fix: harden queue lifecycle and publish gate

- Preserve phase results on partial retry and keep interrupted phase
  context after restart.
- Avoid webhook bookkeeping crashes when retention deletes stale jobs.
- Add deeper unit, integration, and e2e coverage around queue seams.
- Require verify job to pass before publish runs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-05-16 18:39:19 +02:00
parent 679053b27d
commit a9429e2118
16 changed files with 1867 additions and 87 deletions

View File

@@ -6,7 +6,7 @@ on:
- 'v*'
jobs:
test-and-publish:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -30,6 +30,25 @@ jobs:
- name: Build
run: npm run build
publish:
runs-on: ubuntu-latest
needs: verify
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://git.sal.giize.com/api/packages/mozempk/npm/
- name: Install deps
run: npm ci
- name: Build
run: npm run build
- name: Publish
run: npm publish
env: