nixbot

builds

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

1tribuchet: building on eliza2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/cgqwcm1zgrhk5gmlmpjpi0rc8f2zg5kh-source4source root is source
bunSetInstallCacheDirPhase
5Using bun root: "/build/source"
bunPatchPhase
6patching script interpreter paths in .7./scripts/install-skill.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash"8./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash"9./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/sh"
configurePhase
10no configure script, doing nothing
bunNodeModulesInstallPhase
11/build/source /build/source12bun install flags: --linker=isolated --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.6313268 packages installed [677.00ms]33/build/source
buildPhase
34Bundled 360 modules in 269ms3536 agent-slack.js 1.98 MB (entry point)37
checkPhase
38bun test v1.4.2 (744846f84)3940test/parse-limit.test.ts:41(pass) parseLimit > returns undefined when no value given [0.80ms]42(pass) parseLimit > parses valid positive integers [0.10ms]43(pass) parseLimit > rejects non-numeric strings [2.46ms]44(pass) parseLimit > rejects zero [0.09ms]45(pass) parseLimit > rejects negative numbers [0.03ms]46(pass) parseLimit > rejects floats (uses integer part) [0.02ms]47(pass) requireMessageTs > returns trimmed ts when present [0.08ms]48(pass) requireMessageTs > throws when missing [0.02ms]49(pass) requireMessageTs > throws when blank [0.03ms]5051test/users.test.ts:52(pass) resolveUserId > returns user ids unchanged [1.45ms]53(pass) resolveUserId > returns W-prefixed user ids unchanged [0.15ms]54(pass) resolveUserId > resolves @handle via users.list [0.37ms]55(pass) resolveUserId > resolves email via users.lookupByEmail [0.10ms]56(pass) resolveUserId > resolves @handle case-insensitively [0.11ms]57(pass) resolveUserId > falls back to users.list when lookupByEmail is unavailable [0.21ms]5859test/files.test.ts:60(pass) downloadSlackFile > downloads file and writes to disk [15.00ms]61(pass) downloadSlackFile > returns cached path when file already exists [1.39ms]62(pass) downloadSlackFile > throws SlackDownloadError on HTTP 404 [2.59ms]63(pass) downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.64ms]64(pass) downloadSlackFile > throws SlackDownloadError on HTML auth page [0.53ms]65(pass) downloadSlackFile > throws SlackDownloadError on network error [0.96ms]66(pass) downloadSlackFile > throws SlackDownloadError when reading html body fails [0.75ms]67(pass) downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.53ms]68(pass) tryDownloadSlackFile > returns ok result on success [0.80ms]69(pass) tryDownloadSlackFile > returns failure result on HTTP 404 [0.47ms]70(pass) tryDownloadSlackFile > returns failure result on network error [0.50ms]71(pass) tryDownloadSlackFile > propagates disk/write errors [0.84ms]72Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)73(pass) downloadMessageFiles > records canvas auth failures as structured errors [4.12ms]74Warning: skipping file F2: Failed to download file (404)75(pass) downloadMessageFiles > records non-canvas download failures with a local error path [1.64ms]7677test/reactions.test.ts:78(pass) reactions compaction > includes reactions only when enabled [1.96ms]79(pass) reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.12ms]80(pass) reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [1.13ms]8182test/messages.test.ts:83(pass) fetchThread > returns the thread root and replies in chronological order [0.76ms]8485test/client.test.ts:86(pass) SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [3.57ms]8788test/search-files.test.ts:89Warning: skipping file F1: Failed to download file (404)90(pass) searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [2.41ms]91Warning: skipping file F1: Failed to download file (404)92(pass) searchFilesInChannelsFallback > continues after a failed download in files.list results [4.71ms]93(pass) SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [0.77ms]94(pass) SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.23ms]9596test/canvas-create.test.ts:97(pass) createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.39ms]98(pass) createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.16ms]99(pass) createCanvasFromMarkdown > rejects a success response without a canvas id [0.07ms]100(pass) createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.10ms]101(pass) createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.06ms]102(pass) editCanvas > sends the documented replace change [0.37ms]103(pass) editCanvas > sends the documented replace section change [0.02ms]104(pass) editCanvas > sends the documented insert before change [0.01ms]105(pass) editCanvas > sends the documented insert after change106(pass) editCanvas > sends the documented insert at start change [0.01ms]107(pass) editCanvas > sends the documented insert at end change108(pass) editCanvas > sends the documented delete section change109(pass) editCanvas > sends the documented rename change110(pass) editCanvas > rejects invalid combinations before calling Slack [0.23ms]111(pass) editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.10ms]112(pass) editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [17.86ms]113(pass) readCanvasMarkdownInput > reads a Markdown file without changing its contents [4.87ms]114(pass) readCanvasMarkdownInput > accepts a Markdown blob [0.55ms]115(pass) readCanvasMarkdownInput > requires exactly one source [0.18ms]116(pass) readCanvasMarkdownInput > rejects an empty source [0.05ms]117(pass) canvas create command > creates from an inline blob in the selected workspace [6.78ms]118(pass) canvas create command > creates from a file and resolves a channel tab [2.91ms]119(pass) canvas create command > rejects browser-auth channel tabs before resolving the channel [0.95ms]120(pass) canvas create command > rejects missing or conflicting sources before authenticating [0.96ms]121(pass) canvas edit command > replaces a canvas from a Markdown URL target [2.13ms]122(pass) canvas edit command > inserts content from a file and passes a section id [1.76ms]123(pass) canvas edit command > renames without a Markdown source [1.93ms]124(pass) canvas edit command > rejects delete content and malformed inputs before authenticating [1.95ms]125(pass) canvas edit command > rejects browser credentials before calling canvases.edit [0.83ms]126127test/message-reaction-filters.test.ts:128(pass) parseReactionFilters > normalizes shortcodes, names, and unicode [0.65ms]129(pass) parseReactionFilters > returns empty array when unset [0.02ms]130(pass) passesReactionNameFilters > matches when required reaction is present [0.15ms]131(pass) passesReactionNameFilters > does not match when required reaction is missing [0.04ms]132(pass) passesReactionNameFilters > does not match when excluded reaction is present [0.03ms]133(pass) passesReactionNameFilters > matches when excluded reaction is absent [0.01ms]134(pass) passesReactionNameFilters > supports with + without together [0.02ms]135(pass) requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.07ms]136(pass) requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.06ms]137(pass) requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.05ms]138139test/user-id.test.ts:140(pass) isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.03ms]141(pass) isUserId > preserves the existing length and character restrictions [0.02ms]142143test/html-to-md.test.ts:144(pass) htmlToMarkdown > converts basic HTML to markdown [7.16ms]145146test/workspace-selector.test.ts:147(pass) resolveWorkspaceSelector > matches exact URL [0.17ms]148(pass) resolveWorkspaceSelector > matches unique substring by host/team [0.20ms]149(pass) resolveWorkspaceSelector > matches unique substring by workspace name [0.04ms]150(pass) resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.13ms]151(pass) resolveWorkspaceSelector > returns no match when selector does not match [0.06ms]152153test/targets.test.ts:154(pass) parseMsgTarget > parses slack message URLs [0.35ms]155(pass) parseMsgTarget > accepts #channel [0.12ms]156(pass) parseMsgTarget > accepts bare channel names [0.04ms]157(pass) parseMsgTarget > accepts channel IDs [0.03ms]158(pass) parseMsgTarget > accepts user IDs as DM targets [0.02ms]159(pass) parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.04ms]160(pass) parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.03ms]161(pass) parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.03ms]162(pass) parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.02ms]163164test/help-contracts.test.ts:165(pass) agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [2.35ms]166(pass) agent-facing help contracts > message compose identifies its CI send behavior [2.37ms]167(pass) agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [0.93ms]168(pass) agent-facing help contracts > scheduled cancellation identifies its required channel [0.58ms]169(pass) agent-facing help contracts > Later reminders identify named-day timezone behavior [0.51ms]170(pass) agent-facing help contracts > canvas creation identifies source and credential constraints [0.46ms]171(pass) agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.56ms]172(pass) agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.48ms]173(pass) agent-facing help contracts > DM help states Slack's group size limit [0.40ms]174175test/user-cache.test.ts:176(pass) user-cache helpers > collectReferencedUserIds excludes reaction users by default [0.69ms]177(pass) user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.24ms]178(pass) user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.17ms]179180test/error-message.test.ts:181(pass) errorMessage > returns the message for a plain error [0.16ms]182(pass) errorMessage > stringifies non-Error values [0.03ms]183(pass) errorMessage > appends a single Error cause [0.05ms]184(pass) errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.09ms]185(pass) errorMessage > walks multi-level cause chains [0.03ms]186(pass) errorMessage > terminates on a self-referential cause instead of looping forever [0.03ms]187(pass) errorMessage > terminates on a longer cause cycle [0.02ms]188(pass) errorMessage > does not crash on a cause that cannot be stringified [0.09ms]189(pass) errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.02ms]190(pass) errorMessage > caps how far a long cause chain is walked [0.21ms]191(pass) errorMessage > collapses a cause that merely restates its parent [0.03ms]192193test/rich-text.test.ts:194(pass) parseInlineElements > plain text returns single text element [0.78ms]195(pass) parseInlineElements > *bold* is parsed with bold style [0.07ms]196(pass) parseInlineElements > _italic_ is parsed with italic style [0.02ms]197(pass) parseInlineElements > ~strike~ is parsed with strike style [0.04ms]198(pass) parseInlineElements > `code` is parsed with code style [0.02ms]199(pass) parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.02ms]200(pass) parseInlineElements > emoji names with underscores are not parsed as italic text [0.02ms]201(pass) parseInlineElements > time-like colon text is not parsed as an emoji element [0.02ms]202(pass) parseInlineElements > <url|label> is parsed as link with text [0.15ms]203(pass) parseInlineElements > <url> is parsed as link without text [0.03ms]204(pass) parseInlineElements > <mailto|label> is parsed as link with text [0.02ms]205(pass) parseInlineElements > non-url angle bracket text is preserved as text [0.02ms]206(pass) parseInlineElements > non-url labeled angle bracket text is preserved as text [0.02ms]207(pass) parseInlineElements > channel mention tokens are parsed as channel elements [0.02ms]208(pass) parseInlineElements > bare channel mention tokens are parsed as channel elements [0.01ms]209(pass) parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.02ms]210(pass) textToRichTextBlocks > plain text returns null [0.28ms]211(pass) textToRichTextBlocks > inline-only formatting returns null by default [0.07ms]212(pass) textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.03ms]213(pass) textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.05ms]214(pass) textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.03ms]215(pass) textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.03ms]216(pass) textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.03ms]217(pass) textToRichTextBlocks > bullet list with - prefix [0.22ms]218(pass) textToRichTextBlocks > bullet list with bullet character [0.32ms]219(pass) textToRichTextBlocks > sub-bullets with indentation [0.12ms]220(pass) textToRichTextBlocks > white bullet sub-bullets under bullet [0.04ms]221(pass) textToRichTextBlocks > mixed text and bullets [0.04ms]222(pass) textToRichTextBlocks > numbered list [0.06ms]223(pass) textToRichTextBlocks > bold text in list items is parsed [0.08ms]224(pass) textToRichTextBlocks > emoji and channel references in list items are parsed [0.08ms]225(pass) textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.04ms]226(pass) textToRichTextBlocks > code block is preserved [0.06ms]227(pass) textToRichTextBlocks > blockquote is preserved [0.03ms]228229test/channel-admin.test.ts:230(pass) parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.14ms]231(pass) parseInviteUsersCsv > returns empty array when input has no values [0.02ms]232(pass) splitEmailsFromInviteTargets > separates email targets from non-email targets [0.11ms]233(pass) splitEmailsFromInviteTargets > deduplicates emails [0.02ms]234235test/message-send.test.ts:236(pass) sendMessage > posts a normal message when no attachments are passed [1.72ms]237(pass) sendMessage > --no-unfurl disables link and media previews for immediate sends [0.21ms]238(pass) sendMessage > opens and sends to a DM for a W-prefixed user target [0.35ms]239(pass) sendMessage > returns a permalink when the workspace was resolved implicitly [0.15ms]240(pass) sendMessage > threaded reply returns thread_ts distinct from ts [0.20ms]241(pass) sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.16ms]242(pass) sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.14ms]243(pass) sendMessage > --reply-broadcast without --thread-ts throws [0.25ms]244(pass) sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [0.80ms]245(pass) sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.23ms]246(pass) sendMessage > --reply-broadcast works alongside --blocks payload [1.23ms]247(pass) sendMessage > uploads attachment and uses message text as initial comment [8.87ms]248(pass) sendMessage > --no-unfurl cannot be combined with file attachments [0.35ms]249(pass) sendMessage > sends initial comment only for the first attachment [1.48ms]250(pass) sendMessage > uploads attachment without text when text is empty [0.72ms]251(pass) sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [0.87ms]252(pass) sendMessage > --blocks: errors when JSON is not an array [0.62ms]253(pass) sendMessage > --blocks: errors on malformed JSON [0.68ms]254(pass) sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [0.76ms]255(pass) sendMessage > sends Slack manual links in lists as rich-text link blocks [0.34ms]256(pass) sendMessage > --blocks: errors when an array element is not an object [0.70ms]257(pass) sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [0.82ms]258(pass) sendMessage > --schedule-in computes a relative post_at [0.44ms]259(pass) sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.20ms]260(pass) sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [1.61ms]261(pass) sendMessage > --schedule cannot be combined with file attachments [0.31ms]262(pass) composeMessage > --no-unfurl disables link and media previews when CI sends immediately [1.04ms]263(pass) composeMessage > keeps Slack's default preview behavior for a standard CI send [0.25ms]264(pass) composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.70ms]265(pass) scheduled message management > lists scheduled messages and forwards channel filters [0.56ms]266(pass) scheduled message management > cancels scheduled messages with the required channel id [0.32ms]267(pass) scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.15ms]268(pass) scheduled message time parsing > parses named relative times like monday 9am [15.08ms]269(pass) scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.14ms]270(pass) editMessage > edits a normal text message without blocks [0.61ms]271(pass) editMessage > edits literal angle bracket text without blocks [0.17ms]272(pass) editMessage > edits a message URL with a link label without blocks [0.22ms]273(pass) editMessage > edits an inline mailto link without escaping it [0.15ms]274(pass) editMessage > edits an inline usergroup mention without escaping it [0.12ms]275(pass) editMessage > edits a channel target with inline formatting without blocks [0.14ms]276(pass) editMessage > edits a channel target with rich text blocks when text contains a list [0.17ms]277(pass) editMessage > edits a normal message without blocks when no --blocks file is passed [0.13ms]278(pass) editMessage > edits a message URL with Block Kit JSON from file [0.86ms]279(pass) editMessage > edits a channel target with --ts and Block Kit JSON from file [0.94ms]280281test/search-query.test.ts:282(pass) W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [0.48ms]283(pass) W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.18ms]284285test/channels.test.ts:286(pass) conversations list helpers > listUserConversations calls users.conversations with defaults [0.50ms]287(pass) conversations list helpers > listUserConversations forwards user/limit/cursor [0.10ms]288(pass) conversations list helpers > listAllConversations calls conversations.list with defaults [0.13ms]289(pass) conversations list helpers > listAllConversations forwards limit/cursor [0.08ms]290(pass) conversations list helpers > listUserConversations passes through small limits [0.06ms]291(pass) conversations list helpers > listUserConversations clamps high limits to 1000 [0.04ms]292(pass) conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.03ms]293(pass) conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.03ms]294(pass) conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.05ms]295(pass) conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.56ms]296(pass) conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.18ms]297(pass) conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.16ms]298299test/later.test.ts:300(pass) fetchLaterItems > returns counts only when countsOnly is true [0.57ms]301(pass) fetchLaterItems > filters to message items only [0.61ms]302(pass) fetchLaterItems > filters by state [0.20ms]303(pass) fetchLaterItems > state 'all' returns all items [0.13ms]304(pass) fetchLaterItems > respects limit [0.14ms]305(pass) fetchLaterItems > hydrates message content [0.17ms]306(pass) fetchLaterItems > resolves DM user display names [0.14ms]307(pass) fetchLaterItems > truncates long message content [0.16ms]308(pass) updateLaterMark > sends mark=completed via multipart [0.16ms]309(pass) updateLaterMark > sends mark=archived via multipart [0.06ms]310(pass) updateLaterMark > sends mark=uncompleted via multipart [0.06ms]311(pass) updateLaterMark > sends mark=unarchived via multipart [0.05ms]312(pass) saveLater > calls saved.add with correct params [0.09ms]313(pass) removeLater > calls saved.delete with correct params [0.08ms]314(pass) setLaterReminder > calls saved.update via multipart with date_due [0.10ms]315(pass) parseReminderDuration > parses minutes [0.24ms]316(pass) parseReminderDuration > parses hours [0.04ms]317(pass) parseReminderDuration > parses fractional hours [0.03ms]318(pass) parseReminderDuration > parses days [0.03ms]319(pass) parseReminderDuration > parses 'tomorrow' as next day 9 AM [0.11ms]320(pass) parseReminderDuration > parses day names [0.03ms]321(pass) parseReminderDuration > passes through unix timestamps [0.02ms]322(pass) parseReminderDuration > supports verbose unit names [0.04ms]323(pass) parseReminderDuration > throws on invalid input [0.07ms]324325test/channel-command.test.ts:326(pass) channel list command > defaults to users.conversations for current user [1.50ms]327(pass) channel list command > with --user id uses users.conversations and sets user directly [0.67ms]328(pass) channel list command > with --user handle resolves via users.list before users.conversations [0.65ms]329(pass) channel list command > with --user unknown handle is a hard error [0.51ms]330(pass) channel list command > with --all uses conversations.list [0.34ms]331(pass) channel list command > forwards --limit and --cursor [0.31ms]332(pass) channel list command > --all and --user is a hard error [0.34ms]333(pass) channel list command > invalid --limit is a hard error [0.30ms]334(pass) channel list command > help text documents single-page pagination model [0.17ms]335(pass) channel mark command > URL target extracts workspace from URL [0.79ms]336(pass) channel mark command > URL target rejects --workspace flag [0.74ms]337(pass) channel mark command > channel target requires --ts [0.54ms]338(pass) channel mark command > URL target allows --ts override [0.41ms]339(pass) channel mark command > channel target with --ts calls conversations.mark [0.33ms]340341test/emoji.test.ts:342(pass) normalizeSlackReactionName > accepts :shortcode: [0.03ms]343(pass) normalizeSlackReactionName > accepts raw names [0.02ms]344(pass) normalizeSlackReactionName > accepts unicode emoji [0.06ms]345346test/render.test.ts:347(pass) renderSlackMessageContent > prefers blocks [0.14ms]348(pass) renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.44ms]349(pass) renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.11ms]350(pass) renderSlackMessageContent > falls back to attachments when text is empty [0.07ms]351(pass) renderSlackMessageContent > includes section fields and button URLs [0.08ms]352(pass) renderSlackMessageContent > includes attachment fields [0.07ms]353(pass) renderSlackMessageContent > renders forwarded message with author and source link [0.34ms]354(pass) renderSlackMessageContent > renders forwarded message with author name only [0.08ms]355(pass) renderSlackMessageContent > renders forwarded message with no author [0.04ms]356(pass) renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.06ms]357(pass) renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.07ms]358(pass) renderSlackMessageContent > deduplicates repeated forwarded body content [0.09ms]359(pass) renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.09ms]360(pass) renderSlackMessageContent > does not treat link unfurl as forwarded message [0.05ms]361(pass) renderSlackMessageContent > combines blocks and non-shared attachments [0.06ms]362363test/compact-json.test.ts:364(pass) pruneEmpty > drops null/undefined/empty containers [0.16ms]365366test/message-draft-actions.test.ts:367(pass) createDraftAction > creates a draft addressed to a channel id [2.12ms]368(pass) createDraftAction > rejects --broadcast without a thread [0.33ms]369(pass) createDraftAction > rejects --broadcast for a DM (user) target [0.15ms]370(pass) createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.08ms]371(pass) createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.07ms]372(pass) createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.10ms]373(pass) createDraftAction > uploads --attach files and wires their file ids into the draft [2.47ms]374(pass) createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.50ms]375(pass) updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.86ms]376(pass) updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.16ms]377(pass) updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.17ms]378(pass) updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.30ms]379(pass) updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.23ms]380(pass) updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.16ms]381(pass) updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.12ms]382(pass) updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.13ms]383(pass) updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.13ms]384(pass) updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.14ms]385(pass) updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.09ms]386(pass) updateDraftAction > merges --attach file ids into the draft's existing file_ids [1.60ms]387(pass) updateDraftAction > merges --attach while de-duplicating ids already on the draft [2.08ms]388(pass) deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.40ms]389(pass) listDraftsAction > hydrates channel display names [0.55ms]390{391 "ok": true,392 "draft": {393 "id": "Dr123",394 "destinations": [395 {396 "channel_id": "C11111111",397 "thread_ts": "1700000000.100000"398 }399 ]400 }401}402(pass) message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [1.07ms]403{404 "ok": true,405 "draft": {406 "id": "Dr123",407 "destinations": [408 {409 "channel_id": "C11111111",410 "thread_ts": "1700000000.100000",411 "broadcast": true412 }413 ]414 }415}416(pass) message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.58ms]417{418 "ok": true,419 "draft": {420 "id": "Dr123",421 "destinations": [422 {423 "channel_id": "C11111111",424 "thread_ts": "1700000000.100000"425 }426 ]427 }428}429(pass) message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.58ms]430{431 "ok": true,432 "draft": {433 "id": "DrNew",434 "destinations": [435 {436 "channel_id": "C11111111"437 }438 ]439 }440}441(pass) message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [2.73ms]442(pass) message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.84ms]443(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [1.42ms]444(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.16ms]445(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [1.16ms]446(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.16ms]447(pass) draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.30ms]448449test/message-compact.test.ts:450(pass) toCompactMessage > includes file with path on successful download [0.25ms]451(pass) toCompactMessage > includes file with error on failed download [0.08ms]452(pass) toCompactMessage > excludes files with no downloadedPaths entry [0.05ms]453(pass) toCompactMessage > mixes successful and failed downloads [0.10ms]454(pass) toCompactMessage > failed download preserves file metadata for content-type filtering [0.08ms]455(pass) passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.15ms]456(pass) passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.08ms]457(pass) passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.07ms]458(pass) toCompactMessage filename preservation > does not fall back to title when name is missing [0.05ms]459460test/update.test.ts:461(pass) compareSemver > equal versions return 0 [0.12ms]462(pass) compareSemver > strips v prefix [0.03ms]463(pass) compareSemver > newer major [0.02ms]464(pass) compareSemver > newer minor [0.01ms]465(pass) compareSemver > newer patch [0.01ms]466(pass) compareSemver > older version returns negative [0.01ms]467(pass) compareSemver > handles 0.x versions [0.02ms]468469test/drafts.test.ts:470(pass) padDraftTs > pads short fractional parts to 7 digits [0.03ms]471(pass) padDraftTs > leaves 7-digit fractional parts unchanged [0.01ms]472(pass) padDraftTs > leaves timestamps without a fractional part unchanged473(pass) draftTextToBlocks > wraps plain text in a rich_text section [0.06ms]474(pass) draftTextToBlocks > converts bullet lists to rich_text lists [0.08ms]475(pass) parseDraftRecord > parses a raw draft into a compact shape [0.17ms]476(pass) parseDraftRecord > returns null for records without an id [0.02ms]477(pass) listDrafts > requests active drafts and parses the result [0.26ms]478(pass) listDrafts > omits is_active when activeOnly is false [0.07ms]479(pass) createDraft > sends blocks, destination, and composer flag [0.20ms]480(pass) createDraft > omits thread fields for channel drafts [0.09ms]481(pass) createDraft > includes file_ids on the wire when fileIds is supplied [0.09ms]482(pass) updateDraft > sends draft_id and a padded last-updated ts [0.13ms]483(pass) deleteDraft > deletes with an explicit last-updated ts [0.10ms]484(pass) deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.11ms]485(pass) deleteDraft > throws when the draft does not exist [0.06ms]486(pass) findDraft > lists all drafts (including inactive) and finds by id [0.10ms]487(pass) findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.08ms]488489test/upload.test.ts:490(pass) uploadFilesForDraft > never shifts ids between files when the completion response omits one [1.48ms]491(pass) uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [0.91ms]492(pass) uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [0.96ms]493(pass) uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [0.86ms]494(pass) uploadFilesForDraft > throws and completes nothing when a path does not exist [0.35ms]495(pass) uploadFilesForDraft > throws and completes nothing when a byte POST fails [0.64ms]496(pass) uploadFilesForDraft > throws when files.completeUploadExternal fails [0.60ms]497(pass) uploadFilesForDraft > throws when the path is a directory [0.49ms]498(pass) uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [0.61ms]499500test/safe-mode.test.ts:501(pass) isSafeModeEnabled > enabled via CLI flag [0.10ms]502(pass) isSafeModeEnabled > enabled for env value "1" [0.03ms]503(pass) isSafeModeEnabled > enabled for env value "true"504(pass) isSafeModeEnabled > enabled for env value "TRUE"505(pass) isSafeModeEnabled > enabled for env value "yes"506(pass) isSafeModeEnabled > enabled for env value "on"507(pass) isSafeModeEnabled > enabled for env value " 1 "508(pass) isSafeModeEnabled > disabled for env value "0" [0.01ms]509(pass) isSafeModeEnabled > disabled for env value "false"510(pass) isSafeModeEnabled > disabled for env value "off"511(pass) isSafeModeEnabled > disabled for env value "no"512(pass) isSafeModeEnabled > disabled for env value ""513(pass) isSafeModeEnabled > disabled when env var is unset and flag is absent [0.02ms]514(pass) safeModeBlockedError > names the blocked action [0.08ms]515(pass) redirectSendToDraft > rejects unsupported send option {516 attach: [ "./report.md" ],517} [0.29ms]518(pass) redirectSendToDraft > rejects unsupported send option {519 blocks: "/tmp/blocks.json",520} [0.01ms]521(pass) redirectSendToDraft > rejects unsupported send option {522 schedule: "2030-01-01T00:00:00Z",523}524(pass) redirectSendToDraft > rejects unsupported send option {525 scheduleIn: "3h",526}527(pass) redirectSendToDraft > rejects unsupported send option {528 replyBroadcast: true,529}530(pass) redirectSendToDraft > lists all unsupported flags at once [0.07ms]531(pass) redirectSendToDraft > rejects in CI where no interactive editor is available [0.12ms]532⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.533(pass) redirectSendToDraft > opens a draft with the send text and thread context [0.20ms]534535test/mrkdwn.test.ts:536(pass) slackMrkdwnToMarkdown > converts Slack-style links [0.11ms]537(pass) slackMrkdwnToMarkdown > converts user and channel mentions [0.04ms]538(pass) slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.04ms]539540test/leveldb-reader.test.ts:541(pass) leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [0.76ms]542(pass) leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [2.62ms]543(pass) leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [1.92ms]544(pass) leveldb-reader > readChromiumLevelDB > reads entries from log files [0.94ms]545(pass) leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [0.67ms]546(pass) leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.40ms]547(pass) leveldb-reader > findKeysContaining > filters entries by key substring [0.62ms]548(pass) leveldb-reader > findKeysContaining > returns empty array when no matches [0.50ms]549(pass) leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.38ms]550(pass) leveldb-reader > edge cases > handles empty SSTable file [0.34ms]551(pass) leveldb-reader > edge cases > handles SSTable smaller than footer size [0.35ms]552553test/desktop-auth-paths.test.ts:554(pass) Windows Store Slack package detection > matches known Microsoft Store package identifiers [0.08ms]555(pass) Windows Store Slack package detection > does not match unrelated packages [0.02ms]556557test/format-outbound.test.ts:558(pass) formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [0.08ms]559(pass) formatOutboundSlackText > leaves already-formatted mention tokens alone [0.03ms]560(pass) formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.02ms]561(pass) formatOutboundSlackText > promotes broadcast mentions [0.03ms]562(pass) formatOutboundSlackText > escapes bare < > & in literal text [0.04ms]563(pass) formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.02ms]564(pass) formatOutboundSlackText > does not promote email-like or mid-word @565(pass) formatOutboundSlackText > handles empty input566(pass) formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.02ms]567568test/url.test.ts:569(pass) parseSlackMessageUrl > parses archives URL with p<digits> [0.07ms]570(pass) parseSlackMessageUrl > captures thread_ts from query when present [0.03ms]571(pass) buildSlackMessageUrl > builds a permalink for a root message [0.03ms]572(pass) buildSlackMessageUrl > includes thread metadata for replies [0.02ms]573574test/search-command.test.ts:575(pass) search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [15.65ms]576(pass) search referenced users > search command forwards --refresh-users and bypasses cached user lookups [4.58ms]577578 399 pass579 0 fail580 817 expect() calls581Ran 399 tests across 38 files. [742.00ms]
fixupPhase
582shrinking RPATHs of ELF executables and libraries in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2583checking for references to /build/ in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2...584patching script interpreter paths in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2
installCheckPhase
585Executing versionCheckPhase586Successfully managed to find version 0.10.2 in the output of the command /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2/bin/agent-slack --version5870.10.2588Finished versionCheckPhase589no Makefile or custom installCheckPhase, doing nothing