Skip to content

build(deps-dev): bump jest from 30.2.0 to 30.3.0 in /backend#54

Merged
Gracker merged 1 commit intomainfrom
dependabot/npm_and_yarn/backend/jest-30.3.0
May 7, 2026
Merged

build(deps-dev): bump jest from 30.2.0 to 30.3.0 in /backend#54
Gracker merged 1 commit intomainfrom
dependabot/npm_and_yarn/backend/jest-30.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 7, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps jest from 30.2.0 to 30.3.0.

Release notes

Sourced from jest's releases.

v30.3.0

Features

  • [jest-config] Add defineConfig and mergeConfig helpers for type-safe Jest config (#15844)
  • [jest-fake-timers] Add setTimerTickMode to configure how timers advance
  • [*] Reduce token usage when run through LLMs (3f17932)

Fixes

  • [jest-config] Keep CLI coverage output when using --json with --outputFile (#15918)
  • [jest-mock] Use Symbol from test environment (#15858)
  • [jest-reporters] Fix issue where console output not displayed for GHA reporter even with silent: false option (#15864)
  • [jest-runtime] Fix issue where user cannot utilize dynamic import despite specifying --experimental-vm-modules Node option (#15842)
  • [jest-test-sequencer] Fix issue where failed tests due to compilation errors not getting re-executed even with --onlyFailures CLI option (#15851)
  • [jest-util] Make sure process.features.require_module is false (#15867)

Chore & Maintenance

  • [*] Replace remaining micromatch uses with picomatch
  • [deps] Update to sinon/fake-timers v15
  • [docs] Update V30 migration guide to notify users on jest.mock() work with case-sensitive path (#15849)
  • Updated Twitter icon to match the latest brand guidelines (#15869)
Changelog

Sourced from jest's changelog.

30.3.0

Features

  • [jest-config] Add defineConfig and mergeConfig helpers for type-safe Jest config (#15844)
  • [jest-fake-timers] Add setTimerTickMode to configure how timers advance
  • [*] Reduce token usage when run through LLMs (3f17932)

Fixes

  • [jest-config] Keep CLI coverage output when using --json with --outputFile (#15918)
  • [jest-mock] Use Symbol from test environment (#15858)
  • [jest-reporters] Fix issue where console output not displayed for GHA reporter even with silent: false option (#15864)
  • [jest-runtime] Fix issue where user cannot utilize dynamic import despite specifying --experimental-vm-modules Node option (#15842)
  • [jest-test-sequencer] Fix issue where failed tests due to compilation errors not getting re-executed even with --onlyFailures CLI option (#15851)
  • [jest-util] Make sure process.features.require_module is false (#15867)

Chore & Maintenance

  • [*] Replace remaining micromatch uses with picomatch
  • [deps] Update to sinon/fake-timers v15
  • [docs] Update V30 migration guide to notify users on jest.mock() work with case-sensitive path (#15849)
  • Updated Twitter icon to match the latest brand guidelines (#15869)
Commits

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 30.2.0 to 30.3.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.3.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 7, 2026
@Gracker Gracker merged commit 12ae20c into main May 7, 2026
3 checks passed
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/backend/jest-30.3.0 branch May 7, 2026 05:29
mr-torto pushed a commit to mr-torto/SmartPerfetto that referenced this pull request May 8, 2026
Replace the monolithic "any code change → trace regression" rule with
an explicit four-tier policy that distinguishes work that genuinely
exercises agent behavior from contract / type-only and CRUD-only
changes that don't:

- Contract / type-only (`backend/src/types/sparkContracts.ts` etc.)
  → `npx tsc --noEmit` + the sparkContracts.test.ts case for that
  contract.
- CRUD-only service (file IO, no agent path touched)
  → that service's own `__tests__/<name>.test.ts`.
- Touches mcp / memory / report / agent runtime
  → `npm run test:scene-trace-regression` (the existing 6-trace gate).
- PR landing
  → `npm run verify:pr` (strict full gate, unchanged).

The new policy is inlined consistently in all 7 rule documents — keeping
fresh clones self-contained — and the wording is identical across files
so future drift is easy to spot.

Files touched: CLAUDE.md, AGENTS.md, docs/development/testing.md,
README.md, README.zh-CN.md, CONTRIBUTING.md,
docs/getting-started/quick-start.md.

Motivation: subsequent Spark contract scaffold commits (Gracker#41 / Gracker#44 / Gracker#50
/ Gracker#54 / Gracker#55) only add types to sparkContracts.ts and add unit tests.
Running the full 6-trace regression on each adds minutes per commit
without exercising any code path the contract touches. The tiered
policy keeps the strict gate where it earns its keep (anything wired
into the agent runtime, plus PR landing) while letting type-only work
finish in seconds. The trace regression command itself is unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
mr-torto pushed a commit to mr-torto/SmartPerfetto that referenced this pull request May 8, 2026
Land Plan 44 (Spark Gracker#94, Gracker#95) — project / world memory plus the
feedback → case → skill draft pipeline.

Critical invariant: this contract does NOT modify the existing
session-scope `analysisPatternMemory.ts`. Plan 44 introduces an
independent project + world store at runtime
(`backend/src/agentv3/projectMemory.ts`, landed in D-phase). The
existing 200-entry session store, weighted Jaccard matching, and
supersede integration stay untouched.

Types added to `backend/src/types/sparkContracts.ts`:

- `ProjectMemoryStatus` — 5-state status machine inlined to keep
  `backend/src/types/` independent of `backend/src/agentv3/`. Mirrors
  agentv3's PatternStatus including `disputed_late`. Doc note flags
  that the two unions must stay in sync; if agentv3 changes, mirror
  the change here.
- `ProjectMemoryEntry` — one entry. Carries optional `promotionPolicy`;
  the Plan 44 service layer (`projectMemory.saveProjectMemoryEntry`)
  enforces that a `'world'`-scope entry MUST have a policy. Schema
  itself keeps it optional so older snapshots remain readable.
- `FeedbackPipelineEntry` — feedback pipeline state. Uses the shared
  `CaseRef` from C0 base types so this contract does NOT depend on
  Plan 54's CaseNode shape, breaking the Gracker#44Gracker#54 schema cycle that
  Codex flagged in round 1.
- `MemoryRagSelfImprovementContract` — service surface bundling
  entries + pipeline + recent RAG retrievals.

Storage location for project + world entries:
`backend/logs/analysis_project_memory.json` with shape
`{entries: ProjectMemoryEntry[], promotionAudit: ...}`. Audit log
schema is finalized in §4.3 of the design doc.

Five new test cases in `__tests__/sparkContracts.test.ts` cover:

- ProjectMemoryStatus matches the 5-state machine, no `auto_inferred`
- project entry can omit promotionPolicy
- world entry carries promotionPolicy with reviewer for audit
- FeedbackPipelineEntry uses CaseRef shape, not CaseNode
- contract bundles entries + pipeline + recent retrievals

Test count: 55 (was 50).

Test tier: contract / type-only. `npx tsc --noEmit` clean,
sparkContracts.test.ts passes 55/55. Trace regression intentionally
not run per the tiered policy in commit d8529e1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant