Scaffold westside-docs: static docs app with Mermaid #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "1-scaffold-westside-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes #1
Test plan
rails swith no PG connection/docs— index page renders with links/docs/architecture— all Mermaid diagrams render/docs/user-stories— user flow diagram renders/docs/nonexistent— returns 404🤖 Generated with Claude Code
PR #2 Review
Blockers
B1. Docker entrypoint will crash in production
bin/docker-entrypointrunsdb:prepareunconditionally before starting the server. ActiveRecord is not loaded. The Dockerized app will crash on startup. Remove the database step from the entrypoint.B2. Database-free cleanup incomplete
PR says "strip ActiveRecord" but several references remain:
gem "pg"still in Gemfileconfig/database.ymlstill has full PostgreSQL config including production cache/queue/cable databasesconfig/cable.ymlreferences Redis.github/workflows/ci.yml) spins up PostgreSQL and runsdb:test:preparetest/test_helper.rbcallsparallelizeandfixtures :all(ActiveRecord deps)app/jobs/application_job.rbreferencesActiveRecord::DeadlockedShould Fix
config/deploy.ymlhas Kamal config with placeholder IP. Deployment is via k3s hostPath, not Kamal.image_processinggem included. Active Storage dependency with no use case.db/seeds.rb,config/storage.yml, GitHub Actions CI — none apply to a static docs site on Forgejo/k3s.Nits
@11). Consider pinning specific version + SRI hash.Atkinson Hyperlegiblefont but no import exists — silent fallback to system-ui.docs_page_pathroute helpers.aria-labelfor accessibility.SOP Compliance
## Relatedsection (no plan slug)VERDICT: REQUEST_CHANGES
Two blockers (entrypoint crash, incomplete AR removal) and missing tests. The docs content itself (architecture diagrams, user stories, Mermaid integration) is solid.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.