Skip to content

chore: purge committed test and log artifacts - #6448

Merged
daggerstuff merged 4 commits into
stagingfrom
cursor/purge-artifacts-5010
Nov 1, 2026
Merged

daggerstuff merged 4 commits into
stagingfrom
cursor/purge-artifacts-5010

Conversation

@daggerstuff

@daggerstuff daggerstuff commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Subtraction-only cleanup: remove committed generated artifacts and extend .gitignore. No application code or behavior changes.

Deleted paths (reference checks)

Path Reference check
tests/test-results/ (e2e-report + e2e-results.json) Playwright writes here via tests/e2e-config.ts; not read by CI (.github has no refs). Root /test-results/ was already ignored; this nested copy was not.
tests/security/security-reports/* (8 files, 2025-03 scans) Scanners write fresh output to repo-root security-reports/ (already gitignored). Committed copies under tests/security/ are stale; no CI/test imports of these filenames.
tests/temp/test-dashboard-fix.js No matches in CI, package.json scripts, or imports (rg test-dashboard-fix).
tests/unit/ai/test_preprocessing_pipeline.py.bak Backup only; live test is test_preprocessing_pipeline.py.
scripts/training/training.log.old, training.log.v2 No repo references (rg training.log).
apps/web/src/components/analytics/TableWidget.tsx.bak Backup; active widget is TableWidget.tsx.
apps/web/src/components/ai/SyntheticTherapyDemo.tsx.disabled Page imports SyntheticTherapyDemo.tsx, not .disabled.
apps/web/src/hooks/__tests__/fix-example.txt No references (rg fix-example.txt).
coverage-audit-report.md (repo root) Unreferenced; CI uses scripts/ci/coverage-audit-report.json from coverage-audit.ts, not this markdown.
.github/mcp-config.json Empty {}; no references (rg mcp-config).

Skipped (not in audit list)

  • apps/web/src/lib/ai/**/requirements.txt.bak — still tracked; *.bak already in .gitignore but pre-existing tracked backups left for a separate cleanup.
  • apps/web/public/test-results/** — large committed Playwright error contexts; out of scope for this PR.

.gitignore

Added: tests/test-results/, tests/security/security-reports/, *.log.old, *.log.v2. (*.bak was already present.)

Verification

  • pnpm lint — pass (Node 24.20.0)
  • pnpm test:unit — same result as staging baseline (2 pre-existing failing files / 1 failing test: graphql-yoga import + month-boundary assertion); unaffected by this diff.

Net: 20 files changed, 27,319 lines removed, 4 lines added (.gitignore).

Open in Web Open in Cursor 

Summary by Sourcery

Purge unneeded generated and temporary artifacts from the repository and prevent them from being reintroduced.

Enhancements:

  • Remove committed generated test results, security reports, logs, backups, disabled files, and other unused artifacts.

Chores:

  • Extend .gitignore to prevent regenerated test results, security reports, and versioned legacy logs from being committed.

Remove generated Playwright reports, security scan outputs, training log
backups, editor backups, and other unreferenced junk. Extend .gitignore so
these paths are not recommitted.
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pixelated Ready Ready Preview Nov 1, 2026 11:05pm UTC

Request Review

@sourcery-ai

sourcery-ai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

This subtraction-only cleanup removes 20 unreferenced generated or stale artifacts and adds targeted .gitignore rules for nested Playwright/security outputs and legacy log variants; it does not alter application behavior. Reviewers should verify the deleted paths are not required inputs and that the ignore patterns match only generated artifacts, while noting lint passed and unit-test results remain at the staging baseline.

File-Level Changes

Change Details Files
Remove committed generated, stale, backup, and disabled artifacts that are not consumed by application code or CI.
  • Delete Playwright test results and stale security scan outputs.
  • Delete temporary scripts, log backups, source backups, disabled source, and an unused report/config file.
.github/mcp-config.json
apps/web/src/components/ai/SyntheticTherapyDemo.tsx.disabled
apps/web/src/components/analytics/TableWidget.tsx.bak
apps/web/src/hooks/__tests__/fix-example.txt
coverage-audit-report.md
scripts/training/training.log.old
scripts/training/training.log.v2
tests/security/security-reports/ai-auth-bypass-2025-03-17.json
tests/security/security-reports/ai-auth-bypass-2025-03-18.json
tests/security/security-reports/ai-endpoint-scan-2025-03-17.json
tests/security/security-reports/ai-endpoint-scan-2025-03-18.json
tests/security/security-reports/ai-security-report-2025-03-17.html
tests/security/security-reports/ai-security-report-2025-03-18.html
tests/security/security-reports/ai-web-vulnerability-scan-2025-03-17.json
tests/security/security-reports/ai-web-vulnerability-scan-2025-03-18.json
tests/temp/test-dashboard-fix.js
tests/test-results/e2e-report/index.html
tests/test-results/e2e-results.json
tests/unit/ai/test_preprocessing_pipeline.py.bak
Prevent recurrence of selected generated test and log artifacts through ignore rules.
  • Ignore nested Playwright results and security report directories.
  • Ignore versioned legacy log filenames while retaining the existing backup-file rule.
.gitignore

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 31, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@github-actions

Copy link
Copy Markdown

px Advisor Review

Risk: unknown

No summary available

No findings.

@github-actions

Copy link
Copy Markdown

Lighthouse CI Results

Routes audited: /, /dashboard?perf=1, /training-session

Thresholds: Performance ≥90 | Accessibility ≥90 | Best Practices ≥85

Reports

  • lhr-1793434079614
  • lhr-1793434091549
  • lhr-1793434102877
  • lhr-1793434113685
  • lhr-1793434124440
  • lhr-1793434135260
  • lhr-1793434146028
  • lhr-1793434156780
  • lhr-1793434167457

Reports are also available as workflow artifacts

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sourcery assessment

Approved.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

px Advisor Review

Risk: unknown

No summary available

No findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Lighthouse CI Results

Routes audited: /, /dashboard?perf=1, /training-session

Thresholds: Performance ≥90 | Accessibility ≥90 | Best Practices ≥85

Reports

  • lhr-1793573201895
  • lhr-1793573214774
  • lhr-1793573226985
  • lhr-1793573238554
  • lhr-1793573250008
  • lhr-1793573261430
  • lhr-1793573272934
  • lhr-1793573284444
  • lhr-1793573295871

Reports are also available as workflow artifacts

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

px Advisor Review

Risk: unknown

No summary available

No findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Lighthouse CI Results

Routes audited: /, /dashboard?perf=1, /training-session

Thresholds: Performance ≥90 | Accessibility ≥90 | Best Practices ≥85

Reports

  • lhr-1793573701674
  • lhr-1793573714364
  • lhr-1793573726555
  • lhr-1793573737924
  • lhr-1793573749234
  • lhr-1793573760506
  • lhr-1793573771802
  • lhr-1793573783105
  • lhr-1793573794404

Reports are also available as workflow artifacts

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

px Advisor Review

Risk: unknown

No summary available

No findings.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Lighthouse CI Results

Routes audited: /, /dashboard?perf=1, /training-session

Thresholds: Performance ≥90 | Accessibility ≥90 | Best Practices ≥85

Reports

  • lhr-1793574691888
  • lhr-1793574703583
  • lhr-1793574714923
  • lhr-1793574725708
  • lhr-1793574736426
  • lhr-1793574747106
  • lhr-1793574757982
  • lhr-1793574768690
  • lhr-1793574779358

Reports are also available as workflow artifacts

@daggerstuff
daggerstuff merged commit a545fdb into staging Nov 1, 2026
36 of 41 checks passed
@daggerstuff
daggerstuff deleted the cursor/purge-artifacts-5010 branch November 1, 2026 23:24
@linear-code

linear-code Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

PIX-4823

This branch was successfully deployed

1 active deployment
Preview — c28b3fa8 Deployed Nov 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants