Repository navigation
after publish - #17
Merged
Merged
Conversation
shaneholloman
pushed a commit
to shaneholloman/copilotkit
that referenced
this pull request
Apr 21, 2026
… SIZE validation - Extend the binary-extension regex to cover .class, .jar, .pyd, .pyc, .node, .bin, .pdb, .zip, .whl — any of which a build tool can drop into a PR and none of which the previous regex caught. - Add set -euo pipefail at the top of the run block. Previously a transient wc failure (file deleted mid-diff) produced an empty SIZE, which then failed [ "$SIZE" -gt ... ] with "integer expression expected" on stderr while the script marched on — silent false-green possible. Now errors fail the job loudly. - Guard the wc -c call with an explicit numeric-regex check on SIZE. A non-numeric or blank result now emits a ::warning:: and skips the file rather than falling into the arithmetic comparison and crashing under set -e (finding CopilotKit#17, CopilotKit#18).
jpr5
added a commit
that referenced
this pull request
Jun 15, 2026
… B2 tests CB-1 (Slot 2 #22): convert B2 deploy-webhook tests to vi.stubEnv with `vi.unstubAllEnvs()` in afterEach instead of manual process.env mutation + try/finally restoration. Test runner now guarantees restoration and the test bodies are shorter / less error-prone (CR Slot 2 #22). CB-2 (Slot 2 #28): when `loadWebhookSecrets`' escape hatch fires with a real-looking NODE_ENV (anything except "test"), log at `warn` instead of `info` so a production typo (NODE_ENV=staging + HARNESS_ALLOW_NO_SECRET=1) is visible in dashboards / log alerting. Pure local-dev (NODE_ENV=test) stays at info level so a normal unit-test boot doesn't spam warnings. CB-3 (Slot 4 #17): clarify `loadWebhookSecrets`' docstring + bypass-log message — "set" is ambiguous (empty string would qualify pre-fix); use "non-empty" to match the actual predicate.
zeekay
pushed a commit
to Dream-AI-4444/CopilotKit
that referenced
this pull request
Sep 11, 2026
… SIZE validation - Extend the binary-extension regex to cover .class, .jar, .pyd, .pyc, .node, .bin, .pdb, .zip, .whl — any of which a build tool can drop into a PR and none of which the previous regex caught. - Add set -euo pipefail at the top of the run block. Previously a transient wc failure (file deleted mid-diff) produced an empty SIZE, which then failed [ "$SIZE" -gt ... ] with "integer expression expected" on stderr while the script marched on — silent false-green possible. Now errors fail the job loudly. - Guard the wc -c call with an explicit numeric-regex check on SIZE. A non-numeric or blank result now emits a ::warning:: and skips the file rather than falling into the arithmetic comparison and crashing under set -e (finding CopilotKit#17, CopilotKit#18).
jpr5
added a commit
that referenced
this pull request
Sep 15, 2026
…r builds
Caught by CI's `build-check` on shell, shell-docs and shell-dojo:
Error [ERR_MODULE_NOT_FOUND]:
Cannot find module '/app/harness/src/shared/cell-model/cell-model.combine.js'
imported from /app/harness/src/shared/catalog/catalog-flatten.ts
failed to solve: process "... generate-registry.ts ..." exit code: 1
Three of the four shell Dockerfiles staged `harness/src/shared/catalog/` ALONE,
on a premise their own comments stated: catalog-flatten.ts "imports only node
builtins + js-yaml, so no further harness source is needed". Step 5 reading
`STARTER_CEILING` from `../cell-model/cell-model.combine.js` falsified it and
the image builds died at `generate-registry.ts`.
This is the SECOND place that premise was baked in. I fixed the first
(`generate-registry-pattern.test.ts`'s sandbox) when CI caught it, and did not
sweep for others — so the same defect shipped again one layer down. All four
Dockerfiles now copy `showcase/harness/src/shared/` wholesale, including
shell-dashboard's, which enumerated `cell-model/` and `catalog/` individually
and merely happened to list both. An enumeration nobody updates is the hazard;
a whole-tree copy removes it. Every comment that asserted the old premise is
rewritten to say why.
A sweep of the remaining consumers found no third instance: `harness/Dockerfile`
copies `showcase/harness` wholesale, and the only other importer
(`scripts/generate-registry.ts`) resolves against the real tree.
RED/GREEN, executed locally against the real Docker surface — not inferred from
the CI log. `docker buildx build --builder desktop-linux -f
showcase/shell-dojo/Dockerfile .` (plain `docker build` here is hijacked to an
unauthenticated Depot builder and cannot run this):
pre-fix (COPY .../shared/catalog/ only)
#17 ERROR: process "... generate-registry.ts ..." did not complete
successfully: exit code: 1
code: 'ERR_MODULE_NOT_FOUND'
post-fix (COPY .../shared/)
#21 naming to docker.io/library/ladder-dojo-test:latest done
exit code 0
The fourth CI failure in that run, `build-check (google-adk)`, is unrelated
infra: `npm error code EEXIST` renaming inside `/root/.npm/_cacache` — an npm
cache race, on a path this change does not touch.
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.
No description provided.