Skip to content

test(e2e): canonicalize the local Skill source fixture - #1143

Merged
777genius merged 1 commit into
mainfrom
fix/e2e-macos-local-skill-fixture-20261128
Nov 28, 2026
Merged

777genius merged 1 commit into
mainfrom
fix/e2e-macos-local-skill-fixture-20261128

Conversation

@777genius

@777genius 777genius commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Why

The completed macOS Terminal job on #1141 fails four local-Skill test scenarios before publication. Their shared localSkillJourney fixture supplies the macOS t.TempDir() alias under /var/folders, while the collection scanner added by #1135 requires directory ancestors without symlinks.

The adjacent collection fixture already resolves its temporary parent, and its three positive scenarios pass in the same failed job. The production refusal is intentional: callers must supply the resolved path.

Change

Resolve the fixture-owned temporary parent with filepath.EvalSymlinks, fail the test on resolution error, then append the existing review directory.

Only localSkillJourney changes. All fixture bytes, saved-journey setup, assertions and negative root/resource/document-link cases remain byte-identical. The production scanner, lifecycle implementation and test selection are unchanged.

Validation

  • The frozen one-file delta passed independent source review against the actual failure log and the passing adjacent fixture.
  • gofmt -d produces no diff and git diff --check passes.
  • Exact reconstruction confirms the entire rest of the file is byte-identical. Published tree: 997ce1506bf8e1c634be1ffa2763c90dd478b3f7.
  • No local compiled/runtime test, native client or product build is claimed. Corrected-source macOS validation and ordinary CI remain pending; the old failed run remains failed.

Tracks #1087 and #1141. This is a test fixture correction for the integrated #1135 scanner, separate from the Claude/Copilot diagnostic follow-up.

E2E follow-up status — 2026-11-28 04:51 UTC

  • Merged correction: #1144, head ef1bab9d8f612516564168b99e989d73f9f4d016, ordinary squash a927a6030be2a775e2541aa14e849ce8e7b945bb, tree 1829f58abb850416f46571176f39fade5b83e172. The one-test change accepts the three exact representations of the same rejected symlink. Independent source review is clear; local execution was unavailable, and normal CI execution is pending.
  • Actual preflight failure: PR1141 Claude job selected 377 tests: 376 passed and one Copilot diagnostic assertion failed. The genuine Claude unit passed twice; the Marketing lifecycle did not begin. PR1144 fixes that test expectation without changing production admission or refusal behavior.
  • Earlier native result remains distinct: PR1140 Claude job passed all 16 lifecycle stages, including the finite backup-custody fix, with published CLI 0.1.116 and genuine Claude 2.1.263. Its exported scope does not claim complete physical removal or global writer closure.
  • Follow-up verification: the genuine Marketing Copilot cold-Project failure awaits the instrumented native result. The corrected PR1143 macOS Terminal job passed, including all four previously failing local-Skill tests and both repeat subcases. Its own log also confirms 29 resilience cases, 48 PTY cases, six renderer fault cases and three inherited npm routes. Eight Go and ten Python skips remain explicit. PR1143 full Required CI also passed; PR1144/main checks still await normal execution.
  • Completed evidence: PR1141 and main 21b5ea7 full Required lanes passed: 176 unique Go packages, 1,231 Node passes with six explicit skips, and 133 conformance passes. The original full live matrix has 14 of 18 cells qualified; the remaining-target matrix has all nine cells qualified within their individual native, prepared, and refusal limits. Four full live cells remain pending: Qoder Plugin/Skill and Pi Plugin/Skill. Kimi Skill passed all 30 Project delivery/public Ready/pinned-byte/repeat/removal cases; this does not claim independent per-case native inventories, MCP, model use or authentication.

Queued, running, cancelled, skipped, metadata-only and prepared observations are not promoted to native passes. No CI reruns, dispatches, cancellations, runner changes or release publication were used.

@strix-security

Copy link
Copy Markdown

Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here.

So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.44%. Comparing base (21b5ea7) to head (14f96f3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1143   +/-   ##
=======================================
  Coverage   64.43%   64.44%           
=======================================
  Files        2356     2356           
  Lines      143429   143429           
=======================================
+ Hits        92418    92426    +8     
+ Misses      37915    37905   -10     
- Partials    13096    13098    +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant