Skip to content

Add containerd_mounts table for fleetd#39276

Open
zwass wants to merge 7 commits intomainfrom
containerd_mounts
Open

Add containerd_mounts table for fleetd#39276
zwass wants to merge 7 commits intomainfrom
containerd_mounts

Conversation

@zwass
Copy link
Member

@zwass zwass commented Feb 3, 2026

Related issue: Resolves #38393

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.

Testing

  • QA'd all new/changed functionality manually

fleetd/orbit/Fleet Desktop

  • If the change applies to only one platform, confirmed that runtime.GOOS is used as needed to isolate changes
  • Verified that fleetd runs on macOS, Linux and Windows (Linux only)

@zwass zwass requested review from a team and eashaw as code owners February 3, 2026 21:08
@zwass
Copy link
Member Author

zwass commented Feb 3, 2026

@sharon-fdm can you please assign someone for review?

@codecov
Copy link

codecov bot commented Feb 3, 2026

Codecov Report

❌ Patch coverage is 0% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.36%. Comparing base (18e79d1) to head (a25be00).
⚠️ Report is 81 commits behind head on main.

Files with missing lines Patch % Lines
orbit/pkg/table/containerd/mounts_linux.go 0.00% 38 Missing ⚠️
orbit/pkg/table/containerd/containers_linux.go 0.00% 2 Missing ⚠️
orbit/pkg/table/extension_linux.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #39276      +/-   ##
==========================================
- Coverage   66.18%   64.36%   -1.82%     
==========================================
  Files        2424     2398      -26     
  Lines      194210   187411    -6799     
  Branches     8460     8460              
==========================================
- Hits       128541   120635    -7906     
- Misses      53983    55866    +1883     
+ Partials    11686    10910     -776     
Flag Coverage Δ
backend 65.91% <0.00%> (-2.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

eashaw
eashaw previously approved these changes Feb 4, 2026
Copy link
Member

@lucasmrod lucasmrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left a few small comments.

// Get the container's spec to access mount information
spec, err := container.Spec(nsCtx)
if err != nil {
log.Printf("Failed to get spec for container %s: %v", container.ID(), err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Will this be noisy? (If so maybe log.Debug().Printf.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should be noisy (didn't see any logging in my testing), but I am not certain.

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
lucasmrod
lucasmrod previously approved these changes Feb 5, 2026
@zwass zwass requested a review from lucasmrod February 5, 2026 19:57
// Get the container's spec to access mount information
spec, err := container.Spec(nsCtx)
if err != nil {
log.Printf("Failed to get spec for container %s: %v", container.ID(), err)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Add support to pull mounted volumes from containerd (containerd_mounts)

4 participants