You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(test): repair provider restart test imports on 0.22 - #5073
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.
Resolution
Superseded by #5071. Both imports already use the owning entry point on 0.22 at 2062cbe182.
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?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Import
captureHostEnvironmentfrom@agent-device/host-kit/environmentin the provider rental restart test and its fixture. Theprocessentry 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
pnpm check:affected --run --base origin/0.22 --head HEADpassed atb7e9a244f36b8eb21c239adf3cb79e8250784853.pnpm exec vitest run --project unit-core src/daemon-provider-rental-restart.test.tspassed all 15 tests.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Resolution
Superseded by #5071. Both imports already use the owning entry point on
0.22at2062cbe182.