create-open-autonomy 2.3.9 → 2.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-open-autonomy",
3
- "version": "2.3.9",
3
+ "version": "2.3.10",
4
4
  "description": "The default Open Autonomy starter kit: a complete repository that runs its own Hermes agent against the platform, with the SDK wired in. `bun create open-autonomy <dir>` scaffolds one.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/kit.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  import { existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from 'node:fs';
10
10
  import { dirname, join, relative, resolve } from 'node:path';
11
11
 
12
- export const KIT = { name: 'hermes', version: '2.3.9' } as const;
12
+ export const KIT = { name: 'hermes', version: '2.3.10' } as const;
13
13
  export const KIT_FILE = '.open-autonomy/kit.json';
14
14
  const TEMPLATE = resolve(import.meta.dir, '..', 'template');
15
15
 
@@ -25,5 +25,10 @@ jobs:
25
25
  --body "Opened by the landing workflow for \`$BRANCH\`. It merges on its own when the required checks pass."
26
26
  existing=$(gh pr list -R "$REPO" --head "$BRANCH" --state open --json number -q '.[0].number')
27
27
  fi
28
- gh pr merge -R "$REPO" "$existing" --merge
29
- echo "pull request #$existing: merged"
28
+ # The merge races other landings ("base branch was modified") and GitHub's own mergeability check; try again a
29
+ # few times before giving up, so two branches landing in the same minute both land.
30
+ for attempt in 1 2 3 4 5 6; do
31
+ if gh pr merge -R "$REPO" "$existing" --merge; then echo "pull request #$existing: merged"; exit 0; fi
32
+ echo "merge attempt $attempt did not go through; retrying in 20s"; sleep 20
33
+ done
34
+ echo "pull request #$existing: could not be merged after six attempts"; exit 1