Skip to content

chore: upgrade Calcit to 0.13.77 - #34

Merged
tiye merged 2 commits into
mainfrom
codex/text-diff-refresh-20260906
Sep 5, 2026
Merged

chore: upgrade Calcit to 0.13.77#34
tiye merged 2 commits into
mainfrom
codex/text-diff-refresh-20260906

Conversation

@tiye

@tiye tiye commented Sep 5, 2026

Copy link
Copy Markdown
Member

Upgrade

Upgrade Calcit/@calcit/procs 0.12.14 to 0.13.77; migrate compact.cirru to canonical calcit.cirru and set the browser JS entry. Fix all 16 preprocessing warnings with Option-aware Map and environment access, typed RespoEvent input and string validation of browser storage. Replace tag-match with match while preserving persisted Map format.

Gates and tests

Add CI format/type/quality checks and three JS regression tests for content updates, cursor updates and persistence round-trips. PRs no longer deploy. The per-definition quality baseline records existing debt (14 schema Dynamic and 2 code Nil); it is not a claim of fully strict typing.

Validation with published dependencies

markdown 0.4.32 is now released; no pending upstream dependency blocker. Passed caps --strict --ci, immutable Yarn install, caps verify --toolchain, default init/reload check, JS codegen, all three regression tests, quality baseline and Node 24 / Vite 8.0.16 production build. No local dependency overrides.

Read calcit docs read upgrade in this project. Ready for review; maintainer merges.

@tiye
tiye marked this pull request as ready for review September 5, 2026 17:06
Copilot AI lite review requested due to automatic review settings September 5, 2026 17:06
@tiye
tiye merged commit 60e0b0f into main Sep 5, 2026
2 checks passed
@tiye
tiye deleted the codex/text-diff-refresh-20260906 branch September 5, 2026 17:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow YAML indentation is invalid (likely breaking CI parsing), and one new regression assertion is brittle due to referential equality on objects.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Upgrades the project to Calcit 0.13.77, migrates the project snapshot to calcit.cirru, and adds CI validation + regression tests to ensure the new Option-aware and pattern-matching behavior remains stable.

Changes:

  • Bump Calcit/@calcit/procs (and related deps) to 0.13.77 and update deps.cirru.
  • Switch build/compile entry to calcit calcit.cirru and commit the canonical calcit.cirru snapshot.
  • Add CI gates (format/type/quality checks) and JS regression tests for update/hydration/cursor behaviors.
File summaries
File Description
yarn.lock Locks upgraded @calcit/procs and transitive dependency versions.
package.json Updates compile/build scripts and pins @calcit/procs to 0.13.77.
deps.cirru Updates Calcit version and Calcit dependency set.
calcit.cirru Migrated canonical snapshot; introduces Option-aware access and match-based updater logic.
config/calcit-quality.cirru Adds a quality baseline used by CI.
scripts/upgrade.test.mjs Adds regression tests for store updates, hydration round-trips, and cursor/state updates.
.github/workflows/upload.yaml Updates CI to install/validate Calcit + caps, run formatting/quality gates, and run JS regression tests.
.gitignore Ignores .calcit/ directory.
Review details
  • Files reviewed: 6/8 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +30 to +32
- name: Install dependencies
run: caps --strict --ci && yarn install --immutable

Comment thread scripts/upgrade.test.mjs
Comment on lines +13 to +15
assert.equal(read(updated, tags.content), 'hello');
assert.equal(read(store, tags.content), '');
assert.equal(read(updated, tags.states), read(store, tags.states));
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.

2 participants