← Back to issue list

fix(app) fix work dir in managed runs

View original Github issue

Metadata

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

Current evaluation

Merged PR #74 (commit c348918d) corrected managed-run work-directory handling, using /root for lifecycle work while keeping the project cwd separate; fixes #53.

Resolution: closed resolved

Reason: PR #74 was merged into main as commit c348918d. It sets the managed work directory to /root rather than the project cwd, resolving misplaced lifecycle directories in issue #53.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When running in managed mode, the work dir is _not_ the cwd: the work dir is "/root/" and contains the lifecycle directories, while the cwd is typically the directory containing the project file, mounted as "/root/project/" inside the instance. Fixes #53 - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #74 (commit c348918d) corrected managed-run work-directory handling, using /root for lifecycle work while keeping the project cwd separate; fixes #53.
stealth/space-bunny-alpha — closed resolved Merged PR #74 fixed managed-run work-directory handling by separating the lifecycle work dir from cwd, resolving #53; merged as commit c348918d.
stealth/space-bunny-alpha — closed resolved Merged fix in canonical/craft-application#74 (commit c348918d) corrected managed-run work-directory handling, resolving issue #53.
qwen/qwen3.6-35b-a3b — — Merged fix for work directory handling in managed runs. Corrects path resolution from cwd to /root/ for lifecycle directories, resolving issue #53. Approved by three reviewers, passed CI, and merged into main with 100% diff coverage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-application#53 (confidence 100%)

    PR #74 explicitly fixes #53 by separating the managed work directory from the project directory.

Related issues

No related issues found above the similarity threshold.