Skip to content

Update draft edit browser checks for value payloads - #1981

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-37596375818-drafts
Oct 7, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-37596375818-drafts

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The draft edit browser journeys now check the recorded value payload required by the effect-derived event contract from #1971. Their user behavior is unchanged: an empty draft survives reload, and a refused edit retains the revised words through Retry. The main CI run failed because both journeys still expected the old text field even though the admitted events contained the correct value field.

Both named tests failed before this change and pass afterward (uv run pytest tests/test_render_drafts.py::test_an_empty_draft_survives_reload_and_blocks_a_version_switch tests/test_render_drafts.py::test_a_refused_draft_keeps_text_and_offers_retry_without_a_details_pane -q -n0).

@leaf-agent
leaf-agent merged commit 2084331 into main Oct 7, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-37596375818-drafts branch October 7, 2026 11:53
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