feat(cron): expose run receipts and modularize execution

Return committed trigger IDs and add CLI wait and trigger-specific logs while
preserving API, CLI, transaction, deduplication and unknown-result semantics.

Move scheduling, lifecycle, settlement, queries and legacy adapters into
back/cron; remove obsolete internal import paths and circular dependencies.

Apply project formatting across the repository, cover CJS/MJS in formatting
hooks, add prettier:check and require formatting checks in AGENTS.md.

Validation: backend build; 1398 backend/frontend tests passed (17 platform
skips); 327 CLI tests passed (6 platform skips); 670 files pass format checks.
This commit is contained in:
whyour committed 2026-11-22 12:24:29 +08:00
1 parent 77ece406ac
commit c5458596c8
346 files changed
+32133 -11556

No files matched your search

+21 -21
View File
@@ -3,21 +3,21 @@ name: Build And Push Docker Image
on:
push:
paths:
- "**"
- "!*.md"
- '**'
- '!*.md'
# CLI is verified separately; its shared Bash upgrade engine ships in images.
- "!cli/**"
- "cli/src/internal/maintenance/upgradeArtifacts.cjs"
- "cli/src/internal/maintenance/platformBundle.cjs"
- "cli/src/internal/maintenance/upgradePrestart.cjs"
- "cli/src/internal/maintenance/panelUpgrade.cjs"
- "cli/src/internal/maintenance/nodeRuntime.cjs"
- "!.github/workflows/cli-package.yml"
- '!cli/**'
- 'cli/src/internal/maintenance/upgradeArtifacts.cjs'
- 'cli/src/internal/maintenance/platformBundle.cjs'
- 'cli/src/internal/maintenance/upgradePrestart.cjs'
- 'cli/src/internal/maintenance/panelUpgrade.cjs'
- 'cli/src/internal/maintenance/nodeRuntime.cjs'
- '!.github/workflows/cli-package.yml'
branches:
- "master"
- "develop"
- 'master'
- 'develop'
tags:
- "v*"
- 'v*'
workflow_dispatch:
inputs:
static_sync_only:
@@ -85,12 +85,12 @@ jobs:
run: echo "node-version=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
- uses: pnpm/action-setup@v6
with:
version: "8.3.1"
version: '8.3.1'
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: build front and back
@@ -253,11 +253,11 @@ jobs:
path: static/
- uses: pnpm/action-setup@v6
with:
version: "8.3.1"
version: '8.3.1'
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Read version from version.yaml
@@ -342,11 +342,11 @@ jobs:
path: static/
- uses: pnpm/action-setup@v6
with:
version: "8.3.1"
version: '8.3.1'
- uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Read version from version.yaml