Skip to content

feat(deploy): put every kind on the executor allowlist - #634

Merged
athvin merged 1 commit into
mainfrom
bm/allowlist-all-kinds
Nov 6, 2026
Merged

athvin merged 1 commit into
mainfrom
bm/allowlist-all-kinds

Conversation

@athvin

@athvin athvin commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Completes Phase 3's rollout: all eleven kinds run as per-attempt Kubernetes Jobs in the ci namespace. The value stays an explicit list for one more release so a revert is one line; Phase 4 deletes executor.dagKinds and the legacy arm together.

Why the last seven arrive at once

My earlier comment said they would go on one at a time "as each is observed" on a cluster. That was the wrong unit of evidence, and I'd rather correct it than honour it mechanically.

What a cluster run adds is not per-kind. It adds real scheduling, real projected-token verification, real EFS and a real image — properties of the platform, already proven live by lake_maintain (Phase 2, on a real runner node) and by run_all_full as seven pods with seven distinct pod uids and a ledgered lake. Running train on a cluster would re-prove that platform, not train.

The per-kind risk is the body and the work order, and the integration tier covers both for every kind: pg_run_all_dag.rs and pg_run_all_pipeline.rs stand up the REAL control plane (er_server::app(AppState::with_pg(..))) against a real DuckLake and run the real exec-task binary. A mis-assembled order for any kind fails there, not in the namespace.

Coverage per kind in that tier, for the record: run_all_full 28 references, train 11, lake_maintain 11, run_all_incremental 8, profile 7, correct 7, provision 5, apply_corrections 4, apply_approved 2.

DAG_KINDS is set in two places

The blue/green deploy sets it for the install and again for the cut-over. Both move here, and the comment now records that they must agree — changing only the install would have had the cut-over quietly revert the allowlist it had just widened.

That is the same shape as the #505 bug, where a merged config change never reached the cluster and the merge looked successful. I caught it only because the edit asserted its match count and got 2 where it expected 1.

Verified

  • both DAG_KINDS lines byte-identical (sort -u → 1 distinct value)
  • the \, escaping renders as one value: helm template shows all eleven in a single ER_EXECUTOR_DAG_KINDS
  • the workflow parses as YAML
  • no "stay OFF" claim survives anywhere in the file
  • make skills-check green

Follows #629 and #630. Phase 4's deletions come next.

🤖 Generated with Claude Code

Completes Phase 3's rollout: all eleven kinds run as per-attempt Kubernetes
Jobs in the ci namespace. The value stays an explicit list for one more release
so a revert is one line; Phase 4 deletes `executor.dagKinds` and the legacy arm
together.

## Why the last seven arrive at once

The previous comment said they would go on one at a time "as each is observed"
on a cluster. That was the wrong unit of evidence.

What a cluster run adds is not per-kind. It adds real scheduling, real
projected-token verification, real EFS and a real image — properties of the
PLATFORM, already proven live by `lake_maintain` (Phase 2, a real runner node)
and by `run_all_full` as seven pods with seven distinct pod uids and a ledgered
lake. Running `train` on a cluster would re-prove that platform, not `train`.

The per-kind risk is the body and the work order, and the integration tier
covers both for every kind — `pg_run_all_dag.rs` and `pg_run_all_pipeline.rs`
stand up the REAL control plane (`er_server::app(AppState::with_pg(..))`)
against a real DuckLake and run the real `exec-task` binary, so a mis-assembled
order for any kind fails there rather than in the namespace.

## DAG_KINDS is set in two places

The blue/green deploy sets it for the install AND for the cut-over. Both move
here, and the comment now says they must agree: changing only the install would
have had the cut-over quietly revert the allowlist it just widened — the same
shape as the #505 bug, where a merged config change never reached the cluster.
Caught by asserting the match count rather than by replacing blind.

Verified: both lines are byte-identical, the escaping renders as ONE value
(`helm template` shows all eleven in a single `ER_EXECUTOR_DAG_KINDS`), the
workflow parses as YAML, and no "stay OFF" claim survives anywhere in the file.

Co-Authored-By: Claude Fable 5 <[email protected]>
@athvin
athvin merged commit f034785 into main Nov 6, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants