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

+4 -4
View File
@@ -1,6 +1,6 @@
name: "\U0001F680 New feature proposal"
description: Suggest an idea for this project
labels: [":sparkles: feature request"]
labels: [':sparkles: feature request']
body:
- type: markdown
attributes:
@@ -10,14 +10,14 @@ body:
id: feature-description
attributes:
label: Clear and concise description of the problem
description: "Explain your use case, context, and rationale behind this feature request. More importantly, what is the **end user experience** you are trying to build that led to the need for this feature?"
description: 'Explain your use case, context, and rationale behind this feature request. More importantly, what is the **end user experience** you are trying to build that led to the need for this feature?'
validations:
required: true
- type: textarea
id: suggested-solution
attributes:
label: Suggested solution
description: "In module [xy] we could provide following implementation..."
description: 'In module [xy] we could provide following implementation...'
validations:
required: true
- type: textarea
@@ -37,4 +37,4 @@ body:
description: Before submitting the issue, please make sure you do the following
options:
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
required: true
required: true
+1 -1
View File
@@ -4,4 +4,4 @@ newPRWelcomeComment: |
Please be patient and we will get back to you as soon as we can.
# Comment to be posted to on pull requests merged by a first time user
firstPRMergeComment: >
Congrats on merging your first pull request! 🎉🎉🎉
Congrats on merging your first pull request! 🎉🎉🎉
+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