taskplane 0.5.9 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1185,6 +1185,10 @@ export default function (pi: ExtensionAPI) {
|
|
|
1185
1185
|
const repoMessages: string[] = [];
|
|
1186
1186
|
|
|
1187
1187
|
for (const repo of reposToIntegrate) {
|
|
1188
|
+
// Count commits BEFORE integration (after ff, HEAD === orch tip so count would be 0)
|
|
1189
|
+
const preCountResult = runGit(["rev-list", "--count", `HEAD..${resolvedOrchBranch}`], repo.root);
|
|
1190
|
+
const repoCommitsBefore = preCountResult.ok ? parseInt(preCountResult.stdout) || 0 : 0;
|
|
1191
|
+
|
|
1188
1192
|
const integrationResult = executeIntegration(parsed.mode, resolution as IntegrationContext, {
|
|
1189
1193
|
runGit: (gitArgs: string[]) => runGit(gitArgs, repo.root),
|
|
1190
1194
|
runCommand: (cmd: string, cmdArgs: string[]) => {
|
|
@@ -1214,10 +1218,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
1214
1218
|
break;
|
|
1215
1219
|
}
|
|
1216
1220
|
|
|
1217
|
-
|
|
1218
|
-
const countResult = runGit(["rev-list", "--count", `HEAD...${resolvedOrchBranch}`], repo.root);
|
|
1219
|
-
const repoCommits = countResult.ok ? parseInt(countResult.stdout) || 0 : 0;
|
|
1220
|
-
totalCommits += repoCommits;
|
|
1221
|
+
totalCommits += repoCommitsBefore;
|
|
1221
1222
|
repoMessages.push(` ${repo.id}: ${integrationResult.message}`);
|
|
1222
1223
|
}
|
|
1223
1224
|
|
|
@@ -787,12 +787,10 @@ export function mergeWave(
|
|
|
787
787
|
spawnSync("git", ["commit", "-m", `checkpoint: wave ${waveIndex} task artifacts (.DONE, STATUS.md)`], { cwd: mergeWorkDir });
|
|
788
788
|
execLog("merge", `W${waveIndex}`, `committed ${staged} task artifact(s) to merge worktree`);
|
|
789
789
|
|
|
790
|
-
// Restore
|
|
791
|
-
//
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
}
|
|
795
|
-
// Also remove any untracked .DONE files
|
|
790
|
+
// Restore .DONE files only — these are untracked and would cause
|
|
791
|
+
// "dirty working tree" issues on /orch-integrate.
|
|
792
|
+
// Keep STATUS.md modifications in develop's working tree so the
|
|
793
|
+
// dashboard can read current progress from the canonical path.
|
|
796
794
|
for (const file of artifactFiles) {
|
|
797
795
|
if (file.endsWith(".DONE")) {
|
|
798
796
|
const srcPath = join(repoRoot, file);
|