Skip to content

feat(ci): uds cli next in ci and publish next demo bundles - #2941

Open
joelmccoy wants to merge 13 commits into
joel/cli-223-gateway-api-chartfrom
joel/cli-223-cli-next-bundles
Open

feat(ci): uds cli next in ci and publish next demo bundles#2941
joelmccoy wants to merge 13 commits into
joel/cli-223-gateway-api-chartfrom
joel/cli-223-cli-next-bundles

Conversation

@joelmccoy

@joelmccoy joelmccoy commented Sep 3, 2026

Copy link
Copy Markdown
Member

Description

Updates UDS Core CI to use CLI Next:

  • establishes next demo bundles (mirroring legacy)
  • publish next demo bundles
  • changed standard demo bundle to use functional layers (sees about ~25-40% speedup on core deploys in ci)
  • adds ADR to establish this switch
  • updates CLI compatibility tests to track compatibility between legacy and next

Related Issue

Fixes CLI-223

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Steps to Validate

  • uds run

Checklist before merging

@joelmccoy joelmccoy changed the title feat(ci): add CLI Next demo bundles and workflows feat(ci): uds cli next in ci and publish next demo bundles Sep 3, 2026
@joelmccoy
joelmccoy requested a balanced review from Copilot September 3, 2026 18:44
@joelmccoy

Copy link
Copy Markdown
Member Author

@greptileai @codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T17:51:26.193922Z 714c030 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR moves primary demo-bundle CI to UDS CLI Next while retaining Legacy compatibility and publication paths.

  • Adds standard and slim Next bundle definitions built from functional package layers.
  • Adds Next bundle creation, deployment, testing, snapshot-versioning, and publication tasks.
  • Expands the CLI compatibility matrix to cover Legacy and Legacy-to-Next transitions.
  • Documents the transition through an ADR and updated CI guidance.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
tasks/create.yaml Adds functional-layer and CLI Next bundle creation flows with aligned standard and slim artifact locations.
tasks/deploy.yaml Adds CLI Next deployment variants and aligns the default artifact version with current package metadata.
tasks/publish.yaml Publishes both Legacy and CLI Next standard and slim bundles for supported architectures.
.github/workflows/publish.yaml Builds, validates, snapshot-versions, and publishes the new Next bundle family alongside Legacy artifacts.
.github/workflows/test-cli-matrix.yaml Extends install and upgrade compatibility coverage across Legacy and Next CLI modes.
release-please-config.json Registers all three Next HCL bundle definitions for normal release version updates.
release-please-config.patch.json Registers all three Next HCL bundle definitions for patch release version updates.
tasks/lint.yaml Removes the conflicting task executor from the format-check action.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  S[Core package sources] --> L[Build functional layers]
  L --> N[Create CLI Next bundles]
  S --> G[Create Legacy bundles]
  N --> T[Deploy and validate Next bundle]
  G --> C[Legacy compatibility validation]
  T --> P[Publish Next bundles]
  C --> Q[Publish Legacy bundles]
Loading

Reviews (5): Last reviewed commit: "chore: more cleanup" | Re-trigger Greptile

Comment thread tasks/deploy.yaml Outdated
Comment thread bundles/k3d-standard-next/bundle.uds.hcl
Comment thread tasks/create.yaml

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.

🟡 Changes recommended

Critical versioning and artifact-resolution failures, plus unsafe value serialization and lost schema validation, remain unresolved.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Transitions demo bundle CI and publishing to UDS CLI Next while retaining Legacy compatibility.

Changes:

  • Adds standard and slim CLI Next bundle definitions and configurations.
  • Routes primary testing and deployment through CLI Next.
  • Publishes Next artifacts alongside Legacy bundles and documents the migration.
File summaries
File Review
test/playwright/private-pki/tasks.yaml Generates CLI Next PKI configuration.
tasks/test.yaml Splits Next and Legacy test workflows.
tasks/publish.yaml Critical: Default version targets unavailable 1.11.0 release artifacts.
tasks/lint.yaml Moderate: Removes explicit values/schema validation without an equivalent check.
tasks/deploy.yaml Critical: Regresses the default deployment version to 1.11.0.
tasks/create.yaml Critical: Uses an unset VERSION when staging the generated artifact.
tasks.yaml Exposes Next and Legacy test entry points.
bundles/k3d-standard-next/values/core-runtime-security.yaml Templates runtime-security values.
bundles/k3d-standard-next/values/core-monitoring.yaml Moderate: PostgreSQL password interpolation is not safely serialized.
bundles/k3d-standard-next/values/core-logging.yaml Moderate: S3 secret-key interpolation is not safely serialized.
bundles/k3d-standard-next/values/core-identity-authorization.yaml Moderate: Password interpolation is not safely serialized.
bundles/k3d-standard-next/values/core-base.yaml Moderate: Classification-banner text is not safely serialized.
bundles/k3d-standard-next/values/core-backup-restore.yaml Templates backup and restore values.
bundles/k3d-standard-next/README.md Documents the standard Next bundle.
bundles/k3d-standard-next/defaults.uds.hcl Defines standard bundle defaults.
bundles/k3d-standard-next/config-upgrade.uds.hcl Configures upgrade testing.
bundles/k3d-standard-next/config-test.uds.hcl Configures standard testing.
bundles/k3d-standard-next/config-test-multi-node.uds.hcl Configures multi-node testing.
bundles/k3d-standard-next/config-ha.uds.hcl Configures HA testing.
bundles/k3d-standard-next/bundle.uds.hcl Critical: Local version 1.11.0 does not match generated 1.12.0 artifacts.
bundles/k3d-standard-next/bundle-no-portal.uds.hcl Critical: Registry1/no-Portal sources do not match generated 1.12.0 artifacts.
bundles/k3d-slim-dev-next/values/core-identity-authorization.yaml Moderate: Password interpolation is not safely serialized.
bundles/k3d-slim-dev-next/values/core-base.yaml Templates slim base-layer values.
bundles/k3d-slim-dev-next/README.md Documents the slim Next bundle.
bundles/k3d-slim-dev-next/defaults.uds.hcl Defines slim bundle defaults.
bundles/k3d-slim-dev-next/bundle.uds.hcl Critical: Local version 1.11.0 does not match generated 1.12.0 artifacts.
adrs/0011-use-uds-cli-next-for-main-demo-bundle-ci.md Records the migration decision; one sentence-case heading nit remains.
.yamllint Excludes generated and templated YAML.
.github/workflows/test.yaml Removes direct values-equivalency testing.
.github/workflows/test-cli-matrix.yaml Adds Next and Legacy compatibility cases.
.github/workflows/pull-request-conditionals.yaml Removes values-test scheduling.
.github/workflows/publish.yaml Critical: Next HCL versions are omitted from normal release-version updates.
Review details

Suppressed comments (1)

adrs/0011-use-uds-cli-next-for-main-demo-bundle-ci.md:47

  • NIT: Documentation headings use sentence case, so “Considered” should not be capitalized here.
## Alternatives Considered
  • Files reviewed: 32/32 changed files
  • Comments generated: 13
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/publish.yaml
Comment thread bundles/k3d-slim-dev-next/bundle.uds.hcl Outdated
Comment thread bundles/k3d-standard-next/bundle-no-portal.uds.hcl Outdated
Comment thread bundles/k3d-standard-next/bundle.uds.hcl Outdated
Comment thread tasks/create.yaml Outdated
Comment thread bundles/k3d-standard-next/values/core-base.yaml Outdated
Comment thread bundles/k3d-standard-next/values/core-identity-authorization.yaml Outdated
Comment thread bundles/k3d-standard-next/values/core-logging.yaml Outdated
Comment thread bundles/k3d-standard-next/values/core-monitoring.yaml Outdated
Comment thread tasks/lint.yaml

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a983e82a14

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bundles/k3d-standard-next/bundle.uds.hcl Outdated
Comment thread .github/workflows/test-cli-matrix.yaml
Comment thread tasks/test.yaml
Comment thread tasks/create.yaml Outdated
Comment thread bundles/k3d-standard-next/defaults.uds.hcl Outdated
Comment thread .github/workflows/test-cli-matrix.yaml Outdated
@joelmccoy

Copy link
Copy Markdown
Member Author

@greptileai @codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b204d72ff3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tasks/create.yaml Outdated
Comment thread bundles/k3d-standard-next/bundle.uds.hcl Outdated
Comment thread bundles/k3d-standard-next/values/core-base.yaml Outdated
Comment thread tasks/test.yaml
Comment thread tasks/test.yaml
@joelmccoy

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8be6b6d98

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/publish.yaml
Comment thread tasks/publish.yaml

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.

🟡 Changes recommended

A critical release-signing issue and moderate CLI matrix coverage gap remain unresolved.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

tasks/create.yaml:179

  • The slim Next bundle is also always created unsigned and then published at tasks/publish.yaml:75-76. Registry consumers therefore cannot use normal signature verification and must bypass the trust check. Add a release-specific keyless signing mode while retaining --unsigned only for local/test artifacts.
  • Files reviewed: 37/37 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread tasks/create.yaml
Comment thread .github/workflows/test-cli-matrix.yaml Outdated
@joelmccoy

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5ead3a2034

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/test-cli-matrix.yaml
Comment thread docs/dev/ci-testing.md Outdated

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.

🟡 Changes recommended

CI trigger gaps and incomplete domain and Redis value propagation must be fixed before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (2)

.github/workflows/test-cli-matrix.yaml:17

  • This path filter excludes the task implementations that the matrix executes (tasks/create.yaml, tasks/deploy.yaml, and tasks/test.yaml). A PR can therefore break the minimum-version or Legacy compatibility paths without running this workflow; include these task files in the trigger and keep the documented trigger list in sync.
    paths:
      - ".github/workflows/test-cli-matrix.yaml"
      - "bundles/k3d-standard/**"
      - "bundles/k3d-standard-next/**"

docs/concepts/platform/environments.mdx:20

  • This now directs local-development users to the Next bundles, but the local demo deployment guide still only documents the Legacy uds deploy k3d-core-demo:latest flow. Add or link to the required CLI_FEATURES=NextMode=true uds bundle deploy ... instructions so users can act on this recommendation.
> For local development, Defense Unicorns publishes Legacy and UDS CLI Next demo bundles. Use **`k3d-core-slim-dev`** or **`k3d-core-slim-dev-next`** for Base + Identity & Authorization, and use **`k3d-core-demo`** or **`k3d-core-demo-next`** for Full Core. All published demo bundles use the `upstream` flavor.
  • Files reviewed: 40/40 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment thread bundles/k3d-standard-next/defaults.uds.hcl Outdated
Comment thread bundles/k3d-standard-next/values/core-identity-authorization.yaml Outdated
Comment thread docs/dev/ci-testing.md Outdated
@joelmccoy

Copy link
Copy Markdown
Member Author

@codex @greptileai review

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.

🟡 Changes recommended

Unresolved moderate issues can break Grafana scheduling and private-PKI certificate propagation.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (4)

docs/concepts/platform/environments.mdx:20

  • MAJOR: This now directs local-development users to the Next bundles, but the existing install guide still documents only uds deploy k3d-core-demo:latest. That command does not enable Next mode, and these new artifacts are unsigned, so users also need the explicit signature-verification bypass and its security caveat. Update docs/getting-started/local-demo/install-and-deploy-uds.mdx with a separate Next workflow before advertising these as usable options here.
> For local development, Defense Unicorns publishes Legacy and UDS CLI Next demo bundles. Use **`k3d-core-slim-dev`** or **`k3d-core-slim-dev-next`** for Base + Identity & Authorization, and use **`k3d-core-demo`** or **`k3d-core-demo-next`** for Full Core. All published demo bundles use the `upstream` flavor.

docs/dev/ci-testing.md:25

  • MINOR: This relative link leaves the published docs tree and resolves to a non-existent /bundles/... page on the documentation site. Link to the repository source URL instead, as this page already does for layer packages.
    docs/dev/ci-testing.md:35
  • MINOR: These relative links target files outside the published docs tree, so they become broken /bundles/... links on the documentation site. Use repository source URLs for both bundle definitions.
    docs/dev/ci-testing.md:68
  • MINOR: These source-file links escape the published docs tree and resolve to non-existent /bundles/... routes. Use GitHub source URLs for the Legacy and Next bundle files.
  • Files reviewed: 41/41 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread bundles/k3d-standard-next/values/core-monitoring.yaml
Comment thread test/playwright/private-pki/tasks.yaml Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2da29f1faf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread test/playwright/private-pki/tasks.yaml Outdated
@joelmccoy
joelmccoy force-pushed the joel/cli-223-cli-next-bundles branch from 688ea8b to 9ee7871 Compare September 4, 2026 16:49
@joelmccoy

Copy link
Copy Markdown
Member Author

@codex @greptile review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ee78710d3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bundles/k3d-standard-next/values/core-logging.yaml Outdated
Comment thread docs/dev/ci-testing.md
Comment thread adrs/0011-use-uds-cli-next-for-main-demo-bundle-ci.md Outdated
Comment thread docs/concepts/platform/environments.mdx
@joelmccoy

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f031757ff1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tasks.yaml
@joelmccoy
joelmccoy marked this pull request as ready for review September 4, 2026 17:41
@joelmccoy
joelmccoy requested a review from a team as a code owner September 4, 2026 17:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 714c030892

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread bundles/k3d-standard-next/values/core-logging.yaml Outdated
Comment thread bundles/k3d-standard-next/values/core-identity-authorization.yaml
Comment thread tasks/test.yaml

@chance-coleman chance-coleman 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.

initial review, looks pretty solid.

Comment thread bundles/k3d-standard-next/values/core-logging.yaml Outdated
Comment thread bundles/k3d-standard-next/bundle.uds.hcl
Comment thread .github/workflows/publish.yaml Outdated
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.

3 participants