Skip to content

docs(scripts): describe the recount connection string by role - #212

Merged
robrigo merged 1 commit into
mainfrom
docs/generic-recount-connection-string
Sep 10, 2026
Merged

docs(scripts): describe the recount connection string by role#212
robrigo merged 1 commit into
mainfrom
docs/generic-recount-connection-string

Conversation

@robrigo

@robrigo robrigo commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The DATABASE_URL comment in src/scripts/recount-asset-counts.ts named one deployment's database by name. This repository is public, so that is internal infrastructure detail sitting in it for no reader's benefit: the script recounts whatever DATABASE_URL points at, and CONTRACT already carries the only value that has to match the data.

Comment only. No behaviour changes and no other occurrence of the name exists under src/ or definitions/.

Found while reviewing #203, which does not touch this file.

The comment named one deployment's database. This repository is public,
so an internal database name in it is infrastructure detail with no
reader who benefits: the script takes whatever DATABASE_URL points at
and its CONTRACT variable already carries the only value that has to
match the data.

Signed-off-by: Rob Konsdorf <rob@facings.io>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The documentation-only change is accurate and removes unnecessary infrastructure detail.

Pull request overview

Clarifies recount-script documentation without changing behavior.

Changes:

  • Replaces a deployment-specific database name with role-based guidance.
File summaries
File Description
src/scripts/recount-asset-counts.ts Clarifies the DATABASE_URL comment.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robrigo
robrigo merged commit 2416d2b into main Sep 10, 2026
8 checks passed
@robrigo
robrigo deleted the docs/generic-recount-connection-string branch September 10, 2026 20:44
@robrigo robrigo mentioned this pull request Sep 10, 2026
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