Test(contracts): verify shared task and self-hosted HTTP behavior - #2
Merged
Merged
Conversation
This was referenced Sep 16, 2026
Closed
Add versioned behavior fixtures so the TUI can evolve independently while retaining compatible Markdown task parsing and self-hosted HTTP behavior. - Verify exact task round trips, including date/time-zone edge cases. - Exercise authentication, note read/write, invalid paths, and legacy/current API routes at root and prefixed mounts against a real Go server. - Record fixture provenance and how to run the optional server contract suite. The TUI's runtime implementation and release configuration are unchanged.
The shared task and HTTP fixtures are checksummed against provenance recorded from the main repository. Git for Windows converts them to CRLF on checkout, so both contract tests reported a checksum mismatch on the Windows runner while Linux and macOS passed. Pin the fixture directories to LF so every platform hashes the same bytes.
docs/desktop-integration.md shipped with v0.2.0 and explains the creation metadata format, client compatibility and rollback behavior, but the README never linked it. A short subsection now says what desktop-managed commands and zn tui each follow and where the details live.
adibhanna
force-pushed
the
refactor/ecosystem-boundaries-pr
branch
from
September 16, 2026 22:45
ee7aa64 to
37dc3f3
Compare
adibhanna
marked this pull request as ready for review
September 16, 2026 22:45
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
Add versioned behavior fixtures so the TUI can evolve independently while retaining compatible Markdown task parsing and self-hosted HTTP behavior.
The TUI's runtime implementation and release configuration are unchanged.
Validation
go vet ./..., and binary build.ZENNOTES_SERVER_CONTRACT_BINARYpointing to the extracted Go candidate containing the v2.50.4 fixes.Companion work in ZenNotes owns the shared fixtures and prepares the
znserverextraction. This PR can be reviewed independently of the later server publication/cutover.Related boundary PRs