Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
276 commits
Select commit Hold shift + click to select a range
3e484e2
refactor(config): Use shared annotated Port type for port fields and …
junhaoliao Sep 30, 2025
d441993
refactor(config): Consolidate host validation by introducing shared H…
junhaoliao Sep 30, 2025
68a3a06
refactor(config): Introduce DatabaseEngine enum, use it for database.…
junhaoliao Sep 30, 2025
fbe91b0
refactor(config): Replace manual non‑empty string validators with sha…
junhaoliao Sep 30, 2025
e829a86
refactor(config): Use PositiveFloat type for jobs_poll_delay fields i…
junhaoliao Sep 30, 2025
79b8043
Refactor(config): Rename jobs_poll_delay to jobs_poll_delay_sec in sc…
junhaoliao Sep 30, 2025
354b019
refactor(config): Replace int fields with PositiveInt and remove redu…
junhaoliao Sep 30, 2025
e60b39a
refactor(config): Update optional string fields to use NonEmptyStr type.
junhaoliao Sep 30, 2025
3372a4b
docs(config): Update comment to specify specific types.
junhaoliao Sep 30, 2025
68740f5
refactor(config): Use ZstdCompressionLevel for compression_level and …
junhaoliao Sep 30, 2025
420f30f
refactor(config): Replace string logging_level fields with LoggingLev…
junhaoliao Sep 30, 2025
6a584e0
revert jobs_poll_delay rename
junhaoliao Sep 30, 2025
79c12e8
Merge branch 'main' into pydantic-impf
junhaoliao Sep 30, 2025
7f234a0
Make ResultHandle an abstract class of the scheduler.
LinZhihao-723 Sep 30, 2025
0f1b97c
Rename class; Fix spider job
sitaowang1998 Sep 30, 2025
bbf9b38
Remove TODO
sitaowang1998 Sep 30, 2025
200567c
Move and rename files and classes
sitaowang1998 Sep 30, 2025
7f17280
Fix lint
sitaowang1998 Sep 30, 2025
ed04ede
Split the file
sitaowang1998 Sep 30, 2025
3c7ce34
Fix bug
sitaowang1998 Sep 30, 2025
5384791
Bug fix
sitaowang1998 Sep 30, 2025
885dcbe
Bug fix
sitaowang1998 Sep 30, 2025
3810fc3
Merge branch 'spider-job-executor' into spider-job-scheduler
sitaowang1998 Sep 30, 2025
bc315cf
Allow arbitrary type
sitaowang1998 Oct 1, 2025
64e5924
Rename result handle
sitaowang1998 Oct 1, 2025
bfca7d7
Merge branch 'main' into pydantic-impf
junhaoliao Oct 1, 2025
de5eca4
Merge branch 'main' into spider-job-executor
sitaowang1998 Oct 1, 2025
076bb51
Merge branch 'spider-job-executor' into spider-job-scheduler
sitaowang1998 Oct 1, 2025
2115872
Use pydantic v2
sitaowang1998 Oct 1, 2025
5ff438f
Fix missing value
sitaowang1998 Oct 1, 2025
8673afd
Merge branch 'main' into pydantic-impf
junhaoliao Oct 1, 2025
ae0481a
Merge branch 'main' into spider-job-scheduler
sitaowang1998 Oct 2, 2025
d5edb10
Use model_validate instead of parse_obj
sitaowang1998 Oct 2, 2025
a66440a
Fix docstring
sitaowang1998 Oct 2, 2025
3211d8a
Use spider util function
sitaowang1998 Oct 2, 2025
3133b07
Bug fix
sitaowang1998 Oct 2, 2025
7184d86
Fix return type
sitaowang1998 Oct 2, 2025
630a780
Bug fix
sitaowang1998 Oct 2, 2025
8b56bd3
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 2, 2025
6c1f865
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 3, 2025
b1866fe
Add config
sitaowang1998 Oct 6, 2025
ba29406
Use model inheretence for spider db
sitaowang1998 Oct 8, 2025
ffd8d0e
Add spider db and scheduler in clp config
sitaowang1998 Oct 8, 2025
f9d7290
Make setting optional and validate relevant scheduler backend exists
sitaowang1998 Oct 8, 2025
172772b
Add root connection in sql adapter
sitaowang1998 Oct 8, 2025
6546baf
Add spider database setup
sitaowang1998 Oct 8, 2025
256f00b
Add spider init script call to create db tables script
sitaowang1998 Oct 8, 2025
0da12eb
Add spider scheduler service; Fix config; Add controller setup for sp…
sitaowang1998 Oct 9, 2025
cb821b5
Make compression scheduler depends on spider scheduler
sitaowang1998 Oct 9, 2025
41b90d7
Add script to start multiple spider worker; Add docker service to sta…
sitaowang1998 Oct 9, 2025
4e13785
Fix credential lading in start-clp
sitaowang1998 Oct 9, 2025
f9dcf77
Add compression scheduler check for which task manager to use
sitaowang1998 Oct 9, 2025
4ff8e05
Fix lint
sitaowang1998 Oct 9, 2025
28abb0f
Skip spider table creation if spider_db not configured
sitaowang1998 Oct 9, 2025
4bfd6d3
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 9, 2025
71b90e5
Use redis&queue by default in config
sitaowang1998 Oct 9, 2025
7357a7e
Fix enum
sitaowang1998 Oct 10, 2025
d3b34cf
Revert "Fix enum"
sitaowang1998 Oct 10, 2025
cc9a1f4
refactor(config): Rename type `Host` -> `DomainStr`; Add TODO docstri…
junhaoliao Oct 10, 2025
96ac165
Merge branch 'main' into pydantic-impf
junhaoliao Oct 10, 2025
04929ea
Add custom annotation for serialization
sitaowang1998 Oct 10, 2025
57b2789
Remove field without custom serialization
sitaowang1998 Oct 10, 2025
0b6f43c
Bug fix
sitaowang1998 Oct 10, 2025
06d9c39
Add custom annotation for serialization
sitaowang1998 Oct 10, 2025
43c2295
Remove field without custom serialization
sitaowang1998 Oct 10, 2025
e09d497
Bug fix
sitaowang1998 Oct 10, 2025
8e0f163
Fix lint
sitaowang1998 Oct 10, 2025
4878bd2
Fix merge
sitaowang1998 Oct 10, 2025
cc71ad1
Fix orchestration type
sitaowang1998 Oct 10, 2025
c608e7b
Bug fix
sitaowang1998 Oct 10, 2025
358fe4b
Fix compression scheduler
sitaowang1998 Oct 10, 2025
535b696
Add spider table creation
sitaowang1998 Oct 10, 2025
a405aea
Fix none tag id
sitaowang1998 Oct 10, 2025
7d18129
fix(docker): Move USER and ENV directives after image flattening in c…
junhaoliao Oct 13, 2025
ef046e5
fix(docker): Include `libmariadbcpp.so` (required by `spider_schedule…
junhaoliao Oct 13, 2025
cfa71d8
Make COPY arch-agnostic and include SONAME symlinks
junhaoliao Oct 13, 2025
b193c2f
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 13, 2025
f83a4b6
Merge branch 'main' into bundle-mariadb
junhaoliao Oct 14, 2025
3195ef0
feat(docker): Update clp-package Dockerfile; add non-root user and se…
junhaoliao Oct 14, 2025
18a1b18
fix(docker): Reorder and restructure ENV directives in clp-package Do…
junhaoliao Oct 14, 2025
3ef8714
add \
junhaoliao Oct 14, 2025
5a4826f
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 14, 2025
37b4eda
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 14, 2025
3a57db7
Merge branch 'main' into pydantic-enum
sitaowang1998 Oct 14, 2025
e487f82
Fix enum
sitaowang1998 Oct 14, 2025
1b2d4cb
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 14, 2025
c98ba25
Merge branch 'bundle-mariadb' into spider-job-integration
sitaowang1998 Oct 15, 2025
50dc075
Add spider docker files and the use of them
sitaowang1998 Oct 15, 2025
f55e96c
Merge branch 'pydantic-enum' into spider-job-integration
sitaowang1998 Oct 15, 2025
d993b2e
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 15, 2025
2fc6a72
Bug fix
sitaowang1998 Oct 15, 2025
3a6dcd8
Fix private var
sitaowang1998 Oct 15, 2025
8253a1d
Update docker files
sitaowang1998 Oct 15, 2025
b7b4b7c
Fix docker
sitaowang1998 Oct 15, 2025
ad95784
Fix storage url
sitaowang1998 Oct 15, 2025
d79b58e
Fix docker file
sitaowang1998 Oct 15, 2025
84c011b
Add main for script
sitaowang1998 Oct 17, 2025
272706f
Bandit solution for column width
sitaowang1998 Oct 17, 2025
234f0f0
Fix docker compose
sitaowang1998 Oct 17, 2025
24db721
Merge branch 'main' into bundle-mariadb
junhaoliao Oct 18, 2025
31b6618
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 19, 2025
5bac1ff
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 19, 2025
61b57b7
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 20, 2025
134e959
Fix merge
sitaowang1998 Oct 20, 2025
45b119e
Fix lint
sitaowang1998 Oct 20, 2025
8a8400f
Fix single return type
sitaowang1998 Oct 20, 2025
029b641
Merge branch 'spider-one-task' into spider-job-integration
sitaowang1998 Oct 20, 2025
50037cc
Merge docker file
sitaowang1998 Oct 20, 2025
079ff48
Fix LD_LIBRARY_PATH
sitaowang1998 Oct 20, 2025
2c08c94
Bug fix
sitaowang1998 Oct 20, 2025
812bb25
Use empty tag ids instead of None
sitaowang1998 Oct 20, 2025
46fcb98
Merge branch 'tag-id-none' into spider-job-integration
sitaowang1998 Oct 20, 2025
7ef1c94
Revert None support for tag_ids
sitaowang1998 Oct 20, 2025
6913123
Merge branch 'spider-one-task' into spider-job-integration
sitaowang1998 Oct 20, 2025
e210cea
Fix yaml lint
sitaowang1998 Oct 20, 2025
b19b1ec
Merge remote-tracking branch 'origin/main' into bundle-mariadb
junhaoliao Oct 20, 2025
78a7af3
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 20, 2025
b3e673f
fix(docker): Use `--link` flag in COPY command for clp-package Docker…
junhaoliao Oct 20, 2025
65f2d1b
fix(docker): Reorder COPY command in clp-package Dockerfile
junhaoliao Oct 20, 2025
b522212
fix(docker): Add ARG for UID and set ownership in COPY command for cl…
junhaoliao Oct 20, 2025
42fba6c
merge with the latest from #1413
junhaoliao Oct 20, 2025
99d353a
Merge branch 'main' into bundle-mariadb
sitaowang1998 Oct 20, 2025
dba99b7
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 21, 2025
8580b7a
Merge branch 'main' into bundle-mariadb
junhaoliao Oct 21, 2025
360cac6
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 21, 2025
913dea3
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 21, 2025
8a991cc
Merge branch 'main' into fix-clp-package-docker
junhaoliao Oct 21, 2025
13f2cfd
feat(webui): Show query speed in native search status. (#1429)
hoophalab Oct 21, 2025
332fde3
fix(job-orchestration): Make `tag_ids` a required `list[int]` for com…
sitaowang1998 Oct 21, 2025
3a99370
Merge branch 'docker-compose' into spider-job-integration
sitaowang1998 Oct 21, 2025
a6598e6
Adapt spider docker file
sitaowang1998 Oct 21, 2025
fa375d7
feat(clp-mcp-server): Add log viewer links to query results for displ…
All-less Oct 21, 2025
89f0a1c
Merge branch 'main' into fix-clp-package-docker
sitaowang1998 Oct 21, 2025
2be2d5c
Fix docker file
sitaowang1998 Oct 21, 2025
dda9534
Merge branch 'fix-clp-package-docker' into spider-job-integration
sitaowang1998 Oct 21, 2025
36b0f9a
Fix docker file log env
sitaowang1998 Oct 21, 2025
8a7549a
Merge branch 'bundle-mariadb' into spider-job-integration
sitaowang1998 Oct 21, 2025
94ce817
feat(ci): Add tasks for checking and updating Rust lock file (`Cargo.…
LinZhihao-723 Oct 21, 2025
8cebaa4
feat(webui): Trigger submit action when pressing Enter on Monaco sing…
davemarco Oct 22, 2025
8e77a81
fix(ci): Run Rust workflows only when changes affect Rust code (fixes…
LinZhihao-723 Oct 22, 2025
b059fa0
feat(clp-mcp-server): Add `search_by_kql` MCP tool call. (#1436)
20001020ycx Oct 22, 2025
237ba42
chore(python)!: Bump minimum required Python version to 3.10 (resolve…
junhaoliao Oct 23, 2025
9ff731b
feat(deployment)!: Migrate package orchestration to Docker Compose (r…
junhaoliao Oct 23, 2025
6901432
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 23, 2025
63e9db7
feat(clp-mcp-server): Add `search_by_kql_with_timestamp_range` MCP to…
20001020ycx Oct 23, 2025
fb8c8e0
Parse spider related config selectively
sitaowang1998 Oct 23, 2025
cd2b8c2
Remove unused doc before merge main
sitaowang1998 Oct 23, 2025
6803e83
feat(taskfile): Verify `Cargo.lock` without updating dependencies (re…
LinZhihao-723 Oct 23, 2025
a17b9b2
Update spider docker file
sitaowang1998 Oct 23, 2025
2888b63
Fix docker file
sitaowang1998 Oct 23, 2025
16a8f29
Fix merge
sitaowang1998 Oct 23, 2025
cb71d3b
feat(webui): Disable guided inputs while query running; Replace redun…
davemarco Oct 23, 2025
6abc934
fix(clp-package): Use component-specific log directories for compress…
junhaoliao Oct 23, 2025
4879aa1
Fix spider docker merge
sitaowang1998 Oct 23, 2025
3a80b30
Merge branch 'main' of github.com:y-scope/clp into spider-job-integra…
sitaowang1998 Oct 23, 2025
1330c6a
feat(clp-package): Add MCP Server config interface and Docker Compose…
20001020ycx Oct 24, 2025
448068a
feat(docker): Create non-root `clp-user`; Move `USER` and `ENV` direc…
junhaoliao Oct 24, 2025
0b5a966
feat(clp-package)!: Add support for specifying a temporary directory;…
junhaoliao Oct 24, 2025
bc901fc
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 24, 2025
eb7f0d5
fix(clp-mcp-server): Return an error when a KQL query has no results.…
20001020ycx Oct 24, 2025
929bd25
feat(log-converter): Add log-converter binary which converts unstruct…
gibber9809 Oct 25, 2025
1677431
fix(clp-mcp-server): Include log viewer links in formatted log events…
20001020ycx Oct 26, 2025
9e82bdb
chore(deployment): Exclude generated `.env` file under `presto-clp` f…
junhaoliao Oct 26, 2025
6c6de99
fix(deployment): Update archives directory mount paths in Presto Dock…
junhaoliao Oct 26, 2025
2ac456e
feat(clp-package)!: Add `compress-from-s3` Python and shell scripts f…
Eden-D-Zhang Oct 26, 2025
874df6d
feat(deployment): Add `--setup-only` flag to `start-clp.sh` to set up…
junhaoliao Oct 27, 2025
1b92ca8
fix(docker): Include `libmariadbcpp.so` (required by `spider_schedule…
junhaoliao Oct 27, 2025
fdd2f82
fix(deployment): Use CLP Package's Docker Compose network for Presto …
junhaoliao Oct 27, 2025
fca9019
Merge branch 'main' into spider-job-integration
sitaowang1998 Oct 27, 2025
80fdb78
feat(webui): Reset states when switching between freeform and guided.…
davemarco Oct 27, 2025
69fbe45
feat(webui): Enable guided mode for Presto Web UI. (#1490)
davemarco Oct 27, 2025
8691e36
feat(clp-package): Add support for compressing unstructured text logs…
gibber9809 Oct 27, 2025
bc9dc33
feat(ci): Add tasks for checking and updating UV lock files (`uv.lock…
junhaoliao Oct 27, 2025
a587187
Fix merge
sitaowang1998 Oct 28, 2025
249d7b7
feat(clp-s): Optimize KV-IR ingestion by directly ingesting `EncodedT…
gibber9809 Oct 28, 2025
e0dbed5
feat(clp-config): Change default configuration for mcp-server to be n…
rishikeshdevsot Oct 28, 2025
cf28e78
feat(webui): Minor UI improvements: (#1511)
davemarco Oct 28, 2025
61349e9
fix(clp-package): Write compression task failure errors to a log, and…
quinntaylormitchell Oct 28, 2025
5312c87
feat(clp-rust-utils): Add a utility function for creating SQS client.…
LinZhihao-723 Oct 29, 2025
56ebca1
fix(clp-package): Connect directly to the MongoDB replica (results ca…
junhaoliao Oct 29, 2025
f2da1db
fix(deployment): Use container user’s home directory as the base for …
junhaoliao Oct 30, 2025
caa2f9d
refactor(deployment): Refactor Package Docker Compose files using ser…
sitaowang1998 Oct 30, 2025
0f24600
docs: Add Slack community invite badge to documentation site index (f…
AVMatthews Oct 30, 2025
e81dbfc
feat(clp-rust-utils): Add `ClpIoConfig` and related inner configurati…
LinZhihao-723 Oct 31, 2025
5c0a903
chore(webui): Update yscope-log-viewer to y-scope/yscope-log-viewer@c…
junhaoliao Oct 31, 2025
4281c1a
docs(clp-package): Rewrite S3 log compression guide to reflect new AP…
LinZhihao-723 Nov 1, 2025
5cc777c
fix(clp-mcp-server): Refine system prompt to make LLMs' KQL query gen…
20001020ycx Nov 3, 2025
ea634b4
docs: Add user guide for CLP MCP server. (#1456)
rishikeshdevsot Nov 3, 2025
c9fbb46
Merge branch 'main' into spider-job-integration
sitaowang1998 Nov 3, 2025
bf1937d
feat(clp-rust-utils): Add serde-compatible mirror structs for package…
hoophalab Nov 3, 2025
7c95e23
feat(clp-rust-utils): Add structs to support deserialization of AWS S…
LinZhihao-723 Nov 3, 2025
551c309
Use bytes
sitaowang1998 Nov 3, 2025
a283379
feat(clp-rust-utils): Add utility function to create MySQL connection…
LinZhihao-723 Nov 3, 2025
ad7cffe
fix(clp-package): Remove duplicate `PYTHONPATH` from the container st…
junhaoliao Nov 4, 2025
8071934
feat(webui): Increase precision of time range in guided UI from secon…
davemarco Nov 4, 2025
6b04fa5
feat(clp-s::timestamp_parser): Add initial partial implementation of …
gibber9809 Nov 4, 2025
f798f1f
feat(kv-ir): Add `StringBlob` for compact storage of multiple strings…
LinZhihao-723 Nov 4, 2025
d4168d7
feat(clp-package)!: Containerize the scripts in `sbin` via Docker Com…
junhaoliao Nov 5, 2025
6d04055
fix(clp-package): Ensure at least one worker in default calculations …
junhaoliao Nov 5, 2025
5841cf7
fix(clp-package): Use generic archive directory as mount target in `n…
junhaoliao Nov 5, 2025
806a8c1
docs(core): Remove outdated `components/core/CHANGELOG.md` (resolves …
junhaoliao Nov 5, 2025
62b21b8
fix(deps): Update `yscope-dev-utils` to y-scope/yscope-dev-utils@49e0…
Bill-hbrhbr Nov 5, 2025
b7c4763
feat(webui): Modify ANTLR grammar to support parsing individual SQL f…
davemarco Nov 5, 2025
ec509bf
fix(clp-package): Detect Docker plugin directory from `docker info` a…
junhaoliao Nov 5, 2025
45c201d
fix(clp-package): Use host networking for the `sbin` script container…
junhaoliao Nov 6, 2025
10cdc91
fix(clp-package): Resolve relative paths and symlinks in host input a…
junhaoliao Nov 6, 2025
1a0c362
feat(deployment): Set memory configurations for Presto workers (resol…
junhaoliao Nov 6, 2025
d7c65f5
fix: Standardize error handling in shell scripts with errexit, nounse…
junhaoliao Nov 6, 2025
fe2720e
feat(api-server): Initial commit for CLP API server: (#1534)
hoophalab Nov 7, 2025
8a5fca2
feat(log-ingestor): Add `Listener` to asynchronously receive and buff…
LinZhihao-723 Nov 7, 2025
0d87904
fix(clp-package): Disable Docker interactive mode when running `sbin`…
junhaoliao Nov 7, 2025
f7a978c
feat(integration-tests): Install CLP Python projects to enable their …
Bill-hbrhbr Nov 7, 2025
a83e156
docs(deployment): Add multi-host deployment and external database set…
junhaoliao Nov 9, 2025
6ff94f8
feat(clp-package)!: Change default flavor to clp-json; Fix `pkg-tar` …
junhaoliao Nov 9, 2025
8b997dd
fix(clp-package): Remove `v` prefix from the package container image'…
kirkrodrigues Nov 10, 2025
dcc9c64
chore: Bump version to 0.6.1-dev for next development cycle. (#1579)
junhaoliao Nov 10, 2025
027b366
fix(integration-tests): Prevent stale uv installs by marking local so…
quinntaylormitchell Nov 10, 2025
0274e6c
feat(clp-s::timestamp_parser): Add support for parsing date-time and …
gibber9809 Nov 10, 2025
f9d75d7
feat(ffi): Add new `EncodedTextAst` implementation that uses `StringB…
LinZhihao-723 Nov 11, 2025
f50b5dc
refactor(integration-tests): Simplify `uv run python -m pytest` to `u…
quinntaylormitchell Nov 11, 2025
410189e
refactor(taskfile): Refactor Rust lint tasks (fixes #1451): (#1472)
LinZhihao-723 Nov 11, 2025
a6dd50e
feat(clp-package): Add API Server config interface and Docker Compose…
hoophalab Nov 11, 2025
e276511
feat(webui): Reorganize layout of guided and freeform Presto UI. (#1578)
davemarco Nov 12, 2025
8f2fe98
style(clp-package): Rename Python classes to properly follow PascalCa…
junhaoliao Nov 13, 2025
8e680d7
feat(LocalStack): Add LocalStack support for AWS service emulation: (…
LinZhihao-723 Nov 13, 2025
2b67393
feat(webui): Add hover messages for ANTLR parsing errors in Monaco si…
davemarco Nov 13, 2025
c1e0001
fix(clp-mcp-server): Add missing `clp-py-utils` dependency needed for…
20001020ycx Nov 13, 2025
3f53951
fix(webui): Update default `storage_engine` and `query_engine` to `cl…
junhaoliao Nov 13, 2025
e3e27c5
docs(clp-package): Document notable configurations in the `clp-packag…
junhaoliao Nov 13, 2025
e736bcd
ci: Add missing monitored paths to the `clp-rust-checks` GH workflow.…
LinZhihao-723 Nov 13, 2025
dfb4526
ci: Drop macOS 14 from GH workflows since it's over 2 years old. (#1600)
kirkrodrigues Nov 13, 2025
ac660b2
Update spider library
sitaowang1998 Nov 14, 2025
9909731
Bump spider-py version
sitaowang1998 Nov 14, 2025
ed3ebb8
Merge branch 'main' into spider-job-integration
sitaowang1998 Nov 15, 2025
37e9639
Update mariadb version
sitaowang1998 Nov 15, 2025
2f75a06
Fix merge
sitaowang1998 Nov 15, 2025
999f834
Update lock file
sitaowang1998 Nov 15, 2025
375636b
Fix lint
sitaowang1998 Nov 15, 2025
ecf685d
Remove docker package in doc
sitaowang1998 Nov 15, 2025
dc808fd
Remove used function
sitaowang1998 Nov 15, 2025
b34acf3
Fix docstring
sitaowang1998 Nov 15, 2025
2e820be
Fix valdiator
sitaowang1998 Nov 15, 2025
9bf4c34
Fix clp config spider db check
sitaowang1998 Nov 15, 2025
e054086
Fix exception catching
sitaowang1998 Nov 15, 2025
75412d7
Remove name validation
sitaowang1998 Nov 15, 2025
75cab42
Add error checking for start spider worker script
sitaowang1998 Nov 15, 2025
d618074
Fix fstring
sitaowang1998 Nov 15, 2025
616dd47
Fix clp config
sitaowang1998 Nov 15, 2025
4845e92
Fix lint
sitaowang1998 Nov 15, 2025
e7cb62f
Apply suggestions from code review
sitaowang1998 Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ rustflags = [
"-Dclippy::nursery",
"-Dclippy::pedantic",
]
target-dir = "build/rust-targets"
1 change: 0 additions & 1 deletion .github/actions/run-on-image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ runs:
- run: >-
docker run
--user $(id -u):$(id -g)
--env npm_config_cache=/tmp/.npm
--volume "$GITHUB_WORKSPACE":/mnt/repo
--workdir /mnt/repo
${{steps.get_image_props.outputs.qualified_image_name}}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/clp-artifact-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ jobs:
shell: "bash"
run: "chown $(id -u):$(id -g) -R ."

- name: "Build the package"
- name: "Build the package without the package image"
uses: "./.github/actions/run-on-image"
env:
OS_NAME: "ubuntu-jammy"
Expand All @@ -548,7 +548,9 @@ jobs:
${{needs.filter-relevant-changes.outputs.ubuntu_jammy_image_changed == 'false'
|| (github.event_name != 'pull_request' && github.ref == 'refs/heads/main')}}
run_command: >-
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN) task package
CLP_CPP_MAX_PARALLELISM_PER_BUILD_TASK=$(getconf _NPROCESSORS_ONLN)
HOME=/tmp
task package-build-deps

- uses: "./.github/actions/clp-build-runtime-image"
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/clp-core-build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
strategy:
matrix:
os:
- "macos-14"
- "macos-15"
use_shared_libs:
- true
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/clp-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,30 @@ jobs:
name: "Install coreutils (for md5sum)"
run: "brew install coreutils"

# This is a necessary dependency for the Python mariadb package which is a transitive
# dependency of `lint:py-check`.
- name: "Install MariaDB Connector/C"
shell: "bash"
run: |-
case "${{ matrix.os }}" in
ubuntu-24.04)
sudo apt-get update
sudo apt-get install -y libmariadb-dev
MARIADB_CONFIG_PATH="$(command -v mariadb_config)"
;;
macos-15)
brew update
brew install mariadb-connector-c
PREFIX="$(brew --prefix mariadb-connector-c)"
MARIADB_CONFIG_PATH="$PREFIX/bin/mariadb_config"
;;
*)
# Control flow should not reach here
exit 1
;;
esac
echo "MARIADB_CONFIG=$MARIADB_CONFIG_PATH" >> "$GITHUB_ENV"

- name: "Lint .js files"
shell: "bash"
run: "task lint:check-js"
Expand Down
27 changes: 20 additions & 7 deletions .github/workflows/clp-rust-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@ name: "clp-rust-checks"

on:
pull_request:
paths: &monitored_paths
- ".cargo/**"
- "Cargo.lock"
- "Cargo.toml"
- ".github/workflows/clp-rust-checks.yaml"
- "components/api-server/**"
- "components/clp-rust-utils/**"
- "components/log-ingestor/**"
- "taskfile.yaml"
- "taskfiles/**"
- "tools/scripts/localstack/**"
push:
paths: *monitored_paths
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
Expand All @@ -15,13 +27,7 @@ concurrency:

jobs:
rust-checks:
strategy:
matrix:
os:
- "macos-15"
- "ubuntu-22.04"
- "ubuntu-24.04"
runs-on: "${{matrix.os}}"
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
with:
Expand All @@ -31,6 +37,13 @@ jobs:
shell: "bash"
run: "npm install -g @go-task/[email protected]"

- name: "Install the latest version of uv"
uses: "astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41" # v7.1.2

- name: "Validate lock files"
shell: "bash"
run: "task deps:lock:check-rust"

- name: "Lint"
shell: "bash"
run: "task lint:check-rust"
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/clp-uv-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "clp-uv-checks"

on:
pull_request:
paths: &monitored_paths
- ".github/workflows/clp-uv-checks.yaml"
- "components/clp-mcp-server/pyproject.toml"
- "components/clp-mcp-server/uv.lock"
- "components/clp-package-utils/pyproject.toml"
- "components/clp-package-utils/uv.lock"
- "components/clp-py-utils/pyproject.toml"
- "components/clp-py-utils/uv.lock"
- "components/job-orchestration/pyproject.toml"
- "components/job-orchestration/uv.lock"
- "integration-tests/pyproject.toml"
- "integration-tests/uv.lock"
push:
paths: *monitored_paths
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:

concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true

jobs:
uv-checks:
strategy:
matrix:
os:
- "macos-15"
- "ubuntu-22.04"
- "ubuntu-24.04"
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8" # v5.0.0
with:
submodules: "recursive"

- name: "Install task"
shell: "bash"
run: "npm install -g @go-task/[email protected]"

- name: "Install the latest version of uv"
uses: "astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41" # v7.1.2

- name: "Validate lock files"
shell: "bash"
run: "task deps:lock:check-uv"
Loading