Export variables to testing environment
Metadata
Current evaluation
Enhancement to export SNAPCRAFT_PROJECT_DIR, SNAPCRAFT_PROJECT_VERSION, and CRAFT_ARCH_BUILD_FOR into the testing environment so test projects can reference the generated snap path. Triaged by maintainer; no implementation or PR found in repo.
Suggested action: keep open
Reason: The issue is labeled 'Status: Triaged' and 'Type: Enhancement' and was created by a maintainer (cmatsuoka), indicating it has been assessed and accepted as valid work. The Jira sync bot created internal tickets (SNAPCRAFT-1018, SNAPCRAFT-1040) in April 2025, confirming active tracking. No PR or code change implementing this was found in the repository, so it remains open and unimplemented. Inactivity alone does not justify closing a triaged, accepted enhancement.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
28.0
Staleness:
70
Complexity:
30
Confidence:
55
Support Request:
0
|
keep open | Enhancement to export SNAPCRAFT_PROJECT_DIR, SNAPCRAFT_PROJECT_VERSION, and CRAFT_ARCH_BUILD_FOR into the testing environment so test projects can reference the generated snap path. Triaged by maintainer; no implementation or PR found in repo. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
10
Confidence:
90
Support Request:
0
|
keep open | Enhancement to export snapcraft environment variables to the testing environment. Triaged and acknowledged by a maintainer, but inactive for over a year with no implementation progress. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
15
Confidence:
85
Support Request:
0
|
close stale | Enhancement to export build variables to the testing environment. Triaged but inactive for over a year with only automated Jira sync comments and no implementation progress. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
25
Confidence:
85
Support Request:
10
|
close stale | Export build variables like project directory, version, and architecture to the testing environment for accurate snap identification. Triaged enhancement, inactive for over a year, pending implementation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #757 Export important project variables | snapcraft | merged | Merged. Exports SNAPCRAFT_PROJECT_NAME, VERSION, STAGE, and PART_INSTALL variables. Reviewers approved and noted a planned expand_env refactor. CI retests and coverage fixes were applied before final merge. | |
| #3414 project loader: export SNAPCRAFT_TARGET_ARCH in build environment | snapcraft | merged | Exported SNAPCRAFT_TARGET_ARCH in the build environment. Merged after single reviewer approval, modifying two files with six additions and two deletions. | |
| #1768 project: export the arch triplet into the environment | snapcraft | merged | Merged changes exporting the SNAPCRAFT_ARCH_TRIPLET environment variable to support scripting. Approved by one reviewer, passed CI, and resolves issue #1752 with a minimal four-file update. | |
| #2534 Add SNAPCRAFT_PROJECT_DIR environment variable. | snapcraft | merged | Merged after approval and CI checks. Adds SNAPCRAFT_PROJECT_DIR environment variable pointing to the project directory. Resolves Launchpad bug 1824417. Reviewer noted minor coverage decrease and suggested follow-up integration tests. | |
| #1996 tests: add SNAPCRAFT_KEEP_DATA to debug | snapcraft | merged | Merged test updates adding the SNAPCRAFT_KEEP_DATA environment variable for debugging. Approved by two reviewers, the change modifies two files with a net addition of 14 lines. Submitted as a farewell gift to @sergiusens. |