A kitchen is not the place to find out the sound does not work - #858
Merged
sridharkalaibala merged 2 commits intoSep 17, 2026
Merged
Conversation
Promote develop to main: a publish that builds what it ships
A shop had a correct build installed and heard nothing. The repository
was green throughout and was right to be: every source file was correct.
What was wrong was the installer, which carried a page bundle built
before the code that page was supposed to contain.
No test here can see that. frontend/public/ is gitignored build output,
so the one link that broke is the one link invisible from the source
tree. This looks at an installed app instead and walks the whole chain:
the main process can compose and synthesise
the bridge carries it to a page
a page is listening <- the one that broke
the browser may play a data: sound
somebody turned it on
Breaking any one of them is silence with no error anywhere, which is why
it reports all five rather than stopping at the first.
It reads the served bundle rather than the source file beside it. The
installer contained frontend/static/script/js/core/kitchen-call.js,
correct and current, sitting next to a dashboard bundle that did not
contain it - so looking for the source file would have reported
everything fine.
Read only, because it is pointed at a till in a working restaurant,
often mid-service. A diagnostic that writes is one somebody is right to
refuse to run, and then it never gets run.
npm run check:installed
Run against the machine here it correctly reports the currently
installed build as not ready.
Contributor
|
Merged to Try it at https://develop.posnic.io, or run it yourself: git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev # then http://localhost:3000When you have tested it, say what you did and what happened, and set Reporting that something is broken is as useful as fixing it. It is |
This was referenced Sep 17, 2026
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.
A shop had a correct build installed and heard nothing. The repository was green throughout and was right to be: every source file was correct. What was wrong was the installer, which carried a page bundle built before the code that page was supposed to contain.
No test here can see that.
frontend/public/is gitignored build output, so the one link that broke is the one link invisible from the source tree.So this looks at an installed app instead, and walks the whole chain:
That is real output from the machine here, against the installer that went out. Five links, and breaking any one of them is silence with no error anywhere, which is why it reports all of them rather than stopping at the first:
data:soundThe trap it is built around
The installer contained
frontend/static/script/js/core/kitchen-call.js, correct and current, sitting next to adashboard.*.jsthat did not contain it. Checking for the source file would have reported everything fine. So the checker resolves the bundle the running app actually serves, and greps that.Read only
It is pointed at a till in a working restaurant, often mid-service. A diagnostic that writes is one somebody is right to refuse to run, and then it never gets run. A test asserts it contains no write calls.
Usage
It finds a default installation by itself, because whoever runs it is diagnosing a silent kitchen, not reading a script.
Tests
tests/a-kitchen-is-not-the-place-to-find-out.test.js