← Back to issue list

tests: update metadata store integration test, no previous push required

View original Github issue

Metadata

Project
snapcraft
Number
#2086
Type
pull request
State
merged
Author
matiasb
Labels
Created
Updated
Closed

Current evaluation

Merged test updates to accommodate new store behavior allowing metadata updates without a prior push. The change passed CI and review, aligning the test suite with a feature currently in staging and preparing for production rollout.

Suggested action:

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [X] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [X] Have you successfully run `./runtests.sh static`? - [X] Have you successfully run `./runtests.sh unit`? ----- We have implemented some changes in the store initializing the snap package on snap name approval, allowing to update the snap metadata (through web UI or snapcraft) without needing to push any revision.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged test updates to accommodate new store behavior allowing metadata updates without a prior push. The change passed CI and review, aligning the test suite with a feature currently in staging and preparing for production rollout.
qwen3.6-35b-a3b-mtp-q6 Merged to update the metadata store integration test, aligning with a new store feature that permits metadata updates without a prior push. Changes were validated during pre-deployment testing ahead of production rollout.
qwen3.6-35b-a3b-mtp-q6 Merged an integration test update to align with store changes enabling metadata updates without a prior push. The change was validated during staging pre-deployment tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1634 Push metadata to the Store. snapcraft merged Successfully merged changes to push snap metadata to the store. Resolved initial CI and CLA failures, updated error messages per reviewer feedback, replaced metadata terminology, and added integration tests. Approved by two reviewers.
79%
#1766 Enhanced fake store to detect that metadata can't be pushed prior to pushing the binary, and fixed the test snapcraft merged Merged changes enhance the fake store to enforce binary upload before metadata push. Fixed a broken integration test that incorrectly assumed metadata could be pushed first. Approved and passed CI.
77%
#2789 tests: update the push and release tests for staging snapcraft merged Merged after reviewer approval. Updates push and release tests for the staging Snap Store to reflect the store now handling releases automatically instead of displaying a ready message. Minimal one-line change.
75%
#2903 tests: fix status test for staging store snapcraft merged Merged into master after approval and passing CI. The change corrected the staging store status test with a five-line update across one file, resulting in negligible coverage impact.
72%
#86 tests: update store tests for new image craft-store merged Merged after approval. Updates store tests for a new image and adds replication instructions. All tests passed successfully.
72%
#2829 store cli: push title and license on push-metadata snapcraft merged Merged implementation for pushing title and license metadata via the store CLI. Unit tests were added post-submission. Approved by one reviewer, passed CI, and merged with 35 additions and 1 deletion across three files.
70%