Skip to content

docs: update README and ARCHITECTURE to reflect current codebase#97

Merged
zhexuany merged 4 commits intomainfrom
docs/update-readme-architecture
Feb 24, 2026
Merged

docs: update README and ARCHITECTURE to reflect current codebase#97
zhexuany merged 4 commits intomainfrom
docs/update-readme-architecture

Conversation

@zhexuany
Copy link
Copy Markdown
Contributor

Summary

  • Add codecov badge to README files
  • Update workspace structure documentation (7 crates now instead of 5)
    • Added: roboflow-executor, roboflow-media, roboflow-pipeline
    • Removed: roboflow-hdf5
  • Replace outdated roboflow worker/roboflow scanner commands with unified roboflow run command
  • Add development infrastructure section (Docker Compose services)
  • Update ARCHITECTURE.md with new crates, CLI commands, and video encoding documentation
  • Sync Chinese README (README_zh.md) with English version

Changes

README.md & README_zh.md

  • Added codecov badge: [![codecov](https://codecov.io/gh/archebase/roboflow/branch/main/graph/badge.svg)](https://codecov.io/gh/archebase/roboflow)
  • Updated workspace structure table with all 7 crates
  • Updated Quick Start section with unified roboflow run command and role options
  • Added FINALIZER_POLL_INTERVAL_SECS environment variable
  • Added Development Infrastructure section with Docker Compose services

ARCHITECTURE.md

  • Updated workspace crates table
  • Added Source/Sink pattern documentation
  • Added CLI commands section
  • Added Video Encoding section with ConcurrentVideoEncoder
  • Updated feature flags table

Test Plan

  • Verified all crate names match Cargo.toml workspace members
  • Verified CLI commands match src/bin/roboflow.rs
  • Both README versions are consistent

- Add codecov badge
- Update workspace structure (7 crates: added executor, media, pipeline)
- Replace worker/scanner commands with unified  command
- Add development infrastructure section (Docker Compose)
- Update ARCHITECTURE.md with new crates and CLI commands
- Sync Chinese README with English version
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Feb 24, 2026

Greptile Summary

This PR updates documentation to accurately reflect the current codebase structure after recent refactoring. All workspace crates, CLI commands, and features documented match the actual implementation in Cargo.toml and src/bin/roboflow.rs.

Key Changes:

  • Added codecov badge to both README files
  • Updated workspace structure from 5 to 7 crates (added roboflow-executor, roboflow-media, roboflow-pipeline; removed roboflow-hdf5)
  • Replaced outdated roboflow worker/roboflow scanner commands with unified roboflow run command
  • Added CLI commands section to ARCHITECTURE.md with proper usage examples
  • Documented video encoding with ConcurrentVideoEncoder
  • Added development infrastructure section for Docker Compose services
  • Synchronized Chinese README with English version

Note: CLAUDE.md still references the old 5-crate structure and should be updated in a follow-up change to maintain consistency across all documentation.

Confidence Score: 5/5

  • This PR is safe to merge with no risk - documentation-only changes that accurately reflect the current codebase.
  • All documentation changes have been verified against the actual codebase. Workspace structure matches Cargo.toml, CLI commands match src/bin/roboflow.rs, and both README versions are consistent. The only minor issue is that CLAUDE.md wasn't updated, but this is outside the PR scope.
  • No files require special attention. All changes are accurate and well-documented.

Important Files Changed

Filename Overview
ARCHITECTURE.md Updated workspace structure, added CLI commands, video encoding, and source/sink pattern documentation. All changes accurately reflect current codebase.
README.md Added codecov badge, updated workspace table to 7 crates, modernized Quick Start with unified roboflow run command, added development infrastructure section.
README_zh.md Chinese translation synchronized with English README. All changes mirror README.md accurately.

Last reviewed commit: 6baaff6

@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot bot commented Feb 24, 2026

Code Review Summary

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
README.md 119 roboflow jobs list and roboflow jobs get are deprecated commands that return a runtime error — the jobs subcommand system has been replaced by batch. These lines should be removed or marked as deprecated.
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
CLAUDE.md 193–206 Feature Flags table still lists removed flags (distributed, dataset-hdf5, dataset-parquet, dataset-depth, dataset-all, cloud-storage, gpu) that no longer exist in Cargo.toml. The actual feature flags are only: jemalloc, cli, profiling, cpuid, io-uring-io. This section was not updated in this PR.
README_zh.md 119 Same deprecated roboflow jobs list / roboflow jobs get commands appear in the Chinese README (not in diff).
Files Reviewed (4 files)
  • ARCHITECTURE.md - 0 new issues (existing comments addressed by this PR)
  • CLAUDE.md - 0 new issues in diff (1 observation in unchanged section)
  • README.md - 1 issue
  • README_zh.md - 0 new issues in diff (1 observation in unchanged section)

Fix these issues in Kilo Cloud

Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

3 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment on lines 27 to +34
|-------|---------|-----------|
| `roboflow-core` | Foundation types, error handling, registry | `RoboflowError`, `CodecValue`, `TypeRegistry` |
| `roboflow-storage` | Storage abstraction layer | `Storage`, `LocalStorage`, `S3Storage`, `StorageFactory` |
| `roboflow-dataset` | Dataset format writers | `LerobotWriter`, `DatasetWriter`, `ImageData` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Catalog` |
| `roboflow-sources` | Data source implementations | `BagSource`, `McapSource`, `RrdSource` |
| `roboflow-sinks` | Data sink implementations | `LerobotSink`, `ZarrSink`, `DatasetFrame` |
| `roboflow-executor` | Stage-based task executor | `StageExecutor`, `Pipeline`, `ExecutionPolicy`, `SlotPool` |
| `roboflow-media` | Image and video encoding/decoding | `ImageData`, `VideoEncoder`, `ConcurrentVideoEncoder` |
| `roboflow-dataset` | Dataset format writers and sources | `LerobotWriter`, `DatasetWriter`, `Source`, `BagSource`, `McapSource` |
| `roboflow-pipeline` | Pipeline execution and stages | `DatasetPipelineExecutor`, `DiscoverStage`, `ConvertStage`, `MergeStage` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Scanner`, `Finalizer` |
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

CLAUDE.md still documents 5 crates instead of 7. Should update it to match this table.

Suggested change
|-------|---------|-----------|
| `roboflow-core` | Foundation types, error handling, registry | `RoboflowError`, `CodecValue`, `TypeRegistry` |
| `roboflow-storage` | Storage abstraction layer | `Storage`, `LocalStorage`, `S3Storage`, `StorageFactory` |
| `roboflow-dataset` | Dataset format writers | `LerobotWriter`, `DatasetWriter`, `ImageData` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Catalog` |
| `roboflow-sources` | Data source implementations | `BagSource`, `McapSource`, `RrdSource` |
| `roboflow-sinks` | Data sink implementations | `LerobotSink`, `ZarrSink`, `DatasetFrame` |
| `roboflow-executor` | Stage-based task executor | `StageExecutor`, `Pipeline`, `ExecutionPolicy`, `SlotPool` |
| `roboflow-media` | Image and video encoding/decoding | `ImageData`, `VideoEncoder`, `ConcurrentVideoEncoder` |
| `roboflow-dataset` | Dataset format writers and sources | `LerobotWriter`, `DatasetWriter`, `Source`, `BagSource`, `McapSource` |
| `roboflow-pipeline` | Pipeline execution and stages | `DatasetPipelineExecutor`, `DiscoverStage`, `ConvertStage`, `MergeStage` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Scanner`, `Finalizer` |
|-------|---------|-----------|
| `roboflow-core` | Foundation types, error handling, registry | `RoboflowError`, `CodecValue`, `TypeRegistry` |
| `roboflow-storage` | Storage abstraction layer | `Storage`, `LocalStorage`, `S3Storage`, `StorageFactory` |
| `roboflow-executor` | Stage-based task executor | `StageExecutor`, `Pipeline`, `ExecutionPolicy`, `SlotPool` |
| `roboflow-media` | Image and video encoding/decoding | `ImageData`, `VideoEncoder`, `ConcurrentVideoEncoder` |
| `roboflow-dataset` | Dataset format writers and sources | `LerobotWriter`, `DatasetWriter`, `Source`, `BagSource`, `McapSource` |
| `roboflow-pipeline` | Pipeline execution and stages | `DatasetPipelineExecutor`, `DiscoverStage`, `ConvertStage`, `MergeStage` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Scanner`, `Finalizer` |

Context Used: Context from dashboard - CLAUDE.md (source)

Prompt To Fix With AI
This is a comment left during a code review.
Path: ARCHITECTURE.md
Line: 27-34

Comment:
`CLAUDE.md` still documents 5 crates instead of 7. Should update it to match this table.

```suggestion
|-------|---------|-----------|
| `roboflow-core` | Foundation types, error handling, registry | `RoboflowError`, `CodecValue`, `TypeRegistry` |
| `roboflow-storage` | Storage abstraction layer | `Storage`, `LocalStorage`, `S3Storage`, `StorageFactory` |
| `roboflow-executor` | Stage-based task executor | `StageExecutor`, `Pipeline`, `ExecutionPolicy`, `SlotPool` |
| `roboflow-media` | Image and video encoding/decoding | `ImageData`, `VideoEncoder`, `ConcurrentVideoEncoder` |
| `roboflow-dataset` | Dataset format writers and sources | `LerobotWriter`, `DatasetWriter`, `Source`, `BagSource`, `McapSource` |
| `roboflow-pipeline` | Pipeline execution and stages | `DatasetPipelineExecutor`, `DiscoverStage`, `ConvertStage`, `MergeStage` |
| `roboflow-distributed` | Distributed coordination via TiKV | `TiKVClient`, `BatchController`, `Worker`, `Scanner`, `Finalizer` |
```

**Context Used:** Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=2ad098e3-954c-4e7a-822a-5c9a0fd6a8a2))

How can I resolve this? If you propose a fix, please make it concise.

zhexuany and others added 3 commits February 25, 2026 00:16
@zhexuany zhexuany merged commit 05ea0bb into main Feb 24, 2026
7 checks passed
@zhexuany zhexuany deleted the docs/update-readme-architecture branch February 24, 2026 16:22
### Manage Jobs

```bash
roboflow jobs list
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

WARNING: roboflow jobs list and roboflow jobs get are deprecated commands that will return an error at runtime

The jobs command has been replaced by the batch command system. Per src/bin/commands/jobs.rs, all jobs subcommands (except --help) return a deprecation error:

Error: The 'jobs' command has been deprecated.
Please use the 'batch' command instead:
  - Use 'roboflow batch submit' to submit new batch jobs
  - Use 'roboflow batch list' to list batch jobs
  ...

The ### Manage Jobs section should either remove roboflow jobs list / roboflow jobs get entirely, or add a deprecation notice. Consider replacing with:

Suggested change
roboflow jobs list
roboflow batch list

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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