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
Remove DebugBuild dependency from UpstreamMerge build
UpstreamMerge now only depends on cascading UpstreamMerge builds from
dependent repos. Claude resolves conflicts without building - the PR
build handles compilation. Also added rm/mv tools for file operations.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This is a NON-INTERACTIVE session - you must complete the task without asking questions.
441
441
442
442
## Your Goal
443
-
Resolve all merge conflicts so the code builds successfully.
443
+
Resolve all merge conflicts so the merge can proceed. You do NOT need to build - the PR build will verify compilation.
444
444
445
445
## Generated Files (can be ignored)
446
446
The following files are auto-generated. If they have conflicts, you can resolve them by keeping EITHER version
447
-
(preferably the current/HEAD version), then they will be regenerated in step 3.
447
+
(preferably the current/HEAD version). They will be regenerated when the PR build runs.
448
448
- Build.ps1
449
449
- DockerBuild.ps1
450
450
- Dockerfile
@@ -472,42 +472,25 @@ Resolve all merge conflicts so the code builds successfully.
472
472
d) Edit the file to remove ALL conflict markers and leave only the resolved code
473
473
e) Run `git add <file>` to mark it as resolved
474
474
475
-
### 3. Regenerate scripts
476
-
After resolving all conflicts semantically, run `./build.sh generate-scripts` to regenerate the generated files.
477
-
Then run `git add .` to stage the regenerated files.
478
-
479
-
### 4. Build and verify (conditional)
480
-
**SKIP THIS STEP** if the ONLY files with conflicts were:
481
-
- Generated files (listed above) - they will be regenerated by `generate-scripts`
482
-
- Version files (`*.version.props`, `Directory.Packages.props`, `global.json`)
483
-
- Files containing only version number changes
484
-
485
-
In these cases, `generate-scripts` is sufficient - no build needed.
486
-
487
-
**OTHERWISE**, if any source code files (*.cs, *.csproj, etc.) had conflicts, run `./build.sh build` to ensure the code compiles.
488
-
If there are build errors or warnings, fix them and rebuild.
489
-
490
-
### 5. Final check
475
+
### 3. Final check
491
476
Run `git status` to confirm all conflicts are resolved and files are staged.
492
477
493
478
## Conflict Resolution Rules
494
479
- **Package versions**: When there's a conflict in package/dependency versions (in Directory.Packages.props, .csproj, etc.), always choose the HIGHER version number
495
480
- **Code conflicts**: Analyze the intent of both changes and merge them logically
496
-
- **Generated files**: Keep HEAD version, they will be regenerated
481
+
- **Generated files**: Keep HEAD version, they will be regenerated by the PR build
497
482
498
483
## Important Constraints
499
484
- Do NOT run `git commit` - leave that to the calling process
500
485
- Do NOT run `git push`
501
-
- Do NOT run `dotnet build` for the first build - it will FAIL. Always use `./build.sh build` as the first build.
502
-
When a specific project fails, you can iterate with `dotnet build` for this specific project. To continue with other projects, do `./build.sh build`.
503
-
- Do NOT modify files that don't have conflicts unless needed to fix build errors
486
+
- Do NOT build the code - the PR build will handle compilation
487
+
- Do NOT modify files that don't have conflicts
504
488
- If you encounter a conflict you cannot resolve confidently, resolve it to the best of your ability and note it in your output
505
489
506
490
## Success Criteria
507
491
- All conflict markers removed from all files
508
492
- All previously conflicting files staged with `git add`
0 commit comments