Skip to content

build: dev mode for XSpec.Cli against the engine checkouts - #1

Merged
elvogel merged 1 commit into
phxspecfrom
build/dev-mode
Sep 11, 2026
Merged

elvogel merged 1 commit into
phxspecfrom
build/dev-mode

Conversation

@elvogel

@elvogel elvogel commented Sep 11, 2026

Copy link
Copy Markdown

Adds the dev-mode Directory.Build.targets that phoenixmldb-xquery and phoenixmldb-xslt carry, as an identical copy. With dev mode on, the PhoenixmlDb.{Core,XQuery,Xslt} PackageReferences become ProjectReferences to the sibling engine checkouts. That lets this package be built and tested against engine main before a release, which lockstep needs now that this package ships in the same train as the engines.

Switch it on with any of touch <workspace>/.phoenixml-dev (outside every repo), PHOENIXML_DEV=1, or -p:PhoenixmlDev=true. Nothing committed changes when it's toggled. Packing in dev mode, dev mode under CI, and a missing sibling are all errors. Package mode is the default and the only thing CI sees; it's unchanged.

Verified

  • Tests pass in both package mode and dev mode.
  • In dev mode, the test output carries engine main's code (checked by symbol).
  • dotnet pack refuses in dev mode.
  • Separately, this package builds and passes its tests against engine 1.7.0, which is what ships today. It's currently pinned to 1.6.14, a train behind.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XFzQJEPHoRxrjH6bni8tVn

Adds the Directory.Build.targets that phoenixmldb-xquery and
phoenixmldb-xslt carry (identical copy): with dev mode on, the
PhoenixmlDb.{Core,XQuery,Xslt} PackageReferences become ProjectReferences to
the sibling engine checkouts, so this package can be built and tested
against engine main before a release — which lockstep releases need, since
this package now ships in the same train as the engines.

On with `touch <workspace>/.phoenixml-dev` (outside every repo),
PHOENIXML_DEV=1, or -p:PhoenixmlDev=true. Nothing committed changes when
toggled. Packing in dev mode, dev mode under CI, and a missing sibling are
all errors. Package mode — the default, and all CI sees — is unchanged.

Verified: tests pass in both modes; in dev mode the test output carries
engine main's code (checked by symbol); pack refuses in dev mode. Also
verified this package builds and passes its tests against engine 1.7.0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XFzQJEPHoRxrjH6bni8tVn
@elvogel elvogel changed the title build: development mode for PhoenixmlDb.XSpec.Cli — build against the engine checkouts build: dev mode for XSpec.Cli against the engine checkouts Sep 11, 2026
@elvogel
elvogel merged commit 44befcb into phxspec Sep 11, 2026
42 of 44 checks passed
@elvogel
elvogel deleted the build/dev-mode branch September 11, 2026 17:58
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.

1 participant