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
Make Ubuntu Node CI pass snapshot tests and finish in budget.
Why:
The Alpha CI job on ubuntu-latest failed four broker-core snapshot
tests because they called host xcrun simctl. The same run spent 17
minutes in verify:public-surface spawning one git cat-file per tracked
file, so the 20-minute job budget could not cover the remaining suites.
Changed:
The four app-snapshot tests now pass the fixture simctl adapter through
runtimeOptions. The default public-surface scan reads index blobs only
for dirty or missing worktree files. CI and release jobs use a 30-minute
budget. Front-door tests require timeout-minutes of at least 30.
Verification:
npm run agent:verify -- --profile spec-only --paths broker-core/test/broker-core.test.mjs,client/public-surface.mjs,client/test/public-surface.test.mjs,.github/workflows/ci.yml,.github/workflows/release.yml,docs/test/front-door.test.mjs,spec/build-and-test.md,CHANGELOG.md --session-dir task-sessions/20260818-alpha-ci-ubuntu-fix
npm run agent:verify -- --profile implementation --paths broker-core/test/broker-core.test.mjs,client/public-surface.mjs,client/test/public-surface.test.mjs,.github/workflows/ci.yml,.github/workflows/release.yml,docs/test/front-door.test.mjs,spec/build-and-test.md,CHANGELOG.md --session-dir task-sessions/20260818-alpha-ci-ubuntu-fix
Affected:
broker-core/test/broker-core.test.mjs
client/public-surface.mjs
client/test/public-surface.test.mjs
.github/workflows/ci.yml
.github/workflows/release.yml
docs/test/front-door.test.mjs
spec/build-and-test.md
CHANGELOG.md
Refs:
#6https://github.com/fiveonecode/simulator-broker/actions/runs/32114159922
spec/build-and-test.md
Session:
task-sessions/20260818-alpha-ci-ubuntu-fix
Copy file name to clipboardExpand all lines: spec/build-and-test.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,10 @@ A first extracted implementation slice now exists:
39
39
tarball without XcodeGen or an app build
40
40
- public GitHub-hosted Ubuntu CI runs `verify:public-surface`,
41
41
`test:broker-core`, `test:client`, and `test:harness-adoption`; it does not
42
-
run `test:app`
42
+
run `test:app`. The job budget is 30 minutes. Broker tests that build an
43
+
app snapshot must inject the fixture `simctl` adapter. The default
44
+
public-surface scan reads index blobs only for dirty or missing worktree
45
+
files so a clean checkout does not spawn one `git cat-file` per file.
43
46
- tagged versions such as `v0.1.0-alpha.1` attach the CLI tarball to a GitHub
44
47
Release through `.github/workflows/release.yml`
45
48
- local-debug portable bundle support through a zip bundle plus package-smoke verification of the bundled install path and installed-app launch proof
@@ -288,7 +291,7 @@ Add stronger profiles next for:
288
291
- the installer prints the installed CLI path, app path when an app was installed, env helper path, any current-shell PATH warning, PATH persist result, and the next command (`command -v simbroker` after persist, or `source "<env-helper>"` when persist is skipped)
289
292
-`bash scripts/install_local.sh --cli-only` installs the CLI runtime without invoking `xcodegen` or `xcodebuild` and without requiring an app bundle
290
293
-`npm run package:cli` writes `artifacts/cli/simulator-broker-<version>-cli.tar.gz` plus a SHA-256 checksum and does not invoke XcodeGen or `xcodebuild`
291
-
-`.github/workflows/ci.yml` runs the public Node suites on `ubuntu-latest` and does not run `npm run test:app`
294
+
-`.github/workflows/ci.yml` runs the public Node suites on `ubuntu-latest`with a 30-minute budget and does not run `npm run test:app`
292
295
-`host init --bootstrap-config` writes a warning that real Simulator devices will be created before it calls `simctl` create
293
296
-`npm run test:install-smoke` proves a fresh-machine-style install can bootstrap host config, scaffold a repo, start the service, acquire a lease, generate an app snapshot from the installed CLI, launch the installed app bundle against the smoke fixture, assert the `SimulatorBrokerApp` process stays alive, restore any preexisting default install metadata including symlink target contents, and clean up only the simulators provisioned by the smoke run afterward
294
297
-`npm run package:distribution` builds the app in `Release`, requires operator-supplied `SIMBROKER_DISTRIBUTION_TEAM_ID` plus `SIMBROKER_DISTRIBUTION_SIGNING_IDENTITY`, optionally consumes `SIMBROKER_NOTARYTOOL_PROFILE`, and writes a machine-readable readiness summary under `artifacts/distribution/`
0 commit comments