whyour
5801f735bc
fix: improve shell compatibility and process cleanup
...
Preserve literal paths and arguments, use portable command options, validate startup configuration, and retain scripts when downloads fail.
Ensure task watchdogs and process groups are cleaned up across Bash versions, with compatibility and process lifecycle regression coverage.
2026-10-15 23:20:15 +08:00
whyour
a8310e7d51
fix: restore legacy cron schedules and shell diagnostics ( #3078 )
2026-09-27 16:16:22 +08:00
whyour
a94e665054
fix: 修复任务生命周期与调度就绪,优化执行和构建开销 ( #3069 )
...
* fix: harden task lifecycle and scheduler readiness
* fix: confine log writes to the configured log directory
* fix: verify complete build artifacts and untracked inputs
* fix: reconcile scheduler state and make stop win startup races
* fix: isolate cron generations and serialize scheduler recovery
2026-09-13 00:32:41 +08:00
whyour
276dfc2382
perf: bound runtime memory and storage usage
2026-08-16 16:29:06 +08:00
whyour
d3016431ce
定时任务显示完整运行历史
2026-06-28 15:48:58 +08:00
whyour
b5a5fb3be6
shell 增加国际化
2026-06-14 21:19:06 +08:00
whyour
05f8fd3805
接口提示信息国际化
2026-06-11 02:19:04 +08:00
whyour
617cf7e5b4
更新 stop emoji
2026-06-09 00:48:03 +08:00
whyour
23b41893a3
修复获取任务退出码
2026-06-07 23:28:21 +08:00
whyour
e8ac195c96
增加任务统计
2026-06-01 18:20:18 +08:00
whyour
57d58c871e
fix: isolate task node dependencies
2026-05-24 01:40:07 +08:00
fbeb4f4a6c
Fix PM2 startup failures on ARM routers with Node.js incompatibility ( #2828 )
...
* Initial plan
* Add fallback mechanism for PM2 startup failures on incompatible hardware
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-11-16 20:29:32 +08:00
8f23c61fee
Add non-root Docker user support with automatic command setup ( #2830 )
...
* Initial plan
* Add non-root user guide and improve error messages
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Add PM2_HOME configuration to fix non-root user permission errors
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Fix PM2 socket error by using /tmp for PM2_HOME instead of mounted volume
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Document symlink permission limitation for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Clarify that scheduled tasks auto-adapt to use full paths when symlinks unavailable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Add error handling for symlink creation to prevent worker crashes
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Add practical solutions for non-root users to use ql and task commands
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Modify linkCommand to create symlinks in ~/bin for non-root users
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* 修复链接 task 命令
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
Co-authored-by: whyour <imwhyour@gmail.com >
2025-11-15 01:46:24 +08:00
214241797d
Fix QlPort and QlGrpcPort environment variables ignored in host network mode and pm2 reload ( #2825 )
...
* Initial plan
* Fix host mode port configuration by using QlPort environment variable
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Fix GRPC_PORT conflict in host network mode
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Ensure BACK_PORT and GRPC_PORT survive pm2 reload with --update-env
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Move env.sh sourcing after fix_config to preserve more environment variables
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Refactor: Extract export_ql_envs function and move env.sh sourcing earlier
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
* Extract load_ql_envs function and reorder initialization in docker-entrypoint.sh and update.sh
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com >
2025-11-14 22:56:39 +08:00
whyour
18f27a9a69
移除 nginx
2025-11-02 19:29:59 +08:00
whyour
2e94d58758
修改启动命令环境变量
2025-05-18 22:02:55 +08:00
whyour
da639a1f8f
移除部分历史兼容逻辑
2025-05-09 15:37:05 +08:00
whyour
d871585eee
修改服务启动逻辑
2025-05-07 09:30:00 +08:00
whyour
124e01e93a
修复 QLAPI 修复环境变量 remarks,esm 依赖查不到
2025-04-19 01:38:43 +08:00
whyour
8173075b67
定时任务支持 @once 和 @boot 任务
2025-02-20 02:18:59 +08:00
whyour
07f43538df
修复写入文件 mode
2025-01-22 01:17:13 +08:00
whyour
51ef4e7476
修改任务状态更新失败提示,重复运行提示
2025-01-12 00:19:14 +08:00
whyour
43d6ac2071
增加手动停止标识
2024-12-31 00:17:30 +08:00
whyour
678e3e2dc6
修改认证信息存储方式,避免认证信息异常
2024-12-30 14:23:04 +08:00
whyour
20c6a1e8bf
移除任务执行前后的脚本参数
2024-10-26 14:12:58 +08:00
whyour
6ea8d361fd
修复 mac 时间格式化
2024-09-29 22:47:57 +08:00
whyour
459f465f3b
修复 shell 未定义变量错误
2024-08-31 20:23:37 +08:00
whyour
af5de8372c
修复 shell 变量初始化检查,更新 sentry 版本
2024-08-18 14:19:45 +08:00
whyour
162bd9d8cc
修复 config 引入顺序
2024-07-22 23:29:08 +08:00
whyour
e694570f1a
增加 task_before.js 和 task_before.py 文件,在执行任务前执行,避免环境变量过大报错
2024-07-22 01:07:00 +08:00
whyour
eb5cc3943d
Javascript 和 Python 增加内置函数 QLAPI.notify
2024-07-21 01:15:16 +08:00
whyour
1b39d3ab48
JavaScript 和 Python 执行脚本前执行 task_before
2024-07-20 17:28:48 +08:00
whyour
e191aca41f
修改环境变量加载逻辑
2024-07-10 23:29:44 +08:00
whyour
71ba1534f2
增加自定写入 js 和 py 类型环境变量
2024-07-02 00:44:48 +08:00
whyour
7efe81df9e
修复 data 目录判断逻辑
2024-06-25 22:25:36 +08:00
whyour
70f2bef5d2
修改 ql 和 task 命令生成逻辑
2024-05-29 22:09:01 +08:00
whyour
0b52e05af8
bark 推送增加 archive 参数
2024-05-05 20:10:57 +08:00
whyour
0593dae41d
增加示例脚本
2024-04-21 22:27:51 +08:00
whyour
7b7e03b503
修改 git clone 参数
2024-03-28 23:00:49 +08:00
whyour
7a8a8ab9b3
修改系统重启逻辑
2024-03-14 17:37:52 +08:00
whyour
18671264bf
移除 config.sh 中 PipMirror 和 NpmMirror配置
2023-12-25 22:05:33 +08:00
whyour
be1d68c0d1
修改 schedule 服务代理环境变量
2023-12-10 21:53:23 +08:00
whyour
4a3ac7dc4b
移除随机延迟相关配置及 ProxyUrl 默认值,修复拉库通知可能失败
2023-11-05 01:02:31 +08:00
whyour
4938635ef4
修复服务启动时环境变量污染
2023-10-20 17:54:32 +08:00
whyour
bd004a0489
修复设置代理时,schedule 服务通信异常
2023-10-14 23:05:25 +08:00
whyour
b6376ed2e8
修复定时任务 task_after 命令无法停止
2023-10-12 00:45:49 +08:00
whyour
2a41f64d1b
修复 QlBaseUrl 末尾不加斜杠无法访问
2023-09-29 16:07:41 +08:00
whyour
eddc03e295
修复定时任务间隔较小,任务状态不准确
2023-09-26 22:51:33 +08:00
whyour
ab3fc9b5f1
定时任务增加运行任务前和运行任务后参数
2023-09-19 22:44:32 +08:00
whyour
0511a4af0d
增加 QlPort 环境变量,支持设置服务启动的端口,修复定时任务视图操作符筛选
2023-09-15 17:57:28 +08:00