ops: schedd 0.6.0 — timeoutMs применяется к существующим таскам, absent=-1 дефолт (проверено живьём)
- schedd.Dockerfile: daemon 0.5.0 → 0.6.0 (core 0.46.0), фикс applyTask timeoutMs + absent=-1 - tasks.json: timeoutMs убран (дефолт -1, требование vitya 'можно не указывать') - верификация: явный -1 применился к существующим; после удаления из файла live-sync дал -1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# schedd — опубликованный daemon из приватного реестра (verdaccio), как на проде.
|
||||
# @sched/daemon@0.5.0 (latest) + deps (core 0.45.0) — фикс 2026-08-20: envelope-дыра,
|
||||
# относительный statusUrl, poll-ретраи 2×500мс, run-deadline контракт (task-level timeoutMs).
|
||||
# @sched/daemon@0.6.0 (latest) + deps (core 0.46.0) — фикс 2026-08-20: applyTask
|
||||
# переносит timeoutMs при upsert; дефолт absent = -1 (никогда не авто-терминировать).
|
||||
# node >= 24 (engines у daemon; node:sqlite).
|
||||
FROM node:24-alpine
|
||||
RUN apk add --no-cache git
|
||||
@@ -8,7 +8,7 @@ WORKDIR /app
|
||||
ENV NODE_ENV=production
|
||||
ARG VERDACCIO_TOKEN
|
||||
RUN npm config set //verdaccio.kzntsv.site/:_authToken=${VERDACCIO_TOKEN} \
|
||||
&& npm install -g @sched/daemon@0.5.0 --registry=https://verdaccio.kzntsv.site --no-audit --no-fund
|
||||
&& npm install -g @sched/daemon@0.6.0 --registry=https://verdaccio.kzntsv.site --no-audit --no-fund
|
||||
EXPOSE 8080
|
||||
VOLUME ["/data"]
|
||||
ENTRYPOINT ["schedd"]
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
{
|
||||
"name": "ozon-seller-pipeline",
|
||||
"runner": "http",
|
||||
"timeoutMs": -1,
|
||||
"schedules": [{ "cron": "0 2 * * *" }],
|
||||
"config": {
|
||||
"url": "http://ozon-seller-builder:8080/run?async=1",
|
||||
@@ -18,7 +17,6 @@
|
||||
{
|
||||
"name": "yandex-market-pipeline",
|
||||
"runner": "http",
|
||||
"timeoutMs": -1,
|
||||
"schedules": [{ "cron": "30 2 * * *" }],
|
||||
"config": {
|
||||
"handler": "pipeline",
|
||||
|
||||
Reference in New Issue
Block a user