CI / Lint (eslint) (pull_request) Successful in 25s
CI / Test (jest) (pull_request) Failing after 23s
CI / Security (npm audit) (pull_request) Successful in 10s
CI / Integration (api) (pull_request) Successful in 2m24s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m49s
CI / UI screenshots (before/after) (pull_request) Successful in 17s
CI / UI (playwright) (pull_request) Successful in 1m52s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
- Server setup: npm ci, .env from .env.example, /healthz check; no SECRET_KEY (nothing reads it). - Worker setup was wrong (worker.js lives in worker/, and the deps come from the root manifests): copy worker.js plus package.json and package-lock.json, npm ci --omit=dev, .env from worker/.env.example; updates then come through the worker deploy hook. - Workflows: replaces "Future Feature" with a reference for every step type and field, the condition language, params, goto/end, dry run, abort, webhooks and the time limit, with a worked example. New Scheduler section. - Environment variables: complete tables for server and worker, including GANDALF_API_KEY, EXECUTION_MAX_MINUTES, HOST, rate limits. - Database schema: the real tables and columns, scheduled_commands included. - Troubleshooting: stuck executions now fail on their own; how to clear. - Removed the stale "Recent Updates" and "Future Enhancements" lists. - .env.example and worker/.env.example; package.json license is MIT, like LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "pulse-server",
|
|
"version": "1.0.0",
|
|
"main": "server.js",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"start": "node server.js",
|
|
"test": "jest --coverage",
|
|
"lint": "eslint --ext .js --max-warnings 0 .",
|
|
"test:ui": "playwright test",
|
|
"test:integration": "jest --config tests/integration/jest.config.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"description": "",
|
|
"dependencies": {
|
|
"axios": "^1.20.0",
|
|
"cron-parser": "^5.5.0",
|
|
"dotenv": "^17.2.3",
|
|
"ejs": "3.1.10",
|
|
"express": "^5.1.0",
|
|
"express-rate-limit": "^8.3.1",
|
|
"helmet": "8.1.0",
|
|
"mysql2": "^3.15.3",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.64.1",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-security": "4.2.1",
|
|
"jest": "^30.5.2"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/tests/ui/",
|
|
"/tests/integration/"
|
|
],
|
|
"coverageThreshold": {
|
|
"./lib/": {
|
|
"statements": 90,
|
|
"branches": 80,
|
|
"functions": 80,
|
|
"lines": 90
|
|
},
|
|
"./worker/": {
|
|
"statements": 40,
|
|
"branches": 70,
|
|
"functions": 25,
|
|
"lines": 40
|
|
}
|
|
}
|
|
}
|
|
}
|