Skip to content

Keep transact-enterprise at its released version when testing the demo apps - #665

Merged
devhawk merged 2 commits into
mainfrom
demo-ci-enterprise
Nov 14, 2026
Merged

devhawk merged 2 commits into
mainfrom
demo-ci-enterprise

Conversation

@devhawk

@devhawk devhawk commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

The JVM demo apps now depend on dev.dbos:transact-enterprise (dbos-demo-apps#493, merged 2026-11-13). Since then, every test-demo-apps job fails on every PR:

Could not find dev.dbos:transact-enterprise:1.4.0-a10-gcbd27c1.

The job rewrites every dev.dbos coordinate in an app's build file to this build's version, but only this repository's artifacts are published to Maven Local at that version. transact-enterprise is built in the enterprise repository.

A released transact-enterprise can't be used instead. Its Gradle metadata requires dev.dbos:transact strictly at its own version (1.3.0 today), so it cannot sit beside this build's transact; this PR's first commit tried that, and resolution failed.

This change removes the transact-enterprise dependency from the build file under test, and rewrites the other dev.dbos coordinates as before. The apps only need the enterprise artifact to connect to Conductor, when DBOS_CONDUCTOR_KEY is set, which this job doesn't do. No demo code imports it.

A known gap that remains: these jobs don't test a core change together with an enterprise build. That needs this workflow to build the enterprise repository against the PR.

🤖 Generated with Claude Code

…o apps

The JVM demo apps now depend on dev.dbos:transact-enterprise (demo-apps
#493). The demo-app job rewrites every dev.dbos coordinate to this build's
version, but only this repository's artifacts are published at that
version. transact-enterprise is built in the enterprise repository, so
every app failed to resolve it, on every PR.

The job now leaves transact-enterprise at the version the app names. The
apps only load it when connecting to Conductor, which CI doesn't do. Gradle
resolves its transitive dev.dbos:transact to this build's newer version.
@devhawk
devhawk requested review from kraftp, maxdml and qianl15 and a balanced review from Copilot November 13, 2026 23:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the workflow change preserving the demo apps’ declared released transact-enterprise version.

No open issues 🎉

What changed in this PR

Updates the demo-app test workflow to keep transact-enterprise at the app’s declared released version, avoiding resolution failures for an artifact not published by this repository.

Changes:

  • Excludes lines containing transact-enterprise from dependency-version rewriting while retaining updates for other DBOS dependency lines.
  • Adds comments explaining why enterprise keeps its released version and is only loaded with Conductor.
File Description
.github/​workflows/​test_demo_apps.yml Adjusts dependency rewriting to preserve the released enterprise version during demo-app tests.

Review effort: Balanced

Keeping it at its released version did not work. transact-enterprise
1.3.0's Gradle metadata requires dev.dbos:transact strictly 1.3.0, so it
cannot sit beside this build's transact, and resolution failed.

The apps only need the enterprise artifact to connect to Conductor, when
DBOS_CONDUCTOR_KEY is set. This job doesn't set it, so the dependency is
removed from the build file under test, and the other dev.dbos coordinates
are rewritten as before.
@devhawk
devhawk merged commit fe451c3 into main Nov 14, 2026
21 of 22 checks passed
@devhawk
devhawk deleted the demo-ci-enterprise branch November 14, 2026 00:05
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.

2 participants