Skip to content

Docs: CI-built bundle, dev-latest, style guide pointer, issue template fixes - #952

Merged
erikdarlingdata merged 2 commits into
devfrom
fix/admin-repo-docs
Nov 13, 2026
Merged

erikdarlingdata merged 2 commits into
devfrom
fix/admin-repo-docs

Conversation

@erikdarlingdata

Copy link
Copy Markdown
Owner

Docs-only change: no T-SQL, no version lines, Install-All/DarlingData.sql untouched. Each item was re-checked in the worktree at dev b7fba0f and still held.

CI-built bundle (CONTRIBUTING.md, Install-All/README.md)

  • What went wrong: Install-All/README told people to run Merge-All.ps1 to get a fresh bundle, and CONTRIBUTING never said CI owns the file. A contributor could commit a regenerated 2 MB bundle and cause dev-to-main merge conflicts.
  • Fix: both docs now say the bundle is rebuilt by CI on main after each merge, the copy on dev is out of date on purpose, and a PR must not change it. The "Generating a Fresh Copy" section is now a local-only option: it says not to commit the result and gives git checkout -- Install-All/DarlingData.sql to undo it (Merge-All.ps1 writes .\DarlingData.sql in the Install-All folder, which is the tracked file).

dev-latest pre-release (README.md, Install-All/README.md, CONTRIBUTING.md)

  • What went wrong: the rolling dev-latest pre-release was not documented anywhere.
  • Fix: one short paragraph in each place: monthly releases are the stable path, dev-latest holds the current dev build to try a fix before the next release. Install-All/README also says it is rebuilt on every push to dev that changes a .sql file (checked in dev-installall-artifact.yml). gh release view dev-latest confirmed the URL, a pre-release with a DarlingData.sql asset. The root README change is limited to the Installing paragraph.

Style list (CONTRIBUTING.md)

  • What went wrong: the list said "reasonable casing (not all upper, not all lower)" and lowercase keywords, which contradicts CLAUDE.md (UPPERCASE keywords, lowercase full data type names).
  • Fix: replaced the list with a link to CLAUDE.md and three of its rules, worded as CLAUDE.md words them: UPPERCASE keywords, lowercase unabbreviated data types, 4 spaces and no tabs. The trailing-comma, AS-alias, column = expression and TOP-parentheses bullets are dropped here because CLAUDE.md covers them.

Dead Discussions link (.github/ISSUE_TEMPLATE/config.yml)

  • What went wrong: the contact link pointed at the repo's Discussions page, which 404s because Discussions is off.
  • Fix: removed the whole contact_links block. blank_issues_enabled: false is unchanged. No other file links to Discussions.

Proc pickers (bug_report.yml, question.yml, feature_request.yml)

  • What went wrong: the pickers had no sp_QuickieCache or sp_HumanEventsBlockViewer (the bug and question dropdowns are required, so reporters had to pick "Other").
  • Fix: added both in alphabetical order, matching each list's style. sp_QueryStoreCleanup was already there.

Debug text and version placeholder (bug_report.yml, question.yml)

  • What went wrong: the debug text asked for the last current_table value, which only sp_QuickieStore and sp_QueryReproBuilder print, and listed 9 procs while all 11 have @debug (checked each proc's parameter list). The version placeholder "2026.03.15, v4.2" matches no real format: every proc sets @version = '6.11'-style text and @version_date = '20261101' (checked all 11).
  • Fix: the debug text now says every script has @debug, to paste the Messages tab output, and to include the last messages before the error plus the failing dynamic SQL if the script prints it. The placeholder is now e.g., 6.11, 20261101, and the version help text names the @version and @version_date lines. question.yml had the same bad placeholder, so I fixed it too. I also removed an em dash from the debug line.

Checks

  • All four templates load with PyYAML safe_load. The script lists have 12 entries each with both new procs, and config.yml loads as {blank_issues_enabled: False}.
  • Plain-English checker run on CONTRIBUTING.md, Install-All/README.md and README.md (with --source on the original). I fixed the hits in lines I changed ("etc.", "comprehensive"). The remaining hits are in lines I did not touch. Every "new" fact is intended: the CLAUDE.md link, the three style rules, the bundle file names, and the release URLs. "Missing" facts are the dropped TOP (1000) and column = expression bullets, covered by CLAUDE.md.

Dropped

Nothing.

Considered, not added

  • A broader sweep for other stale links in the repo docs: no concrete trigger beyond the Discussions link, which has no other references.

🤖 Generated with Claude Code

https://claude.ai/code/session_01M98owc3zzZNEpij3p49Bbe

…e fixes

- CONTRIBUTING and Install-All/README say CI builds Install-All/DarlingData.sql on main and PRs must not touch it; Merge-All is a local-only option
- Document the dev-latest rolling pre-release in README, Install-All/README and CONTRIBUTING
- CONTRIBUTING style list now points to CLAUDE.md with three of its rules
- Remove the dead Discussions contact link from the issue template config
- Add sp_HumanEventsBlockViewer and sp_QuickieCache to the bug, question and feature pickers
- bug_report: general @debug text, real version placeholder (6.11, 20261101); same placeholder fix in question.yml

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M98owc3zzZNEpij3p49Bbe
@erikdarlingdata
erikdarlingdata marked this pull request as ready for review November 13, 2026 08:37
@claude

claude Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Claude finished @erikdarlingdata's task in 11s —— View job


Review: PR #952 (docs-only)

No blocking problems. The diff matches the description.

  • Install-All/DarlingData.sql is untouched.
  • No @version or @version_date lines are bumped.
  • The T-SQL examples and code in the changed docs have no CLAUDE.md violations.
  • The YAML edits keep the existing structure, and both new procs are alphabetized in all three pickers.
  • Removing contact_links while keeping blank_issues_enabled: false is valid.

Minor suggestions (optional):

  • CONTRIBUTING.md: the new "Do not change Install-All/DarlingData.sql" paragraph sits before "I am guilty of not doing that at times…". That sentence now reads as if it refers to the bundle rule rather than to opening an issue first. Moving the new paragraph below it, or after the "fork dev" line, would keep the original flow.
  • CONTRIBUTING.md says the Action rebuilds the bundle "on main after each merge", while Install-All/README.md says dev-latest is rebuilt on every push to dev. Both are consistent with the PR description, but "after each merge" could mislead a reader into thinking merges to dev rebuild the main bundle. I didn't check the workflow files, so treat this as a wording point only.
  • The version placeholder 6.11, 20261101 is fine. It assumes procs share a version format, which the PR says was checked.

Overall, the changes look good to merge.

@claude

claude Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Claude finished @erikdarlingdata's task in 11s —— View job


Review: PR #952 (docs-only)

No blocking problems. The diff matches the description.

  • Install-All/DarlingData.sql is untouched.
  • No @version or @version_date lines changed.
  • The latest commit (5a03abe) addresses the earlier ordering note. The bundle paragraph in CONTRIBUTING.md now sits after the "I am guilty of not doing that at times…" sentence, so that sentence reads correctly again.
  • The new style bullets match CLAUDE.md (UPPERCASE keywords, lowercase unabbreviated data types, 4 spaces and no tabs).
  • Removing contact_links while keeping blank_issues_enabled: false is valid. The new procs are in all three pickers.

One optional wording point: "after each merge" in CONTRIBUTING.md is clear because it says "on main". Install-All/README.md also states that dev-latest is rebuilt on pushes to dev. I did not check the workflow files, so I'm relying on the PR description for that.

I would merge this.

@erikdarlingdata
erikdarlingdata merged commit 26b950f into dev Nov 13, 2026
4 checks passed
@erikdarlingdata
erikdarlingdata deleted the fix/admin-repo-docs branch November 13, 2026 13:01
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