Repository navigation
Conversation
…-maintenance-ci-20261010 # Conflicts: # tests/process-global/updateMaintenance.test.ts
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
Independent review of |
Preserve failed event finalization across retries and current capture ownership checks. Retain Git unreadable-ref and bounded-heap Evidence coverage, pinned maintenance destinations, and explicit native binding facts.
|
Linux verification update: the six native Qwen/Pi/Hermes/DeepSeek scenarios passed at The remaining shard 1/3 hang reproduced locally in Android snapshot cleanup. A small Node 24.18.0 control confirms a non-auto-closing FileHandle write stream prevents the final |
|
Linux verification at main All six native client scenarios passed on the same frozen source: Qwen 0.25.0, Pi 1.1.0, Hermes normal/sticky, and DeepSeek Harness 0.2.0-rc.2 chat/call. Full 170-tool catalogs, skills, actual MCP calls/Evidence, verified empty process lineages and a run-token scan with no survivors. SDK-advertised regex and real Git/worktree checks also passed. These use loopback model fixtures; no live model-provider or native Windows claim. PR/main CI is still pending. |
|
@greptileai review |
|
* fix(comparison): preserve incomplete function call evidence Keep missing, unknown, partial and unresolved call relationships unknown in function comparisons and reconstruction claims. Aggregate IDA caller and callee coverage without overwriting uncertainty. Validate with 144 focused tests, typecheck/lint, docs checks and test discovery. Real providers were not verified; the full headless IDA session suite requires unavailable Windows native controls. * fix(comparison): recheck historical calls-only changes --------- Co-authored-by: morluto <[email protected]> (cherry picked from commit 688defc)
(cherry picked from commit 8cac51e)
(cherry picked from commit 1335bcd)
* fix: repair the static-check failures on the default branch
The default branch fails its own required `Static checks` job three ways, so
every pull request reports that job as failed regardless of its own change.
- `npm run format:check` reports `src/domain/functionComparison.test.ts` and
`src/ida/IdaOperationRunner.ts`.
- `npm run lint` reports a duplicate `import { join } from "node:path"` in
`tests/boundary/mcp/ghidraInventoryMcp.test.ts` (lines 4 and 17).
- `npm run typecheck` reports `format: "devin"` missing from the client format
union in `src/application/SupportedClients.ts`, and an unchecked index in
`tests/boundary/cli/clientProfileLifecycle.test.ts`, whose pair array is
inferred as `string[][]`.
Apply the pinned formatter, drop the duplicate import, list the `"devin"` format
that its own definition already uses, and mark the pair array `as const`.
Validation: `npm run check:fast` and `npm run format:check` pass.
* fix(setup): keep Devin on the JSON configuration dialect
---------
Co-authored-by: 吴佳浩 <[email protected]>
Co-authored-by: morluto <[email protected]>
(cherry picked from commit df3d96d)
| }); | ||
| await expect( | ||
| access(join(home, ".agents", "skills", PRODUCT_IDENTITY.skillName)), | ||
| access(join(home, ".claude", "skills", PRODUCT_IDENTITY.skillName)), |
There was a problem hiding this comment.
This test sets CLAUDE_CONFIG_DIR to home, so Claude Code uses home/skills, not home/.claude/skills. The new absence check would miss a stray write to the configured destination during a dry run. Derive the checked path from supportedClients(home) or use join(home, "skills", PRODUCT_IDENTITY.skillName).
| access(join(home, ".claude", "skills", PRODUCT_IDENTITY.skillName)), | |
| access(join(home, "skills", PRODUCT_IDENTITY.skillName)), |
Prompt To Fix With AI
This is a comment left during a code review.
Path: tests/process-global/updateMaintenance.test.ts
Line: 361
Comment:
**Wrong skill directory checked**
This test sets `CLAUDE_CONFIG_DIR` to `home`, so Claude Code uses `home/skills`, not `home/.claude/skills`. The new absence check would miss a stray write to the configured destination during a dry run. Derive the checked path from `supportedClients(home)` or use `join(home, "skills", PRODUCT_IDENTITY.skillName)`.
```suggestion
access(join(home, "skills", PRODUCT_IDENTITY.skillName)),
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Preserve Git read failures and maintenance inputs, and repair the shared CI duplication failure reproduced on main
5100a1a1.Git reads validate encodings at the adapter boundary and keep unreadable loose refs unknown instead of falling back to packed refs. The CLI and Evidence boundary checks distinguish malformed oversized JSON from a typed string-assembly resource constraint. Noninteractive maintenance retains the existing owned skill destination and its bytes. Electron computed access preserves an explicit empty requested-members list and dynamic-access facts; a literal
*remains a literal member.The ASAR boundary tests now share eight identical archive setups and nine fully enumerated member selections. All existing cases and assertions remain, including cancellation, identity changes, retained handles after failed cleanup, combined handle/snapshot recovery, and streaming allocation checks. No duplication threshold or excluded-test configuration changes.
Validation on this source combined with frozen main
5100a1a1: fresh six-step runtime/metadata build, 19 ASAR cases before and after the fixture refactor, two actual Git/worktree/read-failure cases, seven Electron cases, and all eight static/documentation/architecture/discovery checks passed. Main alone reproduces thejscpdfailure at 2.52%; the refactor removes 99 duplicated lines and passes at 2.49% with the unchanged 2.5% threshold. Fresh compiled public CLI/pinned-SDK MCP controls for 63-byte computed access and 45-byte literal-member targets verify complete normalized-result and Evidence-ID parity, unchanged JavaScript inputs and subsequent ping.Earlier independent validation remains tied to its recorded revisions: 193 affected tests across 16 files, an 18-byte public Git import, and the bounded-heap JSON readers. The current native-addon controls are static and use an opaque three-byte
.nodefixture; they do not establish native export verification, Electron runtime behavior, or Hopper/Ghidra behavior. Final-source CI is pending. Original source and contributor history are retained.