Repository navigation
test(apps): prove UI updates, coalesced retries and removal of the published reference app - #584
Merged
Merged
Conversation
…blished reference app - Distribution gates, step 7: the replaced Greeting 1.0.0 generation has no native presentation in its metadata, and the 1.0.1 generation carries the native view that 1.0.1 declares. 1.0.1 changes only its API document, so the entry document is byte-identical; the gate now asserts that recorded value. - While the update is pending, two identical submissions return the same pending operation (202), a deactivate and an install are refused (409), and the release host serves exactly one archive. - Published lifecycle: uninstalling keeps greeting.json, and reinstalling the listed 1.0.0 release reopens the persisted greeting with the same UID. After the offline restart, uninstall and purge run without the catalog, and the purge erases the app directory. Refs #456 Refs #458 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 11 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
5 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the two privileged published-Greeting tests. There are no production code changes, and the harness is unchanged: all edits are inside the existing test bodies.
Distribution gates, step 7 (
distribution_gates.rs)/metadatahas nonativePresentation. The 1.0.1 generation's metadata carries the native view that 1.0.1 declares (formatVersion1, at least one page).uiEntryChangedis asserted, not only recorded. Its value isfalse: Greeting 1.0.1 changes onlyapi/openapi.jsonandapp.config.json, soui/index.htmlis byte-identical. It is still served from the new staged package.deactivateand an install of 1.0.0 are refused with 409. The release host then serves exactly one archive.Published lifecycle (
published_greeting.rs)uninstallleaves the row in stateremoved, andgreeting.jsonis byte-identical.reinstallof the listed 1.0.0 release runs with the same UID, has nopreviousrelease, and reads backPERSISTED_GREETING.uninstallkeeps the greeting. The separately requestedpurgeremoves the installation row and erases/var/lib/rentnerproxy/apps/<uid>.The purge runs at the end because the test needs the retained
previousrelease for its offline rollback. Running uninstall and purge offline also proves that both are local operations.The evidence JSON records the new operations, the reinstall generation, the repeated and refused submission statuses, and the native presentation result.
Related issue
Refs #456
Refs #458
Type of change
Testing
cargo clippy --locked --manifest-path core/Cargo.toml --all-targets --all-features -- -D warningsandcargo fmt --checkon Linux (Rust 1.99.1).Checklist
Breaking changes
None.
Screenshots
None.
🤖 Generated with Claude Code