Skip to content

build(cli-sidecar): target net10.0 to align with cli-rhino/cli-sketchup (#154)#156

Merged
pawellisowski merged 3 commits into
mainfrom
fix/cli-sidecar-net10
May 24, 2026
Merged

build(cli-sidecar): target net10.0 to align with cli-rhino/cli-sketchup (#154)#156
pawellisowski merged 3 commits into
mainfrom
fix/cli-sidecar-net10

Conversation

@pawellisowski
Copy link
Copy Markdown
Contributor

Summary

cli-sidecar is an out-of-process tool (metadata reflection via MetadataLoadContext + NativeAOT; it never loads into a CAD host), so it can track the latest runtime like cli-rhino and cli-sketchup (both net10). Closes #154.

  • Bumps cli-sidecar + its Tests, Ingest/Generator/Tests, and FixtureAssembly projects net9.0 → net10.0.
  • Updates every build-output-path consumer: the release + build-sidecar workflows (publish path, smoke-test/fixture paths, artifact upload) and the build-sidecar workflow's SDK install (9.0.x → 10.0.x); the Ingest extract/regen dev scripts; scripts/regen-nuget-agents.py; the cli-sidecar/wix READMEs; Rust integration tests that resolve the sidecar by path (coverage_e2e, coverage_validate, sidecar_integration); agent EXTRACTION-NOTES.md run-paths; and cli-sidecar test path comments.
  • Pinned, intentionally not bumped: cli-tekla (net48) and cli-revit (net8) load in-process against the host runtime. Also left alone: ui-inspector's own runtime-tfm, the nuget TFM-ranking logic, the AngleSharp comment, and historical plan/handoff docs.

Review

Codex (codex exec review --base main) — 3 rounds, all findings addressed, final pass clean (missed build-sidecar.yml paths + its SDK install version).

Test plan

  • Local net10: dotnet build cli-sidecar clean (0 warnings), dotnet test cli-sidecar/Tests → 147 passed, Generator/Tests builds
  • cargo build --tests compiles after the integration-test path edits
  • Post-merge: release + build-sidecar workflows publish the net10 sidecar correctly

Follow-up

Two skill .md files still say the sidecar targets net9 — tracked as a separate task to update via the skill-creator workflow (per CLAUDE.md), not hand-edited here.

…up (#154)

cli-sidecar is an out-of-process tool (metadata reflection + NativeAOT; never
loads into a CAD host), so it can track the latest runtime like cli-rhino and
cli-sketchup (both net10). Bumps cli-sidecar + its Tests/Generator/FixtureAssembly
projects net9.0 → net10.0, and updates every consumer of the build-output path:
the release workflow's sidecar publish step, the Ingest extract/regen dev scripts,
and the cli-sidecar / wix packaging READMEs. archicad extraction-notes paths too.

cli-tekla (net48) and cli-revit (net8) stay pinned — they load in-process against
the host runtime. Verified: net10 build + 147 sidecar tests pass locally.

Follow-up (separate, via skill-creator): two skill .md files still mention the
sidecar targets net9 — tracked as its own task to respect the skill-edit workflow.
…#154 review)

A first pass missed several consumers of the sidecar build-output path (my
verification grep wrongly filtered any line containing '/bin/'). Updated:

- .github/workflows/build-sidecar.yml — smoke-test binary, fixture DLL, artifact
  upload paths (Codex-flagged: would break the sidecar CI job).
- Rust integration tests that resolve the sidecar by path: coverage_e2e,
  coverage_validate, sidecar_integration (+ its Debug fixture path).
- scripts/regen-nuget-agents.py sidecar exe path.
- Agent EXTRACTION-NOTES.md run-path examples + cli-sidecar test path comments.

Intentionally left: ui-inspector's own runtime-tfm (not the sidecar), the nuget
TFM-ranking logic/tests, the AngleSharp comment, historical plan/handoff docs,
and the two skill .md mentions (deferred to a skill-creator task).
…view)

The sidecar now targets net10.0, but build-sidecar.yml provisioned only
dotnet-version 9.0.x, so `dotnet publish cli-sidecar` would fail with NETSDK1045
on a clean runner. Bumped to 10.0.x (the release workflow already installs 10).
Found by Codex review.
@pawellisowski pawellisowski merged commit 69eb5c1 into main May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli-sidecar targets net9.0 — consider aligning to net10 (cli-tekla/cli-revit are correctly pinned to host runtimes)

1 participant