nixbot

builds

succeeded agent-slack-0.10.2 checks.aarch64-darwin.home-manager-utm-vm · build #791 · raw

1tribuchet: building on mac022Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/cgqwcm1zgrhk5gmlmpjpi0rc8f2zg5kh-source4source root is source
bunSetInstallCacheDirPhase
5Using bun root: "/private/var/tb/2/scratch/8a466143a7aa7d76/build/source"
bunPatchPhase
6patching script interpreter paths in .7./scripts/install-skill.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/bash"8./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/bash"9./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/f0b9dbw2gl596cm03pvdsss72381qhlp-bash-5.3p15/bin/sh"
configurePhase
10no configure script, doing nothing
bunNodeModulesInstallPhase
11/private/var/tb/2/scratch/8a466143a7aa7d76/build/source /private/var/tb/2/scratch/8a466143a7aa7d76/build/source12bun install flags: --linker=isolated --backend=symlink --ignore-scripts13bun install v1.4.2 (744846f84)1415+ @types/node@22.19.816+ @types/semver@7.7.117+ @types/turndown@5.0.618+ bun-types@1.3.919+ oxfmt@0.31.020+ oxlint@1.49.021+ semver@7.7.422+ simple-git-hooks@2.13.123+ typescript@5.9.324+ @slack/web-api@7.13.025+ commander@14.0.326+ hysnappy@1.1.027+ node-emoji@2.2.028+ turndown@7.2.229+ turndown-plugin-gfm@1.0.230+ zod@4.3.6313266 packages installed [538.00ms]33/private/var/tb/2/scratch/8a466143a7aa7d76/build/source
buildPhase
34Bundled 360 modules in 44ms3536 agent-slack.js 1.98 MB (entry point)37
checkPhase
38bun test v1.4.2 (744846f84)3940test/users.test.ts:41(pass) resolveUserId > returns user ids unchanged [3.84ms]42(pass) resolveUserId > returns W-prefixed user ids unchanged [0.27ms]43(pass) resolveUserId > resolves @handle via users.list [3.80ms]44(pass) resolveUserId > resolves email via users.lookupByEmail [0.07ms]45(pass) resolveUserId > resolves @handle case-insensitively [0.22ms]46(pass) resolveUserId > falls back to users.list when lookupByEmail is unavailable [1.51ms]4748test/desktop-auth-paths.test.ts:49(pass) Windows Store Slack package detection > matches known Microsoft Store package identifiers [0.06ms]50(pass) Windows Store Slack package detection > does not match unrelated packages5152test/format-outbound.test.ts:53(pass) formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [2.25ms]54(pass) formatOutboundSlackText > leaves already-formatted mention tokens alone [0.41ms]55(pass) formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.01ms]56(pass) formatOutboundSlackText > promotes broadcast mentions [0.01ms]57(pass) formatOutboundSlackText > escapes bare < > & in literal text [0.02ms]58(pass) formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.02ms]59(pass) formatOutboundSlackText > does not promote email-like or mid-word @60(pass) formatOutboundSlackText > handles empty input61(pass) formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.30ms]6263test/leveldb-reader.test.ts:64(pass) leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [1.75ms]65(pass) leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [0.78ms]66(pass) leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [3.92ms]67(pass) leveldb-reader > readChromiumLevelDB > reads entries from log files [2.72ms]68(pass) leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [1.19ms]69(pass) leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.79ms]70(pass) leveldb-reader > findKeysContaining > filters entries by key substring [1.34ms]71(pass) leveldb-reader > findKeysContaining > returns empty array when no matches [1.80ms]72(pass) leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.42ms]73(pass) leveldb-reader > edge cases > handles empty SSTable file [0.25ms]74(pass) leveldb-reader > edge cases > handles SSTable smaller than footer size [0.39ms]7576test/messages.test.ts:77(pass) fetchThread > returns the thread root and replies in chronological order [1.22ms]7879test/workspace-selector.test.ts:80(pass) resolveWorkspaceSelector > matches exact URL [0.80ms]81(pass) resolveWorkspaceSelector > matches unique substring by host/team [0.25ms]82(pass) resolveWorkspaceSelector > matches unique substring by workspace name [0.02ms]83(pass) resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.19ms]84(pass) resolveWorkspaceSelector > returns no match when selector does not match [0.02ms]8586test/help-contracts.test.ts:87(pass) agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [5.06ms]88(pass) agent-facing help contracts > message compose identifies its CI send behavior [0.74ms]89(pass) agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [0.87ms]90(pass) agent-facing help contracts > scheduled cancellation identifies its required channel [0.59ms]91(pass) agent-facing help contracts > Later reminders identify named-day timezone behavior [0.26ms]92(pass) agent-facing help contracts > canvas creation identifies source and credential constraints [0.39ms]93(pass) agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.25ms]94(pass) agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.27ms]95(pass) agent-facing help contracts > DM help states Slack's group size limit [0.22ms]9697test/channel-command.test.ts:98(pass) channel list command > defaults to users.conversations for current user [9.61ms]99(pass) channel list command > with --user id uses users.conversations and sets user directly [0.65ms]100(pass) channel list command > with --user handle resolves via users.list before users.conversations [0.32ms]101(pass) channel list command > with --user unknown handle is a hard error [0.27ms]102(pass) channel list command > with --all uses conversations.list [0.25ms]103(pass) channel list command > forwards --limit and --cursor [0.16ms]104(pass) channel list command > --all and --user is a hard error [0.15ms]105(pass) channel list command > invalid --limit is a hard error [0.15ms]106(pass) channel list command > help text documents single-page pagination model [0.08ms]107(pass) channel mark command > URL target extracts workspace from URL [1.53ms]108(pass) channel mark command > URL target rejects --workspace flag [0.24ms]109(pass) channel mark command > channel target requires --ts [0.17ms]110(pass) channel mark command > URL target allows --ts override [0.21ms]111(pass) channel mark command > channel target with --ts calls conversations.mark [0.17ms]112113test/user-id.test.ts:114(pass) isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.01ms]115(pass) isUserId > preserves the existing length and character restrictions [0.02ms]116117test/mrkdwn.test.ts:118(pass) slackMrkdwnToMarkdown > converts Slack-style links [0.09ms]119(pass) slackMrkdwnToMarkdown > converts user and channel mentions [0.05ms]120(pass) slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.10ms]121122test/rich-text.test.ts:123(pass) parseInlineElements > plain text returns single text element [0.46ms]124(pass) parseInlineElements > *bold* is parsed with bold style [0.03ms]125(pass) parseInlineElements > _italic_ is parsed with italic style [0.02ms]126(pass) parseInlineElements > ~strike~ is parsed with strike style [0.01ms]127(pass) parseInlineElements > `code` is parsed with code style [0.02ms]128(pass) parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.02ms]129(pass) parseInlineElements > emoji names with underscores are not parsed as italic text [0.01ms]130(pass) parseInlineElements > time-like colon text is not parsed as an emoji element131(pass) parseInlineElements > <url|label> is parsed as link with text [0.05ms]132(pass) parseInlineElements > <url> is parsed as link without text [0.01ms]133(pass) parseInlineElements > <mailto|label> is parsed as link with text [0.01ms]134(pass) parseInlineElements > non-url angle bracket text is preserved as text [0.01ms]135(pass) parseInlineElements > non-url labeled angle bracket text is preserved as text [0.01ms]136(pass) parseInlineElements > channel mention tokens are parsed as channel elements [0.01ms]137(pass) parseInlineElements > bare channel mention tokens are parsed as channel elements [0.01ms]138(pass) parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.01ms]139(pass) textToRichTextBlocks > plain text returns null [0.45ms]140(pass) textToRichTextBlocks > inline-only formatting returns null by default [0.03ms]141(pass) textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.03ms]142(pass) textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.03ms]143(pass) textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.05ms]144(pass) textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.02ms]145(pass) textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.02ms]146(pass) textToRichTextBlocks > bullet list with - prefix [0.14ms]147(pass) textToRichTextBlocks > bullet list with bullet character [0.25ms]148(pass) textToRichTextBlocks > sub-bullets with indentation [0.05ms]149(pass) textToRichTextBlocks > white bullet sub-bullets under bullet [0.03ms]150(pass) textToRichTextBlocks > mixed text and bullets [0.02ms]151(pass) textToRichTextBlocks > numbered list [0.04ms]152(pass) textToRichTextBlocks > bold text in list items is parsed [0.03ms]153(pass) textToRichTextBlocks > emoji and channel references in list items are parsed [0.05ms]154(pass) textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.03ms]155(pass) textToRichTextBlocks > code block is preserved [0.02ms]156(pass) textToRichTextBlocks > blockquote is preserved [0.02ms]157158test/message-reaction-filters.test.ts:159(pass) parseReactionFilters > normalizes shortcodes, names, and unicode [0.53ms]160(pass) parseReactionFilters > returns empty array when unset [0.02ms]161(pass) passesReactionNameFilters > matches when required reaction is present [0.14ms]162(pass) passesReactionNameFilters > does not match when required reaction is missing [0.03ms]163(pass) passesReactionNameFilters > does not match when excluded reaction is present [0.03ms]164(pass) passesReactionNameFilters > matches when excluded reaction is absent [0.02ms]165(pass) passesReactionNameFilters > supports with + without together [0.02ms]166(pass) requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.03ms]167(pass) requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.01ms]168(pass) requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.81ms]169170test/parse-limit.test.ts:171(pass) parseLimit > returns undefined when no value given [0.04ms]172(pass) parseLimit > parses valid positive integers [0.02ms]173(pass) parseLimit > rejects non-numeric strings [0.02ms]174(pass) parseLimit > rejects zero [0.02ms]175(pass) parseLimit > rejects negative numbers [0.01ms]176(pass) parseLimit > rejects floats (uses integer part)177(pass) requireMessageTs > returns trimmed ts when present [0.02ms]178(pass) requireMessageTs > throws when missing [0.01ms]179(pass) requireMessageTs > throws when blank [0.01ms]180181test/message-compact.test.ts:182(pass) toCompactMessage > includes file with path on successful download [0.80ms]183(pass) toCompactMessage > includes file with error on failed download [0.09ms]184(pass) toCompactMessage > excludes files with no downloadedPaths entry [0.04ms]185(pass) toCompactMessage > mixes successful and failed downloads [0.05ms]186(pass) toCompactMessage > failed download preserves file metadata for content-type filtering [0.03ms]187(pass) passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.08ms]188(pass) passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.04ms]189(pass) passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.03ms]190(pass) toCompactMessage filename preservation > does not fall back to title when name is missing [0.03ms]191192test/user-cache.test.ts:193(pass) user-cache helpers > collectReferencedUserIds excludes reaction users by default [0.79ms]194(pass) user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.04ms]195(pass) user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.10ms]196197test/message-send.test.ts:198(pass) sendMessage > posts a normal message when no attachments are passed [1.30ms]199(pass) sendMessage > --no-unfurl disables link and media previews for immediate sends [0.17ms]200(pass) sendMessage > opens and sends to a DM for a W-prefixed user target [0.23ms]201(pass) sendMessage > returns a permalink when the workspace was resolved implicitly [0.08ms]202(pass) sendMessage > threaded reply returns thread_ts distinct from ts [0.21ms]203(pass) sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.15ms]204(pass) sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.09ms]205(pass) sendMessage > --reply-broadcast without --thread-ts throws [0.12ms]206(pass) sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [0.49ms]207(pass) sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.10ms]208(pass) sendMessage > --reply-broadcast works alongside --blocks payload [1.56ms]209(pass) sendMessage > uploads attachment and uses message text as initial comment [2.81ms]210(pass) sendMessage > --no-unfurl cannot be combined with file attachments [0.19ms]211(pass) sendMessage > sends initial comment only for the first attachment [1.72ms]212(pass) sendMessage > uploads attachment without text when text is empty [1.30ms]213(pass) sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [1.18ms]214(pass) sendMessage > --blocks: errors when JSON is not an array [0.81ms]215(pass) sendMessage > --blocks: errors on malformed JSON [7.74ms]216(pass) sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [1.92ms]217(pass) sendMessage > sends Slack manual links in lists as rich-text link blocks [0.29ms]218(pass) sendMessage > --blocks: errors when an array element is not an object [2.37ms]219(pass) sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [2.46ms]220(pass) sendMessage > --schedule-in computes a relative post_at [0.35ms]221(pass) sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.14ms]222(pass) sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [1.44ms]223(pass) sendMessage > --schedule cannot be combined with file attachments [0.14ms]224(pass) composeMessage > --no-unfurl disables link and media previews when CI sends immediately [0.68ms]225(pass) composeMessage > keeps Slack's default preview behavior for a standard CI send [0.10ms]226(pass) composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.40ms]227(pass) scheduled message management > lists scheduled messages and forwards channel filters [0.35ms]228(pass) scheduled message management > cancels scheduled messages with the required channel id [0.19ms]229(pass) scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.06ms]230(pass) scheduled message time parsing > parses named relative times like monday 9am [12.69ms]231(pass) scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.09ms]232(pass) editMessage > edits a normal text message without blocks [0.40ms]233(pass) editMessage > edits literal angle bracket text without blocks [0.09ms]234(pass) editMessage > edits a message URL with a link label without blocks [0.15ms]235(pass) editMessage > edits an inline mailto link without escaping it [0.08ms]236(pass) editMessage > edits an inline usergroup mention without escaping it [0.07ms]237(pass) editMessage > edits a channel target with inline formatting without blocks [0.06ms]238(pass) editMessage > edits a channel target with rich text blocks when text contains a list [0.11ms]239(pass) editMessage > edits a normal message without blocks when no --blocks file is passed [0.07ms]240(pass) editMessage > edits a message URL with Block Kit JSON from file [0.82ms]241(pass) editMessage > edits a channel target with --ts and Block Kit JSON from file [0.80ms]242243test/compact-json.test.ts:244(pass) pruneEmpty > drops null/undefined/empty containers [0.10ms]245246test/search-query.test.ts:247(pass) W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [0.34ms]248(pass) W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.17ms]249250test/message-draft-actions.test.ts:251(pass) createDraftAction > creates a draft addressed to a channel id [2.01ms]252(pass) createDraftAction > rejects --broadcast without a thread [0.22ms]253(pass) createDraftAction > rejects --broadcast for a DM (user) target [0.10ms]254(pass) createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.06ms]255(pass) createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.06ms]256(pass) createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.28ms]257(pass) createDraftAction > uploads --attach files and wires their file ids into the draft [12.54ms]258(pass) createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.45ms]259(pass) updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.71ms]260(pass) updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.15ms]261(pass) updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.14ms]262(pass) updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.14ms]263(pass) updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.20ms]264(pass) updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.10ms]265(pass) updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.10ms]266(pass) updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.08ms]267(pass) updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.10ms]268(pass) updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.09ms]269(pass) updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.07ms]270(pass) updateDraftAction > merges --attach file ids into the draft's existing file_ids [1.26ms]271(pass) updateDraftAction > merges --attach while de-duplicating ids already on the draft [1.24ms]272(pass) deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.34ms]273(pass) listDraftsAction > hydrates channel display names [0.48ms]274{275 "ok": true,276 "draft": {277 "id": "Dr123",278 "destinations": [279 {280 "channel_id": "C11111111",281 "thread_ts": "1700000000.100000"282 }283 ]284 }285}286(pass) message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [0.76ms]287{288 "ok": true,289 "draft": {290 "id": "Dr123",291 "destinations": [292 {293 "channel_id": "C11111111",294 "thread_ts": "1700000000.100000",295 "broadcast": true296 }297 ]298 }299}300(pass) message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.34ms]301{302 "ok": true,303 "draft": {304 "id": "Dr123",305 "destinations": [306 {307 "channel_id": "C11111111",308 "thread_ts": "1700000000.100000"309 }310 ]311 }312}313(pass) message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.39ms]314{315 "ok": true,316 "draft": {317 "id": "DrNew",318 "destinations": [319 {320 "channel_id": "C11111111"321 }322 ]323 }324}325(pass) message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [2.52ms]326(pass) message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.55ms]327(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [2.24ms]328(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #2 update: a drafts.update auth failure retries work WITHOUT re-uploading files [1.36ms]329(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [1.63ms]330(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #3 update: a stale drafts.update failure deletes the newly uploaded file only [1.37ms]331(pass) draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.24ms]332333test/channel-admin.test.ts:334(pass) parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.07ms]335(pass) parseInviteUsersCsv > returns empty array when input has no values [0.03ms]336(pass) splitEmailsFromInviteTargets > separates email targets from non-email targets [0.09ms]337(pass) splitEmailsFromInviteTargets > deduplicates emails [0.02ms]338339test/targets.test.ts:340(pass) parseMsgTarget > parses slack message URLs [0.05ms]341(pass) parseMsgTarget > accepts #channel [0.03ms]342(pass) parseMsgTarget > accepts bare channel names [0.02ms]343(pass) parseMsgTarget > accepts channel IDs [0.02ms]344(pass) parseMsgTarget > accepts user IDs as DM targets [0.02ms]345(pass) parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.02ms]346(pass) parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.02ms]347(pass) parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.01ms]348(pass) parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.01ms]349350test/search-command.test.ts:351(pass) search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [5.68ms]352(pass) search referenced users > search command forwards --refresh-users and bypasses cached user lookups [3.60ms]353354test/upload.test.ts:355(pass) uploadFilesForDraft > never shifts ids between files when the completion response omits one [2.19ms]356(pass) uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [1.75ms]357(pass) uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [1.65ms]358(pass) uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [1.66ms]359(pass) uploadFilesForDraft > throws and completes nothing when a path does not exist [0.49ms]360(pass) uploadFilesForDraft > throws and completes nothing when a byte POST fails [2.22ms]361(pass) uploadFilesForDraft > throws when files.completeUploadExternal fails [1.16ms]362(pass) uploadFilesForDraft > throws when the path is a directory [0.79ms]363(pass) uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [1.12ms]364365test/html-to-md.test.ts:366(pass) htmlToMarkdown > converts basic HTML to markdown [5.16ms]367368test/safe-mode.test.ts:369(pass) isSafeModeEnabled > enabled via CLI flag [0.06ms]370(pass) isSafeModeEnabled > enabled for env value "1" [0.02ms]371(pass) isSafeModeEnabled > enabled for env value "true"372(pass) isSafeModeEnabled > enabled for env value "TRUE"373(pass) isSafeModeEnabled > enabled for env value "yes"374(pass) isSafeModeEnabled > enabled for env value "on"375(pass) isSafeModeEnabled > enabled for env value " 1 "376(pass) isSafeModeEnabled > disabled for env value "0" [0.01ms]377(pass) isSafeModeEnabled > disabled for env value "false"378(pass) isSafeModeEnabled > disabled for env value "off"379(pass) isSafeModeEnabled > disabled for env value "no"380(pass) isSafeModeEnabled > disabled for env value ""381(pass) isSafeModeEnabled > disabled when env var is unset and flag is absent [0.01ms]382(pass) safeModeBlockedError > names the blocked action [0.03ms]383(pass) redirectSendToDraft > rejects unsupported send option {384 attach: [ "./report.md" ],385} [0.21ms]386(pass) redirectSendToDraft > rejects unsupported send option {387 blocks: "/tmp/blocks.json",388}389(pass) redirectSendToDraft > rejects unsupported send option {390 schedule: "2030-01-01T00:00:00Z",391}392(pass) redirectSendToDraft > rejects unsupported send option {393 scheduleIn: "3h",394}395(pass) redirectSendToDraft > rejects unsupported send option {396 replyBroadcast: true,397}398(pass) redirectSendToDraft > lists all unsupported flags at once [0.05ms]399(pass) redirectSendToDraft > rejects in CI where no interactive editor is available [0.08ms]400⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.401(pass) redirectSendToDraft > opens a draft with the send text and thread context [0.16ms]402403test/files.test.ts:404(pass) downloadSlackFile > downloads file and writes to disk [1.92ms]405(pass) downloadSlackFile > returns cached path when file already exists [0.32ms]406(pass) downloadSlackFile > throws SlackDownloadError on HTTP 404 [0.41ms]407(pass) downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.27ms]408(pass) downloadSlackFile > throws SlackDownloadError on HTML auth page [0.28ms]409(pass) downloadSlackFile > throws SlackDownloadError on network error [0.38ms]410(pass) downloadSlackFile > throws SlackDownloadError when reading html body fails [0.37ms]411(pass) downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.28ms]412(pass) tryDownloadSlackFile > returns ok result on success [0.69ms]413(pass) tryDownloadSlackFile > returns failure result on HTTP 404 [0.26ms]414(pass) tryDownloadSlackFile > returns failure result on network error [0.15ms]415(pass) tryDownloadSlackFile > propagates disk/write errors [0.27ms]416Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)417(pass) downloadMessageFiles > records canvas auth failures as structured errors [1.96ms]418Warning: skipping file F2: Failed to download file (404)419(pass) downloadMessageFiles > records non-canvas download failures with a local error path [0.97ms]420421test/channels.test.ts:422(pass) conversations list helpers > listUserConversations calls users.conversations with defaults [0.17ms]423(pass) conversations list helpers > listUserConversations forwards user/limit/cursor [0.07ms]424(pass) conversations list helpers > listAllConversations calls conversations.list with defaults [0.06ms]425(pass) conversations list helpers > listAllConversations forwards limit/cursor [0.07ms]426(pass) conversations list helpers > listUserConversations passes through small limits [0.04ms]427(pass) conversations list helpers > listUserConversations clamps high limits to 1000 [0.04ms]428(pass) conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.02ms]429(pass) conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.01ms]430(pass) conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.03ms]431(pass) conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.38ms]432(pass) conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.13ms]433(pass) conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.12ms]434435test/update.test.ts:436(pass) compareSemver > equal versions return 0 [0.09ms]437(pass) compareSemver > strips v prefix [0.02ms]438(pass) compareSemver > newer major [0.01ms]439(pass) compareSemver > newer minor [0.01ms]440(pass) compareSemver > newer patch441(pass) compareSemver > older version returns negative442(pass) compareSemver > handles 0.x versions [0.04ms]443444test/reactions.test.ts:445(pass) reactions compaction > includes reactions only when enabled [0.18ms]446(pass) reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.05ms]447(pass) reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [0.25ms]448449test/emoji.test.ts:450(pass) normalizeSlackReactionName > accepts :shortcode: [0.02ms]451(pass) normalizeSlackReactionName > accepts raw names [0.02ms]452(pass) normalizeSlackReactionName > accepts unicode emoji [0.04ms]453454test/client.test.ts:455(pass) SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [1.08ms]456457test/url.test.ts:458(pass) parseSlackMessageUrl > parses archives URL with p<digits> [0.02ms]459(pass) parseSlackMessageUrl > captures thread_ts from query when present [0.01ms]460(pass) buildSlackMessageUrl > builds a permalink for a root message [0.01ms]461(pass) buildSlackMessageUrl > includes thread metadata for replies462463test/render.test.ts:464(pass) renderSlackMessageContent > prefers blocks [0.04ms]465(pass) renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.14ms]466(pass) renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.03ms]467(pass) renderSlackMessageContent > falls back to attachments when text is empty [0.03ms]468(pass) renderSlackMessageContent > includes section fields and button URLs [0.03ms]469(pass) renderSlackMessageContent > includes attachment fields [0.03ms]470(pass) renderSlackMessageContent > renders forwarded message with author and source link [0.06ms]471(pass) renderSlackMessageContent > renders forwarded message with author name only [0.02ms]472(pass) renderSlackMessageContent > renders forwarded message with no author [0.02ms]473(pass) renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.02ms]474(pass) renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.02ms]475(pass) renderSlackMessageContent > deduplicates repeated forwarded body content [0.02ms]476(pass) renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.01ms]477(pass) renderSlackMessageContent > does not treat link unfurl as forwarded message [0.01ms]478(pass) renderSlackMessageContent > combines blocks and non-shared attachments [0.02ms]479480test/later.test.ts:481(pass) fetchLaterItems > returns counts only when countsOnly is true [0.19ms]482(pass) fetchLaterItems > filters to message items only [0.21ms]483(pass) fetchLaterItems > filters by state [0.06ms]484(pass) fetchLaterItems > state 'all' returns all items [0.03ms]485(pass) fetchLaterItems > respects limit [0.03ms]486(pass) fetchLaterItems > hydrates message content [0.05ms]487(pass) fetchLaterItems > resolves DM user display names [0.04ms]488(pass) fetchLaterItems > truncates long message content [0.04ms]489(pass) updateLaterMark > sends mark=completed via multipart [0.05ms]490(pass) updateLaterMark > sends mark=archived via multipart [0.02ms]491(pass) updateLaterMark > sends mark=uncompleted via multipart [0.02ms]492(pass) updateLaterMark > sends mark=unarchived via multipart [0.01ms]493(pass) saveLater > calls saved.add with correct params [0.03ms]494(pass) removeLater > calls saved.delete with correct params [0.03ms]495(pass) setLaterReminder > calls saved.update via multipart with date_due [0.03ms]496(pass) parseReminderDuration > parses minutes [0.09ms]497(pass) parseReminderDuration > parses hours498(pass) parseReminderDuration > parses fractional hours499(pass) parseReminderDuration > parses days500(pass) parseReminderDuration > parses 'tomorrow' as next day 9 AM [0.03ms]501(pass) parseReminderDuration > parses day names502(pass) parseReminderDuration > passes through unix timestamps503(pass) parseReminderDuration > supports verbose unit names [0.01ms]504(pass) parseReminderDuration > throws on invalid input [0.02ms]505506test/drafts.test.ts:507(pass) padDraftTs > pads short fractional parts to 7 digits508(pass) padDraftTs > leaves 7-digit fractional parts unchanged509(pass) padDraftTs > leaves timestamps without a fractional part unchanged510(pass) draftTextToBlocks > wraps plain text in a rich_text section [0.02ms]511(pass) draftTextToBlocks > converts bullet lists to rich_text lists [0.02ms]512(pass) parseDraftRecord > parses a raw draft into a compact shape [0.05ms]513(pass) parseDraftRecord > returns null for records without an id514(pass) listDrafts > requests active drafts and parses the result [0.06ms]515(pass) listDrafts > omits is_active when activeOnly is false [0.02ms]516(pass) createDraft > sends blocks, destination, and composer flag [0.06ms]517(pass) createDraft > omits thread fields for channel drafts [0.02ms]518(pass) createDraft > includes file_ids on the wire when fileIds is supplied [0.03ms]519(pass) updateDraft > sends draft_id and a padded last-updated ts [0.04ms]520(pass) deleteDraft > deletes with an explicit last-updated ts [0.03ms]521(pass) deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.03ms]522(pass) deleteDraft > throws when the draft does not exist [0.02ms]523(pass) findDraft > lists all drafts (including inactive) and finds by id [0.03ms]524(pass) findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.02ms]525526test/search-files.test.ts:527Warning: skipping file F1: Failed to download file (404)528(pass) searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [2.13ms]529Warning: skipping file F1: Failed to download file (404)530(pass) searchFilesInChannelsFallback > continues after a failed download in files.list results [2.36ms]531(pass) SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [0.86ms]532(pass) SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.13ms]533534test/error-message.test.ts:535(pass) errorMessage > returns the message for a plain error [0.17ms]536(pass) errorMessage > stringifies non-Error values [0.03ms]537(pass) errorMessage > appends a single Error cause [0.03ms]538(pass) errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.04ms]539(pass) errorMessage > walks multi-level cause chains [0.03ms]540(pass) errorMessage > terminates on a self-referential cause instead of looping forever [0.03ms]541(pass) errorMessage > terminates on a longer cause cycle [0.02ms]542(pass) errorMessage > does not crash on a cause that cannot be stringified [0.05ms]543(pass) errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.02ms]544(pass) errorMessage > caps how far a long cause chain is walked [0.13ms]545(pass) errorMessage > collapses a cause that merely restates its parent [0.07ms]546547test/canvas-create.test.ts:548(pass) createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.16ms]549(pass) createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.05ms]550(pass) createCanvasFromMarkdown > rejects a success response without a canvas id [0.03ms]551(pass) createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.04ms]552(pass) createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.02ms]553(pass) editCanvas > sends the documented replace change [0.15ms]554(pass) editCanvas > sends the documented replace section change555(pass) editCanvas > sends the documented insert before change556(pass) editCanvas > sends the documented insert after change557(pass) editCanvas > sends the documented insert at start change558(pass) editCanvas > sends the documented insert at end change559(pass) editCanvas > sends the documented delete section change560(pass) editCanvas > sends the documented rename change561(pass) editCanvas > rejects invalid combinations before calling Slack [0.10ms]562(pass) editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.05ms]563(pass) editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [5.59ms]564(pass) readCanvasMarkdownInput > reads a Markdown file without changing its contents [0.61ms]565(pass) readCanvasMarkdownInput > accepts a Markdown blob [0.05ms]566(pass) readCanvasMarkdownInput > requires exactly one source [0.04ms]567(pass) readCanvasMarkdownInput > rejects an empty source [0.02ms]568(pass) canvas create command > creates from an inline blob in the selected workspace [0.48ms]569(pass) canvas create command > creates from a file and resolves a channel tab [0.90ms]570(pass) canvas create command > rejects browser-auth channel tabs before resolving the channel [0.22ms]571(pass) canvas create command > rejects missing or conflicting sources before authenticating [0.14ms]572(pass) canvas edit command > replaces a canvas from a Markdown URL target [0.34ms]573(pass) canvas edit command > inserts content from a file and passes a section id [0.57ms]574(pass) canvas edit command > renames without a Markdown source [0.15ms]575(pass) canvas edit command > rejects delete content and malformed inputs before authenticating [0.15ms]576(pass) canvas edit command > rejects browser credentials before calling canvases.edit [0.12ms]577578 399 pass579 0 fail580 817 expect() calls581Ran 399 tests across 38 files. [459.00ms]
fixupPhase
582checking for references to /private/var/tb/2/scratch/8a466143a7aa7d76/build/ in /nix/store/vcgygad9z07shj5szbwjsqfwgbcn3fff-agent-slack-0.10.2...583patching script interpreter paths in /nix/store/vcgygad9z07shj5szbwjsqfwgbcn3fff-agent-slack-0.10.2
installCheckPhase
584Executing versionCheckPhase585Successfully managed to find version 0.10.2 in the output of the command /nix/store/vcgygad9z07shj5szbwjsqfwgbcn3fff-agent-slack-0.10.2/bin/agent-slack --version5860.10.2587Finished versionCheckPhase588no Makefile or custom installCheckPhase, doing nothing