Skip to content

fix(showcase-ops): correct e2e_smoke key_template (underscore not hyphen) - #4200

Merged
jpr5 merged 1 commit into
mainfrom
fix/showcase-ops-e2e-smoke-key-template
Apr 23, 2026
Merged

jpr5 merged 1 commit into
mainfrom
fix/showcase-ops-e2e-smoke-key-template

Conversation

@jpr5

@jpr5 jpr5 commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

One-line YAML fix aligning the e2e-smoke probe's emitted key prefix with the rest of the system.

  • showcase/ops/config/probes/e2e-smoke.yml line 56: key_template: "e2e-smoke:${name}" -> key_template: "e2e_smoke:${name}".

Why

Every other reference in showcase-ops uses the underscore form:

  • kind: e2e_smoke (same file, line 39)
  • DIMENSIONS enum (zod schema — e2e_smoke)
  • Alert rules filter on dimension: e2e_smoke

The YAML key_template was the lone hyphen holdout, so the producer wrote e2e-smoke:<slug> rows while the dashboard filtered for e2e_smoke. PB currently has 17 orphan hyphen rows and zero matches on the dashboard.

Driver code is untouched: deriveSlug splits on : regardless of prefix, so no test changes required. All 788 showcase-ops tests pass. Typecheck and build are clean.

Test plan

  • pnpm --filter @copilotkit/showcase-ops test — 788/788 green
  • pnpm --filter @copilotkit/showcase-ops typecheck — clean
  • pnpm --filter @copilotkit/showcase-ops build — clean
  • oxfmt --check on edited file — clean
  • oxlint showcase/ops/ — 0 errors (108 pre-existing warnings unrelated)
  • Post-deploy: confirm new e2e_smoke:<slug> rows appear in PB, hyphen rows go stale

…hen)

The YAML had key_template "e2e-smoke:${name}" (hyphen) but every other
reference — DIMENSIONS constant, alert rules, kind: e2e_smoke — uses
the underscore form. This mismatch caused the producer to write
e2e-smoke:<slug> while the dashboard filtered for e2e_smoke, leaving
17 orphan hyphen rows and zero matches on the dashboard.

Changing the YAML key_template aligns the emitted probe key with the
dashboard filter. Driver code (deriveSlug) splits on ':' regardless
of prefix, so no driver/test changes are required.
@vercel

vercel Bot commented Apr 23, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Apr 23, 2026 2:36pm
research-canvas Ready Ready Preview, Comment Apr 23, 2026 2:36pm
travel Ready Ready Preview, Comment Apr 23, 2026 2:36pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
chat-with-your-data Skipped Skipped Apr 23, 2026 2:36pm
form-filling Skipped Skipped Apr 23, 2026 2:36pm

Request Review

@jpr5
jpr5 merged commit 1050eac into main Apr 23, 2026
1 check passed
@jpr5
jpr5 deleted the fix/showcase-ops-e2e-smoke-key-template branch April 23, 2026 14:36
@github-actions

Copy link
Copy Markdown
Contributor

📣 Social Copy Generator

Generate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.

  • Generate social media copies

jpr5 added a commit that referenced this pull request Apr 23, 2026
## Summary

Phase 3 of the dashboard honesty pass, implementing all 7 sub-phases
from the [Notion
plan](https://www.notion.so/34b3aa381852812c9e12f34a6caa304a)
(v2.4) in a single PR.

### Sub-phases landed

- **3.0 Pre-flight**: Verified 34 e2e_smoke rows in PB. Producer gap
  from PR #4200 is resolved.
- **3.1**: Renamed dashboard e2e subscription to e2e_smoke to match
  the ops producer key shape. Updated formatLabel/formatTooltip dim
  unions, all test fixtures.
- **3.2**: Added per-integration L1-L4 LevelStrip component
  (Up/Wired/Chats/Tools badges). New subscriptions for agent, chat,
  tools, e2e_smoke. aggregateConnection refactored to variadic. Tools
  n/a gate: integration.demos.some(d => d.id === "tool-rendering").
- **3.3**: Retired HealthDot from per-feature cells (L1 Up badge in
  strip replaces it). Dropped smokeRow from per-cell rollup (Decision
  #7). Rollup now [healthRow, e2eRow] only. This enables first-ever
  green rollups -- smokeRow was always null in production due to a
  key-shape mismatch.
- **3.4**: Removed QA column entirely -- LiveBadge QA, CellState.qa,
  subscription, legend entry. No producer ever existed.
- **3.5**: Docs four-glyph mapping: ok=checkmark, missing=middle dot,
  notfound=cross, error=exclamation. Each DocState value now renders a
  distinct glyph and tone.
- **3.6**: Legend rewrite -- dropped QA and Hosted rows, added L1-L4
  strip documentation, expanded docs row for four glyphs, rewrote ?
  footnote to "probe has not yet ticked since deploy".
- **3.7**: Added PackagesSection below starters grid. Extended
  registry.json with packages array from showcase/shared/packages.json.
  CI drift test ensures package set matches integration set.

### Behavior changes

- Per-cell rollup can now produce green (previously impossible because
  smokeRow was always null due to the integration-scoped vs
  feature-scoped key mismatch).
- QA column removed (was always showing ? with no producer).
- HealthDot removed from per-cell badges (replaced by L1 Up in strip).
- E2E badge now reads from e2e_smoke dimension (was reading dead e2e).

## Test plan

- [ ] vitest: 8 test files, 67 tests passing (baseline was 4 files,
  52 tests)
- [ ] TypeScript: tsc --noEmit clean
- [ ] New tests: LevelStrip (7 tests), PackagesSection (3 tests),
  DocsLink (2 tests), packages-drift CI test (1 test)
- [ ] Updated tests: live-status.test.ts (rollup fixtures updated for
Decision #7), feature-grid.test.tsx (e2e_smoke keys), dashboard.spec.ts
  (e2e_smoke + agent/chat/tools fixtures)
- [ ] Verify at showcase.copilotkit.ai post-deploy: L1-L4 strip on
  each integration + package row; docs four-glyph visible; no QA column;
  green rollup on healthy cells
pull Bot pushed a commit to mexicanamerican/CopilotKit that referenced this pull request Apr 23, 2026
Phase 3.0: Pre-flight verified — 34 e2e_smoke rows in PB (producer
gap from PR CopilotKit#4200 resolved).

Phase 3.1: Rename dashboard e2e subscription to e2e_smoke to match
ops producer key. Update formatLabel/formatTooltip dim unions.

Phase 3.2: Add per-integration L1-L4 LevelStrip with Up/Wired/Chats/
Tools badges. New subscriptions for agent, chat, tools, e2e_smoke.
Widen aggregateConnection to variadic. Tools n/a gate uses
integration.demos.some(d => d.id === "tool-rendering").

Phase 3.3: Retire HealthDot from per-feature cells (L1 Up badge in
strip replaces it). Drop smokeRow from per-cell rollup (Decision #7).
Rollup now uses [healthRow, e2eRow] only. First-ever green rollups
enabled (smokeRow was always null in production).

Phase 3.4: Remove QA column — drop LiveBadge QA, CellState.qa,
subscription, legend entry. No producer ever existed.

Phase 3.5: Docs four-glyph mapping: ok->checkmark, missing->middle
dot, notfound->cross, error->exclamation. Each DocState has a
distinct glyph and tone.

Phase 3.6: Legend rewrite — drop QA/Hosted, add L1-L4 strip docs,
expand docs row for four glyphs, rewrite ? footnote.

Phase 3.7: Add PackagesSection below starters grid. Extends
registry.json with packages array from shared/packages.json. CI
drift test ensures package set matches integration set.
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
…hen) (CopilotKit#4200)

## Summary

One-line YAML fix aligning the `e2e-smoke` probe's emitted key prefix
with the rest of the system.

- `showcase/ops/config/probes/e2e-smoke.yml` line 56: `key_template:
"e2e-smoke:${name}"` -> `key_template: "e2e_smoke:${name}"`.

## Why

Every other reference in showcase-ops uses the underscore form:
- `kind: e2e_smoke` (same file, line 39)
- `DIMENSIONS` enum (zod schema — `e2e_smoke`)
- Alert rules filter on `dimension: e2e_smoke`

The YAML key_template was the lone hyphen holdout, so the producer wrote
`e2e-smoke:<slug>` rows while the dashboard filtered for `e2e_smoke`. PB
currently has 17 orphan hyphen rows and zero matches on the dashboard.

Driver code is untouched: `deriveSlug` splits on `:` regardless of
prefix, so no test changes required. All 788 showcase-ops tests pass.
Typecheck and build are clean.

## Test plan

- [x] `pnpm --filter @copilotkit/showcase-ops test` — 788/788 green
- [x] `pnpm --filter @copilotkit/showcase-ops typecheck` — clean
- [x] `pnpm --filter @copilotkit/showcase-ops build` — clean
- [x] `oxfmt --check` on edited file — clean
- [x] `oxlint showcase/ops/` — 0 errors (108 pre-existing warnings
unrelated)
- [ ] Post-deploy: confirm new `e2e_smoke:<slug>` rows appear in PB,
hyphen rows go stale
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
Phase 3.0: Pre-flight verified — 34 e2e_smoke rows in PB (producer
gap from PR CopilotKit#4200 resolved).

Phase 3.1: Rename dashboard e2e subscription to e2e_smoke to match
ops producer key. Update formatLabel/formatTooltip dim unions.

Phase 3.2: Add per-integration L1-L4 LevelStrip with Up/Wired/Chats/
Tools badges. New subscriptions for agent, chat, tools, e2e_smoke.
Widen aggregateConnection to variadic. Tools n/a gate uses
integration.demos.some(d => d.id === "tool-rendering").

Phase 3.3: Retire HealthDot from per-feature cells (L1 Up badge in
strip replaces it). Drop smokeRow from per-cell rollup (Decision CopilotKit#7).
Rollup now uses [healthRow, e2eRow] only. First-ever green rollups
enabled (smokeRow was always null in production).

Phase 3.4: Remove QA column — drop LiveBadge QA, CellState.qa,
subscription, legend entry. No producer ever existed.

Phase 3.5: Docs four-glyph mapping: ok->checkmark, missing->middle
dot, notfound->cross, error->exclamation. Each DocState has a
distinct glyph and tone.

Phase 3.6: Legend rewrite — drop QA/Hosted, add L1-L4 strip docs,
expand docs row for four glyphs, rewrite ? footnote.

Phase 3.7: Add PackagesSection below starters grid. Extends
registry.json with packages array from shared/packages.json. CI
drift test ensures package set matches integration set.
zeekay pushed a commit to Dream-AI-4444/CopilotKit that referenced this pull request Sep 11, 2026
## Summary

Phase 3 of the dashboard honesty pass, implementing all 7 sub-phases
from the [Notion
plan](https://www.notion.so/34b3aa381852812c9e12f34a6caa304a)
(v2.4) in a single PR.

### Sub-phases landed

- **3.0 Pre-flight**: Verified 34 e2e_smoke rows in PB. Producer gap
  from PR CopilotKit#4200 is resolved.
- **3.1**: Renamed dashboard e2e subscription to e2e_smoke to match
  the ops producer key shape. Updated formatLabel/formatTooltip dim
  unions, all test fixtures.
- **3.2**: Added per-integration L1-L4 LevelStrip component
  (Up/Wired/Chats/Tools badges). New subscriptions for agent, chat,
  tools, e2e_smoke. aggregateConnection refactored to variadic. Tools
  n/a gate: integration.demos.some(d => d.id === "tool-rendering").
- **3.3**: Retired HealthDot from per-feature cells (L1 Up badge in
  strip replaces it). Dropped smokeRow from per-cell rollup (Decision
  CopilotKit#7). Rollup now [healthRow, e2eRow] only. This enables first-ever
  green rollups -- smokeRow was always null in production due to a
  key-shape mismatch.
- **3.4**: Removed QA column entirely -- LiveBadge QA, CellState.qa,
  subscription, legend entry. No producer ever existed.
- **3.5**: Docs four-glyph mapping: ok=checkmark, missing=middle dot,
  notfound=cross, error=exclamation. Each DocState value now renders a
  distinct glyph and tone.
- **3.6**: Legend rewrite -- dropped QA and Hosted rows, added L1-L4
  strip documentation, expanded docs row for four glyphs, rewrote ?
  footnote to "probe has not yet ticked since deploy".
- **3.7**: Added PackagesSection below starters grid. Extended
  registry.json with packages array from showcase/shared/packages.json.
  CI drift test ensures package set matches integration set.

### Behavior changes

- Per-cell rollup can now produce green (previously impossible because
  smokeRow was always null due to the integration-scoped vs
  feature-scoped key mismatch).
- QA column removed (was always showing ? with no producer).
- HealthDot removed from per-cell badges (replaced by L1 Up in strip).
- E2E badge now reads from e2e_smoke dimension (was reading dead e2e).

## Test plan

- [ ] vitest: 8 test files, 67 tests passing (baseline was 4 files,
  52 tests)
- [ ] TypeScript: tsc --noEmit clean
- [ ] New tests: LevelStrip (7 tests), PackagesSection (3 tests),
  DocsLink (2 tests), packages-drift CI test (1 test)
- [ ] Updated tests: live-status.test.ts (rollup fixtures updated for
Decision CopilotKit#7), feature-grid.test.tsx (e2e_smoke keys), dashboard.spec.ts
  (e2e_smoke + agent/chat/tools fixtures)
- [ ] Verify at showcase.copilotkit.ai post-deploy: L1-L4 strip on
  each integration + package row; docs four-glyph visible; no QA column;
  green rollup on healthy cells

This branch was successfully deployed

3 active and 2 inactive deployments
Preview – research-canvas — 0dccfe81 Deployed Apr 23, 2026 by vercel[bot]
Preview – travel — 0dccfe81 Deployed Apr 23, 2026 by vercel[bot]
Preview – docs — 0dccfe81 Deployed Apr 23, 2026 by vercel[bot]
Preview – chat-with-your-data — 0dccfe81 Deployed Apr 23, 2026 by vercel[bot]
Preview – form-filling — 0dccfe81 Deployed Apr 23, 2026 by vercel[bot]
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.

1 participant