Skip to content

test: achieve 100% coverage for subflow-transition-overhaul#13

Merged
nullhack merged 1 commit intomainfrom
fix/coverage-100
May 5, 2026
Merged

test: achieve 100% coverage for subflow-transition-overhaul#13
nullhack merged 1 commit intomainfrom
fix/coverage-100

Conversation

@nullhack
Copy link
Copy Markdown
Owner

@nullhack nullhack commented May 5, 2026

Summary

Adds 14 test classes covering previously uncovered lines in __main__.py and session_cmd.py to reach 100% test coverage.

Coverage: 95% → 100%

Gaps covered

  • _cmd_validate / _cmd_states None guards
  • _build_transition_list blocked status branch
  • _format_transitions_text condition hint formatting
  • _display_path ValueError fallback
  • _find_flow_file second attempt + None return
  • _enter_subflow None child + recursive grandchild entry
  • _resolve_subflow_exit three fallback paths
  • _cmd_states_session / _cmd_validate_session (text + JSON)
  • _dispatch_session_command edge cases
  • session init auto-enter subflow

@nullhack nullhack merged commit 8a56e65 into main May 5, 2026
7 checks passed
@nullhack nullhack deleted the fix/coverage-100 branch May 5, 2026 07:22
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