Start the fake parts server only in the tests that need it
Metadata
Current evaluation
Merged PR #720 in commit dd5116ade, making remote-part loading lazy and starting the fake parts server only for tests that require it.
Resolution: closed resolved
Reason: PR #720 was merged by a maintainer in commit dd5116ade. It resolved the unnecessary fake parts-server startup tracked by Launchpad #1611828.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Load the remote parts in the config lazily.
LP: #1611828
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #720 in commit dd5116ade, making remote-part loading lazy and starting the fake parts server only for tests that require it. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #720 as commit dd5116ade, restricting fake parts-server startup to tests that need it and deferring remote-parts loading. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #720 in commit dd5116ade, making remote-part loading lazy and starting the fake parts server only for tests that need it. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged by @kyrofa to load remote parts lazily and start the fake parts server only in required tests. The change optimizes test execution across six files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by kyrofa to load remote parts lazily, starting the fake parts server only in tests that require it. Resolves LP: #1611828 and improves test execution efficiency. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft (launchpad)#1611828
(confidence 100%)
Underlying Launchpad bug reporting that all unit tests started the fake parts server.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1611828 All the unit tests start a fake parts server | snapcraft (launchpad) | closed | Fixed in snapcraft#720 via commit dd5116ade, which starts the fake parts server only for unit tests that need it; the fix was reviewed and verified. | |
| #640 Setup the FakeParts store for all unit tests | snapcraft | merged | Merged PR #640 as a119759b8, adding FakeParts setup to five unit-test files so remote-parts tests initialize a consistent cache. |