feat: add run ID column to Slack results table#70
Merged
Conversation
Add a prominent header to Slack workflow completion messages that displays the Seqera Platform environment (staging/production) or API URL. This makes it immediately clear which platform instance the pipelines were executed on. Changes: - Add --slack_header CLI argument to extract_metadata.py - Create get_default_slack_header() to show Platform API URL - Create build_header_block() for Slack header formatting - Modify send_slack_message() to include header in first message - Update staging workflow with "Seqera Platform Staging" default - Update production workflow with "Seqera Platform Production" default - Update enterprise workflow with header support - Default to production endpoint when TOWER_API_ENDPOINT not set The header appears as large, bold text at the top of Slack messages, making environment identification effortless for users. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
…ction Convert Slack header from header block (large, bold text) to section block (plain text) with markdown support. This enables emoji support (both Unicode and Slack shortcodes) and provides a simpler, less visually dominant appearance that better matches the rest of the message. Changes: - Change block type from "header" to "section" - Change text type from "plain_text" to "mrkdwn" (enables emoji support) - Remove 150-character truncation logic (section blocks are more flexible) - Remove "emoji": False flag Users can now use emojis in custom headers: --slack_header "🚀 Seqera Platform Staging" --slack_header ":rocket: Seqera Platform Production" Co-Authored-By: Claude <noreply@anthropic.com>
Extract workflow.id from run metadata and display it as the first column in the Slack notification table for easier run identification. Generated by Claude Code
adamrtalbot
commented
Mar 30, 2026
adamrtalbot
commented
May 12, 2026
adamrtalbot
commented
May 12, 2026
Contributor
Author
Bash treats `\n` inside double quotes as literal characters, so the header rendered as `... branch\nEnvironment: ...`. Switch to ANSI-C quoting (`$'\n'`) so a real newline reaches the Slack mrkdwn block. Generated by Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Run IDs weren't visible in the Slack notification table, making it harder to quickly identify and reference specific runs from the notification.
What
runId(fromworkflow.id) to the extracted metadata fields🤖 Generated with Claude Code