← Back to issue list

feat: add optimistic project loading

View original Github issue

Metadata

Project
craft-application
Number
#213
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged in #213 via commit c877412e, adding optimistic loading so commands with always_load_project="try" can continue when project loading fails.

Resolution: closed resolved

Reason: PR #213 was approved and merged. Commit c877412e implements opt-in optimistic project loading for commands that can run without a successfully loaded project.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This PR adds optimistic project loading. If a command's `always_load_project` attribute is `"try"`, craft_application will attempt to load the project, but not fail if it cannot do so. - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in #213 via commit c877412e, adding optimistic loading so commands with always_load_project="try" can continue when project loading fails.
stealth/space-bunny-alpha — closed resolved Merged in #213 as commit c877412e, adding optimistic project loading so commands using always_load_project="try" can continue when project loading fails.
stealth/space-bunny-alpha — closed resolved Merged optimistic project loading in #213 (commit c877412e), allowing commands with always_load_project="try" to proceed when project loading fails.
stealth/space-bunny-alpha — closed resolved Merged optimistic project loading: always_load_project="try" lets commands proceed when a project cannot load, supporting remote-build resumption by recipe ID.
qwen/qwen3.6-35b-a3b — — Merged. Optimistic project loading allows commands with always_load_project set to try to attempt loading without failing if unavailable. Approved by three reviewers, passed CI, and modified three files (+102/-19).

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#238 feat!: remove optional project commands craft-application merged Merged in craft-application#238 via a0a3ed47, removing optional/optimistic project loading introduced by #213 while retaining relevant tests.
73%