Skip to content

docs: update docs and resource-lifecycle example for alpha.10 cacheTime#129

Merged
mahyarmlk merged 1 commit into
mainfrom
docs/alpha-10-cachetime
Jun 27, 2026
Merged

docs: update docs and resource-lifecycle example for alpha.10 cacheTime#129
mahyarmlk merged 1 commit into
mainfrom
docs/alpha-10-cachetime

Conversation

@mahyarmlk

Copy link
Copy Markdown
Collaborator

Summary

Update documentation and the resource-lifecycle example for the alpha.10 release, which shipped support.

Changes

Version bumps (alpha.9 → alpha.10)

  • README.md — install commands, current alpha version, limitation descriptions
  • docs/Quickstart.md — install commands and pin version reference
  • docs/agent/RELEASE-STATE.md — version table

Documentation verification

Example changes (examples/resource-lifecycle)

Two new resources demonstrating cacheTime:

  • timeEvictTeam (non-keyed, cacheTime: 1000ms)
  • keyedTimeEvict (keyed, cacheTime: 1000ms)

New actions: Invalidate time-evict team, Load keyed time-evict (team_b), Invalidate keyed time-evict

Example tests

Four new cacheTime tests:

  • invalidate keeps stale value before cacheTime expires
  • cacheTime expiry resets active entry to idle
  • cacheTime works per key for keyed resource
  • no-arg reload after cacheTime eviction reuses last context

Validation

  • pnpm test — all 446 tests pass (232 core + 113 dom + 72 router + 21 testing + 22 resource-lifecycle + others)
  • pnpm typecheck — all packages pass
  • pnpm build — all packages build
  • pnpm lint — clean
  • pnpm changeset status — no new changesets (docs/example only)

Scope

  • Docs/example only — no core runtime changes, no DOM/router/testing changes, no changeset, no version bumps

- Bump version references from alpha.9 to alpha.10 in README, Quickstart, RELEASE-STATE
- Add cacheTime to README capabilities and limitation descriptions
- Add cacheTime demonstration resources (timeEvictTeam, keyedTimeEvict) to example
- Add actions for cacheTime invalidation (Invalidate time-evict team, Invalidate keyed time-evict)
- Add cacheTime example tests: stale value retention before eviction, expiry resets to idle,
  per-key cacheTime, no-arg reload after eviction reuses last context
- Update index.html proves list for cacheTime behavior
@mahyarmlk mahyarmlk merged commit 686bd80 into main Jun 27, 2026
1 check passed
@mahyarmlk mahyarmlk deleted the docs/alpha-10-cachetime branch June 27, 2026 13:31
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