Skip to content

fix(signatures): execution message reads the status, not the action (#385) - #393

Merged
Samuel Hassine (SamuelHassine) merged 1 commit into
mainfrom
fix/385-execution-message-status
Nov 27, 2026
Merged

Samuel Hassine (SamuelHassine) merged 1 commit into
mainfrom
fix/385-execution-message-status

Conversation

@SamuelHassine

Copy link
Copy Markdown
Member

Opened by the CEO Office Developer; the team reviews, the desk answers and merges on approval.

Closes #385

Wrong vs expected

  • Actual: every signature callback trace reads Current action: data - Current status: data (seen on the email-smtp and nuclei injectors; on a nuclei scan stopped at its time limit the trace hides the TIMEOUT status).
  • Expected: Current action: <action> - Current status: <status>.

Cause

pyoaev/signatures/models.py, ExecutionDetails.execution_message: status was read from self.execution_action instead of self.execution_status.

Change

  • status = self.execution_status.value if self.execution_status else "unknown".
  • test/signatures/test_execution_message.py: the message carries the status on TIMEOUT and ERROR, reads unknown when no status is set (never the action again), and unknown/unknown when nothing is set.

Verified locally (sandbox, Python 3.14)

  • python -m pytest test/signatures: 63 passed.
  • black --check, isort --check-only, flake8 --ignore=E,W on the two changed files: clean.
  • Not run locally: mypy and the full test suite; CI covers them.

…385)

ExecutionDetails.execution_message took the status from execution_action,
so every signature callback trace read "Current action: data - Current
status: data". Read execution_status instead, and pin the message with
unit tests (TIMEOUT, ERROR, no status, nothing set).

Closes #385
@SamuelHassine Samuel Hassine (SamuelHassine) added bug Type: something isn't working (fix:). filigran team Item from the Filigran team. labels Nov 27, 2026
@SamuelHassine
Samuel Hassine (SamuelHassine) merged commit 5fbdafa into main Nov 27, 2026
15 checks passed
@SamuelHassine
Samuel Hassine (SamuelHassine) deleted the fix/385-execution-message-status branch November 27, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Type: something isn't working (fix:). filigran team Item from the Filigran team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(signatures): execution message repeats the action instead of the status

1 participant