nixbot

builds

succeeded agent-slack-0.10.2 checks.x86_64-linux.pkgs-agent-slack · build #8258 · raw

1Using versionCheckHook
unpackPhase
2unpacking source archive /nix/store/cgqwcm1zgrhk5gmlmpjpi0rc8f2zg5kh-source3source root is source
bunSetInstallCacheDirPhase
4Using bun root: "/build/source"
bunPatchPhase
5patching script interpreter paths in .6./scripts/install-skill.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash"7./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/sh"8./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20/bin/bash"
configurePhase
9no configure script, doing nothing
bunNodeModulesInstallPhase
10/build/source /build/source11bun install flags: --linker=isolated --ignore-scripts12bun install v1.4.2 (744846f84)1314+ @types/node@22.19.815+ @types/semver@7.7.116+ @types/turndown@5.0.617+ bun-types@1.3.918+ oxfmt@0.31.019+ oxlint@1.49.020+ semver@7.7.421+ simple-git-hooks@2.13.122+ typescript@5.9.323+ @slack/web-api@7.13.024+ commander@14.0.325+ hysnappy@1.1.026+ node-emoji@2.2.027+ turndown@7.2.228+ turndown-plugin-gfm@1.0.229+ zod@4.3.6303168 packages installed [104.00ms]32/build/source
buildPhase
33Bundled 360 modules in 49ms3435 agent-slack.js 1.98 MB (entry point)36
checkPhase
37bun test v1.4.2 (744846f84)3839test/message-compact.test.ts:40✓ toCompactMessage > includes file with path on successful download [13.59ms]41✓ toCompactMessage > includes file with error on failed download [5.92ms]42✓ toCompactMessage > excludes files with no downloadedPaths entry [0.16ms]43✓ toCompactMessage > mixes successful and failed downloads [0.11ms]44✓ toCompactMessage > failed download preserves file metadata for content-type filtering [0.06ms]45✓ passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.17ms]46✓ passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.08ms]47✓ passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.05ms]48✓ toCompactMessage filename preservation > does not fall back to title when name is missing [0.05ms]4950test/url.test.ts:51✓ parseSlackMessageUrl > parses archives URL with p<digits> [6.44ms]52✓ parseSlackMessageUrl > captures thread_ts from query when present [0.14ms]53✓ buildSlackMessageUrl > builds a permalink for a root message [1.93ms]54✓ buildSlackMessageUrl > includes thread metadata for replies [0.12ms]5556test/channel-command.test.ts:57✓ channel list command > defaults to users.conversations for current user [12.35ms]58✓ channel list command > with --user id uses users.conversations and sets user directly [7.97ms]59✓ channel list command > with --user handle resolves via users.list before users.conversations [1.18ms]60✓ channel list command > with --user unknown handle is a hard error [4.02ms]61✓ channel list command > with --all uses conversations.list [0.64ms]62✓ channel list command > forwards --limit and --cursor [0.34ms]63✓ channel list command > --all and --user is a hard error [0.52ms]64✓ channel list command > invalid --limit is a hard error [0.44ms]65✓ channel list command > help text documents single-page pagination model [0.25ms]66✓ channel mark command > URL target extracts workspace from URL [1.41ms]67✓ channel mark command > URL target rejects --workspace flag [0.43ms]68✓ channel mark command > channel target requires --ts [0.41ms]69✓ channel mark command > URL target allows --ts override [0.83ms]70✓ channel mark command > channel target with --ts calls conversations.mark [0.56ms]7172test/compact-json.test.ts:73✓ pruneEmpty > drops null/undefined/empty containers [0.22ms]7475test/safe-mode.test.ts:76✓ isSafeModeEnabled > enabled via CLI flag [0.09ms]77✓ isSafeModeEnabled > enabled for env value "1" [0.39ms]78✓ isSafeModeEnabled > enabled for env value "true"79✓ isSafeModeEnabled > enabled for env value "TRUE"80✓ isSafeModeEnabled > enabled for env value "yes"81✓ isSafeModeEnabled > enabled for env value "on"82✓ isSafeModeEnabled > enabled for env value " 1 "83✓ isSafeModeEnabled > disabled for env value "0" [0.01ms]84✓ isSafeModeEnabled > disabled for env value "false"85✓ isSafeModeEnabled > disabled for env value "off"86✓ isSafeModeEnabled > disabled for env value "no"87✓ isSafeModeEnabled > disabled for env value ""88✓ isSafeModeEnabled > disabled when env var is unset and flag is absent [0.02ms]89✓ safeModeBlockedError > names the blocked action [0.04ms]90✓ redirectSendToDraft > rejects unsupported send option {91 attach: [ "./report.md" ],92} [0.64ms]93✓ redirectSendToDraft > rejects unsupported send option {94 blocks: "/tmp/blocks.json",95} [0.01ms]96✓ redirectSendToDraft > rejects unsupported send option {97 schedule: "2030-01-01T00:00:00Z",98}99✓ redirectSendToDraft > rejects unsupported send option {100 scheduleIn: "3h",101}102✓ redirectSendToDraft > rejects unsupported send option {103 replyBroadcast: true,104}105✓ redirectSendToDraft > lists all unsupported flags at once [0.06ms]106✓ redirectSendToDraft > rejects in CI where no interactive editor is available [0.97ms]107⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.108✓ redirectSendToDraft > opens a draft with the send text and thread context [0.45ms]109110test/mrkdwn.test.ts:111✓ slackMrkdwnToMarkdown > converts Slack-style links [0.26ms]112✓ slackMrkdwnToMarkdown > converts user and channel mentions [0.12ms]113✓ slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.21ms]114115test/channels.test.ts:116✓ conversations list helpers > listUserConversations calls users.conversations with defaults [0.27ms]117✓ conversations list helpers > listUserConversations forwards user/limit/cursor [0.10ms]118✓ conversations list helpers > listAllConversations calls conversations.list with defaults [0.09ms]119✓ conversations list helpers > listAllConversations forwards limit/cursor [0.07ms]120✓ conversations list helpers > listUserConversations passes through small limits [0.06ms]121✓ conversations list helpers > listUserConversations clamps high limits to 1000 [0.05ms]122✓ conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.04ms]123✓ conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.02ms]124✓ conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.05ms]125✓ conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.59ms]126✓ conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.20ms]127✓ conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.18ms]128129test/drafts.test.ts:130✓ padDraftTs > pads short fractional parts to 7 digits [0.12ms]131✓ padDraftTs > leaves 7-digit fractional parts unchanged [0.02ms]132✓ padDraftTs > leaves timestamps without a fractional part unchanged [0.01ms]133✓ draftTextToBlocks > wraps plain text in a rich_text section [3.65ms]134✓ draftTextToBlocks > converts bullet lists to rich_text lists [0.29ms]135✓ parseDraftRecord > parses a raw draft into a compact shape [0.75ms]136✓ parseDraftRecord > returns null for records without an id [0.04ms]137✓ listDrafts > requests active drafts and parses the result [0.40ms]138✓ listDrafts > omits is_active when activeOnly is false [0.09ms]139✓ createDraft > sends blocks, destination, and composer flag [2.40ms]140✓ createDraft > omits thread fields for channel drafts [0.20ms]141✓ createDraft > includes file_ids on the wire when fileIds is supplied [0.14ms]142✓ updateDraft > sends draft_id and a padded last-updated ts [0.26ms]143✓ deleteDraft > deletes with an explicit last-updated ts [0.17ms]144✓ deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.25ms]145✓ deleteDraft > throws when the draft does not exist [0.08ms]146✓ findDraft > lists all drafts (including inactive) and finds by id [0.11ms]147✓ findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.10ms]148149test/upload.test.ts:150✓ uploadFilesForDraft > never shifts ids between files when the completion response omits one [14.27ms]151✓ uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [0.89ms]152✓ uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [0.85ms]153✓ uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [0.85ms]154✓ uploadFilesForDraft > throws and completes nothing when a path does not exist [0.58ms]155✓ uploadFilesForDraft > throws and completes nothing when a byte POST fails [0.98ms]156✓ uploadFilesForDraft > throws when files.completeUploadExternal fails [0.65ms]157✓ uploadFilesForDraft > throws when the path is a directory [0.53ms]158✓ uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [0.90ms]159160test/help-contracts.test.ts:161✓ agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [5.62ms]162✓ agent-facing help contracts > message compose identifies its CI send behavior [2.43ms]163✓ agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [1.22ms]164✓ agent-facing help contracts > scheduled cancellation identifies its required channel [7.93ms]165✓ agent-facing help contracts > Later reminders identify named-day timezone behavior [18.40ms]166✓ agent-facing help contracts > canvas creation identifies source and credential constraints [0.75ms]167✓ agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.53ms]168✓ agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.47ms]169✓ agent-facing help contracts > DM help states Slack's group size limit [0.47ms]170171test/render.test.ts:172✓ renderSlackMessageContent > prefers blocks [0.20ms]173✓ renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.25ms]174✓ renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.09ms]175✓ renderSlackMessageContent > falls back to attachments when text is empty [0.22ms]176✓ renderSlackMessageContent > includes section fields and button URLs [0.09ms]177✓ renderSlackMessageContent > includes attachment fields [0.09ms]178✓ renderSlackMessageContent > renders forwarded message with author and source link [0.46ms]179✓ renderSlackMessageContent > renders forwarded message with author name only [0.09ms]180✓ renderSlackMessageContent > renders forwarded message with no author [0.06ms]181✓ renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.09ms]182✓ renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.12ms]183✓ renderSlackMessageContent > deduplicates repeated forwarded body content [0.16ms]184✓ renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.09ms]185✓ renderSlackMessageContent > does not treat link unfurl as forwarded message [0.06ms]186✓ renderSlackMessageContent > combines blocks and non-shared attachments [0.06ms]187188test/later.test.ts:189✓ fetchLaterItems > returns counts only when countsOnly is true [0.62ms]190✓ fetchLaterItems > filters to message items only [0.79ms]191✓ fetchLaterItems > filters by state [0.27ms]192✓ fetchLaterItems > state 'all' returns all items [0.14ms]193✓ fetchLaterItems > respects limit [0.13ms]194✓ fetchLaterItems > hydrates message content [0.20ms]195✓ fetchLaterItems > resolves DM user display names [0.18ms]196✓ fetchLaterItems > truncates long message content [0.20ms]197✓ updateLaterMark > sends mark=completed via multipart [0.26ms]198✓ updateLaterMark > sends mark=archived via multipart [0.09ms]199✓ updateLaterMark > sends mark=uncompleted via multipart [0.08ms]200✓ updateLaterMark > sends mark=unarchived via multipart [0.06ms]201✓ saveLater > calls saved.add with correct params [0.13ms]202✓ removeLater > calls saved.delete with correct params [0.12ms]203✓ setLaterReminder > calls saved.update via multipart with date_due [0.14ms]204✓ parseReminderDuration > parses minutes [0.36ms]205✓ parseReminderDuration > parses hours [0.05ms]206✓ parseReminderDuration > parses fractional hours [0.03ms]207✓ parseReminderDuration > parses days [0.02ms]208✓ parseReminderDuration > parses 'tomorrow' as next day 9 AM [46.42ms]209✓ parseReminderDuration > parses day names [0.20ms]210✓ parseReminderDuration > passes through unix timestamps [0.11ms]211✓ parseReminderDuration > supports verbose unit names [0.07ms]212✓ parseReminderDuration > throws on invalid input [0.16ms]213214test/update.test.ts:215✓ compareSemver > equal versions return 0 [0.19ms]216✓ compareSemver > strips v prefix [0.03ms]217✓ compareSemver > newer major [0.02ms]218✓ compareSemver > newer minor [0.01ms]219✓ compareSemver > newer patch [0.01ms]220✓ compareSemver > older version returns negative [0.01ms]221✓ compareSemver > handles 0.x versions [0.07ms]222223test/format-outbound.test.ts:224✓ formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [0.52ms]225✓ formatOutboundSlackText > leaves already-formatted mention tokens alone [0.09ms]226✓ formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.02ms]227✓ formatOutboundSlackText > promotes broadcast mentions [0.04ms]228✓ formatOutboundSlackText > escapes bare < > & in literal text [0.02ms]229✓ formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.03ms]230✓ formatOutboundSlackText > does not promote email-like or mid-word @ [0.01ms]231✓ formatOutboundSlackText > handles empty input [0.01ms]232✓ formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.02ms]233234test/message-reaction-filters.test.ts:235✓ parseReactionFilters > normalizes shortcodes, names, and unicode [0.64ms]236✓ parseReactionFilters > returns empty array when unset [0.10ms]237✓ passesReactionNameFilters > matches when required reaction is present [0.26ms]238✓ passesReactionNameFilters > does not match when required reaction is missing [0.03ms]239✓ passesReactionNameFilters > does not match when excluded reaction is present [0.04ms]240✓ passesReactionNameFilters > matches when excluded reaction is absent [0.02ms]241✓ passesReactionNameFilters > supports with + without together [0.02ms]242✓ requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.06ms]243✓ requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.02ms]244✓ requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.06ms]245246test/desktop-auth-paths.test.ts:247✓ Windows Store Slack package detection > matches known Microsoft Store package identifiers [0.11ms]248✓ Windows Store Slack package detection > does not match unrelated packages [0.66ms]249250test/html-to-md.test.ts:251✓ htmlToMarkdown > converts basic HTML to markdown [11.73ms]252253test/user-cache.test.ts:254✓ user-cache helpers > collectReferencedUserIds excludes reaction users by default [4.70ms]255✓ user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.21ms]256✓ user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.25ms]257258test/emoji.test.ts:259✓ normalizeSlackReactionName > accepts :shortcode: [0.05ms]260✓ normalizeSlackReactionName > accepts raw names [0.02ms]261✓ normalizeSlackReactionName > accepts unicode emoji [0.10ms]262263test/user-id.test.ts:264✓ isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.05ms]265✓ isUserId > preserves the existing length and character restrictions [0.03ms]266267test/leveldb-reader.test.ts:268✓ leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [1.23ms]269✓ leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [0.50ms]270✓ leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [2.93ms]271✓ leveldb-reader > readChromiumLevelDB > reads entries from log files [1.32ms]272✓ leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [1.47ms]273✓ leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.62ms]274✓ leveldb-reader > findKeysContaining > filters entries by key substring [0.90ms]275✓ leveldb-reader > findKeysContaining > returns empty array when no matches [0.57ms]276✓ leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.59ms]277✓ leveldb-reader > edge cases > handles empty SSTable file [0.34ms]278✓ leveldb-reader > edge cases > handles SSTable smaller than footer size [0.36ms]279280test/targets.test.ts:281✓ parseMsgTarget > parses slack message URLs [0.11ms]282✓ parseMsgTarget > accepts #channel [0.04ms]283✓ parseMsgTarget > accepts bare channel names [0.03ms]284✓ parseMsgTarget > accepts channel IDs [0.05ms]285✓ parseMsgTarget > accepts user IDs as DM targets [0.03ms]286✓ parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.02ms]287✓ parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.02ms]288✓ parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.01ms]289✓ parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.03ms]290291test/search-command.test.ts:292✓ search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [6.50ms]293✓ search referenced users > search command forwards --refresh-users and bypasses cached user lookups [3.80ms]294295test/channel-admin.test.ts:296✓ parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.13ms]297✓ parseInviteUsersCsv > returns empty array when input has no values [0.02ms]298✓ splitEmailsFromInviteTargets > separates email targets from non-email targets [0.12ms]299✓ splitEmailsFromInviteTargets > deduplicates emails [0.01ms]300301test/messages.test.ts:302✓ fetchThread > returns the thread root and replies in chronological order [0.61ms]303304test/error-message.test.ts:305✓ errorMessage > returns the message for a plain error [0.14ms]306✓ errorMessage > stringifies non-Error values [0.03ms]307✓ errorMessage > appends a single Error cause [0.04ms]308✓ errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.09ms]309✓ errorMessage > walks multi-level cause chains [0.04ms]310✓ errorMessage > terminates on a self-referential cause instead of looping forever [0.02ms]311✓ errorMessage > terminates on a longer cause cycle [0.03ms]312✓ errorMessage > does not crash on a cause that cannot be stringified [0.06ms]313✓ errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.02ms]314✓ errorMessage > caps how far a long cause chain is walked [0.25ms]315✓ errorMessage > collapses a cause that merely restates its parent [0.03ms]316317test/search-files.test.ts:318Warning: skipping file F1: Failed to download file (404)319✓ searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [4.18ms]320Warning: skipping file F1: Failed to download file (404)321✓ searchFilesInChannelsFallback > continues after a failed download in files.list results [2.47ms]322✓ SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [1.78ms]323✓ SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.36ms]324325test/rich-text.test.ts:326✓ parseInlineElements > plain text returns single text element [0.05ms]327✓ parseInlineElements > *bold* is parsed with bold style [0.05ms]328✓ parseInlineElements > _italic_ is parsed with italic style [0.03ms]329✓ parseInlineElements > ~strike~ is parsed with strike style [0.02ms]330✓ parseInlineElements > `code` is parsed with code style [0.03ms]331✓ parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.02ms]332✓ parseInlineElements > emoji names with underscores are not parsed as italic text [0.03ms]333✓ parseInlineElements > time-like colon text is not parsed as an emoji element [0.02ms]334✓ parseInlineElements > <url|label> is parsed as link with text [0.14ms]335✓ parseInlineElements > <url> is parsed as link without text [0.03ms]336✓ parseInlineElements > <mailto|label> is parsed as link with text [0.02ms]337✓ parseInlineElements > non-url angle bracket text is preserved as text [0.02ms]338✓ parseInlineElements > non-url labeled angle bracket text is preserved as text [0.02ms]339✓ parseInlineElements > channel mention tokens are parsed as channel elements [0.10ms]340✓ parseInlineElements > bare channel mention tokens are parsed as channel elements [0.02ms]341✓ parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.02ms]342✓ textToRichTextBlocks > plain text returns null [0.05ms]343✓ textToRichTextBlocks > inline-only formatting returns null by default [0.03ms]344✓ textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.10ms]345✓ textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.09ms]346✓ textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.05ms]347✓ textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.04ms]348✓ textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.04ms]349✓ textToRichTextBlocks > bullet list with - prefix [0.11ms]350✓ textToRichTextBlocks > bullet list with bullet character [0.44ms]351✓ textToRichTextBlocks > sub-bullets with indentation [0.13ms]352✓ textToRichTextBlocks > white bullet sub-bullets under bullet [0.06ms]353✓ textToRichTextBlocks > mixed text and bullets [0.05ms]354✓ textToRichTextBlocks > numbered list [0.08ms]355✓ textToRichTextBlocks > bold text in list items is parsed [0.07ms]356✓ textToRichTextBlocks > emoji and channel references in list items are parsed [0.13ms]357✓ textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.07ms]358✓ textToRichTextBlocks > code block is preserved [0.05ms]359✓ textToRichTextBlocks > blockquote is preserved [0.04ms]360361test/canvas-create.test.ts:362✓ createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.44ms]363✓ createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.12ms]364✓ createCanvasFromMarkdown > rejects a success response without a canvas id [0.08ms]365✓ createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.09ms]366✓ createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.06ms]367✓ editCanvas > sends the documented replace change [0.36ms]368✓ editCanvas > sends the documented replace section change [0.02ms]369✓ editCanvas > sends the documented insert before change [0.01ms]370✓ editCanvas > sends the documented insert after change371✓ editCanvas > sends the documented insert at start change372✓ editCanvas > sends the documented insert at end change373✓ editCanvas > sends the documented delete section change374✓ editCanvas > sends the documented rename change375✓ editCanvas > rejects invalid combinations before calling Slack [0.24ms]376✓ editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.12ms]377✓ editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [13.68ms]378✓ readCanvasMarkdownInput > reads a Markdown file without changing its contents [5.71ms]379✓ readCanvasMarkdownInput > accepts a Markdown blob [0.12ms]380✓ readCanvasMarkdownInput > requires exactly one source [0.16ms]381✓ readCanvasMarkdownInput > rejects an empty source [0.06ms]382✓ canvas create command > creates from an inline blob in the selected workspace [1.66ms]383✓ canvas create command > creates from a file and resolves a channel tab [1.80ms]384✓ canvas create command > rejects browser-auth channel tabs before resolving the channel [0.72ms]385✓ canvas create command > rejects missing or conflicting sources before authenticating [0.59ms]386✓ canvas edit command > replaces a canvas from a Markdown URL target [1.42ms]387✓ canvas edit command > inserts content from a file and passes a section id [1.71ms]388✓ canvas edit command > renames without a Markdown source [0.42ms]389✓ canvas edit command > rejects delete content and malformed inputs before authenticating [0.59ms]390✓ canvas edit command > rejects browser credentials before calling canvases.edit [0.48ms]391392test/client.test.ts:393✓ SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [1.30ms]394395test/message-draft-actions.test.ts:396✓ createDraftAction > creates a draft addressed to a channel id [1.30ms]397✓ createDraftAction > rejects --broadcast without a thread [0.27ms]398✓ createDraftAction > rejects --broadcast for a DM (user) target [0.15ms]399✓ createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.16ms]400✓ createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.10ms]401✓ createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.09ms]402✓ createDraftAction > uploads --attach files and wires their file ids into the draft [3.08ms]403✓ createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.58ms]404✓ updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.79ms]405✓ updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.22ms]406✓ updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.22ms]407✓ updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.25ms]408✓ updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.31ms]409✓ updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.20ms]410✓ updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.18ms]411✓ updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.15ms]412✓ updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.19ms]413✓ updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.20ms]414✓ updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.15ms]415✓ updateDraftAction > merges --attach file ids into the draft's existing file_ids [5.08ms]416✓ updateDraftAction > merges --attach while de-duplicating ids already on the draft [0.96ms]417✓ deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.44ms]418✓ listDraftsAction > hydrates channel display names [0.68ms]419{420 "ok": true,421 "draft": {422 "id": "Dr123",423 "destinations": [424 {425 "channel_id": "C11111111",426 "thread_ts": "1700000000.100000"427 }428 ]429 }430}431✓ message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [1.10ms]432{433 "ok": true,434 "draft": {435 "id": "Dr123",436 "destinations": [437 {438 "channel_id": "C11111111",439 "thread_ts": "1700000000.100000",440 "broadcast": true441 }442 ]443 }444}445✓ message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.62ms]446{447 "ok": true,448 "draft": {449 "id": "Dr123",450 "destinations": [451 {452 "channel_id": "C11111111",453 "thread_ts": "1700000000.100000"454 }455 ]456 }457}458✓ message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.44ms]459{460 "ok": true,461 "draft": {462 "id": "DrNew",463 "destinations": [464 {465 "channel_id": "C11111111"466 }467 ]468 }469}470✓ message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [2.06ms]471✓ message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.87ms]472✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [1.31ms]473✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 update: a drafts.update auth failure retries work WITHOUT re-uploading files [1.00ms]474✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [1.14ms]475✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 update: a stale drafts.update failure deletes the newly uploaded file only [1.07ms]476✓ draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.25ms]477478test/users.test.ts:479✓ resolveUserId > returns user ids unchanged [0.09ms]480✓ resolveUserId > returns W-prefixed user ids unchanged [0.07ms]481✓ resolveUserId > resolves @handle via users.list [0.13ms]482✓ resolveUserId > resolves email via users.lookupByEmail [0.09ms]483✓ resolveUserId > resolves @handle case-insensitively [0.08ms]484✓ resolveUserId > falls back to users.list when lookupByEmail is unavailable [0.21ms]485486test/files.test.ts:487✓ downloadSlackFile > downloads file and writes to disk [0.97ms]488✓ downloadSlackFile > returns cached path when file already exists [0.54ms]489✓ downloadSlackFile > throws SlackDownloadError on HTTP 404 [0.32ms]490✓ downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.51ms]491✓ downloadSlackFile > throws SlackDownloadError on HTML auth page [0.30ms]492✓ downloadSlackFile > throws SlackDownloadError on network error [0.52ms]493✓ downloadSlackFile > throws SlackDownloadError when reading html body fails [0.59ms]494✓ downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.49ms]495✓ tryDownloadSlackFile > returns ok result on success [2.06ms]496✓ tryDownloadSlackFile > returns failure result on HTTP 404 [0.44ms]497✓ tryDownloadSlackFile > returns failure result on network error [0.42ms]498✓ tryDownloadSlackFile > propagates disk/write errors [0.45ms]499Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)500✓ downloadMessageFiles > records canvas auth failures as structured errors [2.04ms]501Warning: skipping file F2: Failed to download file (404)502✓ downloadMessageFiles > records non-canvas download failures with a local error path [0.98ms]503504test/reactions.test.ts:505✓ reactions compaction > includes reactions only when enabled [0.27ms]506✓ reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.05ms]507✓ reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [0.10ms]508509test/workspace-selector.test.ts:510✓ resolveWorkspaceSelector > matches exact URL [0.14ms]511✓ resolveWorkspaceSelector > matches unique substring by host/team [0.16ms]512✓ resolveWorkspaceSelector > matches unique substring by workspace name [0.03ms]513✓ resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.05ms]514✓ resolveWorkspaceSelector > returns no match when selector does not match [0.04ms]515516test/message-send.test.ts:517✓ sendMessage > posts a normal message when no attachments are passed [0.98ms]518✓ sendMessage > --no-unfurl disables link and media previews for immediate sends [0.11ms]519✓ sendMessage > opens and sends to a DM for a W-prefixed user target [0.24ms]520✓ sendMessage > returns a permalink when the workspace was resolved implicitly [0.11ms]521✓ sendMessage > threaded reply returns thread_ts distinct from ts [0.10ms]522✓ sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.10ms]523✓ sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.09ms]524✓ sendMessage > --reply-broadcast without --thread-ts throws [0.12ms]525✓ sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [0.51ms]526✓ sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.12ms]527✓ sendMessage > --reply-broadcast works alongside --blocks payload [0.79ms]528✓ sendMessage > uploads attachment and uses message text as initial comment [0.95ms]529✓ sendMessage > --no-unfurl cannot be combined with file attachments [0.13ms]530✓ sendMessage > sends initial comment only for the first attachment [0.95ms]531✓ sendMessage > uploads attachment without text when text is empty [0.75ms]532✓ sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [0.63ms]533✓ sendMessage > --blocks: errors when JSON is not an array [0.51ms]534✓ sendMessage > --blocks: errors on malformed JSON [0.53ms]535✓ sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [0.45ms]536✓ sendMessage > sends Slack manual links in lists as rich-text link blocks [0.24ms]537✓ sendMessage > --blocks: errors when an array element is not an object [0.50ms]538✓ sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [0.47ms]539✓ sendMessage > --schedule-in computes a relative post_at [0.27ms]540✓ sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.15ms]541✓ sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [0.56ms]542✓ sendMessage > --schedule cannot be combined with file attachments [0.18ms]543✓ composeMessage > --no-unfurl disables link and media previews when CI sends immediately [0.55ms]544✓ composeMessage > keeps Slack's default preview behavior for a standard CI send [0.15ms]545✓ composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.49ms]546✓ scheduled message management > lists scheduled messages and forwards channel filters [0.39ms]547✓ scheduled message management > cancels scheduled messages with the required channel id [0.24ms]548✓ scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.10ms]549✓ scheduled message time parsing > parses named relative times like monday 9am [0.33ms]550✓ scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.06ms]551✓ editMessage > edits a normal text message without blocks [0.36ms]552✓ editMessage > edits literal angle bracket text without blocks [0.09ms]553✓ editMessage > edits a message URL with a link label without blocks [0.13ms]554✓ editMessage > edits an inline mailto link without escaping it [0.10ms]555✓ editMessage > edits an inline usergroup mention without escaping it [0.08ms]556✓ editMessage > edits a channel target with inline formatting without blocks [0.08ms]557✓ editMessage > edits a channel target with rich text blocks when text contains a list [0.13ms]558✓ editMessage > edits a normal message without blocks when no --blocks file is passed [0.09ms]559✓ editMessage > edits a message URL with Block Kit JSON from file [0.56ms]560✓ editMessage > edits a channel target with --ts and Block Kit JSON from file [0.70ms]561562test/search-query.test.ts:563✓ W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [0.24ms]564✓ W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.17ms]565566test/parse-limit.test.ts:567✓ parseLimit > returns undefined when no value given [0.05ms]568✓ parseLimit > parses valid positive integers [0.02ms]569✓ parseLimit > rejects non-numeric strings [0.02ms]570✓ parseLimit > rejects zero [0.01ms]571✓ parseLimit > rejects negative numbers [0.02ms]572✓ parseLimit > rejects floats (uses integer part)573✓ requireMessageTs > returns trimmed ts when present [0.01ms]574✓ requireMessageTs > throws when missing [0.02ms]575✓ requireMessageTs > throws when blank [0.02ms]576577 399 pass578 0 fail579 817 expect() calls580Ran 399 tests across 38 files. [869.00ms]
fixupPhase
581shrinking RPATHs of ELF executables and libraries in /nix/store/yzwbjr591yr3wcnny2rasr26ldbhb78v-agent-slack-0.10.2582checking for references to /build/ in /nix/store/yzwbjr591yr3wcnny2rasr26ldbhb78v-agent-slack-0.10.2...583patching script interpreter paths in /nix/store/yzwbjr591yr3wcnny2rasr26ldbhb78v-agent-slack-0.10.2
installCheckPhase
584Executing versionCheckPhase585Successfully managed to find version 0.10.2 in the output of the command /nix/store/yzwbjr591yr3wcnny2rasr26ldbhb78v-agent-slack-0.10.2/bin/agent-slack --version5860.10.2587Finished versionCheckPhase588no Makefile or custom installCheckPhase, doing nothing