Skip to content

Add Signal and IRC workflow action modules - #1007

Merged
adulau merged 2 commits into
mainfrom
codex/signal-irc-actions
Oct 26, 2026
Merged

adulau merged 2 commits into
mainfrom
codex/signal-irc-actions

Conversation

@adulau

@adulau adulau commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Adds Signal and IRC actions using the Mattermost module's workflow conventions: Jinja2 message templates, matchingData precedence, a JSON fallback, filter support, and nonblocking boolean results.

  • Signal sends through signal-cli-rest-api to phone numbers or groups and checks the send acknowledgement, including recipient errors reported alongside HTTP 201 and a timestamp.
  • IRC uses a short-lived connection with verified TLS by default, optional server passwords and channel keys, registration and join checks, PING handling, and UTF-8 message splitting.
  • Both actions return sanitized errors for failed sends. Includes setup guides, module listings, transport tests, and service discovery/dispatch coverage.

Validation: 150 focused tests passed with pytest -q tests/test_signal.py tests/test_irc.py tests/test_messaging_actions.py tests/test_matrix.py. Black, isort, flake8, Python 3.10 syntax checks, and git diff --check passed. Transport tests use mocks; live Signal and IRC services were not contacted.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T07:35:01.928122Z 4f970be PR opened
🔒 Security Review ✅ Completed 2026-10-26T07:36:57.599418Z 4f970be PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4f970be783

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread misp_modules/modules/action_mod/signal.py Outdated
Treat HTTP 201 responses with nonempty errors as failed sends even when a valid timestamp is present. Add regression coverage for recipient and group errors, preserve empty-error success, and document partial-failure behavior.

Validation: 150 focused tests passed; Black, isort, flake8, Python 3.10 syntax and diff checks passed.
@adulau
adulau merged commit 545c1d9 into main Oct 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant