Skip to content

Merge dev → main: Fix SeedTemplates System.halt#32

Merged
timujinne merged 4 commits into
mainfrom
dev
Mar 15, 2026
Merged

Merge dev → main: Fix SeedTemplates System.halt#32
timujinne merged 4 commits into
mainfrom
dev

Conversation

@timujinne
Copy link
Copy Markdown
Owner

Merge dev branch including fix for SeedTemplates System.halt issue in migrations.

…ix task

SeedTemplates.run() calls System.halt(1) on failure, which kills the
migration process. Use Templates.seed_system_templates() directly
(same approach as V31) so validation failures are logged gracefully
without aborting the migration.
System.halt(1) kills the entire VM when called from migrations (V15
calls SeedTemplates.run() and has a try/rescue wrapper, but System.halt
bypasses all rescue handlers). Raising an exception instead allows
migration rescue blocks to handle the failure gracefully.
Fix SeedTemplates: raise exception instead of System.halt on failure
@timujinne timujinne merged commit 29796b1 into main Mar 15, 2026
10 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