agent-slack-0.10.2
checks.aarch64-linux.home-manager-utm-vm
· build #815
· raw
1tribuchet: building on eliza2Using versionCheckHook
unpackPhase
3unpacking source archive /nix/store/cgqwcm1zgrhk5gmlmpjpi0rc8f2zg5kh-source4source root is sourcebunSetInstallCacheDirPhase
5Using bun root: "/build/source"bunPatchPhase
6patching script interpreter paths in .7./scripts/install-skill.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash"8./scripts/release.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/sh"9./scripts/update-nix-sources.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-bash-5.3p15/bin/bash"configurePhase
10no configure script, doing nothingbunNodeModulesInstallPhase
11/build/source /build/source12bun install flags: --linker=isolated --ignore-scripts13bun install v1.4.2 (744846f84)1415+ @types/node@22.19.816+ @types/semver@7.7.117+ @types/turndown@5.0.618+ bun-types@1.3.919+ oxfmt@0.31.020+ oxlint@1.49.021+ semver@7.7.422+ simple-git-hooks@2.13.123+ typescript@5.9.324+ @slack/web-api@7.13.025+ commander@14.0.326+ hysnappy@1.1.027+ node-emoji@2.2.028+ turndown@7.2.229+ turndown-plugin-gfm@1.0.230+ zod@4.3.6313268 packages installed [926.00ms]33/build/sourcebuildPhase
34Bundled 360 modules in 964ms3536 agent-slack.js 1.98 MB (entry point)37checkPhase
38bun test v1.4.2 (744846f84)3940test/desktop-auth-paths.test.ts:41(pass) Windows Store Slack package detection > matches known Microsoft Store package identifiers [3.41ms]42(pass) Windows Store Slack package detection > does not match unrelated packages [0.35ms]4344test/format-outbound.test.ts:45(pass) formatOutboundSlackText > promotes bare user IDs to Slack mention tokens [9.55ms]46(pass) formatOutboundSlackText > leaves already-formatted mention tokens alone [1.02ms]47(pass) formatOutboundSlackText > leaves already-formatted usergroup mention tokens alone [0.02ms]48(pass) formatOutboundSlackText > promotes broadcast mentions [0.03ms]49(pass) formatOutboundSlackText > escapes bare < > & in literal text [1.87ms]50(pass) formatOutboundSlackText > does not escape inside already-formatted Slack tokens [0.03ms]51(pass) formatOutboundSlackText > does not promote email-like or mid-word @ [0.01ms]52(pass) formatOutboundSlackText > handles empty input53(pass) formatOutboundSlackText > real-world CI dump stays readable with mention + URL [0.02ms]5455test/search-query.test.ts:56(pass) W-prefixed user IDs in search > resolves a W-prefixed user ID to a from filter [3.06ms]57(pass) W-prefixed user IDs in search > returns a W-prefixed user ID without scanning users [0.27ms]5859test/message-send.test.ts:60(pass) sendMessage > posts a normal message when no attachments are passed [3.81ms]61(pass) sendMessage > --no-unfurl disables link and media previews for immediate sends [0.19ms]62(pass) sendMessage > opens and sends to a DM for a W-prefixed user target [0.24ms]63(pass) sendMessage > returns a permalink when the workspace was resolved implicitly [0.11ms]64(pass) sendMessage > threaded reply returns thread_ts distinct from ts [0.23ms]65(pass) sendMessage > --reply-broadcast with --thread-ts sends reply_broadcast: true [0.14ms]66(pass) sendMessage > --reply-broadcast omits the field from chat.postMessage when flag is absent [0.09ms]67(pass) sendMessage > --reply-broadcast without --thread-ts throws [1.07ms]68(pass) sendMessage > --reply-broadcast on a URL target broadcasts using the message's derived thread_ts [2.05ms]69(pass) sendMessage > --reply-broadcast on a DM target throws (broadcasting is not meaningful for DMs) [0.18ms]70(pass) sendMessage > --reply-broadcast works alongside --blocks payload [4.85ms]71(pass) sendMessage > uploads attachment and uses message text as initial comment [3.15ms]72(pass) sendMessage > --no-unfurl cannot be combined with file attachments [0.22ms]73(pass) sendMessage > sends initial comment only for the first attachment [1.71ms]74(pass) sendMessage > uploads attachment without text when text is empty [0.80ms]75(pass) sendMessage > --blocks: reads Block Kit JSON from file and passes through unchanged [0.77ms]76(pass) sendMessage > --blocks: errors when JSON is not an array [0.66ms]77(pass) sendMessage > --blocks: errors on malformed JSON [0.70ms]78(pass) sendMessage > --blocks: overrides markdown-to-rich-text conversion when text is also provided [0.79ms]79(pass) sendMessage > sends Slack manual links in lists as rich-text link blocks [0.47ms]80(pass) sendMessage > --blocks: errors when an array element is not an object [0.87ms]81(pass) sendMessage > --schedule sends through chat.scheduleMessage and returns scheduled metadata [0.60ms]82(pass) sendMessage > --schedule-in computes a relative post_at [0.35ms]83(pass) sendMessage > --no-unfurl disables link and media previews for scheduled sends [0.19ms]84(pass) sendMessage > --schedule composes with blocks, thread replies, and reply broadcast [0.86ms]85(pass) sendMessage > --schedule cannot be combined with file attachments [0.21ms]86(pass) composeMessage > --no-unfurl disables link and media previews when CI sends immediately [1.36ms]87(pass) composeMessage > keeps Slack's default preview behavior for a standard CI send [0.14ms]88(pass) composeMessage > --no-unfurl disables previews for a URL target when CI sends immediately [0.44ms]89(pass) scheduled message management > lists scheduled messages and forwards channel filters [0.46ms]90(pass) scheduled message management > cancels scheduled messages with the required channel id [0.23ms]91(pass) scheduled message time parsing > parses absolute ISO timestamps with explicit timezones [0.12ms]92(pass) scheduled message time parsing > parses named relative times like monday 9am [13.09ms]93(pass) scheduled message time parsing > rejects schedule times beyond Slack's 120 day limit [0.12ms]94(pass) editMessage > edits a normal text message without blocks [0.49ms]95(pass) editMessage > edits literal angle bracket text without blocks [0.11ms]96(pass) editMessage > edits a message URL with a link label without blocks [0.18ms]97(pass) editMessage > edits an inline mailto link without escaping it [0.14ms]98(pass) editMessage > edits an inline usergroup mention without escaping it [0.13ms]99(pass) editMessage > edits a channel target with inline formatting without blocks [0.10ms]100(pass) editMessage > edits a channel target with rich text blocks when text contains a list [0.16ms]101(pass) editMessage > edits a normal message without blocks when no --blocks file is passed [0.10ms]102(pass) editMessage > edits a message URL with Block Kit JSON from file [1.12ms]103(pass) editMessage > edits a channel target with --ts and Block Kit JSON from file [0.69ms]104105test/canvas-create.test.ts:106(pass) createCanvasFromMarkdown > sends Markdown content, title, and channel to canvases.create [0.32ms]107(pass) createCanvasFromMarkdown > rejects empty Markdown before calling Slack [0.12ms]108(pass) createCanvasFromMarkdown > rejects a success response without a canvas id [0.06ms]109(pass) createCanvasFromMarkdown > uses Slack's Markdown canvas method with imported browser credentials [0.08ms]110(pass) createCanvasFromMarkdown > rejects channel tabs with browser credentials before calling Slack [0.07ms]111(pass) editCanvas > sends the documented replace change [0.36ms]112(pass) editCanvas > sends the documented replace section change [0.02ms]113(pass) editCanvas > sends the documented insert before change [0.01ms]114(pass) editCanvas > sends the documented insert after change115(pass) editCanvas > sends the documented insert at start change116(pass) editCanvas > sends the documented insert at end change117(pass) editCanvas > sends the documented delete section change118(pass) editCanvas > sends the documented rename change119(pass) editCanvas > rejects invalid combinations before calling Slack [0.23ms]120(pass) editCanvas > rejects empty Markdown and canvas ids before calling Slack [0.08ms]121(pass) editCanvas > rejects Markdown over Slack's per-change limit before calling Slack [8.48ms]122(pass) readCanvasMarkdownInput > reads a Markdown file without changing its contents [1.05ms]123(pass) readCanvasMarkdownInput > accepts a Markdown blob [0.05ms]124(pass) readCanvasMarkdownInput > requires exactly one source [0.07ms]125(pass) readCanvasMarkdownInput > rejects an empty source [0.03ms]126(pass) canvas create command > creates from an inline blob in the selected workspace [4.04ms]127(pass) canvas create command > creates from a file and resolves a channel tab [1.21ms]128(pass) canvas create command > rejects browser-auth channel tabs before resolving the channel [0.66ms]129(pass) canvas create command > rejects missing or conflicting sources before authenticating [0.73ms]130(pass) canvas edit command > replaces a canvas from a Markdown URL target [1.13ms]131(pass) canvas edit command > inserts content from a file and passes a section id [1.01ms]132(pass) canvas edit command > renames without a Markdown source [0.43ms]133(pass) canvas edit command > rejects delete content and malformed inputs before authenticating [0.68ms]134(pass) canvas edit command > rejects browser credentials before calling canvases.edit [0.47ms]135136test/help-contracts.test.ts:137(pass) agent-facing help contracts > message send documents non-obvious formatting and scheduling behavior [1.74ms]138(pass) agent-facing help contracts > message compose identifies its CI send behavior [5.07ms]139(pass) agent-facing help contracts > Slack-native drafts document DM targeting and inherited-broadcast controls [4.78ms]140(pass) agent-facing help contracts > scheduled cancellation identifies its required channel [0.54ms]141(pass) agent-facing help contracts > Later reminders identify named-day timezone behavior [1.38ms]142(pass) agent-facing help contracts > canvas creation identifies source and credential constraints [0.79ms]143(pass) agent-facing help contracts > canvas editing identifies operations, targeting, and content constraints [0.46ms]144(pass) agent-facing help contracts > channel mark distinguishes URL and non-URL workspace handling [0.45ms]145(pass) agent-facing help contracts > DM help states Slack's group size limit [0.34ms]146147test/html-to-md.test.ts:148(pass) htmlToMarkdown > converts basic HTML to markdown [6.48ms]149150test/user-cache.test.ts:151(pass) user-cache helpers > collectReferencedUserIds excludes reaction users by default [0.58ms]152(pass) user-cache helpers > collectReferencedUserIds includes reaction users when enabled [0.06ms]153(pass) user-cache helpers > toReferencedUsers returns only resolved users keyed by id [0.12ms]154155test/error-message.test.ts:156(pass) errorMessage > returns the message for a plain error [0.15ms]157(pass) errorMessage > stringifies non-Error values [0.04ms]158(pass) errorMessage > appends a single Error cause [0.04ms]159(pass) errorMessage > appends AggregateError causes from a failed fetch through a dead proxy [0.07ms]160(pass) errorMessage > walks multi-level cause chains [0.03ms]161(pass) errorMessage > terminates on a self-referential cause instead of looping forever [0.02ms]162(pass) errorMessage > terminates on a longer cause cycle [0.02ms]163(pass) errorMessage > does not crash on a cause that cannot be stringified [0.05ms]164(pass) errorMessage > does not crash on a non-Error thrown value that cannot be stringified [0.01ms]165(pass) errorMessage > caps how far a long cause chain is walked [0.17ms]166(pass) errorMessage > collapses a cause that merely restates its parent [0.02ms]167168test/files.test.ts:169(pass) downloadSlackFile > downloads file and writes to disk [2.02ms]170(pass) downloadSlackFile > returns cached path when file already exists [0.52ms]171(pass) downloadSlackFile > throws SlackDownloadError on HTTP 404 [0.51ms]172(pass) downloadSlackFile > throws SlackDownloadError with httpStatus on HTTP error [0.82ms]173(pass) downloadSlackFile > throws SlackDownloadError on HTML auth page [0.34ms]174(pass) downloadSlackFile > throws SlackDownloadError on network error [0.49ms]175(pass) downloadSlackFile > throws SlackDownloadError when reading html body fails [0.43ms]176(pass) downloadSlackFile > throws SlackDownloadError when reading binary body fails [0.32ms]177(pass) tryDownloadSlackFile > returns ok result on success [0.59ms]178(pass) tryDownloadSlackFile > returns failure result on HTTP 404 [0.30ms]179(pass) tryDownloadSlackFile > returns failure result on network error [0.34ms]180(pass) tryDownloadSlackFile > propagates disk/write errors [0.54ms]181Warning: skipping file F1: Downloaded auth/login page instead of canvas content (token may be expired)182(pass) downloadMessageFiles > records canvas auth failures as structured errors [2.60ms]183Warning: skipping file F2: Failed to download file (404)184(pass) downloadMessageFiles > records non-canvas download failures with a local error path [1.00ms]185186test/users.test.ts:187(pass) resolveUserId > returns user ids unchanged [0.26ms]188(pass) resolveUserId > returns W-prefixed user ids unchanged [0.05ms]189(pass) resolveUserId > resolves @handle via users.list [0.15ms]190(pass) resolveUserId > resolves email via users.lookupByEmail [0.08ms]191(pass) resolveUserId > resolves @handle case-insensitively [0.07ms]192(pass) resolveUserId > falls back to users.list when lookupByEmail is unavailable [0.11ms]193194test/channel-admin.test.ts:195(pass) parseInviteUsersCsv > splits comma-separated values, trims whitespace, and deduplicates [0.08ms]196(pass) parseInviteUsersCsv > returns empty array when input has no values [0.01ms]197(pass) splitEmailsFromInviteTargets > separates email targets from non-email targets [0.08ms]198(pass) splitEmailsFromInviteTargets > deduplicates emails [0.01ms]199200test/channel-command.test.ts:201(pass) channel list command > defaults to users.conversations for current user [1.27ms]202(pass) channel list command > with --user id uses users.conversations and sets user directly [1.60ms]203(pass) channel list command > with --user handle resolves via users.list before users.conversations [0.54ms]204(pass) channel list command > with --user unknown handle is a hard error [0.36ms]205(pass) channel list command > with --all uses conversations.list [0.35ms]206(pass) channel list command > forwards --limit and --cursor [0.27ms]207(pass) channel list command > --all and --user is a hard error [0.30ms]208(pass) channel list command > invalid --limit is a hard error [0.25ms]209(pass) channel list command > help text documents single-page pagination model [0.15ms]210(pass) channel mark command > URL target extracts workspace from URL [0.61ms]211(pass) channel mark command > URL target rejects --workspace flag [0.30ms]212(pass) channel mark command > channel target requires --ts [0.28ms]213(pass) channel mark command > URL target allows --ts override [0.29ms]214(pass) channel mark command > channel target with --ts calls conversations.mark [0.27ms]215216test/messages.test.ts:217(pass) fetchThread > returns the thread root and replies in chronological order [0.53ms]218219test/search-files.test.ts:220Warning: skipping file F1: Failed to download file (404)221(pass) searchFilesViaSearchApi > skips failed downloads and keeps later successful matches [1.63ms]222Warning: skipping file F1: Failed to download file (404)223(pass) searchFilesInChannelsFallback > continues after a failed download in files.list results [1.73ms]224(pass) SlackApiClient browser API guards > fails fast on rate-limit retry windows by default [2.11ms]225(pass) SlackApiClient browser API guards > surfaces request timeouts with the Slack method name [0.25ms]226227test/safe-mode.test.ts:228(pass) isSafeModeEnabled > enabled via CLI flag [0.08ms]229(pass) isSafeModeEnabled > enabled for env value "1" [0.02ms]230(pass) isSafeModeEnabled > enabled for env value "true"231(pass) isSafeModeEnabled > enabled for env value "TRUE"232(pass) isSafeModeEnabled > enabled for env value "yes"233(pass) isSafeModeEnabled > enabled for env value "on"234(pass) isSafeModeEnabled > enabled for env value " 1 "235(pass) isSafeModeEnabled > disabled for env value "0" [0.02ms]236(pass) isSafeModeEnabled > disabled for env value "false"237(pass) isSafeModeEnabled > disabled for env value "off"238(pass) isSafeModeEnabled > disabled for env value "no"239(pass) isSafeModeEnabled > disabled for env value ""240(pass) isSafeModeEnabled > disabled when env var is unset and flag is absent [0.01ms]241(pass) safeModeBlockedError > names the blocked action [0.04ms]242(pass) redirectSendToDraft > rejects unsupported send option {243 attach: [ "./report.md" ],244} [0.23ms]245(pass) redirectSendToDraft > rejects unsupported send option {246 blocks: "/tmp/blocks.json",247}248(pass) redirectSendToDraft > rejects unsupported send option {249 schedule: "2030-01-01T00:00:00Z",250}251(pass) redirectSendToDraft > rejects unsupported send option {252 scheduleIn: "3h",253}254(pass) redirectSendToDraft > rejects unsupported send option {255 replyBroadcast: true,256}257(pass) redirectSendToDraft > lists all unsupported flags at once [0.05ms]258(pass) redirectSendToDraft > rejects in CI where no interactive editor is available [0.10ms]259⚠ Safe mode active: redirecting "message send" → draft editor. Nothing posts until a human sends it from the editor.260(pass) redirectSendToDraft > opens a draft with the send text and thread context [0.20ms]261262test/message-compact.test.ts:263(pass) toCompactMessage > includes file with path on successful download [0.61ms]264(pass) toCompactMessage > includes file with error on failed download [0.07ms]265(pass) toCompactMessage > excludes files with no downloadedPaths entry [0.05ms]266(pass) toCompactMessage > mixes successful and failed downloads [0.06ms]267(pass) toCompactMessage > failed download preserves file metadata for content-type filtering [0.03ms]268(pass) passesContentTypeFilter with failed downloads > image message with failed download still passes image filter [0.08ms]269(pass) passesContentTypeFilter with failed downloads > snippet message with failed download still passes snippet filter [0.04ms]270(pass) passesContentTypeFilter with failed downloads > message without download entry has no files and passes text filter [0.04ms]271(pass) toCompactMessage filename preservation > does not fall back to title when name is missing [0.04ms]272273test/client.test.ts:274(pass) SlackApiClient browser multipart transport > retries HTTP 429 responses using Retry-After [0.87ms]275276test/message-draft-actions.test.ts:277(pass) createDraftAction > creates a draft addressed to a channel id [1.67ms]278(pass) createDraftAction > rejects --broadcast without a thread [0.20ms]279(pass) createDraftAction > rejects --broadcast for a DM (user) target [0.13ms]280(pass) createDraftAction > rejects --broadcast for a D... channel-id (DM) target [0.07ms]281(pass) createDraftAction > rejects --broadcast on a channel name with no thread before any network call [0.07ms]282(pass) createDraftAction > rejects --broadcast on a DM message URL before fetching the message [0.10ms]283(pass) createDraftAction > uploads --attach files and wires their file ids into the draft [1.68ms]284(pass) createDraftAction > aborts before any upload or drafts.create when an --attach path is missing [0.41ms]285(pass) updateDraftAction > text-only edit preserves destination, thread, broadcast, and file ids [0.79ms]286(pass) updateDraftAction > re-addressing a broadcast thread draft to a non-thread channel clears broadcast instead of erroring [0.14ms]287(pass) updateDraftAction > explicit --broadcast on a non-thread draft still errors [0.14ms]288(pass) updateDraftAction > refuses to update a scheduled draft rather than clearing its schedule [0.15ms]289(pass) updateDraftAction > refuses a text-only update on a multi-destination draft, but allows re-addressing [0.30ms]290(pass) updateDraftAction > re-addressing to a different thread does not inherit the old broadcast flag [0.13ms]291(pass) updateDraftAction > --no-broadcast clears an inherited broadcast flag on a same-thread edit [0.11ms]292(pass) updateDraftAction > rejects --broadcast when re-addressing to a DM (user) target [0.09ms]293(pass) updateDraftAction > changing only --thread-ts (no --channel) does not inherit the old broadcast flag [0.10ms]294(pass) updateDraftAction > rejects --broadcast on an existing DM-destination draft [0.10ms]295(pass) updateDraftAction > rejects --broadcast when re-addressing to a channel name with no thread, before resolving it [0.08ms]296(pass) updateDraftAction > merges --attach file ids into the draft's existing file_ids [0.92ms]297(pass) updateDraftAction > merges --attach while de-duplicating ids already on the draft [0.89ms]298(pass) deleteDraftAction > auto-fetches and pads last_updated_ts when omitted [0.30ms]299(pass) listDraftsAction > hydrates channel display names [0.43ms]300{301 "ok": true,302 "draft": {303 "id": "Dr123",304 "destinations": [305 {306 "channel_id": "C11111111",307 "thread_ts": "1700000000.100000"308 }309 ]310 }311}312(pass) message draft update (commander --broadcast wiring) > omitting broadcast flags does not force broadcast on (no Commander default-true gotcha) [1.02ms]313{314 "ok": true,315 "draft": {316 "id": "Dr123",317 "destinations": [318 {319 "channel_id": "C11111111",320 "thread_ts": "1700000000.100000",321 "broadcast": true322 }323 ]324 }325}326(pass) message draft update (commander --broadcast wiring) > --broadcast sets broadcast true [0.40ms]327{328 "ok": true,329 "draft": {330 "id": "Dr123",331 "destinations": [332 {333 "channel_id": "C11111111",334 "thread_ts": "1700000000.100000"335 }336 ]337 }338}339(pass) message draft update (commander --broadcast wiring) > --no-broadcast clears an inherited broadcast flag [0.39ms]340{341 "ok": true,342 "draft": {343 "id": "DrNew",344 "destinations": [345 {346 "channel_id": "C11111111"347 }348 ]349 }350}351(pass) message draft create (commander --attach wiring) > collects repeatable --attach flags into an array [1.68ms]352(pass) message draft unknown subcommand > old `message draft <target>` usage points to `message compose` [0.57ms]353(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #2 create: a drafts.create auth failure retries work WITHOUT re-uploading files [1.01ms]354(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #2 update: a drafts.update auth failure retries work WITHOUT re-uploading files [0.79ms]355(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #3 create: a non-auth drafts.create failure deletes the uploaded file [0.96ms]356(pass) draft attachments: orphan prevention across auth-retry and failed drafts > #3 update: a stale drafts.update failure deletes the newly uploaded file only [0.75ms]357(pass) draft attachments: orphan prevention across auth-retry and failed drafts > a failed draft with no attachments does not attempt files.delete [0.18ms]358359test/targets.test.ts:360(pass) parseMsgTarget > parses slack message URLs [0.06ms]361(pass) parseMsgTarget > accepts #channel [0.03ms]362(pass) parseMsgTarget > accepts bare channel names [0.02ms]363(pass) parseMsgTarget > accepts channel IDs [0.02ms]364(pass) parseMsgTarget > accepts user IDs as DM targets [0.02ms]365(pass) parseMsgTarget > accepts W-prefixed user IDs as DM targets [0.02ms]366(pass) parseMsgTarget > accepts user IDs with leading/trailing whitespace [0.02ms]367(pass) parseMsgTarget > does not treat short U-prefixed strings as user IDs [0.01ms]368(pass) parseMsgTarget > does not treat short W-prefixed strings as user IDs [0.01ms]369370test/upload.test.ts:371(pass) uploadFilesForDraft > never shifts ids between files when the completion response omits one [1.03ms]372(pass) uploadFilesForDraft > falls back to staged ids when the completion response length disagrees [0.78ms]373(pass) uploadFilesForDraft > stages every file, then completes them in one call with no channel binding [0.87ms]374(pass) uploadFilesForDraft > a later staging failure leaves nothing completed (no orphaned files) [0.82ms]375(pass) uploadFilesForDraft > throws and completes nothing when a path does not exist [0.37ms]376(pass) uploadFilesForDraft > throws and completes nothing when a byte POST fails [0.57ms]377(pass) uploadFilesForDraft > throws when files.completeUploadExternal fails [0.58ms]378(pass) uploadFilesForDraft > throws when the path is a directory [0.44ms]379(pass) uploadLocalFileToSlack (shared-helper regression) > still binds the completed file to a channel with an initial comment [0.56ms]380381test/drafts.test.ts:382(pass) padDraftTs > pads short fractional parts to 7 digits [0.02ms]383(pass) padDraftTs > leaves 7-digit fractional parts unchanged [0.01ms]384(pass) padDraftTs > leaves timestamps without a fractional part unchanged385(pass) draftTextToBlocks > wraps plain text in a rich_text section [0.05ms]386(pass) draftTextToBlocks > converts bullet lists to rich_text lists [0.06ms]387(pass) parseDraftRecord > parses a raw draft into a compact shape [0.36ms]388(pass) parseDraftRecord > returns null for records without an id [0.05ms]389(pass) listDrafts > requests active drafts and parses the result [0.18ms]390(pass) listDrafts > omits is_active when activeOnly is false [0.06ms]391(pass) createDraft > sends blocks, destination, and composer flag [0.21ms]392(pass) createDraft > omits thread fields for channel drafts [0.07ms]393(pass) createDraft > includes file_ids on the wire when fileIds is supplied [0.07ms]394(pass) updateDraft > sends draft_id and a padded last-updated ts [0.16ms]395(pass) deleteDraft > deletes with an explicit last-updated ts [0.08ms]396(pass) deleteDraft > fetches the last-updated ts from drafts.list when omitted [0.09ms]397(pass) deleteDraft > throws when the draft does not exist [0.05ms]398(pass) findDraft > lists all drafts (including inactive) and finds by id [0.06ms]399(pass) findDraft > prefers a matching record that has last_updated_ts over a malformed duplicate [0.07ms]400401test/mrkdwn.test.ts:402(pass) slackMrkdwnToMarkdown > converts Slack-style links [0.14ms]403(pass) slackMrkdwnToMarkdown > converts user and channel mentions [0.04ms]404(pass) slackMrkdwnToMarkdown > converts :emoji: shortcodes to unicode [0.15ms]405406test/user-id.test.ts:407(pass) isUserId > accepts U-prefixed and W-prefixed Slack user IDs [0.02ms]408(pass) isUserId > preserves the existing length and character restrictions [0.02ms]409410test/reactions.test.ts:411(pass) reactions compaction > includes reactions only when enabled [0.19ms]412(pass) reactions compaction > preserves W-prefixed user IDs while compacting reactions [0.07ms]413(pass) reactions compaction > adds forwarded thread metadata for shared messages with thread_ts [0.36ms]414415test/message-reaction-filters.test.ts:416(pass) parseReactionFilters > normalizes shortcodes, names, and unicode [0.40ms]417(pass) parseReactionFilters > returns empty array when unset [0.01ms]418(pass) passesReactionNameFilters > matches when required reaction is present [0.12ms]419(pass) passesReactionNameFilters > does not match when required reaction is missing [0.02ms]420(pass) passesReactionNameFilters > does not match when excluded reaction is present [0.02ms]421(pass) passesReactionNameFilters > matches when excluded reaction is absent [0.01ms]422(pass) passesReactionNameFilters > supports with + without together [0.02ms]423(pass) requireOldestWhenReactionFiltersUsed > returns oldest when no reaction filters are used [0.05ms]424(pass) requireOldestWhenReactionFiltersUsed > returns trimmed oldest when reaction filters are used [0.01ms]425(pass) requireOldestWhenReactionFiltersUsed > throws when reaction filters are used without oldest [0.03ms]426427test/url.test.ts:428(pass) parseSlackMessageUrl > parses archives URL with p<digits> [0.05ms]429(pass) parseSlackMessageUrl > captures thread_ts from query when present [0.02ms]430(pass) buildSlackMessageUrl > builds a permalink for a root message [0.03ms]431(pass) buildSlackMessageUrl > includes thread metadata for replies [0.02ms]432433test/workspace-selector.test.ts:434(pass) resolveWorkspaceSelector > matches exact URL [0.10ms]435(pass) resolveWorkspaceSelector > matches unique substring by host/team [0.15ms]436(pass) resolveWorkspaceSelector > matches unique substring by workspace name [0.03ms]437(pass) resolveWorkspaceSelector > returns ambiguity when selector matches multiple workspaces [0.04ms]438(pass) resolveWorkspaceSelector > returns no match when selector does not match [0.04ms]439440test/emoji.test.ts:441(pass) normalizeSlackReactionName > accepts :shortcode: [0.02ms]442(pass) normalizeSlackReactionName > accepts raw names [0.02ms]443(pass) normalizeSlackReactionName > accepts unicode emoji [0.03ms]444445test/channels.test.ts:446(pass) conversations list helpers > listUserConversations calls users.conversations with defaults [0.16ms]447(pass) conversations list helpers > listUserConversations forwards user/limit/cursor [0.06ms]448(pass) conversations list helpers > listAllConversations calls conversations.list with defaults [0.07ms]449(pass) conversations list helpers > listAllConversations forwards limit/cursor [0.06ms]450(pass) conversations list helpers > listUserConversations passes through small limits [0.04ms]451(pass) conversations list helpers > listUserConversations clamps high limits to 1000 [0.04ms]452(pass) conversations list helpers > normalizeConversationsPage extracts channels and next cursor [0.03ms]453(pass) conversations list helpers > normalizeConversationsPage handles missing response_metadata [0.01ms]454(pass) conversations list helpers > normalizeConversationsPage handles empty next_cursor [0.04ms]455(pass) conversations list helpers > listConversationsViaCounts enumerates channels/mpims/ims and enriches via conversations.info [0.37ms]456(pass) conversations list helpers > listConversationsViaCounts keeps the id when conversations.info fails [0.15ms]457(pass) conversations list helpers > listConversationsViaCounts slices to limit and skips entries without an id [0.12ms]458459test/later.test.ts:460(pass) fetchLaterItems > returns counts only when countsOnly is true [0.40ms]461(pass) fetchLaterItems > filters to message items only [0.48ms]462(pass) fetchLaterItems > filters by state [0.16ms]463(pass) fetchLaterItems > state 'all' returns all items [0.08ms]464(pass) fetchLaterItems > respects limit [0.09ms]465(pass) fetchLaterItems > hydrates message content [0.13ms]466(pass) fetchLaterItems > resolves DM user display names [0.10ms]467(pass) fetchLaterItems > truncates long message content [0.14ms]468(pass) updateLaterMark > sends mark=completed via multipart [0.15ms]469(pass) updateLaterMark > sends mark=archived via multipart [0.05ms]470(pass) updateLaterMark > sends mark=uncompleted via multipart [0.04ms]471(pass) updateLaterMark > sends mark=unarchived via multipart [0.06ms]472(pass) saveLater > calls saved.add with correct params [0.08ms]473(pass) removeLater > calls saved.delete with correct params [0.08ms]474(pass) setLaterReminder > calls saved.update via multipart with date_due [1.13ms]475(pass) parseReminderDuration > parses minutes [0.22ms]476(pass) parseReminderDuration > parses hours [0.03ms]477(pass) parseReminderDuration > parses fractional hours [0.02ms]478(pass) parseReminderDuration > parses days [0.02ms]479(pass) parseReminderDuration > parses 'tomorrow' as next day 9 AM [0.10ms]480(pass) parseReminderDuration > parses day names [0.03ms]481(pass) parseReminderDuration > passes through unix timestamps [0.02ms]482(pass) parseReminderDuration > supports verbose unit names [0.04ms]483(pass) parseReminderDuration > throws on invalid input [0.07ms]484485test/parse-limit.test.ts:486(pass) parseLimit > returns undefined when no value given [0.04ms]487(pass) parseLimit > parses valid positive integers [0.02ms]488(pass) parseLimit > rejects non-numeric strings [0.02ms]489(pass) parseLimit > rejects zero [0.02ms]490(pass) parseLimit > rejects negative numbers [0.02ms]491(pass) parseLimit > rejects floats (uses integer part)492(pass) requireMessageTs > returns trimmed ts when present [0.01ms]493(pass) requireMessageTs > throws when missing [0.03ms]494(pass) requireMessageTs > throws when blank [0.02ms]495496test/rich-text.test.ts:497(pass) parseInlineElements > plain text returns single text element [0.13ms]498(pass) parseInlineElements > *bold* is parsed with bold style [0.08ms]499(pass) parseInlineElements > _italic_ is parsed with italic style [0.06ms]500(pass) parseInlineElements > ~strike~ is parsed with strike style [0.02ms]501(pass) parseInlineElements > `code` is parsed with code style [0.02ms]502(pass) parseInlineElements > :emoji: shortcode is parsed as an emoji element [0.02ms]503(pass) parseInlineElements > emoji names with underscores are not parsed as italic text [0.02ms]504(pass) parseInlineElements > time-like colon text is not parsed as an emoji element [0.01ms]505(pass) parseInlineElements > <url|label> is parsed as link with text [0.02ms]506(pass) parseInlineElements > <url> is parsed as link without text [0.02ms]507(pass) parseInlineElements > <mailto|label> is parsed as link with text [0.02ms]508(pass) parseInlineElements > non-url angle bracket text is preserved as text [0.02ms]509(pass) parseInlineElements > non-url labeled angle bracket text is preserved as text [0.02ms]510(pass) parseInlineElements > channel mention tokens are parsed as channel elements [0.02ms]511(pass) parseInlineElements > bare channel mention tokens are parsed as channel elements [0.02ms]512(pass) parseInlineElements > usergroup mention tokens are parsed as usergroup elements [0.05ms]513(pass) textToRichTextBlocks > plain text returns null [0.04ms]514(pass) textToRichTextBlocks > inline-only formatting returns null by default [0.02ms]515(pass) textToRichTextBlocks > non-url angle bracket text does not trigger rich text blocks [0.04ms]516(pass) textToRichTextBlocks > mixed non-url angle bracket text and formatting preserves brackets [0.05ms]517(pass) textToRichTextBlocks > inline-only formatting can produce rich text blocks [0.03ms]518(pass) textToRichTextBlocks > mailto links can produce rich text blocks when inline formatting is included [0.03ms]519(pass) textToRichTextBlocks > channel mentions can produce rich text blocks when inline formatting is included [0.04ms]520(pass) textToRichTextBlocks > bullet list with - prefix [0.07ms]521(pass) textToRichTextBlocks > bullet list with bullet character [0.47ms]522(pass) textToRichTextBlocks > sub-bullets with indentation [0.12ms]523(pass) textToRichTextBlocks > white bullet sub-bullets under bullet [0.03ms]524(pass) textToRichTextBlocks > mixed text and bullets [0.03ms]525(pass) textToRichTextBlocks > numbered list [0.05ms]526(pass) textToRichTextBlocks > bold text in list items is parsed [0.04ms]527(pass) textToRichTextBlocks > emoji and channel references in list items are parsed [0.06ms]528(pass) textToRichTextBlocks > Slack manual links and CommonMark links remain distinct in list items [0.04ms]529(pass) textToRichTextBlocks > code block is preserved [0.04ms]530(pass) textToRichTextBlocks > blockquote is preserved [0.03ms]531532test/search-command.test.ts:533(pass) search referenced users > searchSlack returns shared referenced_users while preserving canonical ids [5.13ms]534(pass) search referenced users > search command forwards --refresh-users and bypasses cached user lookups [3.00ms]535536test/update.test.ts:537(pass) compareSemver > equal versions return 0 [0.10ms]538(pass) compareSemver > strips v prefix [0.02ms]539(pass) compareSemver > newer major [0.01ms]540(pass) compareSemver > newer minor [0.01ms]541(pass) compareSemver > newer patch [0.02ms]542(pass) compareSemver > older version returns negative [0.01ms]543(pass) compareSemver > handles 0.x versions [0.02ms]544545test/leveldb-reader.test.ts:546(pass) leveldb-reader > readChromiumLevelDB > returns empty array for non-existent directory [0.49ms]547(pass) leveldb-reader > readChromiumLevelDB > returns empty array for empty directory [0.77ms]548(pass) leveldb-reader > readChromiumLevelDB > reads entries from SSTable files [1.91ms]549(pass) leveldb-reader > readChromiumLevelDB > reads entries from log files [0.84ms]550(pass) leveldb-reader > readChromiumLevelDB > reads from both SSTable and log files [0.65ms]551(pass) leveldb-reader > readChromiumLevelDB > handles .sst file extension [0.47ms]552(pass) leveldb-reader > findKeysContaining > filters entries by key substring [0.56ms]553(pass) leveldb-reader > findKeysContaining > returns empty array when no matches [0.41ms]554(pass) leveldb-reader > edge cases > handles invalid SSTable (wrong magic) [0.36ms]555(pass) leveldb-reader > edge cases > handles empty SSTable file [0.35ms]556(pass) leveldb-reader > edge cases > handles SSTable smaller than footer size [0.29ms]557558test/render.test.ts:559(pass) renderSlackMessageContent > prefers blocks [0.14ms]560(pass) renderSlackMessageContent > preserves usergroup and broadcast elements from rich text [0.20ms]561(pass) renderSlackMessageContent > omits malformed usergroup and broadcast elements [0.07ms]562(pass) renderSlackMessageContent > falls back to attachments when text is empty [0.07ms]563(pass) renderSlackMessageContent > includes section fields and button URLs [0.06ms]564(pass) renderSlackMessageContent > includes attachment fields [0.04ms]565(pass) renderSlackMessageContent > renders forwarded message with author and source link [0.16ms]566(pass) renderSlackMessageContent > renders forwarded message with author name only [0.05ms]567(pass) renderSlackMessageContent > renders forwarded message with no author [0.05ms]568(pass) renderSlackMessageContent > includes forwarded file links in quoted forwarded body [0.06ms]569(pass) renderSlackMessageContent > renders nested forwarded attachments similarly to normal attachments [0.08ms]570(pass) renderSlackMessageContent > deduplicates repeated forwarded body content [0.14ms]571(pass) renderSlackMessageContent > handles cyclic forwarded attachments without infinite recursion [0.09ms]572(pass) renderSlackMessageContent > does not treat link unfurl as forwarded message [0.06ms]573(pass) renderSlackMessageContent > combines blocks and non-shared attachments [0.07ms]574575test/compact-json.test.ts:576(pass) pruneEmpty > drops null/undefined/empty containers [0.12ms]577578 399 pass579 0 fail580 817 expect() calls581Ran 399 tests across 38 files. [613.00ms]fixupPhase
582shrinking RPATHs of ELF executables and libraries in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2583checking for references to /build/ in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2...584patching script interpreter paths in /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2installCheckPhase
585Executing versionCheckPhase586Successfully managed to find version 0.10.2 in the output of the command /nix/store/5ydwmdy1x1wjs8cnm57b4sfm34dakspi-agent-slack-0.10.2/bin/agent-slack --version5870.10.2588Finished versionCheckPhase589no Makefile or custom installCheckPhase, doing nothing