nixbot

builds

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

1bld1: building 63770nb8cylxk09sg08xjh77p70h9hyh-agent-slack-0.10.2.drv2Using 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/1cyiaq51190ixf0i9zs3rk4wqrfcxsvl-bash-5.3p20/bin/bash"8./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/1cyiaq51190ixf0i9zs3rk4wqrfcxsvl-bash-5.3p20/bin/sh"9./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/1cyiaq51190ixf0i9zs3rk4wqrfcxsvl-bash-5.3p20/bin/bash"
configurePhase
10no configure script, doing nothing
bunNodeModulesInstallPhase
11/build/source /build/source12bun install flags: --linker=isolated --ignore-scripts13bun install v1.4.4 (38afee6c8)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 [101.00ms]33/build/source
buildPhase
34Bundled 360 modules in 35ms3536 agent-slack.js 1.98 MB (entry point)37
checkPhase
38bun test v1.4.4 (38afee6c8)3940test/message-compact.test.ts:41✓ toCompactMessage > includes file with path on successful download [2.14ms]42✓ toCompactMessage > includes file with error on failed download [0.12ms]43✓ toCompactMessage > excludes files with no downloadedPaths entry [0.12ms]44✓ toCompactMessage > mixes successful and failed downloads [0.06ms]45✓ toCompactMessage > failed download preserves file metadata for content-type filtering [0.03ms]46✓ passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.09ms]47✓ passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.05ms]48✓ passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.03ms]49✓ toCompactMessage filename preservation > does not fall back to title when name is missing [0.03ms]5051test/workspace-selector.test.ts:52✓ resolveWorkspaceSelector > matches exact URL [0.15ms]53✓ resolveWorkspaceSelector > matches unique substring by host/team [0.14ms]54✓ resolveWorkspaceSelector > matches unique substring by workspace name [0.03ms]55✓ resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.09ms]56✓ resolveWorkspaceSelector > returns no match when selector does not match [0.05ms]5758test/later.test.ts:59✓ fetchLaterItems > returns counts only when countsOnly is true [0.44ms]60✓ fetchLaterItems > filters to message items only [0.49ms]61✓ fetchLaterItems > filters by state [0.15ms]62✓ fetchLaterItems > state 'all' returns all items [0.09ms]63✓ fetchLaterItems > respects limit [0.08ms]64✓ fetchLaterItems > hydrates message content [0.12ms]65✓ fetchLaterItems > resolves DM user display names [0.10ms]66✓ fetchLaterItems > truncates long message content [0.21ms]67✓ updateLaterMark > sends mark=completed via multipart [0.14ms]68✓ updateLaterMark > sends mark=archived via multipart [0.06ms]69✓ updateLaterMark > sends mark=uncompleted via multipart [0.03ms]70✓ updateLaterMark > sends mark=unarchived via multipart [0.03ms]71✓ saveLater > calls saved.add with correct params [0.08ms]72✓ removeLater > calls saved.delete with correct params [0.07ms]73✓ setLaterReminder > calls saved.update via multipart with date_due [0.09ms]74✓ parseReminderDuration > parses minutes [0.18ms]75✓ parseReminderDuration > parses hours [0.02ms]76✓ parseReminderDuration > parses fractional hours [0.01ms]77✓ parseReminderDuration > parses days [0.01ms]78✓ parseReminderDuration > parses 'tomorrow' as next day 9 AM [12.89ms]79✓ parseReminderDuration > parses day names [0.08ms]80✓ parseReminderDuration > passes through unix timestamps [0.02ms]81✓ parseReminderDuration > supports verbose unit names [0.03ms]82✓ parseReminderDuration > throws on invalid input [0.98ms]8384test/channel-command.test.ts:85✓ channel list command > defaults to users.conversations for current user [4.21ms]86✓ channel list command > with --user id uses users.conversations and sets user directly [2.13ms]87✓ channel list command > with --user handle resolves via users.list before users.conversations [1.67ms]88✓ channel list command > with --user unknown handle is a hard error [0.53ms]89✓ channel list command > with --all uses conversations.list [0.57ms]90✓ channel list command > forwards --limit and --cursor [0.56ms]91✓ channel list command > --all and --user is a hard error [0.56ms]92✓ channel list command > invalid --limit is a hard error [0.46ms]93✓ channel list command > help text documents single-page pagination model [0.24ms]94✓ channel mark command > URL target extracts workspace from URL [2.10ms]95✓ channel mark command > URL target rejects --workspace flag [0.54ms]96✓ channel mark command > channel target requires --ts [0.41ms]97✓ channel mark command > URL target allows --ts override [0.51ms]98✓ channel mark command > channel target with --ts calls conversations.mark [0.48ms]99100test/emoji.test.ts:101✓ normalizeSlackReactionName > accepts :shortcode: [0.11ms]102✓ normalizeSlackReactionName > accepts raw names [0.03ms]103✓ normalizeSlackReactionName > accepts unicode emoji [0.17ms]104105test/url.test.ts:106✓ parseSlackMessageUrl > parses archives URL with p<digits> [0.05ms]107✓ parseSlackMessageUrl > captures thread_ts from query when present [0.05ms]108✓ buildSlackMessageUrl > builds a permalink for a root message [0.08ms]109✓ buildSlackMessageUrl > includes thread metadata for replies [0.19ms]110111test/message-reaction-filters.test.ts:112✓ parseReactionFilters > normalizes shortcodes, names, and unicode [0.14ms]113✓ parseReactionFilters > returns empty array when unset [0.02ms]114✓ passesReactionNameFilters > matches when required reaction is present [0.11ms]115✓ passesReactionNameFilters > does not match when required reaction is missing [0.02ms]116✓ passesReactionNameFilters > does not match when excluded reaction is present [0.03ms]117✓ passesReactionNameFilters > matches when excluded reaction is absent [0.01ms]118✓ passesReactionNameFilters > supports with + without together [0.02ms]119✓ requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.04ms]120✓ requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.01ms]121✓ requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.03ms]122123test/update.test.ts:124✓ compareSemver > equal versions return 0 [0.15ms]125✓ compareSemver > strips v prefix [0.02ms]126✓ compareSemver > newer major [0.01ms]127✓ compareSemver > newer minor [0.01ms]128✓ compareSemver > newer patch [0.01ms]129✓ compareSemver > older version returns negative [0.01ms]130✓ compareSemver > handles 0.x versions [0.03ms]131132test/render.test.ts:133✓ renderSlackMessageContent > prefers blocks [0.11ms]134✓ renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.35ms]135✓ renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.05ms]136✓ renderSlackMessageContent > falls back to attachments when text is empty [0.09ms]137✓ renderSlackMessageContent > includes section fields and button URLs [0.05ms]138✓ renderSlackMessageContent > includes attachment fields [0.05ms]139✓ renderSlackMessageContent > renders forwarded message with author and source link [0.33ms]140✓ renderSlackMessageContent > renders forwarded message with author name only [0.04ms]141✓ renderSlackMessageContent > renders forwarded message with no author [0.03ms]142✓ renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.06ms]143✓ renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.06ms]144✓ renderSlackMessageContent > deduplicates repeated forwarded body content [0.04ms]145✓ renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.04ms]146✓ renderSlackMessageContent > does not treat link unfurl as forwarded message [0.03ms]147✓ renderSlackMessageContent > combines blocks and non-shared attachments [0.04ms]148149test/reactions.test.ts:150✓ reactions compaction > includes reactions only when enabled [0.21ms]151✓ reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.06ms]152✓ reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [0.09ms]153154test/compact-json.test.ts:155✓ pruneEmpty > drops null/undefined/empty containers [0.08ms]156157test/message-draft-actions.test.ts:158✓ createDraftAction > creates a draft addressed to a channel id [2.54ms]159✓ createDraftAction > rejects --broadcast without a thread [0.27ms]160✓ createDraftAction > rejects --broadcast for a DM (user) target [0.12ms]161✓ createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.07ms]162✓ createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.05ms]163✓ createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.08ms]164✓ createDraftAction > uploads --attach files and wires their file ids into the draft [2.68ms]165✓ createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.26ms]166✓ updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.68ms]167✓ updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.13ms]168✓ updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.11ms]169✓ updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.11ms]170✓ updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.17ms]171✓ updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.09ms]172✓ updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.07ms]173✓ updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.06ms]174✓ updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.07ms]175✓ updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.08ms]176✓ updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.06ms]177✓ updateDraftAction > merges --attach file ids into the draft's existing file_ids [0.87ms]178✓ updateDraftAction > merges --attach while de-duplicating ids already on the draft [0.64ms]179✓ deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.33ms]180✓ listDraftsAction > hydrates channel display names [0.44ms]181{182 "ok": true,183 "draft": {184 "id": "Dr123",185 "destinations": [186 {187 "channel_id": "C11111111",188 "thread_ts": "1700000000.100000"189 }190 ]191 }192}193✓ message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [0.79ms]194{195 "ok": true,196 "draft": {197 "id": "Dr123",198 "destinations": [199 {200 "channel_id": "C11111111",201 "thread_ts": "1700000000.100000",202 "broadcast": true203 }204 ]205 }206}207✓ message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.34ms]208{209 "ok": true,210 "draft": {211 "id": "Dr123",212 "destinations": [213 {214 "channel_id": "C11111111",215 "thread_ts": "1700000000.100000"216 }217 ]218 }219}220✓ message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.39ms]221{222 "ok": true,223 "draft": {224 "id": "DrNew",225 "destinations": [226 {227 "channel_id": "C11111111"228 }229 ]230 }231}232✓ message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [1.59ms]233✓ message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.62ms]234✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [0.91ms]235✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 update: a drafts.update auth failure retries work WITHOUT re-uploading files [0.83ms]236✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [0.91ms]237✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 update: a stale drafts.update failure deletes the newly uploaded file only [0.61ms]238✓ draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.13ms]239240test/channels.test.ts:241✓ conversations list helpers > listUserConversations calls users.conversations with defaults [0.15ms]242✓ conversations list helpers > listUserConversations forwards user/limit/cursor [0.07ms]243✓ conversations list helpers > listAllConversations calls conversations.list with defaults [0.06ms]244✓ conversations list helpers > listAllConversations forwards limit/cursor [0.05ms]245✓ conversations list helpers > listUserConversations passes through small limits [0.04ms]246✓ conversations list helpers > listUserConversations clamps high limits to 1000 [0.03ms]247✓ conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.03ms]248✓ conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.01ms]249✓ conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.03ms]250✓ conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.34ms]251✓ conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.09ms]252✓ conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.11ms]253254test/rich-text.test.ts:255✓ parseInlineElements > plain text returns single text element [0.06ms]256✓ parseInlineElements > *bold* is parsed with bold style [0.07ms]257✓ parseInlineElements > _italic_ is parsed with italic style [0.05ms]258✓ parseInlineElements > ~strike~ is parsed with strike style [0.02ms]259✓ parseInlineElements > `code` is parsed with code style [0.03ms]260✓ parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.03ms]261✓ parseInlineElements > emoji names with underscores are not parsed as italic text [0.03ms]262✓ parseInlineElements > time-like colon text is not parsed as an emoji element [0.02ms]263✓ parseInlineElements > <url|label> is parsed as link with text [0.10ms]264✓ parseInlineElements > <url> is parsed as link without text [0.03ms]265✓ parseInlineElements > <mailto|label> is parsed as link with text [0.03ms]266✓ parseInlineElements > non-url angle bracket text is preserved as text [0.02ms]267✓ parseInlineElements > non-url labeled angle bracket text is preserved as text [0.02ms]268✓ parseInlineElements > channel mention tokens are parsed as channel elements [0.03ms]269✓ parseInlineElements > bare channel mention tokens are parsed as channel elements [0.03ms]270✓ parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.03ms]271✓ textToRichTextBlocks > plain text returns null [0.05ms]272✓ textToRichTextBlocks > inline-only formatting returns null by default [0.03ms]273✓ textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.05ms]274✓ textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.12ms]275✓ textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.08ms]276✓ textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.06ms]277✓ textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.04ms]278✓ textToRichTextBlocks > bullet list with - prefix [0.23ms]279✓ textToRichTextBlocks > bullet list with bullet character [0.29ms]280✓ textToRichTextBlocks > sub-bullets with indentation [0.09ms]281✓ textToRichTextBlocks > white bullet sub-bullets under bullet [0.05ms]282✓ textToRichTextBlocks > mixed text and bullets [0.04ms]283✓ textToRichTextBlocks > numbered list [0.05ms]284✓ textToRichTextBlocks > bold text in list items is parsed [0.11ms]285✓ textToRichTextBlocks > emoji and channel references in list items are parsed [0.09ms]286✓ textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.05ms]287✓ textToRichTextBlocks > code block is preserved [0.05ms]288✓ textToRichTextBlocks > blockquote is preserved [0.03ms]289290test/upload.test.ts:291✓ uploadFilesForDraft > never shifts ids between files when the completion response omits one [1.19ms]292✓ uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [0.86ms]293✓ uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [0.93ms]294✓ uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [0.70ms]295✓ uploadFilesForDraft > throws and completes nothing when a path does not exist [0.35ms]296✓ uploadFilesForDraft > throws and completes nothing when a byte POST fails [0.86ms]297✓ uploadFilesForDraft > throws when files.completeUploadExternal fails [0.57ms]298✓ uploadFilesForDraft > throws when the path is a directory [0.37ms]299✓ uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [0.64ms]300301test/drafts.test.ts:302✓ padDraftTs > pads short fractional parts to 7 digits [0.03ms]303✓ padDraftTs > leaves 7-digit fractional parts unchanged [0.01ms]304✓ padDraftTs > leaves timestamps without a fractional part unchanged305✓ draftTextToBlocks > wraps plain text in a rich_text section [0.07ms]306✓ draftTextToBlocks > converts bullet lists to rich_text lists [0.06ms]307✓ parseDraftRecord > parses a raw draft into a compact shape [0.15ms]308✓ parseDraftRecord > returns null for records without an id [0.03ms]309✓ listDrafts > requests active drafts and parses the result [0.28ms]310✓ listDrafts > omits is_active when activeOnly is false [0.08ms]311✓ createDraft > sends blocks, destination, and composer flag [0.21ms]312✓ createDraft > omits thread fields for channel drafts [0.10ms]313✓ createDraft > includes file_ids on the wire when fileIds is supplied [0.11ms]314✓ updateDraft > sends draft_id and a padded last-updated ts [0.15ms]315✓ deleteDraft > deletes with an explicit last-updated ts [0.10ms]316✓ deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.13ms]317✓ deleteDraft > throws when the draft does not exist [0.07ms]318✓ findDraft > lists all drafts (including inactive) and finds by id [0.09ms]319✓ findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.09ms]320321test/format-outbound.test.ts:322✓ formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [0.58ms]323✓ formatOutboundSlackText > leaves already-formatted mention tokens alone [0.08ms]324✓ formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.02ms]325✓ formatOutboundSlackText > promotes broadcast mentions [0.03ms]326✓ formatOutboundSlackText > escapes bare < > & in literal text [0.02ms]327✓ formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.04ms]328✓ formatOutboundSlackText > does not promote email-like or mid-word @ [0.01ms]329✓ formatOutboundSlackText > handles empty input330✓ formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.02ms]331332test/mrkdwn.test.ts:333✓ slackMrkdwnToMarkdown > converts Slack-style links [0.14ms]334✓ slackMrkdwnToMarkdown > converts user and channel mentions [0.08ms]335✓ slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.04ms]336337test/search-command.test.ts:338✓ search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [4.27ms]339✓ search referenced users > search command forwards --refresh-users and bypasses cached user lookups [3.31ms]340341test/leveldb-reader.test.ts:342✓ leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [0.45ms]343✓ leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [0.21ms]344✓ leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [1.96ms]345✓ leveldb-reader > readChromiumLevelDB > reads entries from log files [1.04ms]346✓ leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [0.60ms]347✓ leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.36ms]348✓ leveldb-reader > findKeysContaining > filters entries by key substring [0.76ms]349✓ leveldb-reader > findKeysContaining > returns empty array when no matches [0.39ms]350✓ leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.42ms]351✓ leveldb-reader > edge cases > handles empty SSTable file [0.25ms]352✓ leveldb-reader > edge cases > handles SSTable smaller than footer size [0.30ms]353354test/channel-admin.test.ts:355✓ parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.24ms]356✓ parseInviteUsersCsv > returns empty array when input has no values [0.05ms]357✓ splitEmailsFromInviteTargets > separates email targets from non-email targets [0.28ms]358✓ splitEmailsFromInviteTargets > deduplicates emails [0.05ms]359360test/users.test.ts:361✓ resolveUserId > returns user ids unchanged [0.12ms]362✓ resolveUserId > returns W-prefixed user ids unchanged [0.06ms]363✓ resolveUserId > resolves @handle via users.list [0.13ms]364✓ resolveUserId > resolves email via users.lookupByEmail [0.17ms]365✓ resolveUserId > resolves @handle case-insensitively [0.10ms]366✓ resolveUserId > falls back to users.list when lookupByEmail is unavailable [0.12ms]367368test/files.test.ts:369✓ downloadSlackFile > downloads file and writes to disk [1.33ms]370✓ downloadSlackFile > returns cached path when file already exists [0.50ms]371✓ downloadSlackFile > throws SlackDownloadError on HTTP 404 [0.49ms]372✓ downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.34ms]373✓ downloadSlackFile > throws SlackDownloadError on HTML auth page [0.37ms]374✓ downloadSlackFile > throws SlackDownloadError on network error [0.40ms]375✓ downloadSlackFile > throws SlackDownloadError when reading html body fails [0.38ms]376✓ downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.39ms]377✓ tryDownloadSlackFile > returns ok result on success [0.78ms]378✓ tryDownloadSlackFile > returns failure result on HTTP 404 [0.33ms]379✓ tryDownloadSlackFile > returns failure result on network error [0.32ms]380✓ tryDownloadSlackFile > propagates disk/write errors [0.43ms]381Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)382✓ downloadMessageFiles > records canvas auth failures as structured errors [1.94ms]383Warning: skipping file F2: Failed to download file (404)384✓ downloadMessageFiles > records non-canvas download failures with a local error path [1.00ms]385386test/canvas-create.test.ts:387✓ createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.39ms]388✓ createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.09ms]389✓ createCanvasFromMarkdown > rejects a success response without a canvas id [0.08ms]390✓ createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.09ms]391✓ createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.09ms]392✓ editCanvas > sends the documented replace change [0.57ms]393✓ editCanvas > sends the documented replace section change [0.04ms]394✓ editCanvas > sends the documented insert before change [0.02ms]395✓ editCanvas > sends the documented insert after change396✓ editCanvas > sends the documented insert at start change397✓ editCanvas > sends the documented insert at end change398✓ editCanvas > sends the documented delete section change399✓ editCanvas > sends the documented rename change400✓ editCanvas > rejects invalid combinations before calling Slack [0.31ms]401✓ editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.18ms]402✓ editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [11.49ms]403✓ readCanvasMarkdownInput > reads a Markdown file without changing its contents [0.88ms]404✓ readCanvasMarkdownInput > accepts a Markdown blob [0.04ms]405✓ readCanvasMarkdownInput > requires exactly one source [0.05ms]406✓ readCanvasMarkdownInput > rejects an empty source [0.03ms]407✓ canvas create command > creates from an inline blob in the selected workspace [0.98ms]408✓ canvas create command > creates from a file and resolves a channel tab [0.84ms]409✓ canvas create command > rejects browser-auth channel tabs before resolving the channel [0.30ms]410✓ canvas create command > rejects missing or conflicting sources before authenticating [0.29ms]411✓ canvas edit command > replaces a canvas from a Markdown URL target [0.71ms]412✓ canvas edit command > inserts content from a file and passes a section id [0.67ms]413✓ canvas edit command > renames without a Markdown source [0.29ms]414✓ canvas edit command > rejects delete content and malformed inputs before authenticating [0.35ms]415✓ canvas edit command > rejects browser credentials before calling canvases.edit [0.29ms]416417test/parse-limit.test.ts:418✓ parseLimit > returns undefined when no value given [0.04ms]419✓ parseLimit > parses valid positive integers [0.02ms]420✓ parseLimit > rejects non-numeric strings [0.02ms]421✓ parseLimit > rejects zero [0.02ms]422✓ parseLimit > rejects negative numbers [0.01ms]423✓ parseLimit > rejects floats (uses integer part)424✓ requireMessageTs > returns trimmed ts when present [0.02ms]425✓ requireMessageTs > throws when missing [0.01ms]426✓ requireMessageTs > throws when blank [0.01ms]427428test/desktop-auth-paths.test.ts:429✓ Windows Store Slack package detection > matches known Microsoft Store package identifiers [0.05ms]430✓ Windows Store Slack package detection > does not match unrelated packages [0.01ms]431432test/search-files.test.ts:433Warning: skipping file F1: Failed to download file (404)434✓ searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [2.46ms]435Warning: skipping file F1: Failed to download file (404)436✓ searchFilesInChannelsFallback > continues after a failed download in files.list results [1.99ms]437✓ SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [1.50ms]438✓ SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.19ms]439440test/error-message.test.ts:441✓ errorMessage > returns the message for a plain error [0.15ms]442✓ errorMessage > stringifies non-Error values [0.03ms]443✓ errorMessage > appends a single Error cause [0.04ms]444✓ errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.17ms]445✓ errorMessage > walks multi-level cause chains [0.03ms]446✓ errorMessage > terminates on a self-referential cause instead of looping forever [0.02ms]447✓ errorMessage > terminates on a longer cause cycle [0.02ms]448✓ errorMessage > does not crash on a cause that cannot be stringified [0.04ms]449✓ errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.01ms]450✓ errorMessage > caps how far a long cause chain is walked [0.17ms]451✓ errorMessage > collapses a cause that merely restates its parent [0.02ms]452453test/client.test.ts:454✓ SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [1.44ms]455456test/help-contracts.test.ts:457✓ agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [1.50ms]458✓ agent-facing help contracts > message compose identifies its CI send behavior [0.77ms]459✓ agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [1.13ms]460✓ agent-facing help contracts > scheduled cancellation identifies its required channel [0.51ms]461✓ agent-facing help contracts > Later reminders identify named-day timezone behavior [0.50ms]462✓ agent-facing help contracts > canvas creation identifies source and credential constraints [0.43ms]463✓ agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.39ms]464✓ agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.41ms]465✓ agent-facing help contracts > DM help states Slack's group size limit [0.36ms]466467test/targets.test.ts:468✓ parseMsgTarget > parses slack message URLs [0.08ms]469✓ parseMsgTarget > accepts #channel [0.04ms]470✓ parseMsgTarget > accepts bare channel names [0.03ms]471✓ parseMsgTarget > accepts channel IDs [0.02ms]472✓ parseMsgTarget > accepts user IDs as DM targets [0.02ms]473✓ parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.02ms]474✓ parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.02ms]475✓ parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.02ms]476✓ parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.01ms]477478test/user-id.test.ts:479✓ isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.03ms]480✓ isUserId > preserves the existing length and character restrictions [0.02ms]481482test/safe-mode.test.ts:483✓ isSafeModeEnabled > enabled via CLI flag [0.07ms]484✓ isSafeModeEnabled > enabled for env value "1" [0.02ms]485✓ isSafeModeEnabled > enabled for env value "true"486✓ isSafeModeEnabled > enabled for env value "TRUE"487✓ isSafeModeEnabled > enabled for env value "yes"488✓ isSafeModeEnabled > enabled for env value "on"489✓ isSafeModeEnabled > enabled for env value " 1 "490✓ isSafeModeEnabled > disabled for env value "0" [0.01ms]491✓ isSafeModeEnabled > disabled for env value "false"492✓ isSafeModeEnabled > disabled for env value "off"493✓ isSafeModeEnabled > disabled for env value "no"494✓ isSafeModeEnabled > disabled for env value ""495✓ isSafeModeEnabled > disabled when env var is unset and flag is absent [0.02ms]496✓ safeModeBlockedError > names the blocked action [0.04ms]497✓ redirectSendToDraft > rejects unsupported send option {498 attach: [ "./report.md" ],499} [0.35ms]500✓ redirectSendToDraft > rejects unsupported send option {501 blocks: "/tmp/blocks.json",502} [0.02ms]503✓ redirectSendToDraft > rejects unsupported send option {504 schedule: "2030-01-01T00:00:00Z",505} [0.01ms]506✓ redirectSendToDraft > rejects unsupported send option {507 scheduleIn: "3h",508}509✓ redirectSendToDraft > rejects unsupported send option {510 replyBroadcast: true,511} [0.02ms]512✓ redirectSendToDraft > lists all unsupported flags at once [0.11ms]513✓ redirectSendToDraft > rejects in CI where no interactive editor is available [0.55ms]514⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.515✓ redirectSendToDraft > opens a draft with the send text and thread context [0.40ms]516517test/html-to-md.test.ts:518✓ htmlToMarkdown > converts basic HTML to markdown [6.82ms]519520test/search-query.test.ts:521✓ W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [0.30ms]522✓ W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.20ms]523524test/user-cache.test.ts:525✓ user-cache helpers > collectReferencedUserIds excludes reaction users by default [0.08ms]526✓ user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.05ms]527✓ user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.06ms]528529test/messages.test.ts:530✓ fetchThread > returns the thread root and replies in chronological order [0.46ms]531532test/message-send.test.ts:533✓ sendMessage > posts a normal message when no attachments are passed [0.87ms]534✓ sendMessage > --no-unfurl disables link and media previews for immediate sends [0.11ms]535✓ sendMessage > opens and sends to a DM for a W-prefixed user target [0.28ms]536✓ sendMessage > returns a permalink when the workspace was resolved implicitly [0.14ms]537✓ sendMessage > threaded reply returns thread_ts distinct from ts [0.10ms]538✓ sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.14ms]539✓ sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.11ms]540✓ sendMessage > --reply-broadcast without --thread-ts throws [0.12ms]541✓ sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [0.61ms]542✓ sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.13ms]543✓ sendMessage > --reply-broadcast works alongside --blocks payload [1.01ms]544✓ sendMessage > uploads attachment and uses message text as initial comment [1.29ms]545✓ sendMessage > --no-unfurl cannot be combined with file attachments [0.13ms]546✓ sendMessage > sends initial comment only for the first attachment [2.17ms]547✓ sendMessage > uploads attachment without text when text is empty [1.05ms]548✓ sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [1.06ms]549✓ sendMessage > --blocks: errors when JSON is not an array [1.13ms]550✓ sendMessage > --blocks: errors on malformed JSON [1.26ms]551✓ sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [2.16ms]552✓ sendMessage > sends Slack manual links in lists as rich-text link blocks [0.26ms]553✓ sendMessage > --blocks: errors when an array element is not an object [0.60ms]554✓ sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [0.54ms]555✓ sendMessage > --schedule-in computes a relative post_at [0.36ms]556✓ sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.19ms]557✓ sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [1.77ms]558✓ sendMessage > --schedule cannot be combined with file attachments [0.23ms]559✓ composeMessage > --no-unfurl disables link and media previews when CI sends immediately [0.71ms]560✓ composeMessage > keeps Slack's default preview behavior for a standard CI send [0.18ms]561✓ composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.57ms]562✓ scheduled message management > lists scheduled messages and forwards channel filters [0.53ms]563✓ scheduled message management > cancels scheduled messages with the required channel id [0.31ms]564✓ scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.09ms]565✓ scheduled message time parsing > parses named relative times like monday 9am [0.45ms]566✓ scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.09ms]567✓ editMessage > edits a normal text message without blocks [0.48ms]568✓ editMessage > edits literal angle bracket text without blocks [0.12ms]569✓ editMessage > edits a message URL with a link label without blocks [0.16ms]570✓ editMessage > edits an inline mailto link without escaping it [0.14ms]571✓ editMessage > edits an inline usergroup mention without escaping it [0.13ms]572✓ editMessage > edits a channel target with inline formatting without blocks [0.11ms]573✓ editMessage > edits a channel target with rich text blocks when text contains a list [0.16ms]574✓ editMessage > edits a normal message without blocks when no --blocks file is passed [0.13ms]575✓ editMessage > edits a message URL with Block Kit JSON from file [1.10ms]576✓ editMessage > edits a channel target with --ts and Block Kit JSON from file [1.32ms]577578 399 pass579 0 fail580 817 expect() calls581Ran 399 tests across 38 files. [408.00ms]
fixupPhase
582shrinking RPATHs of ELF executables and libraries in /nix/store/qgd8wf55gsvh0nir9yni81xxhryv2m7a-agent-slack-0.10.2583checking for references to /build/ in /nix/store/qgd8wf55gsvh0nir9yni81xxhryv2m7a-agent-slack-0.10.2...584patching script interpreter paths in /nix/store/qgd8wf55gsvh0nir9yni81xxhryv2m7a-agent-slack-0.10.2
installCheckPhase
585Executing versionCheckPhase586Successfully managed to find version 0.10.2 in the output of the command /nix/store/qgd8wf55gsvh0nir9yni81xxhryv2m7a-agent-slack-0.10.2/bin/agent-slack --version5870.10.2588Finished versionCheckPhase589no Makefile or custom installCheckPhase, doing nothing