Skip to content

fix(e2e): admit owned Playwright npm links in Claude observation - #1119

Merged
777genius merged 1 commit into
mainfrom
fix/marketing-claude-owned-npm-links-20261126
Nov 26, 2026
Merged

777genius merged 1 commit into
mainfrom
fix/marketing-claude-owned-npm-links-20261126

Conversation

@777genius

@777genius 777genius commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Why

The genuine Claude Marketing Kit run for #1087 refused the project snapshot before native observation because npm had created three standard Playwright executable links in the owned runtime. See failed job 139958464757.

Changes

  • Admit only the three exact relative bin links from the immutable signed Playwright package, bound to its state record, data-owner receipt and exact package-lock digest.
  • Keep the complete snapshot, including link identity/target and target bytes/identity. Unknown links, escaped targets, unsafe ancestors, hardlinked targets and mutations still refuse qualification.
  • Cover retained Project data together with User data, and exercise the real main orchestration through the existing inert test seam.

Based on c33f89570ef85ebaf4dbab73bde2d5a2ea79baec, preserving the subsequent #1071 changes. Reviewed/uploaded tree: 20195bbb6f8c403b932de640e8c6b660dd289e41. The patch changes four Marketing harness/test files.

Validation

  • Marketing family: 63/63 passed.
  • Marketing orchestration: 172/172 passed.
  • The same positive fixture reproduces the original refusal on unmodified base source and passes with this correction.
  • Adversarial controls include 18 preflight refusal cases and 8 mutation/action-error combinations.
  • Independent scoped review: no high or medium findings; source pins and receipt formulas were checked independently.
  • git diff --check passed.

The genuine local attempt installed the pinned npm package and Claude client, but the npm launcher stopped with EAI_AGAIN github.com while fetching the exact CLI binary. No lifecycle step ran in that attempt. Hosted final-source Marketing/Claude qualification is still pending and will be recorded here; the earlier #1087 results retain their original source identities.

Merge and continuing qualification

Normally squash-merged as a19856c9b3236496427006a7091433d8dbc79a79, with parent c33f89570ef85ebaf4dbab73bde2d5a2ea79baec. The server-side tree 20195bbb6f8c403b932de640e8c6b660dd289e41 equals reviewed head 7490e70a787c0ac9de12c7333f613e00cfbe4fe3. The owner authorized expedited ordinary merge; no protection override was used.

The bounded owned-link correction passed 63 Marketing family tests, 172 orchestration tests and 163 relevant Remaining fixture regressions. Kiro's earlier ARM preflight issue was independently reproduced and already fixed by the accepted base; both current Kiro hosted lanes succeeded.

Genuine follow-up runs moved beyond the original Playwright link rejection and exposed a separate Claude passive-usage residual mismatch, the released Copilot cold-consent diagnostic and Windsurf audit gaps. Those failures remain recorded as failures. Their causal corrections and review were completed in #1125, normally merged as 23545646d558e45cc0642c8eedec098fa74b9854, tree 3454c34f94b593e6d16953e47e645bc13bcefe79. That tree is identical to reviewed final head f36eaa47cd4b61cfe9914e11f7c497236ce71056.

Final-source Ready Marketing, Remaining installation audit and Required are running or queued. #1125 records exact current validation and qualification boundaries; original-source completion is tracked in #1087. No queued job, draft skip or merged state is counted as native qualification.

The pending push Marketing run on 23545646 was cancelled before job creation; its source-equivalent Ready PR run remains queued and is not yet a PASS. This completion work did not cancel or rerun that workflow.

Firebase runtime custody follow-up — 27 November 2026

#1126 was ordinarily squash-merged at 00:12:17 UTC as f60cbdf812b63fa4647728666c547947ec5f1147, preserving the newer accepted main changes. Its head a9e302f959196c672d7e11a57f8315dd91d06fac, PR synthetic merge 77e0529213dc4ded9a1a193b60d10940e1b1ac0d, local reviewed commit d539738e694f98a701204f901229e1866c8c29ea, and actual merge have the identical complete tree 8fa8908214521db665939e5494ddb2a015785a64.

The real pinned Firebase npm preparation exposed a 22,054-entry owned fixture, two legitimate nested npm bin links, and a complete authority frame over 4 MiB. #1126 adds a fixed envelope only for the independently pinned Firebase node_modules subtree, lock-declared nested-link checks, complete bounded streaming digests, and a soft descriptor-limit precondition within the existing host hard limit. Full custody and all ordinary reader bounds remain intact.

On that exact combined tree, 79 Windsurf + 42 shared-retention + 83 Marketing tests passed without skips, including the genuine pinned Claude lifecycle. Independent review completed without blocking findings. The actual Firebase source/receipt/marker preflight matched one capacity prefix and all 23 bin links. The full 22,054-entry reader and native Windsurf positive remain hosted requirements; local hard FD 16,384 was not bypassed.

A separate Windows Authoring failure on #1125's tree is now confirmed: TestInitCollisionCancelAndConcurrent/concurrent-absent reported zero commits where one was required in job 140220504679. It is under diagnosis, not reported as passing. Existing and new automatic checks continue normally. No queued or old-source result is promoted to final E2E proof.

Bind the three immutable Playwright npm bin links to signed source, exact package-lock bytes, and existing state/data-owner receipts. Preserve complete snapshots, ordinary contained targets, and refusal of foreign or changed links.

Reproduce the original native observation refusal with the same fixture, then verify both scopes, retained project data, 18 preflight refusals, and 8 mutation/error controls. Marketing family 63/63 and orchestration 172/172 passed; independent scoped review found no high or medium issues.

The genuine local native attempt stopped at npm bootstrap DNS resolution before lifecycle execution. Hosted final-source Claude qualification remains required.
@coderabbitai

coderabbitai Bot commented Nov 26, 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 14 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 c33f895 and 7490e70.

Files selected for processing: 4

  • scripts/marketing-kit-project-release-e2e.py
  • scripts/marketing_kit_claude_discovery.py
  • scripts/test_live_install_audit_env.py
  • scripts/test_marketing_kit_claude_discovery.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 marked this pull request as ready for review November 26, 2026 16:49
@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.

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.32%. Comparing base (c33f895) to head (7490e70).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1119   +/-   ##
=======================================
  Coverage   64.31%   64.32%           
=======================================
  Files        2341     2341           
  Lines      142555   142555           
=======================================
+ Hits        91689    91697    +8     
+ Misses      37859    37852    -7     
+ Partials    13007    13006    -1     

☔ 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