ci: the agent pane page ships the Inspector's ContextSection.css (base red since #23789)
Merged
TE
14d ago+2+2+0123456789-1-1-0123456789
What
#23789 added webviews/src/agent-session/acpmux/inspector/ContextSection.css (imported by ContextSection.tsx) but scripts/cmux-next/build-agent-pane-web.sh does not inline it. The script's imported-sheets check then stops the web step of every fleet app build on feat-cmux-next:
error: the agent pane imports webviews/src/agent-session/acpmux/inspector/ContextSection.css but build-agent-pane-web.sh does not add it to the page's styles
(fleet build job c1b9e21094ac3bbb5c792890, a capture build for #23883). This adds the sheet beside inspector.css. With the sheet on the page, webviews/test/agent-pane-no-capsules.test.ts sees the context section's 6 px meter (.acpmux-chat-inspector-context__bar, 3 px radius) as a capsule; it is a progress bar like .acpmux-context-bar, so it joins that test's capsules-by-nature list.
Tests
Observed / Not run
- Observed: on this branch
scripts/cmux-next/build-agent-pane-web.sh --checkprints "agent pane web bundle builds" (exit 0). The failure above is the same check on the base. - Observed:
bun test test/agent-pane-no-capsules.test.tspasses after a localbuild-agent-pane-web.sh;scripts/web-lint.shpasses. - Not run: a full fleet app build at this head.
Changelog
none
🤖 Generated with Claude Code
Agent session: cmux16