Call the DAP recipes with the signatures the GitLab has
just lab dap-bootstrap on a GitLab 19.6.0-ee omnibus died at step 5 of 10, wrong number of arguments (given 1, expected 0), and two more recipes read signatures 19.6 also changed.
SeedFoundationalFlowsService#initialize took organization: through 19.5 and takes no arguments from 19.6, which reads the default organization (19.6, 19.5). seed-flows moves to ruby/seed_flows.rb, which reads the initialize parameters and passes organization: only where the service accepts it. A signature that is neither shape stops with the parameters it found.
FoundationalFlow#resolve_ai_feature gained a required container: (19.6). self-hosted-model rescued the ArgumentError for all 14 flows it read and configured only its five fixed features. trigger-preflight raised missing keyword: :container and refused every flow. Both read the method's parameters and pass container: where it is accepted: nil in self-hosted-model, which runs before a project exists, and the project in the preflight.
self-hosted-model never named duo_developer, the feature developer/v1 resolves to. It is now in the fixed list, and skipped where the instance withholds it.
The doctor accepts either seed shape and fails only when neither matches. The drift probe grepped the service source for the word organization, which the 19.6 file still carries in a comment, so it passed on the broken signature. It now matches the initialize line, and the pattern matches 19.4, 19.5 and 19.6.
Test
The engine self-test runs seed_flows.rb against stubs of the old, new and an unknown signature, a refused seeding, and both resolvers against a container: signature. The new-signature cases raise the upstream errors on the code this replaces: wrong number of arguments (given 1, expected 0) for seeding, and six unresolved flows for the resolver.
Live
One omnibus at GitLab 19.6.0 with SIM_LICENSE_MODE=staging and a self_hosted_dap purchase:
dap-bootstrapran 10 of 10. Step 5 seeded the foundational flows; step 6 read 17 flows, found 15 features and configured 9 of them on the mock model,duo_developeramong them.duo-runner-registerregistered the runner.trigger-flow simulation/test '<response>hi</response>'passed all preflight checks and started workflow 1.doctorfinished withPASS=48 FAIL=0.
down left no instance, disk, snapshot or firewall rule for the run.
Closes #60 (closed)