Repository navigation
Compute fixture nm099996 eligible outside production (card S1) - #2164
Merged
neuromechanist merged 4 commits intoNov 14, 2026
Merged
neuromechanist merged 4 commits into
neuromechanist merged 4 commits into
Conversation
recipeZarrBase gives the production host unless the Worker is outside production and ZARR_HOSTNAME is a bare lower-case host name. recipeZarrArguments takes the base as an input; recipeJobSpec derives it from the Worker bindings. Tested: runner-jobs, runner-queue and zarr-source-check suites.
A second, precomputed pipeline predicate widens the real_dataset term to name nm099996 (never an exemplar). The claim, the candidate listing, the dispatch re-check and the dry run pick the text by ENVIRONMENT through isNonProductionEnv; unset or misspelled is production, whose three statement texts are unchanged (pinned against the base commit). Tested: new compute-fixture-eligibility suite and the pipeline, queue and runner suites.
…nto feature/pc-s1-fixture-eligibility
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR2164Version: 🤖 Updated on each push. |
This was referenced Nov 14, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outside production, the pipeline eligibility predicate now lets the compute fixture
nm099996through (never an exemplar, every other term still applies), and a Zarr recipe job's--zarr-basenames the environment's own Zarr host. Production is unchanged: its three statement texts are pinned character for character against the base commit.The widened predicate is a second, precomputed text (
PIPELINE_ELIGIBLE_SQL_NONPROD); the claim, the candidate listing, the dispatch re-check and the dry run pick the text withisNonProductionEnv(env), so an unset or misspelledENVIRONMENTis production.isPipelineEligible,failedPipelineTermsandloadPipelineRowtake the environment with no default.recipeZarrBase(shared) gives the production host unless the Worker is outside production andZARR_HOSTNAMEis a bare lower-case host name;recipeZarrArgumentstakes the base as an input and refuses any other origin. The host comes from the Worker's configuration only.Functions touched on files that cards S6 and Q0b also touch:
claimable,CLAIM_RUNNER_JOB_SQL(now built fromclaimSql),claimRunnerJobsandrebuiltSpecincompute-runner-queue.ts;recipeZarrArguments(newzarrBaseinput and a check) inshared/compute-recipes.ts.Gates run, each alone and in sequence:
bun run typecheck,bun run lint,bun run migrations:d1-check(all pass); the five acceptance suites (223 pass, 0 fail);compute-route-inventoryandzarr-source-check(91 pass); the related compute suites, including the two switch flag tests and the local stack (377 pass).Mutations, each failing the new suite and then reverted:
isNonProductionEnv(env)replaced bytrueinpipelineEligibleSql; theis_exemplarclause dropped (SQL form and TypeScript form separately);recipeZarrBasereturningZARR_HOSTNAMEwithout the check; plus the claim text, the candidate text, the term list and the Zarr base forced to the widened or non-production branch, a production term touched, one form widened alone, and the base check removed.Not run: the full
bun test(about 80 minutes; the epic gate of card S2 owns it). The fixture declaration list indatasetId.tsis not touched (card S1a).Existing tests changed only for the new signatures:
compute-pipeline-queue.test.ts(29 call sites passenvinstead ofenv.DB),zarr-source-check.test.ts(onezarrBaseinput),compute-pipeline-eligibility.test.tsandcompute-runner-jobs.test.ts.Card S1.