When conflicts occur
A conflict is possible when:- A developer edits
src/components/UserCard.jsxonmain - You then make a change in your builder that also affects
UserCard.jsx - The extension pushes that builder change to
builder/latest - Nometria attempts to merge
builder/latest→mainand finds overlapping changes
auto_merge: true and Nometria can fast-forward without ambiguity (e.g. different lines), it merges automatically. If the same lines changed in both branches — that’s a real conflict.
How Nometria handles a conflict
When a real conflict is detected:- Nometria does not auto-merge — it stops and creates a GitHub Pull Request
- The PR is from
builder/latest→mainwith conflict markers in the affected files - You receive a dashboard notification and (optionally) an email
- The PR stays open until you resolve it — your existing production version stays live and unchanged
Resolving a conflict
1
Open the PR
Dashboard → Sync → click the Resolve conflict link, which takes you to the GitHub PR.Or navigate directly to your repo on GitHub and find the open PR.
2
Identify the conflict
GitHub shows which files have conflicts with a red marker. Open the file — you’ll see standard Git conflict markers:
3
Choose or combine the versions
Option A — Use GitHub’s web editor:
Click Resolve conflicts in GitHub’s UI. Edit the file directly in the browser, removing the conflict markers and keeping the version you want (or combining both).Option B — Resolve locally:
4
Merge the PR
Once all conflicts are resolved, merge the PR on GitHub. Nometria detects the merge and triggers a production redeploy automatically.
Preventing conflicts
The best way to handle conflicts is to avoid them. A few practices that help: Work in layers. Let your builder handle UI and layout. Have developers handle business logic and integrations. These rarely touch the same files. Use.Nometria.yml to exclude developer-owned files:
ignored_paths are never committed by the extension, even if the builder modifies them. This creates a clean division: builder owns src/components and src/pages; developers own src/lib, src/api, and src/hooks.
Communicate before large developer changes. If a developer is refactoring a large part of the codebase, pause auto-merge (Settings → Sync → Pause) until the refactor lands on main.
Conflict notification settings
Dashboard → Settings → Notifications to configure:- Email notification when a conflict PR is opened
- Slack webhook for conflict alerts
- Disable notifications for auto-merged pushes (reduces noise)