Skip to content

fix(tests): restore missing e2e fixtures, re-add bun test to CI - #3

Open
catesandrew wants to merge 3 commits into
mainfrom
agent-ops-39s-fix-e2e-fixtures
Open

catesandrew wants to merge 3 commits into
mainfrom
agent-ops-39s-fix-e2e-fixtures

Conversation

@catesandrew

Copy link
Copy Markdown
Collaborator

Summary

  • 8 pre-existing e2e-smoke test failures traced to two committed test fixtures (examples/mixed.log, examples/mixed-2.log) with no git history at all -- silently excluded from every commit by a contributor's global *.log gitignore rule, with no git status signal they were ever missing.
  • Recreates both fixtures with content satisfying every numeric assertion across all 8 failing tests, derived directly from the CLI's actual parseLine/filter/query/summary logic.
  • Adds an explicit !examples/*.log repo-level gitignore exception so this can't silently recur for any contributor.
  • Re-adds bun test to CI (previously typecheck-only).

Test plan

  • bun test -- 93/93 pass, 0 fail
  • bun run typecheck -- clean
  • Confirmed root cause empirically: removing the fixtures reproduces exactly the original 8 failures, restoring fixes them
  • Confirmed the gitignore fix is effective (git check-ignore -v shows the negation winning; git status now tracks the fixtures)

Part of agent-ops' epic-39s (CI/Pipeline Reliability Hardening) -- this repo is the pilot for agent-ops' dispatch pipeline, whose auto-merge gate depends on this repo's own CI actually being green.

🤖 Generated with Claude Code

catesandrew and others added 3 commits September 7, 2026 10:15
8 pre-existing e2e-smoke test failures traced to two committed test
fixtures (examples/mixed.log, examples/mixed-2.log) that had no git
history at all -- silently excluded from every commit by a contributor's
global gitignore *.log rule, with no git-status signal that they were
ever missing.

Recreates both fixtures with content satisfying every numeric assertion
across all 8 failing tests (entry counts, json/text splits, filter+query
match counts against the CLI's actual parseLine/filter/query logic).
Adds an explicit `!examples/*.log` repo-level gitignore exception so this
can't silently recur for any contributor. Re-adds `bun test` to CI
(previously typecheck-only, per this repo's own dated comment explaining
the omission).

93/93 tests pass, typecheck clean.

Part of agent-ops' epic-39s (CI/Pipeline Reliability Hardening) --
log-cli is the pilot repo for agent-ops' dispatch pipeline, whose
auto-merge gate depends on this repo's own CI actually being green.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a Topics line summarizing deployment target, stack, and shared
suite membership, generated from a fleet-wide scan.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

1 participant