Skip to content

Commit e5c68c0

Browse files
committed
fix(showcase/harness): align CLI smoke input slug shape with discovery
`buildSmokeInputs` was passing `name: manifest.name` (the display name, e.g. "LangGraph (Python)") which the liveness driver's `deriveSlug` stripped of a leading `showcase-` prefix and used as the slug — producing rows like `health:LangGraph (Python)` and `agent:LangGraph (Python)` that didn't join with anything else on the dashboard's depth ladder. Production discovery sets `name` to the Railway service name (`showcase-<slug>`), which strips cleanly to the slug. Mirror that shape from the local CLI so all rows for a service share the same keyspace and the dashboard cell can advance past D0.
1 parent 85afa8e commit e5c68c0

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

showcase/harness/src/cli/targets.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,20 @@ export function buildSmokeInputs(
192192
const slugs = [target.slug];
193193

194194
return slugs.map((slug) => {
195-
const manifest = loadManifest(slug, config);
195+
void loadManifest(slug, config); // ensures the slug is real
196+
// The driver's `deriveSlug` for discovery-mode inputs takes
197+
// `input.name` and strips a leading `showcase-` prefix. In production
198+
// discovery `name` is the Railway service name (`showcase-<slug>`),
199+
// so the derived slug matches the rest of the row keyspace
200+
// (`smoke:<slug>`, `health:<slug>`, etc.). The CLI was previously
201+
// passing `manifest.name` (the display name like "LangGraph (Python)")
202+
// which stripped to itself, producing rows like
203+
// `health:LangGraph (Python)` that didn't join with anything else
204+
// on the dashboard. Use the showcase-prefixed slug shape to mirror
205+
// production.
196206
return {
197207
key: `smoke:${slug}`,
198-
name: manifest.name,
208+
name: `showcase-${slug}`,
199209
publicUrl: getPackageUrl(slug, config),
200210
shape: "package" as const,
201211
};

0 commit comments

Comments
 (0)