Commit Graph
12 Commits
Author SHA1 Message Date
Hao Zheandzhiheng.liu f0445e0cce docs(build): repair contributor guidance and maintenance tooling (#3551)
* docs: fix broken links and anchors across READMEs and guides

Sweep findings: D-10, D-11, D-12, D-13, D-14, D-15. Restore valid documentation targets and stable cross-page anchors.

(cherry picked from commit e3504d633d)

* docs: correct contributor and release references

Reconstruct the factual parts of draft #3397 against current upstream: use the supported setup wizard, align the repository tree and workflow names with tracked files, document current release paths, and repair the bug-bounty link. Excludes install-policy and subjective content rewrites.

Based-on: b332e19e40
Based-on: c89afb17f2
Co-authored-by: zhiheng.liu <zhiheng.liu@bytedance.com>

* build: propagate recipe failures and align CMake minimum

Keep build failures visible, use isolated temporary extraction paths, and enforce the native build's CMake 3.15 floor across all contributor guides. CMake version parsing accepts prerelease and vendor suffixes.

Based-on: 8943a12285
Co-authored-by: zhiheng.liu <zhiheng.liu@bytedance.com>

* fix(scripts): surface backfill enumeration failures

Preserve the safety fix from draft #3415 while retaining legacy no-op arguments for existing operational scripts. Deprecated arguments now remain parse-compatible, advertise their status in help, and emit explicit warnings when used.

Based-on: 5516d96048
Co-authored-by: zhiheng.liu <zhiheng.liu@bytedance.com>

---------

Co-authored-by: zhiheng.liu <zhiheng.liu@bytedance.com>
2026-07-28 18:11:33 +08:00
baojun-zhang dad04e37b8 build(ragfs): clean stale .venv ragfs_python artifacts to avoid site-packages override (#3318) 2026-07-22 19:24:02 +08:00
t0saki 75d7d65b2d fix(build): bundle web-studio in pip/pipx installs so /studio works without Docker (#2238)
Previously /studio was only accessible in Docker builds because the
Dockerfile had a dedicated Node.js stage that built the SPA and copied
it into the Python package. pip/pipx/uv installs from source skipped
this step entirely, leaving openviking/web_studio/dist/ empty and
/studio unmounted at runtime.

Add a setuptools build_py hook (_build_web_studio) that automatically
runs `npm ci && npm run build` during package installation when Node.js
is available. The same function is reused by a new `make build-studio`
target and by the Dockerfile (which now gets Node.js via multi-stage
COPY from node:24-trixie-slim instead of a separate builder stage).

- setup.py: OpenVikingBuildPy overrides build_py to call _build_web_studio()
- Makefile: add build-studio target, wire it into `build` dependency
- Dockerfile: remove web-studio-builder stage, unify via build_py hook
- .gitignore: exclude openviking/web_studio/dist/ (build artifact)
2026-05-26 14:06:23 +08:00
MaojiaShengandopenviking 9dc98aa133 feat: ov CLI support (#1916)
* feat: support ov config switch and ov config setup-cli

* feat: support ov config switch and ov config setup-cli

* feat: add ov tui image preview

---------

Co-authored-by: openviking <openviking@example.com>
2026-05-08 18:51:31 +08:00
Qin Haojieanddingben.db@bytedance.com <dingben.db@bytedance.com@bytedance.com> 6aa62c1b87 fix(ragfs): 仅加载 abi3 binding 产物 (#1756)
* feat(agfs): support overriding queuefs db_path via config

Add a new optional `storage.agfs.queue_db_path` field to AGFSConfig so
the queuefs sqlite database can be relocated outside the workspace via
config. This helps when the workspace volume does not support sqlite
(e.g. some network filesystems returning disk I/O errors on PRAGMA/WAL),
allowing the queue db to be placed on a local path like `/tmp/queue.db`.

When not set, the default path `{storage.workspace}/_system/queue/queue.db`
is preserved, keeping backwards compatibility.

* fix(ragfs): load only abi3 binding artifacts

Avoid stale cpython-specific ragfs_python artifacts shadowing rebuilt abi3 extensions so queuefs sqlite persistence uses the current Rust binding.

---------

Co-authored-by: dingben.db@bytedance.com <dingben.db@bytedance.com@bytedance.com>
2026-04-27 21:30:44 +08:00
MaojiaShengandopenviking 21ba377a9c fix: use abi3 for rust package (#1517)
* fix: use abi3 for rust package

* fix: modify list scope

---------

Co-authored-by: openviking <openviking@example.com>
2026-04-17 13:58:23 +08:00
Qin Haojie 62c023307d fix(docker): raise Rust MSRV for ragfs builds (#1448)
Align the Docker image, local build checks, and Rust crate metadata with the 1.91.1 toolchain required by ragfs-python's S3 dependencies.
2026-04-14 20:36:31 +08:00
chuanbao666 fc230cf9c2 fix(agfs): enable agfs s3 plugin default (#1408) 2026-04-13 21:06:39 +08:00
MaojiaShengandopenviking a7e5417ef2 reorg: remove golang depends (#1339)
* docs: fix docker deployment

* reorg: remove third_party/agfs

* feat(s3fs): add disable_batch_delete option for OSS compatibility

Port of PR #1333 from Go version to Rust:

- Add disable_batch_delete config option to S3Client
- When enabled, use sequential single-object deletes instead of DeleteObjects
- This is for S3-compatible services like Alibaba Cloud OSS that require
  Content-MD5 for DeleteObjects but AWS SDK v2 does not send it by default
- Add documentation and config example for OSS

* fix(s3fs): pass disable_batch_delete config from Python to Rust

Add disable_batch_delete to the s3_plugin_config dict in _generate_plugin_config
so that the Python config can properly control the Rust S3FS plugin's behavior.

* reorg: remove third_party/agfs

* reorg: remove third_party/agfs

* change some docs

* change some docs

---------

Co-authored-by: openviking <openviking@example.com>
2026-04-10 15:16:29 +08:00
MaojiaShengandopenviking dc052ce3e3 reorg: Rewrite agfs to ragfs with rust (#1221)
* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* reorg: rewrite agfs with rust, and named with ragfs, keep License

* fix: grep level limit

* fix: grep root

* fix: import error

* fix: rust code optimazation

* fix: CI error

* fix: CI go mod cache

* fix: grep level limit

* fix: CI

---------

Co-authored-by: openviking <openviking@example.com>
2026-04-05 21:17:45 +08:00
MaojiaShengandopenviking c242ad6699 feat: CLI sub-command optimization (#560)
* feat: add ov get subcommand, and fix Makefile for uv env

* feat: add ov get subcommand, and fix Makefile for uv env

* feat: add ov get subcommand, and fix Makefile for uv env

* feat: add ov get subcommand, and fix Makefile for uv env

* feat: add ov get subcommand, and fix Makefile for uv env

* feat: add ov get subcommand, and fix Makefile for uv env

---------

Co-authored-by: openviking <openviking@example.com>
2026-03-12 21:38:30 +08:00
chuanbao666 e71f091f6c chore: 增加Makefile,方便build (#450) 2026-03-06 11:50:00 +08:00