Skip to content

test(cim): repair session reuse regression test - #45

Open
dutch2005 wants to merge 2 commits into
masterfrom
fix/15-cimsession-reuse-test
Open

dutch2005 wants to merge 2 commits into
masterfrom
fix/15-cimsession-reuse-test

Conversation

@dutch2005

Copy link
Copy Markdown
Owner

Summary

  • Replace the invalid empty CimSession constructor in the reuse regression test with a real local session.
  • Assert that supplying -ReuseSession never creates another session, and dispose the test session.
  • Document the existing shared CIM session helper.

The helper and all current callers are already on master; this PR makes their reuse acceptance test executable.

Fixes #15

Verification

  • Get-LocalOrRemoteCimSession.Tests.ps1: 3 passed, 0 failed.
  • PSScriptAnalyzer on the changed test file: 0 Error/Warning findings.
  • Full repository CI has pre-existing lint and test failures also present for PR fix(helpdesk): repair and modularize handler registration #44; exact-head hosted checks are pending.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown

ECC Tools / Security Evidence

Commit: 176773317b9901f16c0dde83b789a22701757ce8

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 2 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown

ECC Tools / PR Risk Taxonomy

Commit: 176773317b9901f16c0dde83b789a22701757ce8

PR taxonomy clear (success)

Scanned 2 changed file(s). No taxonomy bucket signals were detected.

Scanned 2 changed file(s).

No PR taxonomy bucket signals were detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown

ECC Tools / Reference Set Readiness

Commit: 176773317b9901f16c0dde83b789a22701757ce8

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 2 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Sep 23, 2026

Copy link
Copy Markdown

ECC Tools / Hosted Promotion Readiness

Commit: 176773317b9901f16c0dde83b789a22701757ce8

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 2 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@dutch2005 dutch2005 added the refactor Code restructuring without behavior change label Sep 23, 2026
@dutch2005 dutch2005 self-assigned this Sep 23, 2026
@kilo-code-bot

kilo-code-bot Bot commented Sep 23, 2026

Copy link
Copy Markdown

Code Review Summary

The review did not run because the selected model is no longer available.

Choose another model in Kilo Code review settings: https://app.kilo.ai/code-reviews

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

Labels

refactor Code restructuring without behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: extract CimSession lifecycle helper (STRUCT-3)

1 participant