Skip to content

fix(container): Split and enable dev and debug #1130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

DiamondJoseph
Copy link
Contributor

Refactors the container build so that the non-debug image can be used to debug traces outside of the cluster using kubectl exec and kubectl port-forward, and allow editing when using pv-mounter to mount the scratch dir locally.

This allows for seperate debug and development workflows: when debugging plans, the debugger can be used to step through and examine variables in the namespace, and when developing local tooling can be used.

The devcontainer attach workflow is for now preserved, and -debug tag to mark an image as allow debugging of the service itself, separate from the ability to debug the plans and devices.

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.48%. Comparing base (6567eab) to head (f6e0416).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1130   +/-   ##
=======================================
  Coverage   94.48%   94.48%           
=======================================
  Files          41       41           
  Lines        2557     2557           
=======================================
  Hits         2416     2416           
  Misses        141      141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DiamondJoseph DiamondJoseph changed the title refactor(container): Split dev and debug requirements fix(container): Split and enable dev and debug requirements Jul 17, 2025
@DiamondJoseph DiamondJoseph changed the title fix(container): Split and enable dev and debug requirements fix(container): Split and enable dev and debug Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant