oxidecomputer / oxidecomputer/sush

Need command time limits

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3
Forks
0
Avg merge
9d 12h
Merged PRs (30d)
11

Description

As of #3, jobs will be limited in their total CPU time, but not overall running (wall) time. It would probably be a good idea to limit that as well, probably via a timer per watched process in the main select loop of JobManager::new.

Contributor guide

No contributing guide indexed for this repository

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 at JobManager::new and its main select loop, then trace the watched-process handling and the CPU-time limit referenced in #3. Establish how wall-time expiration should be represented and verify that a watched command is stopped after exceeding the limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.