INCIDENT REPORT
Ticket ID
SUP-0006
Title
Merge conflicts after upstream merge
Severity
Medium
Environment
- Git
- Mastodon 4.5.11 to 4.6.2 upgrade
- Locally modified Mastodon source code
Issue
git merge --no-ff v4.6.2 produced merge conflicts.
Symptoms
- Git could not complete the upstream merge automatically.
- Manual conflict resolution was required.
Affected Files
backup_service.rbupload.tsxabout/index.jsx
Impact
- Upgrade process was blocked.
- Local customizations could not be applied until conflicts were resolved.
Investigation
- Reviewed the files reported by Git as conflicted.
- Compared local modifications with upstream changes.
- Determined which customizations were still necessary.
Root Cause
Local modifications conflicted with changes introduced upstream.
Resolution
- Accepted the upstream implementation.
- Reapplied only the required Mustard-specific customizations.
- Completed the merge after resolving all conflicts.
Verification
- Merge completed without unresolved conflict markers.
- Local customizations were restored.
- Application build proceeded successfully.
Lessons Learned
Avoid unnecessary local modifications to upstream files.
Prevention
- Minimize direct modifications to upstream source files.
- Document required customizations separately.
- Review local changes before major upstream merges.