Skip to content

fix(nikcli): solve Windows-specific ESM require, JSON schema, log cleanup, and Git ceiling test failures - #71

Merged
nikomatt69 merged 1 commit into
nikomatt69:live-mainfrom
SandroHub013:live-main
May 23, 2026
Merged

fix(nikcli): solve Windows-specific ESM require, JSON schema, log cleanup, and Git ceiling test failures#71
nikomatt69 merged 1 commit into
nikomatt69:live-mainfrom
SandroHub013:live-main

Conversation

@SandroHub013

Copy link
Copy Markdown
Collaborator

This PR resolves several critical Windows-specific bugs that block successful testing and execution: 1. ESM Require Resolution: Added createRequire to packages/nikcli/src/file/watcher.ts. 2. JSON Schema undefined handling: Stripped undefined keys in returned session objects. 3. Environment isolation: Reset process.env in test/preload.ts. 4. Directory cleanup safety: Handled ENOENT during background log sweeps in src/util/log.ts. 5. Git traversal boundary: Set GIT_CEILING_DIRECTORIES = os.tmpdir() to prevent search from hitting user's home folder.

@github-actions

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@nikomatt69
nikomatt69 merged commit 69bc866 into nikomatt69:live-main May 23, 2026
3 of 5 checks passed
@nikomatt69

Copy link
Copy Markdown
Owner

⚠️ CI Validation Failed

@nikomatt69 — validation failed on this commit.

Detail Value
Failed step Unknown step
Autofix status ⏭️ Autofix skipped
Run View full logs

Failure Summary

(no summary available)

Please inspect the full Actions logs for complete output. Do not share this comment publicly — it may contain redacted paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants