feat(testing): add names to resource files
Metadata
Current evaluation
Merged PR #5438 in commit 76e30fb51, adding resource-name mappings so testing-service environment variables expose generated artifact and resource filenames to test scriptlets.
Resolution: closed resolved
Reason: PR #5438 was approved and merged as commit 76e30fb51. The change supplies craft-application with mappings needed to expose generated artifact and resource filenames during testing.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Craft-application needs a map of resource names to filenames to set
environment variables exported to the testing service. This allows the
user to use the variables to refer to the newly created artifact and
resource files in test scriptlets.
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `make test`?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5438 in commit 76e30fb51, adding resource-name mappings so testing-service environment variables expose generated artifact and resource filenames to test scriptlets. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #5438 in commit 76e30fb51, adding resource-name mappings so testing-service environment variables identify generated artifact and resource files. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #5438 (cmatsuoka) merged as commit 76e30fb51, adding a resource-name map so craft-application exports artifact/resource filenames as env vars for test scriptlets. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #5438 was merged in commit 76e30fb51, adding resource-name mappings and exporting artifact/resource filenames for test scriptlets. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5438 (commit 76e30fb51), adding resource-name-to-filename mappings as test environment variables so scriptlets can reference newly created artifact and resource files. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #5438 (76e30fb5), exporting artifact and resource name-to-filename mappings so test scriptlets can reference generated files. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a feature mapping resource names to filenames for testing env vars. Approved by two reviewers, passed all CI checks, and fixed commit messages. Enables test scriptlets to directly reference newly created artifact files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by maintainer cmatsuoka following a force-push to correct the commit message. The update adds a resource name-to-filename mapping to export environment variables for the testing service, allowing test scripts to reference newly created artifacts. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #739 feat(testing): set artifact and resource file variables | craft-application | merged | Merged PR #739 added CRAFT_ARTIFACT and CRAFT_RESOURCE_<resource-name> variables for artifact and resource files generated during the test lifecycle. |