Skip to content

Update documentation for dbscripts underscore directory names - #4154

Closed
indeewari wants to merge 1 commit into
thunder-id:mainfrom
indeewari:fix/4120-docs-dbscripts-underscore
Closed

Update documentation for dbscripts underscore directory names#4154
indeewari wants to merge 1 commit into
thunder-id:mainfrom
indeewari:fix/4120-docs-dbscripts-underscore

Conversation

@indeewari

@indeewari indeewari commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Purpose

Documentation follow-up to #4149, which renamed the two runtime dbscripts/
directories and their SQLite files from kebab-case to underscores
(runtime_transient, runtime_persistent) so the directory name matches the
database name and config key.

This updates the physical path references that still pointed at the old
kebab-case names across:

  • .agent/skills/db/SKILL.md (cleanup artifact paths)
  • ARCHITECTURE.md (SQLite file listing)
  • docs/content/community/contributing/contributing-code/debugging.mdx
  • docs/content/guides/deployment-patterns/kubernetes.mdx
  • docs/content/guides/deployment-patterns/openchoreo.mdx
  • docs/content/guides/getting-started/configuration.mdx
  • install/helm/README.md
  • install/openchoreo/helm/README.md
  • install/openchoreo/thunderid-oc-resourcetype/README.md

Approach

Changed only physical filesystem references (the dbscripts/<dir> paths and the
*.db SQLite file paths). Left unchanged, as they belong to separate naming
domains and did not change in #4149:

  • Kubernetes Secret keys and password placeholders (runtime-transient-db-password,
    runtime-transient-redis-password).
  • Prose references to the databases (for example, "the runtime-transient
    database", "Runtime-transient DB").

Related Issues

Related PRs

Checklist

  • Followed the contribution guidelines.
  • Manual test round performed and verified. (Docs only)
  • Documentation provided.
    • Ran Vale and fixed all errors and warnings
  • Tests provided. (Docs only)
    • Unit Tests
    • Integration Tests
  • Breaking changes. (Fill if applicable)
    • Breaking changes section filled.
    • breaking change label added.

Security checks

  • Followed secure coding standards in WSO2 Secure Coding Guidelines
  • Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.

Summary by CodeRabbit

  • Documentation
    • Updated architecture, configuration, deployment, and Helm guides to consistently use underscore-based runtime-transient and runtime-persistent database filenames and setup script paths (replacing prior hyphenated names).
    • Synchronized PostgreSQL initialization script locations and SQLite sqlitePath/connection examples across Kubernetes and OpenChoreo deployment instructions, as well as the contributing debugging reference and installation READMEs.

Follow-up to thunder-id#4149, which renamed the runtime dbscripts directories and their
SQLite files to underscores (runtime_transient, runtime_persistent). Update the
physical path references across the developer docs, deployment guides, the Helm
and OpenChoreo READMEs, the db skill guide, and the architecture overview to
match.

Kubernetes Secret keys and prose references to the databases keep their existing
kebab-case names.

Refs thunder-id#4120
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 20cba358-606c-4bec-841e-c2ef4897627f

📥 Commits

Reviewing files that changed from the base of the PR and between b3ab2b8 and 5b23ed2.

⛔ Files ignored due to path filters (1)
  • .agent/skills/db/SKILL.md is excluded by !.agent/skills/**
📒 Files selected for processing (8)
  • ARCHITECTURE.md
  • docs/content/community/contributing/contributing-code/debugging.mdx
  • docs/content/guides/deployment-patterns/kubernetes.mdx
  • docs/content/guides/deployment-patterns/openchoreo.mdx
  • docs/content/guides/getting-started/configuration.mdx
  • install/helm/README.md
  • install/openchoreo/helm/README.md
  • install/openchoreo/thunderid-oc-resourcetype/README.md

📝 Walkthrough

Walkthrough

Documentation references for runtime-transient and runtime-persistent databases changed from hyphenated to underscore-separated filenames, directories, and PostgreSQL script paths across architecture, configuration, deployment, and installation guides.

Changes

Database Path Documentation

Layer / File(s) Summary
Canonical database names
ARCHITECTURE.md, docs/content/community/contributing/contributing-code/debugging.mdx, docs/content/guides/getting-started/configuration.mdx
SQLite database filename references now use runtime_transient.db and runtime_persistent.db.
Deployment and installation paths
docs/content/guides/deployment-patterns/*, install/helm/README.md, install/openchoreo/.../README.md
Deployment examples and Helm documentation now use underscore-separated database paths and PostgreSQL script directories.

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

Possibly related PRs

Suggested reviewers: rajithacharith, thiva-k, ayeshajay

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: updating documentation for the renamed dbscripts underscore directories.
Description check ✅ Passed The description follows the template with Purpose, Approach, Related Issues, Related PRs, Checklist, and Security sections filled in.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@ARCHITECTURE.md`:
- Line 12: Synchronize all documented database filenames, defaults, and script
paths with the implementation’s existing hyphenated names, or consistently
rename the implementation paths to the documented underscore-separated names.
Update ARCHITECTURE.md:12-12,
docs/content/community/contributing/contributing-code/debugging.mdx:161-162,
docs/content/guides/getting-started/configuration.mdx:204-204 and :314-314,
docs/content/guides/deployment-patterns/kubernetes.mdx:223-223 and :279-287,
docs/content/guides/deployment-patterns/openchoreo.mdx:205-207,
install/helm/README.md:426-426 and :467-467,
install/openchoreo/helm/README.md:225-227, and
install/openchoreo/thunderid-oc-resourcetype/README.md:56-58 so every reference
matches the corresponding backend defaults, Helm values, templates, SQLite
files, and PostgreSQL prerequisite scripts.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 17d82af2-c612-43b8-b1b2-01b0dea45712

📥 Commits

Reviewing files that changed from the base of the PR and between b3ab2b8 and 5b23ed2.

⛔ Files ignored due to path filters (1)
  • .agent/skills/db/SKILL.md is excluded by !.agent/skills/**
📒 Files selected for processing (8)
  • ARCHITECTURE.md
  • docs/content/community/contributing/contributing-code/debugging.mdx
  • docs/content/guides/deployment-patterns/kubernetes.mdx
  • docs/content/guides/deployment-patterns/openchoreo.mdx
  • docs/content/guides/getting-started/configuration.mdx
  • install/helm/README.md
  • install/openchoreo/helm/README.md
  • install/openchoreo/thunderid-oc-resourcetype/README.md

Comment thread ARCHITECTURE.md
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rajithacharith

Copy link
Copy Markdown
Contributor

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

@indeewari

Copy link
Copy Markdown
Contributor Author

Superseded by #4164, which combines the code and documentation changes into a single PR targeting the release branch.

@indeewari indeewari closed this Jul 20, 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