Skip to content

chore(release): 4.12.1 hotfix — migration 103 startup crash (#3804)#3807

Merged
Yeraze merged 1 commit into
mainfrom
release/4.12.1
Jun 27, 2026
Merged

chore(release): 4.12.1 hotfix — migration 103 startup crash (#3804)#3807
Yeraze merged 1 commit into
mainfrom
release/4.12.1

Conversation

@Yeraze

@Yeraze Yeraze commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

Hotfix release 4.12.1 for the migration-103 startup crash that breaks upgrades to 4.12.0 (#3804). The fix itself merged in #3805; this PR is the version bump.

Changes

  • Version → 4.12.1 across package.json, package-lock.json, desktop/package.json, desktop/src-tauri/tauri.conf.json, helm/meshmonitor/Chart.yaml.
  • CHANGELOG.md: [4.12.1] entry.

Issues Resolved

Releases the fix for #3804 (merged via #3805).

Background

On installs with MQTT channel permissions, migration 103 could fail with UNIQUE constraint failed: channel_database_permissions.user_id, channel_database_permissions.channel_database_id and crash the app on every start, leaving it unbootable. #3805 deletes conflicting permission rows before reassigning them to the keeper channel (SQLite/PostgreSQL/MySQL, with a MySQL derived-table subselect) and adds a collision regression test.

Testing

🤖 Generated with Claude Code

Hotfix for #3804: migration 103 UNIQUE-constraint startup crash when upgrading
to 4.12.0 with MQTT channel permissions (fix merged in #3805). Bumps all five
version files and adds the [4.12.1] CHANGELOG entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011JEaCGwY9Wz8jeV4e22GW4
@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

Claude finished @Yeraze's task —— View job


PR Review

  • Gather PR context
  • Read changed files
  • Verify version consistency
  • Post review feedback

This is a clean, minimal version bump PR for hotfix 4.12.1. No issues found.

Version Consistency ✅ — All 5 versioned files are consistently set to 4.12.1:

  • package.json4.12.1
  • package-lock.json4.12.1
  • desktop/package.json4.12.1
  • desktop/src-tauri/tauri.conf.json4.12.1
  • helm/meshmonitor/Chart.yamlchart: 4.12.1, appVersion: "4.12.1"

CHANGELOG.md ✅ — The [4.12.1] - 2026-06-27 entry is clear, properly references issue/PR numbers (#3804, #3805), and accurately describes the root cause (UNIQUE constraint on channel_database_permissions) and the fix (delete conflicting rows before reassignment, MySQL-specific derived-table workaround).

No code changes — This PR contains no logic changes; the actual fix is in #3805. This is appropriate isolation for a release/version bump PR.

No concerns for:

This is a well-structured hotfix release following the project's versioning conventions (all 5 files per CLAUDE.md).

@Yeraze Yeraze merged commit 27ad4f8 into main Jun 27, 2026
18 checks passed
@Yeraze Yeraze deleted the release/4.12.1 branch June 27, 2026 01:42
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