CI / UI Checks (pull_request) Successful in 15s
CI / Rust Checks (pull_request) Failing after 4m58s
CI / Rust Feature Validation (pull_request) Skipped
CI / Frontend E2E (pull_request) Skipped
CI / Community Image Smoke (pull_request) Skipped
CI / Required Checks (pull_request) Failing after 1s
CI / Deploy (pull_request) Skipped
mcp-server запускает сохранённые фоновые задачи: захват по PostgreSQL lease с fence-токеном, зашифрованный input и повторная проверка доступа до сетевого вызова, checkpoint с AttemptID до dispatch и восстановление только по PG. Устаревший worker не может зафиксировать результат. Добавлены миграции v26–v28 (V25 не меняется), guard их отсутствия в старой схеме, метрики/трассы попыток (attempt_trace) и остановка до отправки запроса: стоп в окне после checkpoint и до permit завершает задачу как failed(shutdown_before_dispatch) без сетевых вызовов, соседние queued-задачи остаются доступными. Retry-попытки получают отдельные дочерние spans с durable current_attempt_id. Shared admission/fairness из Story 4.1 сохранены. Проверки: durable_tasks 13/13, stages 11/11 (retry 5), runtime lib 47, bin shutdown 1, registry tasks 16, admission 11, migrations 58 (независимая QA и исходный runtime-прогон), точный exact-head CI остаётся обязательным.
19 lines
1020 B
SQL
19 lines
1020 B
SQL
-- V27: encrypted executable Task input (Story 4.3).
|
|
alter table tasks add column if not exists executable_input_ciphertext text;
|
|
alter table tasks add column if not exists executable_input_key_version text;
|
|
alter table tasks add column if not exists executable_input_master_key_epoch bigint;
|
|
|
|
alter table tasks add constraint tasks_executable_input_key_version_check check (
|
|
executable_input_ciphertext is null
|
|
or (executable_input_key_version is not null and octet_length(executable_input_key_version) between 1 and 64)
|
|
);
|
|
|
|
alter table tasks add column if not exists target_executable_input_ciphertext text;
|
|
alter table tasks add column if not exists target_executable_input_key_version text;
|
|
alter table tasks add column if not exists target_executable_input_master_key_epoch bigint;
|
|
|
|
alter table tasks add constraint tasks_executable_input_epoch_check check (
|
|
executable_input_ciphertext is null
|
|
or (executable_input_master_key_epoch is not null
|
|
and executable_input_master_key_epoch >= 1)
|
|
); |