oxidecomputer / oxidecomputer/omicron

Add interfaces to make wicket usable in an automated testing environment

Open
#3,928 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wicket
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

wicket currently exposes functionality in two ways: the main wicket TUI (most functionality, including triggering rack setup), and clap-driven CLI subcommands (mostly anything that provides input, particularly the configuration for rack setup). When we get to the point where we want to run tests on real hardware lab environments, we will want to drive wicket in an automated way. A couple obvious options are:

  1. Invest in testing and driving the wicket TUI (multiple implementation options are available here; e.g., something like expect that reads and navigates the TUI as-is, hooking into the event / replay stream a la the wicket debugger)
  2. Expose more functionality in the CLI, since it should be straightforward to drive those automatically

IMHO 2 would be relatively quick and easy, but 1 might be more valuable (since it would give us more extensive testing of wicket itself).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing wicket's TUI and clap-driven CLI entry points, then review how rack setup is triggered and how the debugger's event or replay stream works. The issue presents two possible approaches rather than naming files or tests; done means selecting and implementing an interface that can drive wicket for automated real-hardware lab testing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.