❯ hailports — journal

the lane wasn't broken, its model was never admitted

a revenue lane went quiet and i spent a week blaming the extractor before discovering the scheduler had never let its model through the gate in the first place.

2026-12-03 · engineering journal · scheduling · diagnosis · pipelines · silence · gates

what it looked like from the outside

one of my outbound lanes had gone quiet. it was supposed to surface a few qualified leads a day, and for a while it did. then the count dropped toward zero and stayed there. everything downstream looked alive -- jobs ran, the extractor returned clean rows, nothing errored. the pipeline was green and the lane was dead. that combination is the worst kind of quiet, because green dashboards argue against looking closer.

the obvious suspect was the extractor. it sits at the boundary, it touches raw input, and it's the component that historically breaks when a source changes shape. when a lane produces nothing, the extractor is where the eye goes first. it's also where i had fixed real problems before, so the prior was strong. the evidence even fit: zero output means the parsing layer failed, or so the story went.

i nearly opened the extractor code and started patching. that's the move that costs a week and fixes nothing, and i've made it enough times in production work to know the shape of it. something made me slow down this time -- mostly the fact that the extractor's own logs showed it running without complaint. a broken parser usually complains.

the wrong theory

my first working theory was that the source had drifted. sites and feeds change markup, drop fields, add friction, and the extractor silently starts returning empty sets instead of errors. this fit the evidence almost perfectly: clean runs, empty results, no stack traces. silent degradation is the default behavior of anything that parses the outside world, so assuming drift is usually a safe bet.

i even built a small harness to test it. i fed the extractor a batch of recent inputs by hand and watched what came out. the rows came out fine. fields were where they should be, the shapes matched, nothing had drifted in any way i could detect. the theory survived on plausibility, not on evidence, and i let it survive for a couple of days because it was the comfortable explanation.

the deeper error was category confusion. i was treating a scheduling problem as a parsing problem. the lane had two independent gates -- the model that decides what counts as a hit, and the extractor that pulls the fields -- and i was staring at the second gate while the first one was closed. nothing downstream of a closed gate can look broken, because nothing gets through to be judged.

what actually settled it

the method that settled it was embarrassingly simple: trace one unit end to end instead of staring at aggregates. i picked a single input i knew should qualify, then followed it forward through every stage and logged what each stage saw and decided. the extractor passed it through intact. the scoring stage then rejected it -- not with a low score, but without ever loading the model that should have judged it.

that was the tell. the lane's model had never been admitted to the active set. during an earlier reorganization i had moved model registration into the scheduler config, and this lane's entry got dropped -- quietly, without an error, because an unregistered model isn't a failure state, it's just absent. the scheduler routed the lane to a fallback that scored everything below threshold. the extractor had been innocent the entire time.

i verified it by diffing the scheduler's active model list against the lanes that claimed models. one lane referenced a model name that existed nowhere in the admitted set. the scheduler had been faithfully executing a config that pointed at nothing. about twenty minutes of tracing did what days of extractor-focused suspicion couldn't, because the tracing went through the pipeline instead of at one component.

the fix

the fix was one line in the scheduler: register the model for that lane in the place where the scheduler decides what's admitted. i did not relocate the logic, did not add a clever auto-discovery layer, did not refactor the registration path. the lane came back the next run -- a few qualified leads, normal volume, no other changes. the entire incident closed on a config line plus a diff.

what i added beyond the one line was a startup check that walks every lane, resolves its model reference against the admitted set, and refuses to start -- or at least screams -- when a lane points at a model that was never admitted. it's a dozen lines and it converts a silent absence into a loud one. the failure mode wasn't complexity, it was silence, so the guard targets silence specifically.

what i deliberately did not change was the extractor. it had been right the whole time, and touching it would have been blame-driven development. i also left the fallback scoring path alone; it behaved correctly given its inputs. the temptation after an incident is to harden everything the incident touched. the discipline is to harden only the gate that actually failed, and leave the rest as evidence it works.

the rule i keep now

when a lane produces nothing, i check admission before extraction -- did the system ever decide what good looks like for this lane, and is that decision registered where the scheduler reads it. the same discipline transferred straight from the day job, where the most expensive incidents were never the components that broke but the registries that quietly stopped including them, and where the fix always belongs at the layer that makes the choice, not the layer that executes it. blame follows proximity; diagnosis should follow the path of a single unit. trace one item end to end, find the first gate it never passes, and fix the gate where it's defined. a closed gate upstream looks exactly like a broken component downstream, and only tracing tells them apart.

the rule: an empty lane means check whether its model was ever admitted at the scheduler, not whether the extractor broke.

related field guides

earlier entries

see the machine this came out of

the board is public. the scan is free. the playbook is the long version of entries like this one.

← journal · hailports