chore: remove committed binaries and scratch dirs; tighten .gitignore #1

Merged
nsatoshi merged 1 commits from devin/1776538258-chore-gitignore-and-artifacts into master 2026-04-18 19:34:58 +00:00
Owner

Summary

First PR in the 11-PR sequence to finish the explorer (see explorer-monorepo-completion-prompt.md). This one is pure repo hygiene — no behaviour change.

Changes

  • Remove three committed Go binaries (~54 MB total):
    • backend/bin/api-server
    • backend/cmd (a binary despite the path looking like a directory)
    • backend/api/rest/cmd/api-server
  • Remove scratch / build output directories that were committed:
    • out/ (Foundry build artifacts)
    • cache/ (Solidity cache)
    • test-results/ (Playwright)
  • Extend .gitignore so these paths — plus playwright-report/, .playwright/, and coverage/ — don't creep back in.

Why

Committed binaries bloat the repo, make diffs noisy, and hide what a build actually produces. Scratch dirs leak between contributors' machines and desync with the compiler/tooling versions they were produced on. Both classes belong in .gitignore and should be regenerated per build.

Verification

  • git diff --stat shows only .gitignore content + three Bin deletions + four small JSON deletions.
  • No Go source, config, or migration files changed. CI should behave identically (the build still compiles from backend/api/rest/cmd/main.go and backend/indexer/main.go).

Completion criterion advanced

1. Clean repo hygiene — "No binaries, build artifacts, or scratch dirs committed. .gitignore covers …"

Still outstanding in later PRs: secret purge from history, doc consolidation, .gitmodules decision.

## Summary First PR in the 11-PR sequence to finish the explorer (see `explorer-monorepo-completion-prompt.md`). This one is pure repo hygiene — no behaviour change. ## Changes - Remove three committed Go binaries (~54 MB total): - `backend/bin/api-server` - `backend/cmd` (a binary despite the path looking like a directory) - `backend/api/rest/cmd/api-server` - Remove scratch / build output directories that were committed: - `out/` (Foundry build artifacts) - `cache/` (Solidity cache) - `test-results/` (Playwright) - Extend `.gitignore` so these paths — plus `playwright-report/`, `.playwright/`, and `coverage/` — don't creep back in. ## Why Committed binaries bloat the repo, make diffs noisy, and hide what a build actually produces. Scratch dirs leak between contributors' machines and desync with the compiler/tooling versions they were produced on. Both classes belong in `.gitignore` and should be regenerated per build. ## Verification - `git diff --stat` shows only `.gitignore` content + three `Bin` deletions + four small JSON deletions. - No Go source, config, or migration files changed. CI should behave identically (the build still compiles from `backend/api/rest/cmd/main.go` and `backend/indexer/main.go`). ## Completion criterion advanced > **1. Clean repo hygiene** — "No binaries, build artifacts, or scratch dirs committed. `.gitignore` covers …" Still outstanding in later PRs: secret purge from history, doc consolidation, `.gitmodules` decision.
nsatoshi added 1 commit 2026-04-18 18:52:06 +00:00
- Remove committed Go binaries:
    backend/bin/api-server (~18 MB)
    backend/cmd (~18 MB)
    backend/api/rest/cmd/api-server (~18 MB)
- Remove scratch / build output dirs from the repo:
    out/, cache/, test-results/
- Extend .gitignore to cover these paths plus playwright-report/
  and coverage/ so they don't drift back in.

Total artifact weight removed: ~54 MB of binaries + small scratch files.
nsatoshi merged commit e0311259ca into master 2026-04-18 19:34:58 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: d-bis/explorer-monorepo#1