Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Fix installed-package test fixtures - #14

Merged
henrikklee merged 4 commits into
OrchardLinux:mainfrom
shaynelegault:codex/p105-resolve-test-fixtures
Oct 30, 2026
Merged

henrikklee merged 4 commits into
OrchardLinux:mainfrom
shaynelegault:codex/p105-resolve-test-fixtures

Conversation

@shaynelegault

@shaynelegault shaynelegault commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

The installed-package tests call resolve without the profile required by the current CLI. A trusted device fixture can also be reached through a virtualenv lib64 symlink on Linux. These cases are among the failures reported in #13. Current main also moved the IPSW implementation while one boundary test still imports its old module name.

This test-only change supplies the J71b profile, resolves the installed fixture path before checking its local receipts, and imports the current shared Apple modules in the boundary test.

Validation:

  • The 245-test installed-wheel suite passed on macOS with Python 3.9 and 3.14.
  • The same 245 tests passed on Ubuntu 24.04 ARM64 with Python 3.9 and 3.12, with the installed hardware package loaded through a forced lib64 symlink.
  • A separate fork workflow checked out this exact CLI head and hardware ae1457e, built hardware 0.1.11 from source, and passed all 245 tests on GitHub-hosted Ubuntu 24.04 x86-64 with Python 3.9 and 3.12.
  • The PR workflow reports action_required with no jobs run. Its default released hardware 0.1.10 does not satisfy the current CLI dependency on hardware 0.1.11. The separately tested CI change is in ci: align hardware dependency for development checks #15, which builds on this draft.

The installed-wheel checks invoke resolve without its required profile. Select j71b so these tests exercise package independence against the current command contract.

Signed-off-by: Shayne Legault <8741557+shaynelegault@users.noreply.github.com>
Python virtualenvs may expose the trusted hardware package through a lib64 link. Resolve the fixture path before checking the package data with the strict local bundle validator.

Signed-off-by: Shayne Legault <8741557+shaynelegault@users.noreply.github.com>
@shaynelegault
shaynelegault marked this pull request as ready for review October 30, 2026 03:20
@shaynelegault
shaynelegault marked this pull request as draft October 30, 2026 03:22
Signed-off-by: Shayne Legault <8741557+shaynelegault@users.noreply.github.com>
Signed-off-by: Shayne Legault <8741557+shaynelegault@users.noreply.github.com>
@shaynelegault
shaynelegault force-pushed the codex/p105-resolve-test-fixtures branch from c97d6c8 to 9016fea Compare October 30, 2026 03:27
@shaynelegault
shaynelegault marked this pull request as ready for review October 30, 2026 03:58
@henrikklee
henrikklee merged commit 6991349 into OrchardLinux:main Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants