fix(qa): pin Slack draft progress transport

This commit is contained in:
Dallin Romney
2026-08-21 10:00:42 -07:00
parent 781ded80d6
commit bc85430b73
2 changed files with 13 additions and 0 deletions
@@ -292,7 +292,14 @@ export function buildSlackQaConfig(
? {
streaming: {
mode: "progress" as const,
// These scenarios assert the portable draft compositor and
// chat.update identity. Native task streams have their own
// transport proof and do not expose that draft contract.
nativeTransport: false,
progress: {
// The per-run command marker is the tool-line correlation
// key; the product default intentionally hides raw commands.
commandText: "raw" as const,
label: false,
maxLines: 4,
toolProgress: progressOverrides.toolProgress,
@@ -596,12 +596,18 @@ describe("Slack live QA runtime helpers", () => {
expect(progressConfig("slack-progress-commentary-true")).toMatchObject({
commentary: true,
commandText: "raw",
toolProgress: false,
});
expect(progressConfig("slack-progress-commentary-false")).toMatchObject({
commentary: false,
commandText: "raw",
toolProgress: false,
});
expect(
buildScenarioConfig("slack-progress-commentary-true").channels?.slack?.accounts?.sut
?.streaming?.nativeTransport,
).toBe(false);
expect(
buildScenarioConfig("slack-progress-commentary-false").agents?.defaults?.verboseDefault,
).toBe("off");