Skip to content

chore(paycraft): untrack auto-generated deploy artifacts + build cache - #113

Merged
therajanmaurya merged 1 commit into
developmentfrom
chore/gitignore-deploy-artifacts
Jul 3, 2026
Merged

chore(paycraft): untrack auto-generated deploy artifacts + build cache#113
therajanmaurya merged 1 commit into
developmentfrom
chore/gitignore-deploy-artifacts

Conversation

@therajanmaurya

@therajanmaurya therajanmaurya commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

tsconfig.tsbuildinfo, infra/deploy/.state/* (phase markers + last-promoted-sha), and infra/deploy/.deploy-ledger.jsonl are machine-local, auto-regenerated files that were committed before their .gitignore patterns existed. This git rm --cachedes them (kept on disk) and adds .deploy-ledger.jsonl to infra/deploy/.gitignore, stopping per-machine churn on every deploy/typecheck.

No source-code change. Files verified still present on disk + now git check-ignored.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Cleaned up deployment state files and removed old recorded deployment entries.
    • Updated ignore rules so machine-local deployment ledger data stays out of version control.

tsconfig.tsbuildinfo (TS build cache), infra/deploy/.state/* (deploy phase
markers + last-promoted-sha), and infra/deploy/.deploy-ledger.jsonl are all
machine-local, auto-regenerated files that were committed before their
.gitignore patterns existed. git rm --cached untracks them (kept on disk);
adds .deploy-ledger.jsonl to infra/deploy/.gitignore. Stops per-machine churn.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@therajanmaurya
therajanmaurya merged commit 7442ff1 into development Jul 3, 2026
1 of 3 checks passed
@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pay-craft Building Building Preview, Comment Jul 3, 2026 12:38pm

@therajanmaurya
therajanmaurya deleted the chore/gitignore-deploy-artifacts branch July 3, 2026 12:38
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 46eea1b8-d04f-4813-8167-3914c7b4f86b

📥 Commits

Reviewing files that changed from the base of the PR and between 03ffaff and 3a6b547.

📒 Files selected for processing (9)
  • dashboard/tsconfig.tsbuildinfo
  • infra/deploy/.deploy-ledger.jsonl
  • infra/deploy/.gitignore
  • infra/deploy/.state/last-promoted-sha
  • infra/deploy/.state/phase-1.done
  • infra/deploy/.state/phase-2.done
  • infra/deploy/.state/phase-3.5.done
  • infra/deploy/.state/phase-3.done
  • infra/deploy/.state/phase-4.done

📝 Walkthrough

Walkthrough

This PR removes deployment ledger entries and deployment phase state marker files from the infra/deploy directory, and adds a .gitignore rule to exclude the machine-local deploy ledger file from version control going forward.

Changes

Deploy artifact cleanup

Layer / File(s) Summary
Ignore local deploy ledger
infra/deploy/.gitignore
Adds an ignore rule and comment for .deploy-ledger.jsonl to prevent the machine-local ledger from being committed.
Remove ledger and phase state files
infra/deploy/.deploy-ledger.jsonl, infra/deploy/.state/last-promoted-sha, infra/deploy/.state/phase-1.done, infra/deploy/.state/phase-2.done, infra/deploy/.state/phase-3.done, infra/deploy/.state/phase-3.5.done, infra/deploy/.state/phase-4.done
Clears all recorded deployment ledger entries and removes phase completion marker files and the last-promoted SHA state file.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested labels

chore, infra

Suggested reviewers

None identified

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/gitignore-deploy-artifacts

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.

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.

2 participants