posit-dev / posit-dev/team-operator

team-operator: Add debug/sleep mode to product specs

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

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
10
Forks
1
Avg merge
1d 8h
Merged PRs (30d)
4

Description

Summary

Add ability to toggle sleep/debug mode in product specs for troubleshooting container startup issues.

Context

From README TODO: "A way to toggle sleep / debug in the spec"

When debugging container startup issues, it's useful to override the entrypoint to sleep infinitely, allowing operators to exec into the container and investigate.

Acceptance Criteria

  • Add debug.sleep or similar field to product specs
  • When enabled, override container command to sleep
  • Document usage for troubleshooting scenarios

Migrated from rstudio/ptd#2667

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 with the README TODO and the product-spec definitions to find how spec fields are represented and how container commands are applied. Trace the startup path for the operator, then verify that an enabled debug/sleep setting overrides the command and that the troubleshooting usage is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.