Skip to content

test(e2e): accept all captured symlink diagnostic forms - #1144

Merged
777genius merged 1 commit into
mainfrom
fix/e2e-copilot-snapshot-order-20261128
Nov 28, 2026
Merged

777genius merged 1 commit into
mainfrom
fix/e2e-copilot-snapshot-order-20261128

Conversation

@777genius

@777genius 777genius commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Why

The Marketing E2E run for PR #1141 stopped in the Copilot preflight test before the Claude lifecycle began. The test rejected the legitimate legacy snapshot representation ("file", "string", "symlink") of its own unsafe symlink.

The guard visits an unordered union of snapshot keys. The shared snapshot records that same leaf as a metadata tuple, a legacy "symlink" value, and a link-target string. Any of those three entries can be the first refusal.

Change

Accept the three exact diagnostic triples generated by this fixture. Preserve the existing failing-leaf singleton, changed/omitted counts, private-path and target checks, message bound, and unchanged-filesystem assertion. This changes one test assertion; production admission, refusal behavior, and snapshot diagnostics are unchanged.

Verification

  • Pinned source review covers native_file_digest, scoped_snapshot, and check_copilot_cold_project_unchanged.
  • The frozen commit differs from 581188c622709b380e3fc808d0b6988e00c6e533 in one file: three added lines and one removed line. Reversing the hunk restores the complete original file exactly.
  • Local execution is unavailable in this session, so the proposed seeded controls and 17-test rerun have not been executed. Normal source-triggered CI will provide execution evidence; queued or running jobs are not reported as passes.
  • The real Marketing Copilot cold-Project failure remains a separate investigation awaiting the instrumented native result.

Follow-up to #1087 and #1141. The same assertion also appears in open enterprise PR #1130; this focused fix is based on current main and does not modify that PR.

E2E follow-up status — 2026-11-28 05:17 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. The current merged source has now passed its hermetic staged-package check: one outer test passed, zero skipped, using Node 22.21.1 and npm 10.9.4. This is package evidence; the current full Required lane and Marketing Claude/Copilot results remain 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; The remaining 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

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 581188c and ef1bab9.

Files selected for processing: 1

  • scripts/test_marketing_kit_copilot_refusal.py
  • 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

@777genius
777genius merged commit a927a60 into main Nov 28, 2026
26 of 28 checks passed
@777genius
777genius deleted the fix/e2e-copilot-snapshot-order-20261128 branch November 28, 2026 04:38
777genius added a commit that referenced this pull request Nov 28, 2026
… tree

Resolve the equivalent allowed-tuple ordering conflict from #1144 by retaining the already-tested assertion. All file bytes remain exactly tree f378f6b; no production, workflow, pin, assertion membership or acceptance change.
@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.43%. Comparing base (581188c) to head (ef1bab9).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1144   +/-   ##
=======================================
  Coverage   64.43%   64.43%           
=======================================
  Files        2356     2356           
  Lines      143429   143429           
=======================================
+ Hits        92419    92425    +6     
+ Misses      37912    37908    -4     
+ Partials    13098    13096    -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