Skip to content

Dev - #2860

Merged
JamesPasta merged 10 commits into
testfrom
dev
Aug 20, 2026
Merged

Dev#2860
JamesPasta merged 10 commits into
testfrom
dev

Conversation

@JamesPasta

Copy link
Copy Markdown
Collaborator

No description provided.

Velang and others added 9 commits August 19, 2026 08:24
Extends the existing selector-contract scanner with a syntaxKind
classification (css vs xpath) and a new selector-diff-report.mjs that
compares the current tree's selector registry against the committed
baseline on origin/main, flagging any selector that regressed (e.g.
matched -> missing) since the base. For unambiguous matched -> missing
regressions it proposes a fix by locating the removed identifying token
at the baseline and restoring it in the current file; --apply writes
only the unambiguous fixes to disk, never commits or pushes, and never
touches ambiguous cases.

New npm scripts: selectors:report, selectors:diff, selectors:fix,
selectors:apply. Adds a Claude Code skill and README documenting the
whole workflow, and commits cypress/selectors/registry.json as the
tracked baseline these commands compare against.
extractSelectors() and applicationIndex() previously walked the raw
filesystem, which also picked up local untracked scratch files (e.g.
chefs-api-submission-with-attachment.cy.ts and
chefs-api-submission-with-pdf-pptx-attachments.cy.ts, never committed on
any branch). Those leaked into usedBy/applicationMatches in the
committed baseline, making it internally inconsistent for anyone who
doesn't happen to have those same untracked files on disk.

Both scans now list candidate files via `git ls-files` instead of
fs.readdirSync, falling back to the old filesystem walk only if git
itself is unavailable. Regenerated registry.json: 365 -> 360 selectors,
with a few matched -> missing shifts where the only prior evidence was
in an untracked application-source file.
Add Cypress selector contract baseline diff and auto-fix tooling
feature/AB#34135-InsantMessaging-bundling issue
…rovments

AB#34253 Improve Nginx log_format gzip_types security headers
@JamesPasta
JamesPasta merged commit 3583348 into test Aug 20, 2026
12 checks passed
@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1010
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1010
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

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.

2 participants