Skip to content

Phase 4: Refactor session/shortcode/comment helpers to remove helper ivars#1179

Merged
texpert merged 3 commits into
masterfrom
fix/phase-4-session-shortcode-comment-helpers
May 17, 2026
Merged

Phase 4: Refactor session/shortcode/comment helpers to remove helper ivars#1179
texpert merged 3 commits into
masterfrom
fix/phase-4-session-shortcode-comment-helpers

Conversation

@texpert

@texpert texpert commented May 16, 2026

Copy link
Copy Markdown
Collaborator

What and Why

This completes Phase 4 of the helper ivar cleanup stream by removing remaining helper instance-variable state from session_helper, short_code_helper, and comment_helper, while preserving behavior through request-scoped CurrentRequest state and compatibility fallbacks where controllers/views still expect legacy context.

It also finalizes Phase 4 governance updates by removing corresponding Rails/HelperInstanceVariable exclusions and introducing durable in-repo planning docs under docs/ai/plans (including release-scoped plans).

User-Visible Impact

No intentional user-facing behavior change; this is primarily internal refactoring and reliability hardening with existing flows preserved.

texpert and others added 2 commits May 17, 2026 02:10
- Refactor session, shortcode, and comment helpers to remove helper ivars
- Move shortcode/session request state to CurrentRequest attributes
- Keep compatibility for controller @user and shortcode admin listing behavior
- Add helper specs for session and comment helpers
- Remove Phase 4 Rails/HelperInstanceVariable exclusions from rubocop todo
- Add durable docs/ai plan structure, including release-scoped plans

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[skip ci]

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@texpert texpert marked this pull request as draft May 16, 2026 23:11
[skip ci]

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@texpert texpert marked this pull request as ready for review May 17, 2026 17:06
@texpert texpert requested review from brian-kephart and owen2345 May 17, 2026 17:06
@texpert texpert merged commit a0dfc97 into master May 17, 2026
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