nixbot

builds

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

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