Skip to content

fix(ci): remediate dev-dependency alerts and nightly property generator - #1182

Merged
d-oit merged 4 commits into
mainfrom
fix/ci-red-deps-and-property
Nov 22, 2026
Merged

d-oit merged 4 commits into
mainfrom
fix/ci-red-deps-and-property

Conversation

@d-oit

@d-oit d-oit commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Problem

Two scheduled runs on main (c41592d) are red:

  • Dependabot Alert Check — 5 open dev-scope alerts on the lockfile: qs (110/113), minimatch (114), @vitest/mocker (91/92).
  • Property and Mutation Tests (nightly, seed 10622026) — graph-query-builder round-trip property fails at run 439: the arbitrary emits queries with 66 clauses (limit 64) and NaN confidences; both are out of the model's domain and validateGraphQuery/schema rightly reject them.

Change

  • vitest 4.1.11 → 4.1.12 in all four manifests (+ lock); @vitest/mocker resolves 4.1.12.
  • Overrides move to pnpm-workspace.yaml (pnpm 12 no longer reads pnpm.overrides from package.json): qs@<6.16.1 → ^6.17.1, minimatch@>=7.0.0 <11.0.1 → ^11.0.1. Resolved: qs 6.17.1 only; minimatch 11.0.9 (the 3.x copies are below the vulnerable range and untouched).
  • Property generator respects MAX_QUERY_CLAUSES (filter) and uses noNaN: true.

Verification

  • FAST_CHECK_PROFILE=nightly FAST_CHECK_SEED=10622026 on graph-query-builder: 24 tests pass (seen failing before the fix: run 439 clause-count, run 1297 NaN).
  • pnpm run lint, pnpm run typecheck, pnpm run test green on the bumped toolchain (eslint exercises minimatch 11).
  • E2E running locally; CI covers the rest.

Read this PR faster

- vitest 4.1.11 -> 4.1.12 (poisons @vitest/mocker 4.1.11: Dependabot 91/92).
- pnpm 12 reads overrides from pnpm-workspace.yaml (the package.json pnpm field is ignored): pin qs >= 6.16.1 (alerts 110/113) and minimatch >= 11.0.1 below 11 (alert 114).
- graph-query-builder property generator emitted queries over MAX_QUERY_CLAUSES and NaN confidences; both are out of the model domain and validateGraphQuery/schema rightly reject them. Generator now filters by clause count and uses noNaN.
- Verified: nightly profile seed 10622026 now green (was failing at runs 439 and 1297); pnpm run lint/typecheck/test green on the bumped toolchain.
@coldtea-pr-lens

coldtea-pr-lens Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
  • Redraw · drawn at ef030ff, the branch has moved on

Architecture

Walkthrough of vitest 4.1.12 bump and dependency overrides, in three steps

Read this PR faster

Inside the changed components — 1 view

Component view — Graph Query Validation

The graph query builder and its property test harness.

Architecture view of Component view — Graph Query Validation in d-oit/do-knowledge-studio

Data flow

No data-flow sequence changed in this PR.


Review

2 findings on the diff · reviewed ef030ff

Tip

Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture… row. Drawing still runs as before

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • After a push, tick Redraw to draw the latest commit
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion
  • Set github.description: false in .github/pr-lens.yml to stop PR Lens adding buttons to your PR descriptions

Thanks for using PR Lens! It's free for OSS. If it helped, a star helps other teams find it.  Star PR Lens on GitHub

@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
do-knowledge-studio Ready Ready Preview, v0 Nov 22, 2026 8:51pm UTC

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Blocked merge diagnosis — blocked
⏳ Check run(s) still in progress: ["labeler","Codacy Static Code Analysis","Shell Script Security Analysis","Infrastructure as Code Security","Trivy Filesystem Security Scan","Dependency Advisory Audit","YAML Syntax Validation","Secret Detection","commitlint","GitHub Actions Workflow Validation","Node 26","Node 22","Detect Changes","Performance Benchmarks (advisory)","Node 24","Diagnose Blocked Merge State","Analyze (actions)","Analyze (javascript-typescript)","Analyze (python)"]

@github-actions github-actions Bot added config tests Related to automated/manual tests labels Nov 22, 2026
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment thread package.json Resolved
@d-oit
d-oit enabled auto-merge (squash) November 22, 2026 20:52
@d-oit
d-oit merged commit 78c1d6e into main Nov 22, 2026
30 checks passed
@d-oit
d-oit deleted the fix/ci-red-deps-and-property branch November 22, 2026 20:52

This branch was successfully deployed

1 active deployment
Preview — 316ccaa2 Deployed Nov 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config tests Related to automated/manual tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants