Skip to content

feat: add structured runtime failure diagnostics and auto-release on … - #5

Closed
Mresyzz wants to merge 1 commit into
mainfrom
feat/runtime-failure-diagnostics
Closed

Mresyzz wants to merge 1 commit into
mainfrom
feat/runtime-failure-diagnostics

Conversation

@Mresyzz

@Mresyzz Mresyzz commented Sep 19, 2026

Copy link
Copy Markdown
Owner

…merge

  • Detect common 'command not found' failures across Linux distros with exit code 127 dual-signal.
  • Introduce FailureDiagnostic model and add additive 'diagnostic' field to JSON report.
  • Surface clear failure reasons in CLI table and GitHub Actions Step Summary.
  • Update release.yml to automatically create Git tag, GitHub Release, and publish to PyPI upon merge to main.
  • Bump version to 0.3.0 and add comprehensive unit and regression tests.

Description

Briefly describe the change and the motivation behind it.

Changes Made

Runner Safety Verification

Please check all that apply:

  • Unprivileged mode maintained (privileged=False)
  • Capabilities drop maintained (cap_drop=["ALL"])
  • no-new-privileges:true maintained
  • Target scripts remain mounted read-only (:ro)
  • Timeout and container cleanup logic preserved

Testing

  • Unit tests added/updated (pytest -v -m "not integration")
  • All tests passing locally

…merge

- Detect common 'command not found' failures across Linux distros with exit code 127 dual-signal.
- Introduce FailureDiagnostic model and add additive 'diagnostic' field to JSON report.
- Surface clear failure reasons in CLI table and GitHub Actions Step Summary.
- Update release.yml to automatically create Git tag, GitHub Release, and publish to PyPI upon merge to main.
- Bump version to 0.3.0 and add comprehensive unit and regression tests.
@Mresyzz Mresyzz closed this Sep 19, 2026
Mresyzz added a commit that referenced this pull request Sep 19, 2026
- Revert .github/workflows/release.yml to main branch behavior
- Remove automated release claim from CHANGELOG.md
- Tighten _MISSING_COMMAND_RE to recognized shell-origin formats only
- Reject arbitrary prefixes (e.g. 'Error:', 'myapp:') to avoid misclassifying application output
- Add regression tests for application output returning None
- Extend Docker integration tests to assert structured diagnostic fields on Alpine
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