Skip to content

Orphaned build artifacts and binaries in git (libpreprocess.rlib, test_source, info,) #569

@EffortlessSteven

Description

@EffortlessSteven

Problem

The repository root contains orphaned build artifacts and debug/test files that were committed to git:

File Size Type Git Tracked
libpreprocess.rlib 302 KB Compiled Rust library Yes
info, 0 bytes Debug artifact Yes
test_source 3.9 MB ELF binary (compiled test/fuzz target) Yes
issue_body.txt 724 bytes Conveyor's issue body artifact Yes
integration_outcome_work-e6ade558.json 272 bytes Conveyor integration test output Yes

Why This Matters

  • test_source (3.9 MB ELF binary) is a fuzzing or testing binary that was accidentally committed — it bloats the repo
  • libpreprocess.rlib (302 KB) is a compiled Rust library artifact
  • info, is a zero-byte debug artifact with a trailing comma in its name
  • issue_body.txt and integration_outcome_work-*.json are conveyor/agent operational artifacts
  • All are tracked in git, meaning they bloat the repository history

Note

Issues #507 and #508 previously addressed bool files being orphaned debug artifacts — those were subsequently gitignored but not removed from the repo history. This is the same pattern for different artifact types.

Recommended Fix

  1. Remove from git: git rm --cached libpreprocess.rlib info, test_source issue_body.txt integration_outcome_work-e6ade558.json
  2. Add to .gitignore:
    *.rlib
    info,
    issue_body.txt
    integration_outcome_work-*.json
    
  3. The test_source binary should be removed entirely if it was only used for fuzzing (the fuzz targets should be in fuzz/fuzz_targets/ per the existing gitignore rules)

Metadata

Metadata

Assignees

No one assigned

    Labels

    conveyor/gate-verifiedConveyor gate-verified — managed by hermesconveyor/mode-fullConveyor mode-full — managed by hermes

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions