Skip to content

after publish - #17

Merged
CopilotKit merged 1 commit into
mainfrom
atai/0822/readme
Aug 25, 2023
Merged

CopilotKit merged 1 commit into
mainfrom
atai/0822/readme

Conversation

@ataibarkai

Copy link
Copy Markdown
Contributor

No description provided.

@CopilotKit
CopilotKit merged commit ac259fb into main Aug 25, 2023
@CopilotKit
CopilotKit deleted the atai/0822/readme branch August 25, 2023 05:53
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants