Skip to content

[GrantFox Bot] Contract test_snapshots/ is .gitignore'd but still tracked, churning huge diffs on every contract PR (#234) - #284

Closed
ZacLou wants to merge 1 commit into
LynxXProtocol:mainfrom
ZacLou:grantfox-bot/chore-issue-234-20260909-165155
Closed

ZacLou wants to merge 1 commit into
LynxXProtocol:mainfrom
ZacLou:grantfox-bot/chore-issue-234-20260909-165155

Conversation

@ZacLou

@ZacLou ZacLou commented Sep 9, 2026 •

Copy link
Copy Markdown

Closes #234

此 PR 由 GrantFox Task Executor 自动生成。

原始 issue: #234

说明:

Summary

.gitignore (line 36) lists test_snapshots/, but 127 JSON files under contracts/*/test_snapshots/** are tracked in git and have been touched across 36 commits. Git doesn't retroactively untrack files that were already committed before a matching ignore rule was added, so these files are simultaneously "meant to be ignored" and "actively kept in sync on every commit."

Each file is a regenerated-on-every-test-run auth-call-tree / budget snapshot (test_snapshots/test_upgrade/test_init_upgrade_admin_fails_before_initialize.1.json etc.), and a single one- or two-line functional change to a contract routinely produces 100+ line diffs across dozens of these files in the same PR, since ledger sequence numbers, event ordering, and cost accounting shift with almost any change.

Why this matters

This has been directly observed slowing down review this cycle: every contract-touching PR fixed in this session (#228, #219, #165's contract pieces, #187, #215) carried large `tes


Auto-generated by GrantFox Task Executor

…cked, churning huge diffs on every contract PR (LynxXProtocol#234)

Auto-generated by GrantFox Task Executor
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ae916a1f-999b-4d50-bbb9-84a3b43deddb


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@amankoli09

Copy link
Copy Markdown
Contributor

Closed: issue #234 is already resolved and test_snapshots/ are untracked on main.

@amankoli09 amankoli09 closed this Oct 20, 2026
amankoli09 added a commit that referenced this pull request Oct 20, 2026
…mat repo

- Purge committed 87MB binaries (stellar, stellar-cli-*.tar.gz) and debug JSONs
- Relocate STAKING_IMPLEMENTATION_REPORT.md to docs/ and create_issues.sh to scripts/tools/
- Remove tracked build artifacts (dist-crypto-test, test-results/.last-run.json)
- Populate standard .editorconfig and Contributor Covenant CODE_OF_CONDUCT.md
- Add safety checks in backend/tests/setup.ts & attestor.test.ts for offline Docker runtimes
- Close completed issue #234 and duplicate PRs #284 & #282
- Format workspace with Prettier (0 lint/format/id errors, all test suites pass)
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.

Contract test_snapshots/ is .gitignore'd but still tracked, churning huge diffs on every contract PR

2 participants