Skip to content

chore(build): add opt-in experimental build flag - #5005

Merged
drew merged 1 commit into
mainfrom
drew/dev-builds
Nov 23, 2026
Merged

drew merged 1 commit into
mainfrom
drew/dev-builds

Conversation

@drew

@drew drew commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add an opt-in experimental Cargo feature flag for openshell-gateway, openshell-server, and openshell-supervisor. Normal workspace builds, lint, tests, branch E2E, and Release Dev enable it; prerelease and stable builds leave it off.

Related Issue

Build flag for #4411. Cedar support is stacked on this PR in #5006.

Changes

  • Define an experimental feature on openshell-gateway (forwarding to openshell-server/experimental), openshell-server, and openshell-supervisor.
  • Enable --features experimental in workspace mise tasks (tasks/ci.toml, tasks/rust.toml, tasks/test.toml) and Branch Checks (branch-checks.yml, rust-cache.yml).
  • Add an experimental input (default false) to build-binaries-linux.yml and build-binaries-macos.yml that passes --features experimental to gateway and supervisor builds; enable it in branch-e2e.yml and release-dev.yml.
  • Document the experimental build flag in CONTRIBUTING.md, CI.md, and .agents/skills/release-captain/SKILL.md.

Release Notes

Testing

  • Branch Checks passed on Linux (x86_64, aarch64) and macOS (aarch64), including lint, tests, build modes without experimental, Cargo Deny, and workflow checks.

Checklist

  • Follows Conventional Commits.
  • Commits are signed off (DCO).

@copy-pr-bot

copy-pr-bot Bot commented Oct 28, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@drew
drew added this pull request to stack #5007 October 28, 2026 15:43
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

This pull request has had no activity for 14 days and is now marked stale.

@github-actions github-actions Bot added the state:stale Inactive item at risk of automatic closure. label Nov 12, 2026
@purp purp added area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. topic:dx Making OpenShell easy to contribute to for humans and agents. labels Nov 15, 2026
@github-actions github-actions Bot removed the state:stale Inactive item at risk of automatic closure. label Nov 15, 2026
vishwa-raman added a commit that referenced this pull request Nov 22, 2026
Describe the implementation as it stands after the refactor:
middleware, endpoint settings, and process are policy-message fields
set through the API instead of a --middleware file; a CedarPolicy
message selects Cedar; supervisor networking depends on engine-neutral
runtime contracts with one composition point; parity lives in
tests/policy-conformance with recorded expectations; and Cedar is gated
by the experimental feature bundle, built only in Release Dev.

Record the implementation as the #5005, #5006, and #4991 stack, and
update verification and rollout to match.

Older gateways that ignore the cedar_policy field, load-time warnings,
and a CI check for stable builds follow #5006 as it is today and are
listed under Open questions pending review.

Refs #4474

Signed-off-by: Vishwanath Raman <vishwanathr@nvidia.com>
@drew
drew marked this pull request as ready for review November 23, 2026 20:24
@drew
drew requested a review from a team as a code owner November 23, 2026 20:24
@drew drew changed the title chore(build): add opt-in development feature bundles chore(build): add opt-in experimental build flag Nov 23, 2026
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@drew
drew added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 0d495be Nov 23, 2026
89 of 90 checks passed
@drew
drew deleted the drew/dev-builds branch November 23, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:build CI/CD workflows, releases, build targets, packaging, and artifact publication. topic:dx Making OpenShell easy to contribute to for humans and agents.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants