You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The CLI exits with code 0 when a merge fails. Main logs the exception and returns, so scripts and CI that check the exit code treat a failed merge as a success. The same happens for an invalid command, sources that fail to parse, and fewer than two sources.
The log shows [Error] ... One or more errors occurred and the merge stops before the full tile count.
echo $? prints 0.
Expected behavior
Any failed or rejected run exits non-zero; only a completed merge exits 0.
Additional context
Where: MergerCli/Program.cs, Main. The early-exit and catch paths return from a void Main. Only the missing resume file already exits non-zero, via Environment.Exit(-1).
Activity