Skip to content

eve-api bump: add CPU core pinning API - #6925

Merged
eriknordmark merged 2 commits into
lf-edge:masterfrom
rucoder:rucoder/eve-api-cpu-placement
Oct 26, 2026
Merged

eriknordmark merged 2 commits into
lf-edge:masterfrom
rucoder:rucoder/eve-api-cpu-placement

Conversation

@rucoder

@rucoder rucoder commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Description

Re-pins every subproject that imports eve-api/go to the revision that merged lf-edge/eve-api#155, the CPU placement API: the CPU placement fields in VmConfig; the CPU topology, cache domains and kernel CPU isolation in the hardware inventory; the CPU pools on ZInfoDevice; the per-app placement status, error and assigned CPUs on ZInfoApp; and OptionalCapabilities.cpu_placement. It also picks up RuntimeStatus for runtime AppInstances, which landed in eve-api since the previous pin.

Two commits: make bump-eve-api, then the package hash update from tools/bump-and-commit.sh (pkg/debug and pkg/installer pin recovertpm and debug, whose trees change with the bump).

Nothing populates the new fields yet, and the advertised ApiCapability is unchanged. The CPU placement work (#6335) is being split into smaller PRs on top of this one.

Two details in the bump commit:

  • pkg/pillar keeps the vendored pkg/kube/cnirpc that master carries: it is ahead of the version go.mod pins, and go mod vendor would revert it.
  • The tidy marks go-tpm and x/sys as direct requirements of swtpm-vtpm, which imports them.

How to test and validate this PR

  • make pillar-vet HV=kvm passes, as does go build ./... in evetest.
  • make check-docker-hashes-consistency passes.
  • The vendored eve-api is byte-identical to the merged revision; only go.mod/go.sum, vendor/ and the two package hashes change.

Changelog notes

No user-facing changes.

PR Backports

  • 16.0-stable: No, a new API for a new feature.
  • 14.5-stable: No, a new API for a new feature.
  • 13.4-stable: No, a new API for a new feature.

Checklist

  • I've provided a proper description

  • I've added the proper documentation

  • I've tested my PR on amd64 device

  • I've tested my PR on arm64 device

  • I've written the test verification instructions

  • I've set the proper labels to this PR

  • I've checked the boxes above, or I've provided a good reason why I didn't check them.

lf-edge/eve-api#155 has merged: the CPU placement fields in VmConfig, the
CPU topology, cache domains and kernel CPU isolation in the hardware
inventory, the CPU pools on ZInfoDevice, the per-app placement status,
error and assigned CPUs on ZInfoApp, and OptionalCapabilities.cpu_placement.
Re-pin every subproject that imports eve-api/go with "make bump-eve-api", so
the CPU placement work that follows builds against the merged revision.

That also picks up RuntimeStatus for runtime AppInstances, which landed
since the previous pin. Nothing populates the new fields yet, and the
advertised ApiCapability is unchanged.

pkg/pillar keeps the vendored pkg/kube/cnirpc that master carries: it is
ahead of the version go.mod pins, and "go mod vendor" would revert it. The
tidy also marks go-tpm and x/sys as direct requirements of swtpm-vtpm, which
imports them.

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
Update all package hashes after a change to a package that others are built from.

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 28.48%. Comparing base (a407274) to head (fb016bc).
⚠️ Report is 16 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6925      +/-   ##
==========================================
+ Coverage   28.18%   28.48%   +0.29%     
==========================================
  Files         535      546      +11     
  Lines       97789    99536    +1747     
==========================================
+ Hits        27562    28351     +789     
- Misses      67986    68751     +765     
- Partials     2241     2434     +193     

☔ View full report in Codecov by Harness.
📢 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.

@eriknordmark eriknordmark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@eriknordmark
eriknordmark merged commit 9476683 into lf-edge:master Oct 26, 2026
64 checks passed
rene pushed a commit that referenced this pull request Nov 13, 2026
Pin pkg/pillar to eve-api 2b97c37f6a2f, the first revision that carries
the generated RuntimeStatus bindings (nestedappinstancemetrics), so the
backport of #6890 builds on 16.0-stable. The revision stops short of the
CPU placement API that master pulled in with #6925.

The bump also brings the generated register.pb.validate.go. Only
pkg/pillar is re-pinned, as for earlier eve-api bumps on this branch.

This commit has no counterpart on master, where the same revision
arrived as part of the #6925 bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Andrew Durbin <andrewd@zededa.com>
rene pushed a commit that referenced this pull request Nov 19, 2026
Pin pkg/pillar to eve-api 2b97c37f6a2f, the first revision that carries
the generated RuntimeStatus bindings (nestedappinstancemetrics), so the
backport of #6890 builds on 17.0-stable. The revision stops short of the
CPU placement API that master pulled in with #6925.

The bump also brings the generated register.pb.validate.go. Only
pkg/pillar is re-pinned, as for earlier eve-api bumps on this branch.

This commit has no counterpart on master, where the same revision
arrived as part of the #6925 bump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Andrew Durbin <andrewd@zededa.com>
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.

3 participants