Skip to content

chore(server): remove unused registration hooks - #5382

Merged
elezar merged 2 commits into
mainfrom
chore/5381-remove-local-singleplayer-hook/elezar
Nov 9, 2026
Merged

elezar merged 2 commits into
mainfrom
chore/5381-remove-local-singleplayer-hook/elezar

Conversation

@elezar

@elezar elezar commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Remove two dead ComputeDriverRegistration hooks: with_local_singleplayer() and the deprecated with_inherited_config_keys(). Both return self and nothing reads them.

Related Issue

Closes #5381

Changes

  • Delete with_local_singleplayer from openshell-server, its calls in the Podman, Docker, VM and MXC registrations in openshell-gateway, and the singleplayer parameter of the test_registry helper in openshell-server/src/cli.rs.
  • Delete the deprecated with_inherited_config_keys, which had no callers anywhere in the repo.

Testing

  • cargo fmt for openshell-server and openshell-gateway
  • cargo clippy -p openshell-server -p openshell-gateway --all-targets -- -D warnings passes (compiles the test targets)
  • Unit tests not run locally: cargo test -p openshell-server fails to link here (library 'z3' not found); relying on CI
  • E2E tests: not applicable
  • MXC registration edit is behind cfg(windows) and was not compiled locally

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (not applicable)

The method was a compatibility no-op that nothing read. Drop it, its first-party registration calls, and the test helper parameter that only existed for it.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
…ion hook

The deprecated no-op had no callers.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar changed the title chore(server): remove unused with_local_singleplayer registration hook chore(server): remove unused registration hooks Nov 9, 2026
@elezar elezar added the test:e2e Requires end-to-end coverage label Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Label test:e2e applied for 4ec656f. 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.

@elezar elezar added the area:gateway Gateway server and control-plane work label Nov 9, 2026
@elezar elezar added area:platform and removed area:gateway Gateway server and control-plane work labels Nov 9, 2026
@elezar
elezar added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit 68b6104 Nov 9, 2026
245 of 250 checks passed
@elezar
elezar deleted the chore/5381-remove-local-singleplayer-hook/elezar branch November 9, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(server): remove unused registration hooks

2 participants