Skip to content

feat: devcontainer, testing infrastructure, docs, DX improvements, and security policy#199

Open
akhilyad wants to merge 1 commit intoopen-jarvis:mainfrom
akhilyad:feat/dx-testing-docs-security
Open

feat: devcontainer, testing infrastructure, docs, DX improvements, and security policy#199
akhilyad wants to merge 1 commit intoopen-jarvis:mainfrom
akhilyad:feat/dx-testing-docs-security

Conversation

@akhilyad
Copy link
Copy Markdown

@akhilyad akhilyad commented Apr 6, 2026

Summary

Developer experience, testing, documentation, and security improvements.

DevContainer & Docker

  • .devcontainer/Dockerfile.dev + devcontainer.json: one-click VS Code dev environment
  • docker-compose.dev.yml: full local dev stack with hot reload

Security

  • SECURITY.md: responsible disclosure policy and contact info

Testing Infrastructure

  • tests/conftest.py: shared pytest fixtures (tmp dirs, mock agent, mock config)
  • tests/fixtures/.gitkeep: fixture directory scaffold
  • frontend/vitest.config.ts + tsconfig.test.json: Vitest test setup
  • frontend/src/App.test.tsx: frontend smoke test
  • frontend/src/test/setup.ts: jsdom + @testing-library config
  • frontend/package.json: adds vitest and @testing-library dev deps

Documentation

  • docs/tutorials/custom-scorer.md: 200-line tutorial on building custom eval scorers
  • docs/tutorials/index.md: tutorials landing page

Code Quality & DX

  • src/openjarvis/exceptions.py: structured exception hierarchy (400+ lines)
  • src/openjarvis/__lazy__.py: lazy module import utilities for faster startup
  • src/openjarvis/__init__.py: wires lazy imports and new submodules
  • src/openjarvis/cli/debug_cmd.py: jarvis dev debug command
  • src/openjarvis/server/routes.py: realtime metrics endpoint for dashboard
  • frontend/src/components/Chat/InputArea.tsx: accessibility improvements
  • .gitignore: comprehensive entries for Python/Node/Rust/editor artifacts

Test plan

  • uv run pytest tests/ -v --tb=short -m "not live and not cloud" passes with new fixtures
  • cd frontend && npm test runs Vitest suite
  • Dev container opens cleanly in VS Code (Remote - Containers)
  • jarvis dev debug command works
  • uv run ruff check src/ tests/ passes

Generated with Claude Code

DevContainer & Docker
- .devcontainer/Dockerfile.dev + devcontainer.json for one-click setup
- docker-compose.dev.yml for full local dev environment

Security
- SECURITY.md: responsible disclosure policy and contact info

Testing Infrastructure
- tests/conftest.py: shared fixtures, tmp dirs, mock agent/config
- tests/fixtures/.gitkeep: fixture directory scaffold
- frontend/vitest.config.ts + tsconfig.test.json: Vitest setup
- frontend/src/App.test.tsx: initial frontend smoke test
- frontend/src/test/setup.ts: jsdom + testing-library config
- frontend/package.json: adds vitest, @testing-library/* dev deps

Documentation
- docs/tutorials/custom-scorer.md: 200-line scorer tutorial
- docs/tutorials/index.md: tutorials landing page

Code Quality
- src/openjarvis/exceptions.py: structured exception hierarchy
- src/openjarvis/__lazy__.py: lazy module import utilities
- src/openjarvis/__init__.py: wire lazy imports + new submodules
- src/openjarvis/cli/debug_cmd.py: jarvis dev debug command
- src/openjarvis/server/routes.py: realtime metrics endpoint
- frontend/src/components/Chat/InputArea.tsx: a11y improvements
- .gitignore: comprehensive entries for Python/Node/Rust/editors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@akhilyad
Copy link
Copy Markdown
Author

akhilyad commented Apr 6, 2026

let me know, thanks

@akhilyad
Copy link
Copy Markdown
Author

akhilyad commented Apr 6, 2026

Hi maintainers! 👋

Could someone please approve the workflow runs so CI can execute on this PR? GitHub is holding them pending approval since this is from an external fork.

The workflows waiting for approval are:

  • CI — ruff + pytest
  • Frontend CI — vitest
  • Desktop Build & Release — tauri build
  • Deploy Documentation — mkdocs build
  • Claude PR Review — (note: this one will need ANTHROPIC_API_KEY set in repo secrets to work)

Thanks for taking the time to review!

@robbym-dev
Copy link
Copy Markdown
Collaborator

Hey @akhilyad, same feedback as #198. This PR covers devcontainer setup, testing infrastructure, docs, DX improvements, and a security policy all in one. Could you split it into focused PRs? For example:

  1. DevContainer setup
  2. Testing infrastructure (pytest fixtures, Vitest)
  3. Documentation (tutorial, security policy)
  4. Code quality (exception hierarchy, lazy imports, debug command)

Smaller PRs are much easier to review and merge quickly. Thanks!

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