nixbot

builds

succeeded agent-slack-0.10.2 checks.x86_64-linux.pkgs-agent-slack · build #6820 · 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/10dxp0qxqxxsyiljrh2kp0xqhz6arhcx-bash-5.3p15/bin/bash"7./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/10dxp0qxqxxsyiljrh2kp0xqhz6arhcx-bash-5.3p15/bin/sh"8./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/10dxp0qxqxxsyiljrh2kp0xqhz6arhcx-bash-5.3p15/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 [134.00ms]32/build/source
buildPhase
33Bundled 360 modules in 50ms3435 agent-slack.js 1.98 MB (entry point)36
checkPhase
37bun test v1.4.2 (744846f84)3839test/search-query.test.ts:40✓ W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [13.72ms]41✓ W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.31ms]4243test/parse-limit.test.ts:44✓ parseLimit > returns undefined when no value given [0.05ms]45✓ parseLimit > parses valid positive integers [0.04ms]46✓ parseLimit > rejects non-numeric strings [1.39ms]47✓ parseLimit > rejects zero [0.08ms]48✓ parseLimit > rejects negative numbers [0.02ms]49✓ parseLimit > rejects floats (uses integer part) [0.01ms]50✓ requireMessageTs > returns trimmed ts when present [0.04ms]51✓ requireMessageTs > throws when missing [0.02ms]52✓ requireMessageTs > throws when blank [0.02ms]5354test/message-send.test.ts:55✓ sendMessage > posts a normal message when no attachments are passed [4.06ms]56✓ sendMessage > --no-unfurl disables link and media previews for immediate sends [0.15ms]57✓ sendMessage > opens and sends to a DM for a W-prefixed user target [0.22ms]58✓ sendMessage > returns a permalink when the workspace was resolved implicitly [0.09ms]59✓ sendMessage > threaded reply returns thread_ts distinct from ts [0.16ms]60✓ sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.11ms]61✓ sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.07ms]62✓ sendMessage > --reply-broadcast without --thread-ts throws [0.73ms]63✓ sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [1.94ms]64✓ sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.21ms]65✓ sendMessage > --reply-broadcast works alongside --blocks payload [6.53ms]66✓ sendMessage > uploads attachment and uses message text as initial comment [2.57ms]67✓ sendMessage > --no-unfurl cannot be combined with file attachments [0.15ms]68✓ sendMessage > sends initial comment only for the first attachment [1.65ms]69✓ sendMessage > uploads attachment without text when text is empty [0.72ms]70✓ sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [0.52ms]71✓ sendMessage > --blocks: errors when JSON is not an array [0.59ms]72✓ sendMessage > --blocks: errors on malformed JSON [0.46ms]73✓ sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [0.37ms]74✓ sendMessage > sends Slack manual links in lists as rich-text link blocks [0.35ms]75✓ sendMessage > --blocks: errors when an array element is not an object [0.58ms]76✓ sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [0.41ms]77✓ sendMessage > --schedule-in computes a relative post_at [0.26ms]78✓ sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.15ms]79✓ sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [0.47ms]80✓ sendMessage > --schedule cannot be combined with file attachments [0.14ms]81✓ composeMessage > --no-unfurl disables link and media previews when CI sends immediately [1.48ms]82✓ composeMessage > keeps Slack's default preview behavior for a standard CI send [0.35ms]83✓ composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.90ms]84✓ scheduled message management > lists scheduled messages and forwards channel filters [0.76ms]85✓ scheduled message management > cancels scheduled messages with the required channel id [0.41ms]86✓ scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.12ms]87✓ scheduled message time parsing > parses named relative times like monday 9am [12.38ms]88✓ scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.08ms]89✓ editMessage > edits a normal text message without blocks [0.35ms]90✓ editMessage > edits literal angle bracket text without blocks [0.11ms]91✓ editMessage > edits a message URL with a link label without blocks [0.13ms]92✓ editMessage > edits an inline mailto link without escaping it [0.09ms]93✓ editMessage > edits an inline usergroup mention without escaping it [0.08ms]94✓ editMessage > edits a channel target with inline formatting without blocks [0.09ms]95✓ editMessage > edits a channel target with rich text blocks when text contains a list [0.12ms]96✓ editMessage > edits a normal message without blocks when no --blocks file is passed [0.08ms]97✓ editMessage > edits a message URL with Block Kit JSON from file [0.73ms]98✓ editMessage > edits a channel target with --ts and Block Kit JSON from file [0.60ms]99100test/later.test.ts:101✓ fetchLaterItems > returns counts only when countsOnly is true [0.61ms]102✓ fetchLaterItems > filters to message items only [0.96ms]103✓ fetchLaterItems > filters by state [0.17ms]104✓ fetchLaterItems > state 'all' returns all items [0.10ms]105✓ fetchLaterItems > respects limit [0.08ms]106✓ fetchLaterItems > hydrates message content [0.12ms]107✓ fetchLaterItems > resolves DM user display names [0.10ms]108✓ fetchLaterItems > truncates long message content [0.16ms]109✓ updateLaterMark > sends mark=completed via multipart [0.16ms]110✓ updateLaterMark > sends mark=archived via multipart [0.05ms]111✓ updateLaterMark > sends mark=uncompleted via multipart [0.04ms]112✓ updateLaterMark > sends mark=unarchived via multipart [0.03ms]113✓ saveLater > calls saved.add with correct params [0.07ms]114✓ removeLater > calls saved.delete with correct params [0.07ms]115✓ setLaterReminder > calls saved.update via multipart with date_due [0.09ms]116✓ parseReminderDuration > parses minutes [0.15ms]117✓ parseReminderDuration > parses hours [0.02ms]118✓ parseReminderDuration > parses fractional hours [0.01ms]119✓ parseReminderDuration > parses days [0.01ms]120✓ parseReminderDuration > parses 'tomorrow' as next day 9 AM [0.07ms]121✓ parseReminderDuration > parses day names [0.03ms]122✓ parseReminderDuration > passes through unix timestamps [0.01ms]123✓ parseReminderDuration > supports verbose unit names [0.03ms]124✓ parseReminderDuration > throws on invalid input [0.05ms]125126test/channel-admin.test.ts:127✓ parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.69ms]128✓ parseInviteUsersCsv > returns empty array when input has no values [0.03ms]129✓ splitEmailsFromInviteTargets > separates email targets from non-email targets [0.10ms]130✓ splitEmailsFromInviteTargets > deduplicates emails [0.01ms]131132test/error-message.test.ts:133✓ errorMessage > returns the message for a plain error [0.13ms]134✓ errorMessage > stringifies non-Error values [0.04ms]135✓ errorMessage > appends a single Error cause [0.03ms]136✓ errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.06ms]137✓ errorMessage > walks multi-level cause chains [0.02ms]138✓ errorMessage > terminates on a self-referential cause instead of looping forever [0.01ms]139✓ errorMessage > terminates on a longer cause cycle [0.01ms]140✓ errorMessage > does not crash on a cause that cannot be stringified [0.05ms]141✓ errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.01ms]142✓ errorMessage > caps how far a long cause chain is walked [0.13ms]143✓ errorMessage > collapses a cause that merely restates its parent [0.01ms]144145test/emoji.test.ts:146✓ normalizeSlackReactionName > accepts :shortcode: [0.10ms]147✓ normalizeSlackReactionName > accepts raw names [0.03ms]148✓ normalizeSlackReactionName > accepts unicode emoji [0.23ms]149150test/canvas-create.test.ts:151✓ createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.28ms]152✓ createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.09ms]153✓ createCanvasFromMarkdown > rejects a success response without a canvas id [0.06ms]154✓ createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.08ms]155✓ createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.06ms]156✓ editCanvas > sends the documented replace change [0.33ms]157✓ editCanvas > sends the documented replace section change [0.02ms]158✓ editCanvas > sends the documented insert before change [0.01ms]159✓ editCanvas > sends the documented insert after change160✓ editCanvas > sends the documented insert at start change161✓ editCanvas > sends the documented insert at end change162✓ editCanvas > sends the documented delete section change163✓ editCanvas > sends the documented rename change164✓ editCanvas > rejects invalid combinations before calling Slack [0.23ms]165✓ editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.08ms]166✓ editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [7.13ms]167✓ readCanvasMarkdownInput > reads a Markdown file without changing its contents [0.83ms]168✓ readCanvasMarkdownInput > accepts a Markdown blob [0.05ms]169✓ readCanvasMarkdownInput > requires exactly one source [0.07ms]170✓ readCanvasMarkdownInput > rejects an empty source [0.03ms]171✓ canvas create command > creates from an inline blob in the selected workspace [3.16ms]172✓ canvas create command > creates from a file and resolves a channel tab [1.05ms]173✓ canvas create command > rejects browser-auth channel tabs before resolving the channel [0.62ms]174✓ canvas create command > rejects missing or conflicting sources before authenticating [0.58ms]175✓ canvas edit command > replaces a canvas from a Markdown URL target [0.91ms]176✓ canvas edit command > inserts content from a file and passes a section id [0.92ms]177✓ canvas edit command > renames without a Markdown source [0.38ms]178✓ canvas edit command > rejects delete content and malformed inputs before authenticating [0.66ms]179✓ canvas edit command > rejects browser credentials before calling canvases.edit [0.38ms]180181test/search-files.test.ts:182Warning: skipping file F1: Failed to download file (404)183✓ searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [4.05ms]184Warning: skipping file F1: Failed to download file (404)185✓ searchFilesInChannelsFallback > continues after a failed download in files.list results [1.63ms]186✓ SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [0.97ms]187✓ SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.21ms]188189test/workspace-selector.test.ts:190✓ resolveWorkspaceSelector > matches exact URL [0.10ms]191✓ resolveWorkspaceSelector > matches unique substring by host/team [0.14ms]192✓ resolveWorkspaceSelector > matches unique substring by workspace name [0.03ms]193✓ resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.10ms]194✓ resolveWorkspaceSelector > returns no match when selector does not match [0.03ms]195196test/help-contracts.test.ts:197✓ agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [1.49ms]198✓ agent-facing help contracts > message compose identifies its CI send behavior [1.03ms]199✓ agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [0.82ms]200✓ agent-facing help contracts > scheduled cancellation identifies its required channel [0.45ms]201✓ agent-facing help contracts > Later reminders identify named-day timezone behavior [0.34ms]202✓ agent-facing help contracts > canvas creation identifies source and credential constraints [0.50ms]203✓ agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.33ms]204✓ agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.30ms]205✓ agent-facing help contracts > DM help states Slack's group size limit [0.31ms]206207test/client.test.ts:208✓ SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [0.84ms]209210test/messages.test.ts:211✓ fetchThread > returns the thread root and replies in chronological order [0.49ms]212213test/safe-mode.test.ts:214✓ isSafeModeEnabled > enabled via CLI flag [0.05ms]215✓ isSafeModeEnabled > enabled for env value "1" [0.02ms]216✓ isSafeModeEnabled > enabled for env value "true"217✓ isSafeModeEnabled > enabled for env value "TRUE"218✓ isSafeModeEnabled > enabled for env value "yes"219✓ isSafeModeEnabled > enabled for env value "on"220✓ isSafeModeEnabled > enabled for env value " 1 "221✓ isSafeModeEnabled > disabled for env value "0" [0.01ms]222✓ isSafeModeEnabled > disabled for env value "false"223✓ isSafeModeEnabled > disabled for env value "off"224✓ isSafeModeEnabled > disabled for env value "no"225✓ isSafeModeEnabled > disabled for env value ""226✓ isSafeModeEnabled > disabled when env var is unset and flag is absent [0.02ms]227✓ safeModeBlockedError > names the blocked action [0.04ms]228✓ redirectSendToDraft > rejects unsupported send option {229 attach: [ "./report.md" ],230} [0.23ms]231✓ redirectSendToDraft > rejects unsupported send option {232 blocks: "/tmp/blocks.json",233} [0.01ms]234✓ redirectSendToDraft > rejects unsupported send option {235 schedule: "2030-01-01T00:00:00Z",236}237✓ redirectSendToDraft > rejects unsupported send option {238 scheduleIn: "3h",239}240✓ redirectSendToDraft > rejects unsupported send option {241 replyBroadcast: true,242}243✓ redirectSendToDraft > lists all unsupported flags at once [0.07ms]244✓ redirectSendToDraft > rejects in CI where no interactive editor is available [0.10ms]245⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.246✓ redirectSendToDraft > opens a draft with the send text and thread context [0.16ms]247248test/reactions.test.ts:249✓ reactions compaction > includes reactions only when enabled [0.36ms]250✓ reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.05ms]251✓ reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [0.29ms]252253test/message-reaction-filters.test.ts:254✓ parseReactionFilters > normalizes shortcodes, names, and unicode [0.09ms]255✓ parseReactionFilters > returns empty array when unset256✓ passesReactionNameFilters > matches when required reaction is present [0.09ms]257✓ passesReactionNameFilters > does not match when required reaction is missing [0.02ms]258✓ passesReactionNameFilters > does not match when excluded reaction is present [0.02ms]259✓ passesReactionNameFilters > matches when excluded reaction is absent [0.01ms]260✓ passesReactionNameFilters > supports with + without together [0.02ms]261✓ requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.03ms]262✓ requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.01ms]263✓ requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.02ms]264265test/files.test.ts:266✓ downloadSlackFile > downloads file and writes to disk [0.67ms]267✓ downloadSlackFile > returns cached path when file already exists [0.52ms]268✓ downloadSlackFile > throws SlackDownloadError on HTTP 404 [0.41ms]269✓ downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.40ms]270✓ downloadSlackFile > throws SlackDownloadError on HTML auth page [0.30ms]271✓ downloadSlackFile > throws SlackDownloadError on network error [0.58ms]272✓ downloadSlackFile > throws SlackDownloadError when reading html body fails [0.54ms]273✓ downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.45ms]274✓ tryDownloadSlackFile > returns ok result on success [0.56ms]275✓ tryDownloadSlackFile > returns failure result on HTTP 404 [0.49ms]276✓ tryDownloadSlackFile > returns failure result on network error [0.34ms]277✓ tryDownloadSlackFile > propagates disk/write errors [0.61ms]278Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)279✓ downloadMessageFiles > records canvas auth failures as structured errors [1.81ms]280Warning: skipping file F2: Failed to download file (404)281✓ downloadMessageFiles > records non-canvas download failures with a local error path [1.14ms]282283test/users.test.ts:284✓ resolveUserId > returns user ids unchanged [0.24ms]285✓ resolveUserId > returns W-prefixed user ids unchanged [0.04ms]286✓ resolveUserId > resolves @handle via users.list [0.11ms]287✓ resolveUserId > resolves email via users.lookupByEmail [0.06ms]288✓ resolveUserId > resolves @handle case-insensitively [0.06ms]289✓ resolveUserId > falls back to users.list when lookupByEmail is unavailable [0.11ms]290291test/channel-command.test.ts:292✓ channel list command > defaults to users.conversations for current user [1.05ms]293✓ channel list command > with --user id uses users.conversations and sets user directly [0.34ms]294✓ channel list command > with --user handle resolves via users.list before users.conversations [0.39ms]295✓ channel list command > with --user unknown handle is a hard error [0.30ms]296✓ channel list command > with --all uses conversations.list [0.29ms]297✓ channel list command > forwards --limit and --cursor [0.89ms]298✓ channel list command > --all and --user is a hard error [0.38ms]299✓ channel list command > invalid --limit is a hard error [0.29ms]300✓ channel list command > help text documents single-page pagination model [0.13ms]301✓ channel mark command > URL target extracts workspace from URL [3.90ms]302✓ channel mark command > URL target rejects --workspace flag [0.41ms]303✓ channel mark command > channel target requires --ts [0.25ms]304✓ channel mark command > URL target allows --ts override [0.27ms]305✓ channel mark command > channel target with --ts calls conversations.mark [0.23ms]306307test/mrkdwn.test.ts:308✓ slackMrkdwnToMarkdown > converts Slack-style links [0.08ms]309✓ slackMrkdwnToMarkdown > converts user and channel mentions [0.03ms]310✓ slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.14ms]311312test/url.test.ts:313✓ parseSlackMessageUrl > parses archives URL with p<digits> [0.04ms]314✓ parseSlackMessageUrl > captures thread_ts from query when present [0.02ms]315✓ buildSlackMessageUrl > builds a permalink for a root message [0.02ms]316✓ buildSlackMessageUrl > includes thread metadata for replies [0.02ms]317318test/message-compact.test.ts:319✓ toCompactMessage > includes file with path on successful download [0.13ms]320✓ toCompactMessage > includes file with error on failed download [0.06ms]321✓ toCompactMessage > excludes files with no downloadedPaths entry [0.03ms]322✓ toCompactMessage > mixes successful and failed downloads [0.05ms]323✓ toCompactMessage > failed download preserves file metadata for content-type filtering [0.04ms]324✓ passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.09ms]325✓ passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.04ms]326✓ passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.03ms]327✓ toCompactMessage filename preservation > does not fall back to title when name is missing [0.03ms]328329test/upload.test.ts:330✓ uploadFilesForDraft > never shifts ids between files when the completion response omits one [1.38ms]331✓ uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [0.99ms]332✓ uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [0.97ms]333✓ uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [0.92ms]334✓ uploadFilesForDraft > throws and completes nothing when a path does not exist [0.29ms]335✓ uploadFilesForDraft > throws and completes nothing when a byte POST fails [0.51ms]336✓ uploadFilesForDraft > throws when files.completeUploadExternal fails [0.45ms]337✓ uploadFilesForDraft > throws when the path is a directory [0.36ms]338✓ uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [0.67ms]339340test/drafts.test.ts:341✓ padDraftTs > pads short fractional parts to 7 digits [0.07ms]342✓ padDraftTs > leaves 7-digit fractional parts unchanged [0.02ms]343✓ padDraftTs > leaves timestamps without a fractional part unchanged344✓ draftTextToBlocks > wraps plain text in a rich_text section [0.06ms]345✓ draftTextToBlocks > converts bullet lists to rich_text lists [0.05ms]346✓ parseDraftRecord > parses a raw draft into a compact shape [0.47ms]347✓ parseDraftRecord > returns null for records without an id [0.02ms]348✓ listDrafts > requests active drafts and parses the result [0.25ms]349✓ listDrafts > omits is_active when activeOnly is false [0.06ms]350✓ createDraft > sends blocks, destination, and composer flag [0.89ms]351✓ createDraft > omits thread fields for channel drafts [0.09ms]352✓ createDraft > includes file_ids on the wire when fileIds is supplied [0.08ms]353✓ updateDraft > sends draft_id and a padded last-updated ts [0.18ms]354✓ deleteDraft > deletes with an explicit last-updated ts [0.11ms]355✓ deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.15ms]356✓ deleteDraft > throws when the draft does not exist [0.05ms]357✓ findDraft > lists all drafts (including inactive) and finds by id [0.07ms]358✓ findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.06ms]359360test/targets.test.ts:361✓ parseMsgTarget > parses slack message URLs [0.06ms]362✓ parseMsgTarget > accepts #channel [0.03ms]363✓ parseMsgTarget > accepts bare channel names [0.03ms]364✓ parseMsgTarget > accepts channel IDs [0.02ms]365✓ parseMsgTarget > accepts user IDs as DM targets [0.02ms]366✓ parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.02ms]367✓ parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.02ms]368✓ parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.01ms]369✓ parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.01ms]370371test/update.test.ts:372✓ compareSemver > equal versions return 0 [0.07ms]373✓ compareSemver > strips v prefix [0.02ms]374✓ compareSemver > newer major [0.01ms]375✓ compareSemver > newer minor [0.01ms]376✓ compareSemver > newer patch [0.01ms]377✓ compareSemver > older version returns negative [0.01ms]378✓ compareSemver > handles 0.x versions [0.02ms]379380test/render.test.ts:381✓ renderSlackMessageContent > prefers blocks [0.08ms]382✓ renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.12ms]383✓ renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.06ms]384✓ renderSlackMessageContent > falls back to attachments when text is empty [0.05ms]385✓ renderSlackMessageContent > includes section fields and button URLs [0.07ms]386✓ renderSlackMessageContent > includes attachment fields [0.04ms]387✓ renderSlackMessageContent > renders forwarded message with author and source link [0.14ms]388✓ renderSlackMessageContent > renders forwarded message with author name only [0.06ms]389✓ renderSlackMessageContent > renders forwarded message with no author [0.07ms]390✓ renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.06ms]391✓ renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.08ms]392✓ renderSlackMessageContent > deduplicates repeated forwarded body content [0.07ms]393✓ renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.06ms]394✓ renderSlackMessageContent > does not treat link unfurl as forwarded message [0.05ms]395✓ renderSlackMessageContent > combines blocks and non-shared attachments [0.06ms]396397test/compact-json.test.ts:398✓ pruneEmpty > drops null/undefined/empty containers [0.07ms]399400test/user-id.test.ts:401✓ isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.03ms]402✓ isUserId > preserves the existing length and character restrictions [0.02ms]403404test/message-draft-actions.test.ts:405✓ createDraftAction > creates a draft addressed to a channel id [0.77ms]406✓ createDraftAction > rejects --broadcast without a thread [0.18ms]407✓ createDraftAction > rejects --broadcast for a DM (user) target [0.10ms]408✓ createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.07ms]409✓ createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.06ms]410✓ createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.06ms]411✓ createDraftAction > uploads --attach files and wires their file ids into the draft [1.47ms]412✓ createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.27ms]413✓ updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.55ms]414✓ updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.14ms]415✓ updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.15ms]416✓ updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.11ms]417✓ updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.18ms]418✓ updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.13ms]419✓ updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.08ms]420✓ updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.07ms]421✓ updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.08ms]422✓ updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.09ms]423✓ updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.07ms]424✓ updateDraftAction > merges --attach file ids into the draft's existing file_ids [0.94ms]425✓ updateDraftAction > merges --attach while de-duplicating ids already on the draft [0.80ms]426✓ deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.28ms]427✓ listDraftsAction > hydrates channel display names [0.53ms]428{429 "ok": true,430 "draft": {431 "id": "Dr123",432 "destinations": [433 {434 "channel_id": "C11111111",435 "thread_ts": "1700000000.100000"436 }437 ]438 }439}440✓ message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [0.68ms]441{442 "ok": true,443 "draft": {444 "id": "Dr123",445 "destinations": [446 {447 "channel_id": "C11111111",448 "thread_ts": "1700000000.100000",449 "broadcast": true450 }451 ]452 }453}454✓ message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.31ms]455{456 "ok": true,457 "draft": {458 "id": "Dr123",459 "destinations": [460 {461 "channel_id": "C11111111",462 "thread_ts": "1700000000.100000"463 }464 ]465 }466}467✓ message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.24ms]468{469 "ok": true,470 "draft": {471 "id": "DrNew",472 "destinations": [473 {474 "channel_id": "C11111111"475 }476 ]477 }478}479✓ message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [1.34ms]480✓ message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.48ms]481✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [0.99ms]482✓ draft attachments: orphan prevention across auth-retry and failed drafts > #2 update: a drafts.update auth failure retries work WITHOUT re-uploading files [0.81ms]483✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [0.68ms]484✓ draft attachments: orphan prevention across auth-retry and failed drafts > #3 update: a stale drafts.update failure deletes the newly uploaded file only [0.70ms]485✓ draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.15ms]486487test/user-cache.test.ts:488✓ user-cache helpers > collectReferencedUserIds excludes reaction users by default [0.24ms]489✓ user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.05ms]490✓ user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.10ms]491492test/format-outbound.test.ts:493✓ formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [0.05ms]494✓ formatOutboundSlackText > leaves already-formatted mention tokens alone [0.02ms]495✓ formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.02ms]496✓ formatOutboundSlackText > promotes broadcast mentions [0.08ms]497✓ formatOutboundSlackText > escapes bare < > & in literal text [0.01ms]498✓ formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.02ms]499✓ formatOutboundSlackText > does not promote email-like or mid-word @ [0.01ms]500✓ formatOutboundSlackText > handles empty input501✓ formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.01ms]502503test/channels.test.ts:504✓ conversations list helpers > listUserConversations calls users.conversations with defaults [0.16ms]505✓ conversations list helpers > listUserConversations forwards user/limit/cursor [0.07ms]506✓ conversations list helpers > listAllConversations calls conversations.list with defaults [0.06ms]507✓ conversations list helpers > listAllConversations forwards limit/cursor [0.05ms]508✓ conversations list helpers > listUserConversations passes through small limits [0.04ms]509✓ conversations list helpers > listUserConversations clamps high limits to 1000 [0.04ms]510✓ conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.03ms]511✓ conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.02ms]512✓ conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.03ms]513✓ conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.37ms]514✓ conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.12ms]515✓ conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.13ms]516517test/search-command.test.ts:518✓ search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [4.77ms]519✓ search referenced users > search command forwards --refresh-users and bypasses cached user lookups [2.28ms]520521test/rich-text.test.ts:522✓ parseInlineElements > plain text returns single text element [0.03ms]523✓ parseInlineElements > *bold* is parsed with bold style [0.04ms]524✓ parseInlineElements > _italic_ is parsed with italic style [0.03ms]525✓ parseInlineElements > ~strike~ is parsed with strike style [0.02ms]526✓ parseInlineElements > `code` is parsed with code style [0.02ms]527✓ parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.02ms]528✓ parseInlineElements > emoji names with underscores are not parsed as italic text [0.02ms]529✓ parseInlineElements > time-like colon text is not parsed as an emoji element [0.01ms]530✓ parseInlineElements > <url|label> is parsed as link with text [0.02ms]531✓ parseInlineElements > <url> is parsed as link without text [0.02ms]532✓ parseInlineElements > <mailto|label> is parsed as link with text [0.02ms]533✓ parseInlineElements > non-url angle bracket text is preserved as text [0.02ms]534✓ parseInlineElements > non-url labeled angle bracket text is preserved as text [0.01ms]535✓ parseInlineElements > channel mention tokens are parsed as channel elements [0.01ms]536✓ parseInlineElements > bare channel mention tokens are parsed as channel elements [0.02ms]537✓ parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.03ms]538✓ textToRichTextBlocks > plain text returns null [0.02ms]539✓ textToRichTextBlocks > inline-only formatting returns null by default [0.01ms]540✓ textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.03ms]541✓ textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.04ms]542✓ textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.03ms]543✓ textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.02ms]544✓ textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.03ms]545✓ textToRichTextBlocks > bullet list with - prefix [0.05ms]546✓ textToRichTextBlocks > bullet list with bullet character [0.28ms]547✓ textToRichTextBlocks > sub-bullets with indentation [0.06ms]548✓ textToRichTextBlocks > white bullet sub-bullets under bullet [0.03ms]549✓ textToRichTextBlocks > mixed text and bullets [0.03ms]550✓ textToRichTextBlocks > numbered list [0.04ms]551✓ textToRichTextBlocks > bold text in list items is parsed [0.04ms]552✓ textToRichTextBlocks > emoji and channel references in list items are parsed [0.06ms]553✓ textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.04ms]554✓ textToRichTextBlocks > code block is preserved [0.03ms]555✓ textToRichTextBlocks > blockquote is preserved [0.02ms]556557test/html-to-md.test.ts:558✓ htmlToMarkdown > converts basic HTML to markdown [6.19ms]559560test/leveldb-reader.test.ts:561✓ leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [0.48ms]562✓ leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [0.26ms]563✓ leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [1.57ms]564✓ leveldb-reader > readChromiumLevelDB > reads entries from log files [1.00ms]565✓ leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [0.69ms]566✓ leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.37ms]567✓ leveldb-reader > findKeysContaining > filters entries by key substring [0.50ms]568✓ leveldb-reader > findKeysContaining > returns empty array when no matches [0.43ms]569✓ leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.29ms]570✓ leveldb-reader > edge cases > handles empty SSTable file [0.38ms]571✓ leveldb-reader > edge cases > handles SSTable smaller than footer size [0.33ms]572573test/desktop-auth-paths.test.ts:574✓ Windows Store Slack package detection > matches known Microsoft Store package identifiers [0.05ms]575✓ Windows Store Slack package detection > does not match unrelated packages [0.02ms]576577 399 pass578 0 fail579 817 expect() calls580Ran 399 tests across 38 files. [454.00ms]
fixupPhase
581shrinking RPATHs of ELF executables and libraries in /nix/store/xfmn6q4pisssvk7c0lbmgkfh42b9xavj-agent-slack-0.10.2582checking for references to /build/ in /nix/store/xfmn6q4pisssvk7c0lbmgkfh42b9xavj-agent-slack-0.10.2...583patching script interpreter paths in /nix/store/xfmn6q4pisssvk7c0lbmgkfh42b9xavj-agent-slack-0.10.2
installCheckPhase
584Executing versionCheckPhase585Successfully managed to find version 0.10.2 in the output of the command /nix/store/xfmn6q4pisssvk7c0lbmgkfh42b9xavj-agent-slack-0.10.2/bin/agent-slack --version5860.10.2587Finished versionCheckPhase588no Makefile or custom installCheckPhase, doing nothing