Build(deps-dev): Bump ts-jest from 29.3.1 to 29.4.2#124
Closed
dependabot[bot] wants to merge 1 commit into
Closed
Conversation
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.3.1 to 29.4.2. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.3.1...v29.4.2) --- updated-dependencies: - dependency-name: ts-jest dependency-version: 29.4.2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
|
Superseded by #131. |
joelteply
added a commit
that referenced
this pull request
Jun 2, 2026
…Registry (#123 slice 1) ## Why Joel directive (2026-06-01): substrate MUST work headless; TS-decorator pipeline isn't reachable in headless mode; substrate-only entities (hw_tiers, role_templates, identity pools, universes, future continuum config) MUST be authored Rust-first. Single source of truth lives in Rust; ts-rs projects the matching TS types. References: - [[orm-everything-not-hand-edited-files]] — ORM is the universal data interface; repo source = JSON, runtime backend = ORM's choice, commands = mutation path - [[authored-data-vs-procedural-projection]] — substrate-data entities are the authored half; IdentityProjector (#124) is the procedural half ## What ships (slice 1: infrastructure only, no behavioral migration) ### src/orm/entity.rs (new, ~370 lines) - BaseEntity struct + ts-rs export — the canonical wire-type base (id, createdAt, updatedAt, version). Single source of truth in Rust; ts-rs emits shared/generated/orm/BaseEntity.ts. The hand-authored TS BaseEntity.ts can be migrated to the generated version in a follow-up. - BaseEntity::for_new_record() — UUID v4 + now() + version=1 - base_entity_fields() — the STORAGE half of the base contract: SchemaField vec the ORM adapter declares to SQL. Kept in lockstep with the BaseEntity wire type via cross-test. - OrmEntity trait — COLLECTION const + collection_schema() - OrmEntityRegistry — process-wide write-once-at-boot registry; register<E>() is idempotent on identical schemas, errors on conflicts (different shape, same collection name) - Tests use fresh OrmEntityRegistry::new() instances — global singleton would race under parallel cargo test runs ### src/modules/data.rs (updated handle_ensure_schema) Resolution order: 1. Rust-native OrmEntityRegistry (substrate entities) 2. entity_schemas.json from TS decorators (user-app entities) 3. Error with diagnostic pointing at both authoring paths Headless deployments rely on path 1 alone; the TS-decorator path stays for user-facing entity work. ### src/persona/hw_tier_descriptor.rs (new, ~290 lines) - HwTierDescriptor — the editable, shareable ORM-stored description of one hardware tier. Distinct from HwCapabilityTier (the enum discriminant for runtime use). - HwTierCategory — Floor / Base / Pro per Joel's 2026-06-01 3-plan framing (Intel/low-end is Floor with video via grid-inference; MacBook M-series is Base, the design center; M-series Pro/Max + future unified-memory PCs are Pro) - local_video_capable flag — universal-avatar doctrine applied: rendering medium scales with hardware + grid-inference availability; the avatar property itself is universal - Tests verify BaseEntity contract + tier_id-vs-id distinction + serde camelCase + registration roundtrip ### src/persona/role_template.rs (existing struct, new OrmEntity impl) - OrmEntity impl for the existing RoleTemplate struct - Storage: BaseEntity columns + role (natural key, unique+indexed) + priority (indexed) + identity/cognition/modelPerTier (JSON columns for nested structs) - No changes to the existing helper_template()/coder_template() — that migration is slice 2 (seed JSON + retire hardcoded constants) ### src/persona/mod.rs (register_substrate_orm_entities helper) - Takes a &OrmEntityRegistry parameter so production calls register_substrate_orm_entities(OrmEntityRegistry::global()) and tests call with fresh new() instances - Cross-collection test verifies BaseEntity fields land in every registered substrate collection — catches future entities that forget to call base_entity_fields() ## Tests (632 passing across the lib) - 10 OrmEntityRegistry tests (register/resolve/idempotent/conflict/ order-independent/wire-vs-storage match/for_new_record sanity) - 7 HwTierDescriptor tests (schema count/BaseEntity present/tier_id unique-and-distinct-from-pk/category indexed/registration roundtrip/ serde camelCase/HwTierCategory lowercase) - 2 register_substrate_orm_entities tests (boot-order proof + idempotence + cross-collection BaseEntity check) - All 8 generator concurrency tests still green (regression) - 632 lib tests overall pass — no broader breakage ## What is NOT in this commit (slice 2 and beyond) - Seed JSON files under seeds/<collection>/*.json (#123 slice 2) - Retirement of helper_template()/coder_template() in favor of ORM queries (#123 slice 2) - Identity card pools, universe entities (#127 — Tron universe pack) - IdentityProjector procedural pick layer (#124) - First-connection ceremony (#126) - BaseEntity flatten into entity structs (matches TS class-extension convention) — held back to avoid churning helper_template/ coder_template constructors before slice 2's seed-JSON migration Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
3 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.
Bumps ts-jest from 29.3.1 to 29.4.2.
Release notes
Sourced from ts-jest's releases.
Changelog
Sourced from ts-jest's changelog.
... (truncated)
Commits
111a737chore(release): 29.4.2c472a99build: addconventional-changelog-angulardep for CHANGELOG generationaa0d563Fix Node.js v14 compatibility by replacing ??= operator with equivalent if-nu...a70aef7build(deps): Update dependency@types/nodeto v20.19.1402ac30ebuild(deps): Update dependency memfs to ^4.39.02875e61build(deps): Update dependency globals to ^16.4.0f820c6fbuild(deps): Update github/codeql-action digest to 192325c431d84ebuild(deps): Update ESLint packages to ^8.43.089948febuild(deps): Update dependency vite to ^6.3.631f15eabuild(deps): Update ESLint packages to ^9.35.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)