Skip to content

chore(repo): ignore local act/secret/metrics artifacts (closes #59)#59

Merged
thenarfer merged 3 commits intomainfrom
fix/issue-template-project-schema
Sep 19, 2025
Merged

chore(repo): ignore local act/secret/metrics artifacts (closes #59)#59
thenarfer merged 3 commits intomainfrom
fix/issue-template-project-schema

Conversation

@thenarfer
Copy link
Copy Markdown
Owner

@thenarfer thenarfer commented Sep 18, 2025


name: "Tech Debt / Chore PR"

about: "Refactor, cleanups, dep bumps, infra chores"

chore(gitignore): add local development tooling patterns

Why now

Risk reduction / maintainability / dev-ergonomics.

Scope

Update .gitignore to exclude local development tooling files from git tracking.

Change

  • Added .secrets to ignore sensitive local configuration
  • Added .act-event.json and .act-issue-event.json to ignore GitHub Actions local testing files
  • Added .github/metrics/ directory to ignore local metrics data

Validation

  • No user-visible behavior change
  • User-visible impact: none
  • CI green; tests updated if needed
  • Perf impact considered (none)
  • Security/secrets considered (low - helps prevent accidental commit of secrets)
  • Docs updated if user-visible

Evidence (before/after, logs, links)

N/A - simple gitignore update


See docs/DoR.md & docs/DoD.md.

Closes #59

Summary by CodeRabbit

  • Chores
    • Updated ignore settings to exclude local tooling artifacts from version control, preventing accidental commits and keeping the repository clean.
    • Adjusted ignore file formatting (newline/spacing) for improved readability and section separation.
    • No user-facing changes; application behavior remains unchanged.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Sep 18, 2025

Walkthrough

Added a "Local tooling" block and new ignore patterns to .gitignore; ensured /all_code.txt ends with a newline and inserted a blank line before the new block.

Changes

Cohort / File(s) Summary
Repository config
./.gitignore
Inserted a "Local tooling" section and added ignore patterns: /.secrets, /.secrets/, /.act-*.json, /.actrc, /.act/, and .act-issue-event.json; ensured /all_code.txt has a trailing newline and added a blank line before the new block.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

I hop in softly, nibbling space,
A blank line placed with gentle grace.
Secrets hidden, act files left behind,
Tiny footprints tidy, neat, and kind. 🥕

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title "chore(repo): ignore local act/secret/metrics artifacts (closes #59)" accurately and concisely summarizes the primary change — updating .gitignore to ignore local act, secret, and metrics artifacts — and aligns with the PR objectives and file-level summaries. It is specific, brief, and includes the related issue reference.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/issue-template-project-schema

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

Copy link
Copy Markdown
Owner Author

thenarfer commented Sep 18, 2025

Copy link
Copy Markdown
Owner Author

thenarfer commented Sep 19, 2025

Coderabit.ai is wrong, the changes to .gitignore are meaningful. However adding ".github/metrics/" was a mistake as this will be used as a sub-repo for metrics.

Comment thread .gitignore Outdated
This /metrics/ folder is to be used as a sub-repository for metrics generation, and so it should not be ignored.
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.gitignore (1)

50-53: Tighten patterns for secrets and Act payloads; add common Act artifacts

  • Anchor secrets to repo root and cover both file and dir.
  • Collapse event payload files into a single wildcard.
  • Add .actrc and .act/ which Act often creates locally.
 # Local tooling
-.secrets
-.act-event.json
-.act-issue-event.json
+/.secrets
+/.secrets/
+/.act-*.json
+/.actrc
+/.act/
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0d973ec and 311569c.

📒 Files selected for processing (1)
  • .gitignore (1 hunks)
🔇 Additional comments (2)
.gitignore (2)

48-49: Section separation LGTM

Keeping the local-tooling block distinct from specific-file ignores is clear and readable.


50-53: Resolved — .github/metrics/ is not ignored
Searched all .gitignore files, .git/info/exclude (absent), and global excludes (none set); no matches for "metrics" found.

Comment thread .gitignore Outdated
Tighten patterns for secrets and Act payloads; add common Act artifacts

    - Anchor secrets to repo root and cover both file and dir.
    - Collapse event payload files into a single wildcard.
    - Add .actrc and .act/ which Act often creates locally.
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
.gitignore (1)

50-56: Deduplicate patterns and fix anchoring inconsistency.

  • Line 56 duplicates Line 53’s glob and is unanchored; remove it.
  • Lines 51–52 duplicate each other unless you also intend to ignore a file named ".secrets". Prefer one.

Apply:

 # Local tooling
-/.secrets
-/.secrets/
+/.secrets/
 /.act-*.json
 /.actrc
 /.act/
-.act-issue-event.json

If you do want to ignore both a file and a directory named ".secrets", keep both current entries intentionally and drop only the last line.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 311569c and 980fd7f.

📒 Files selected for processing (1)
  • .gitignore (1 hunks)
🔇 Additional comments (2)
.gitignore (2)

48-49: LGTM on anchoring /all_code.txt to repo root.
Root-anchored ignore is appropriate and the section separation is clean.


50-56: Confirm removal of .github/metrics ignore.
PR text mentions adding ".github/metrics/"; author comment says that was a mistake because it will be a sub-repo. It’s not present now—please confirm no ignore remains for that path in other templates or global gitignore.

@thenarfer thenarfer changed the title chore(repo): ignore local act/secret/metrics artifacts chore(repo): ignore local act/secret/metrics artifacts (Closes #59) Sep 19, 2025
@thenarfer thenarfer changed the title chore(repo): ignore local act/secret/metrics artifacts (Closes #59) chore(repo): ignore local act/secret/metrics artifacts (closes #59) Sep 19, 2025
Copy link
Copy Markdown
Owner Author

thenarfer commented Sep 19, 2025

Merge activity

  • Sep 19, 8:50 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 19, 8:51 AM UTC: @thenarfer merged this pull request with Graphite.

@thenarfer thenarfer merged commit c22c8b1 into main Sep 19, 2025
18 of 20 checks passed
@thenarfer thenarfer deleted the fix/issue-template-project-schema branch September 19, 2025 08:51
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