Skip to content

fix(test): repair provider restart test imports on 0.22 - #5073

Closed
thymikee wants to merge 1 commit into
0.22from
fix/0.22-provider-restart-imports
Closed

thymikee wants to merge 1 commit into
0.22from
fix/0.22-provider-restart-imports

Conversation

@thymikee

@thymikee thymikee commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Import captureHostEnvironment from @agent-device/host-kit/environment in the provider rental restart test and its fixture. The process entry point no longer exports that helper. Follow-up to #5052.

Before / after

The restart test files resolve the helper from its owning entry point. Production behavior is unchanged because only tests and their fixture changed.

Validation

  • Local pnpm check:affected --run --base origin/0.22 --head HEAD passed at b7e9a244f36b8eb21c239adf3cb79e8250784853.
  • pnpm exec vitest run --project unit-core src/daemon-provider-rental-restart.test.ts passed all 15 tests.
  • Independent review found no issues. GitHub runs its required lanes.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

Resolution

Superseded by #5071. Both imports already use the owning entry point on 0.22 at 2062cbe182.

@github-actions

Copy link
Copy Markdown
Contributor

Size Report

Metric Base Current Diff
Installed (including dependencies) 5.05 MB 5.07 MB +14.5 kB
Package (unpacked) 5.05 MB 5.07 MB +14.5 kB
Package (download) 1.54 MB 1.55 MB +5.3 kB

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 16.3 ms 19.4 ms +3.1 ms
CLI --help 27.6 ms 37.1 ms +9.5 ms

@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of b7e9a24

No open findings.

Reviewed with this repository's own Sentinel configuration (8a29aea9a820).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee

Copy link
Copy Markdown
Member Author

This PR is ready for human review at b7e9a24, and the code has no blocking problems. The failing checks (Body rules, and the tvOS, visionOS and watchOS runner builds) do not touch a two-line TypeScript test import, so they look unrelated to this change. Not verified here: the failure logs, the tests, and a literal empty-diff check against the base branch. There are no conflicts. For a follow-up issue, not for this PR: src/daemon-provider-rental-restart.test.ts and the other changed test file already import captureHostEnvironment from @agent-device/host-kit/environment on current 0.22 (2062cbe, which includes #5071), so this PR looks empty once rebased. Should it be closed as superseded by #5071?

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 24, 2026
@thymikee thymikee closed this Nov 24, 2026
@thymikee
thymikee deleted the fix/0.22-provider-restart-imports branch November 24, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant