Skip to content

test(conformance): run the conformance suite against a gateway that pushes configuration - #5622

Open
pimlock wants to merge 3 commits into
mainfrom
test/conformance-config-push/pimlock
Open

pimlock wants to merge 3 commits into
mainfrom
test/conformance-config-push/pimlock

Conversation

@pimlock

@pimlock pimlock commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Runs the full conformance suite in CI against a gateway with config_delivery_mode = "push", ahead of making push the default in #4498.

Related Issue

Refs #4498. No issue required: test and CI coverage only, no product behavior change.

Changes

  • New tmachine feature environment ubuntu-docker-rootful-config-push: ubuntu-docker-rootful plus playbooks/config-push.yaml, which adds config_delivery_mode = "push" to the gateway overrides through the shared gateway_overrides role. The deb, rpm and binaries installers already merge that file.
  • One row in .github/workflows/e2e-suites.yml: conformance in the new environment with the deb installer.
  • mise run e2e:testkit:push runs conformance against a local Docker gateway with OPENSHELL_CONFIG_DELIVERY_MODE=push, for hosts without KVM.

Nothing asserts push is in use. A typo in the setting fails gateway startup (unknown fields are rejected), and supervisors built from this tree always support push, so push is off only if the override file stops being merged. A separate evidence suite was tried and dropped as not worth a VM per E2E run.

Scope notes:

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Local results, before rebasing onto main (the rebase moved the playbook onto the gateway_overrides role and added test_threads to the new row):

  • tmachine (aarch64 host), ubuntu-docker-rootful-config-push + deb: conformance 22/22 pass.
  • Local Docker gateway in push mode: conformance 22/22 pass; the gateway log shows all 27 supervisor sessions accepted with config_push=true.

CI: the ubuntu-docker-rootful-config-push + deb row passed on 6569462 (https://github.com/ai-openshell/openshell/actions/runs/45708598314).

Checklist

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

@github-actions github-actions Bot added the state:accepted A maintainer decided OpenShell should pursue this issue label Nov 16, 2026
@github-actions

Copy link
Copy Markdown

@pimlock
pimlock marked this pull request as draft November 16, 2026 21:48
@copy-pr-bot

copy-pr-bot Bot commented Nov 16, 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.

@pimlock
pimlock marked this pull request as ready for review November 16, 2026 23:54
@pimlock pimlock added the test:e2e Requires end-to-end coverage label Nov 16, 2026
@github-actions

Copy link
Copy Markdown

Label test:e2e applied for 002bf18. Open the existing run and click Re-run all jobs to execute with the label set. The run will execute the standard E2E suite after building the required gateway, sandbox, and supervisor images once. The matching required CI gate status on this PR will flip green automatically once the run finishes.

@matthewgrossman matthewgrossman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This merges cleanly into current main, but I’d rebase once #5780 lands so the push lane uses the shared gateway override role. The amd64 push row already passed on this PR head, so the PR description can drop the note that it hasn’t run in CI. The next run should verify push after the rebase.

Comment thread .github/workflows/e2e-suites.yml Resolved
Comment thread tasks/test.toml Resolved
…ushes configuration

Add the ubuntu-docker-rootful-config-push tmachine environment. Its setup
playbook, config-push.yaml, adds config_delivery_mode = "push" to the
gateway overrides through the gateway_overrides role, which the deb, rpm
and binaries installers apply to the gateway's configuration.

A push gateway lets a supervisor without push support keep polling, so the
conformance suite passes in either mode.

E2E Suites runs the conformance family in the new environment with the deb
installer. mise run e2e:testkit:push runs the conformance suite against a
local Docker gateway in push mode.

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@pimlock
pimlock force-pushed the test/conformance-config-push/pimlock branch from 002bf18 to 0927819 Compare November 25, 2026 21:09
@pimlock
pimlock requested a review from a team as a code owner November 25, 2026 21:09
with-docker-gateway.sh reuses the gateway named by
OPENSHELL_GATEWAY_ENDPOINT instead of starting one, and only a gateway it
starts reads OPENSHELL_CONFIG_DELIVERY_MODE. A push lane pointed at an
existing polling gateway could pass without testing push, since
conformance passes in either mode. Exit when both are set.

e2e:testkit:push now runs through e2e/rust/e2e-docker.sh in
conformance-only mode, so it uses the shared conformance helper and the
Docker entries in tests/suites/unsupported.yaml.

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:accepted A maintainer decided OpenShell should pursue this issue test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants