Skip to content

fix: include config in discussion snapshot templates - #9

Merged
ljq29 merged 1 commit into
devfrom
fix/discussion-snapshot-template-config
Nov 18, 2026
Merged

ljq29 merged 1 commit into
devfrom
fix/discussion-snapshot-template-config

Conversation

@ljq29

@ljq29 ljq29 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • embed the full config inside each snapshot template payload
  • keep the existing top-level config field for compatibility
  • add a regression test proving template.config.placeholders and rounds are present for the chat binding bar

Root cause

After the response-unwrapping fix, refreshed snapshots reached the UI but template.config was absent. Rendering template.config.placeholders then crashed the whole chat page.

Tests

  • regression test failed before the fix and passes after it
  • discussion application tests and domain tests pass

@ljq29
ljq29 merged commit 68924e3 into dev Nov 18, 2026
6 checks passed
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