add `working-dir` to to service schema
Metadata
Current evaluation
Added working-dir support to Rockcraft's service schema in PR #305, commit 4594740f, after Pebble introduced the field.
Resolution: closed resolved
Reason: Resolved by merged PR canonical/rockcraft#305 in commit 4594740f, which added the requested working-dir field to the Pydantic service schema.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Once https://github.com/canonical/pebble/pull/245 is merged, add support in our Pydantic model for that new field.
### Why it needs to get done
To support working directories.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Added working-dir support to Rockcraft's service schema in PR #305, commit 4594740f, after Pebble introduced the field. | |
| stealth/space-bunny-alpha | — | closed resolved | Added working-dir support to the service schema in rockcraft PR #305 (commit 4594740f), following the new Pebble field. | |
| qwen/qwen3.6-35b-a3b | — | — | Resolved by implementing the working-dir field in the Pydantic service schema after PR 245 merged. The issue was closed once the dependency was satisfied and the schema update was applied. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as completed after PR #245 merged. The working-dir field was added to the Pydantic service schema. Superseded by the upstream implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed following PR #245 merge. The working-dir field was implemented in the Pydantic service schema to support working directories. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented and closed following PR #245. The working-dir field was added to the Pydantic service schema to enable custom working directory support. No further discussion occurred. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#305
(confidence 100%)
Commit 4594740f implements the requested service-schema support.
-
Related To:
pebble#245
(confidence 100%)
The issue explicitly depended on Pebble's working-dir field being introduced there.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #305 feat: add support for working-dir in the service schema | rockcraft | merged | Merged PR #305 as commit 4594740f, adding Pebble service working-dir support to rockcraft.yaml and closing #303. | |
| #121 Allow setting of a working directory for the resulting ROCK in rockcraft.yaml | rockcraft | open | PR #305 provides service-level working-dir support, avoiding cd wrappers, but the requested image-wide OCI WorkingDir for arbitrary exec sessions remains unimplemented. |