Repository navigation
docs: add local verification steps to CONTRIBUTING - #102
kshivam4781 wants to merge 4 commits into
Conversation
Added local verification instructions for different types of changes, including backend, frontend, and UI end-to-end changes.
|
@kshivam4781 Thank you so much for putting this together! These local verification steps will be really helpful for contributors. One small thing: CI also runs pnpm run docs:build with strict validation for every PR. Would you mind adding that for documentation changes and updating the note that says no command is required? |
|
@kshivam4781 Thank you so much for the update! The documentation-only verification step looks great. One small correction: the introductory note says CI’s frontend job only runs the production build, but it currently runs all three of these checks:
Would you mind updating that sentence so it reflects the current CI behavior? Everything else looks good to me. Thank you again! |
|
@kshivam4781 |
Per @forthfate's review comment: the intro said CI's frontend job "only runs the production build", but .github/workflows/ci.yml's frontend job actually runs lint, the docs build, and the production build. Updated the sentence to match.
|
@forthfate Apologies for the delay, and thanks for the patience and the ping! Just pushed a fix: the intro sentence was wrong — I checked |
forthfate
left a comment
There was a problem hiding this comment.
Thank you for the update. I have no further comments. Approved—please merge it.
Closes #17. Supersedes #49 (that branch was 278 commits behind main and couldn't be cleanly updated, so this reopens the same change on a fresh branch off current main).
Adds a "Local verification" section to CONTRIBUTING.md, right after "Pre-commit", so a contributor can pick the right checks for the kind of change they made.
Addresses the review feedback on #49: the introductory sentence now distinguishes CI's frontend job (production build only) from the pre-commit hook (which runs ESLint), instead of implying CI runs both the same way.
Verified against the current main branch: the backend commands (
uv run ruff check orbit/ backend/ tests/,PYTHONPATH=backend uv run pytest -q) and frontend commands (pnpm --filter agent-improvement-console-ui run lint/run build) match.github/workflows/ci.ymlexactly as of this PR.