Skip to content

Add Macroscope ignore file - #1054

Merged
zetter-rpf merged 1 commit into
mainfrom
adrian/macroscope-ignore-file-3338a8
Oct 12, 2026
Merged

zetter-rpf merged 1 commit into
mainfrom
adrian/macroscope-ignore-file-3338a8

Conversation

@adrian-rpf

@adrian-rpf adrian-rpf commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Caution

100% vibed but reviewed by Adrian by hand with his eyes.

What's changed?

  • Adds .macroscope/ignore.md. A custom file replaces Macroscope's default ignore patterns, so this keeps only the defaults that match files this repo tracks.
  • Sets ignoreTests: false so specs are reviewed. The default **/test_*.rb test pattern also matched app/controllers/test_utilities_controller.rb, which is production code, so the defaults were skipping it.
  • Kept from the defaults: **/vendor/**, **/*.lock (Gemfile.lock), **/*.csv (lesson datasets, import templates, fixtures), **/*.svg (2 files).
  • Added two patterns:
    • **/*.enc for config/credentials.yml.enc, which is encrypted.
    • **/github_graphql_schema.json for the 4.7 MB introspection dump written by rails graphql:dump_github_schema.
  • Dropped the binary patterns (images, media, .xlsx, .ico) because Macroscope always excludes binary files. Dropped .bundle because it's in .gitignore. Dropped every other default because it matches no tracked file.
  • Still reviewed on purpose: db/schema.rb and db/schema.graphql (generated, but they show schema changes) and lib/tasks/project_components/** (seed lesson content).

Steps to perform after deploying to production

None.

🤖 Generated with Claude Code

Replace Macroscope's default ignore list with the patterns that match
files this repo tracks, and opt tests into review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cla-bot cla-bot Bot added the cla-signed label Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Test coverage

93.86% line coverage reported by SimpleCov.
Run: https://github.com/RaspberryPiFoundation/editor-api/actions/runs/37959658679

@raspberrypiherokubot
raspberrypiherokubot temporarily deployed to editor-api-p-adrian-mac-solkpc October 9, 2026 16:35 Inactive
@zetter-rpf
zetter-rpf merged commit 3aa7558 into main Oct 12, 2026
9 checks passed
@zetter-rpf
zetter-rpf deleted the adrian/macroscope-ignore-file-3338a8 branch October 12, 2026 07:26

This branch was previously deployed

1 inactive deployment
editor-api-p-adrian-mac-solkpc — b3e637a6 Deployed Oct 9, 2026 by raspberrypiherokubot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants