Skip to content

refactor(store): share the codec line reader and drop the test-only settings clear - #75

Merged
ewanc26 merged 3 commits into
mainfrom
refactor/store-duplication-v039
Oct 7, 2026
Merged

ewanc26 merged 3 commits into
mainfrom
refactor/store-duplication-v039

Conversation

@ewanc26

@ewanc26 ewanc26 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

What this changes

Replaces #73 (conflicted with main after the v0.39.0 pin). Same refactor as #75; this copy is closed in favour of #75.

Shares the codec line reader between the session and settings codecs, and removes a test-only wrapper around file removal.

Verification

Host: make test 4063 checks, 0 failures. Pinned to Wolfram v0.39.0 on main. Not run on a 3DS or in Azahar.

Docs

Docs: none (internal refactor; behaviour unchanged).

Changelog: CHANGELOG.md

Checklist

  • CI is green (CI gate and flow / conventions)
  • No secrets, tokens or signing keys in the diff
  • Tests added or changed with the behaviour; none skipped, disabled or deleted

🤖 Generated with Claude Code

ewanc26 and others added 3 commits October 8, 2026 00:49
…ettings clear

The session and settings codecs each carried a copy of the value-line check
and of the read-a-line loop. Both now come from store/codec_text.h. The
settings store's clear was a wrapper around indigo_file_remove used only by
the tests, so the tests call indigo_file_remove directly. No behaviour change:
host tests stay at 4037 checks, 0 failures.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ewanc26
ewanc26 merged commit b8ba48a into main Oct 7, 2026
17 of 18 checks passed
@ewanc26
ewanc26 deleted the refactor/store-duplication-v039 branch October 7, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant