Stanislav Hejny
9984501fee
feat/#63 - cleverswarm unidirectional command
Unit test coverage / pytest (push) Failing after 1m46s
/ build-and-push (push) Successful in 1m36s
Unit test coverage / pytest (pull_request) Failing after 1m15s
2025-07-26 15:30:12 +01:00
Stanislav Hejny
9491517696
feat/#63 - fix the send_command and add unit tests
Unit test coverage / pytest (pull_request) Successful in 1m15s
Unit test coverage / pytest (push) Failing after 1m50s
CI for pypl publish / publish-lib (push) Successful in 1m57s
/ build-and-push (push) Successful in 1m59s
Build and Publish Docker Image / build-and-push (push) Successful in 2m12s
2025-07-24 10:05:36 +01:00
Stanislav Hejny
5075f510e9
add consul configuration
Unit test coverage / pytest (push) Failing after 1m19s
/ build-and-push (push) Successful in 1m25s
Unit test coverage / pytest (pull_request) Failing after 1m24s
Build and Publish Docker Image / build-and-push (push) Has been cancelled
2025-07-11 22:41:40 +01:00
Stanislav Hejny
ec7cf6b924
fix: correct package name to python-multipart in pyproject.toml
...
Co-authored-by: aider (openrouter/openai/o3-mini-high) <aider@aider.chat >
2025-07-04 10:05:41 +01:00
Stanislav Hejny
7fd1c62596
Feat #58 - fix backpressure logic and update tests
Unit test coverage / pytest (push) Failing after 1m17s
/ build-and-push (push) Successful in 1m29s
2025-06-28 10:20:55 +02:00
Stanislav Hejny
59e04300b0
issue #23 - fixing issues from integration test, part 2
2025-05-28 11:14:10 +01:00
Stanislav Hejny
3e0f769837
feat #16 - update version so the code can be published as artifact
Unit test coverage / pytest (push) Successful in 1m19s
Unit test coverage / pytest (pull_request) Successful in 1m17s
2025-05-19 15:27:37 +01:00
hurui200320
45357c42a8
test(General): write test for pydantic serializer, fixed serialization bug
...
Unit test coverage / pytest (push) Failing after 3h11m8s
This commit write unit tests for pydantic serializer using cursor ai, and found an issue related to serialization. Originally, the code uses comma to concat string, but map and list also has comma inside. During the deserialization, split using comma will break map and list, leaving `{` with first kv pair for map, and `[` with first element with list. Instead of using concat with comma as separator, I use json to encode the object dict.
2025-05-12 16:42:34 +08:00
Stanislav Hejny
2f6dbd2ad8
#23 refactor to use shared code between services
Unit test coverage / pytest (pull_request) Failing after 1m9s
Unit test coverage / pytest (push) Failing after 1m11s
2025-05-11 15:06:39 +01:00
Stanislav Hejny
5bb6597b57
#40 - ensure the JSON format is handled correctly at all levels
Unit test coverage / pytest (push) Failing after 1m1s
Unit test coverage / pytest (pull_request) Failing after 1m18s
2025-05-07 13:05:04 +01:00
Stanislav Hejny
c862b3cc77
#40 - bump up wheel file version
Unit test coverage / pytest (push) Failing after 57s
Unit test coverage / pytest (pull_request) Failing after 1m20s
2025-05-05 16:11:15 +01:00
Stanislav Hejny
c772a2844a
#25 - monitor CPU usage to determine backpressure events
Unit test coverage / pytest (push) Failing after 59s
Unit test coverage / pytest (pull_request) Failing after 1m18s
2025-05-05 13:05:51 +01:00
Stanislav Hejny
e29b7339f9
#28 - stop using Thread as CleverSwarm methods are not thread-safe
Unit test coverage / pytest (push) Failing after 59s
Unit test coverage / pytest (pull_request) Failing after 1m20s
2025-05-02 10:05:36 +01:00
Stanislav Hejny
4fc81edc62
#35 - move CLI tools to dedicated directory so it is not partr of the distributable code
Unit test coverage / pytest (push) Failing after 57s
Unit test coverage / pytest (pull_request) Failing after 1m23s
2025-05-01 18:26:09 +01:00
Stanislav Hejny
7453bb8860
#32 add the RabbitMQ exchange initialization tool
Unit test coverage / pytest (push) Failing after 56s
Unit test coverage / pytest (pull_request) Failing after 59s
2025-05-01 01:08:26 +01:00
hurui200320
bde74c82b5
Fix pipeline ( #10 )
...
Unit test coverage / pytest (push) Failing after 1m11s
CI for pypl publish / publish-lib (push) Successful in 1m16s
This MR fixed the pipeline so it can run on forgejo runner. Currently we have two pipelines set up:
+ One pipeline will run pytest to test the code and collect coverage data, this pipeline will run on all branches and PRs.
+ One pipeline will build the wheel file and publish it to the company's pypl repo, this pipeline will only run on the master branch and develop branch.
This RP also made the following changes to make the pipeline working:
+ Remove `setup.py` and `requirements.txt`, now the project is fully embraced `pyproject.toml`, which according to ChatGPT, is the most modern way of managing a python project.
+ Move all test files to `tests` folder, so it won't be packed into the final wheel file and affect the coverage rate.
+ Change version to `X.Y.Z-dev`, before building the wheel file, the pipeline will automatically add a UTC timestamp after it, so it becomes `X.Y.Z-devYYYYMMDDHHmmSS`. This is added due to the limitation of the pypl repo, unlike maven snapshot versions, you can't push the same version twice with our pypl repository.
Reviewed-on: #10
Reviewed-by: Stanislav Hejny <stanislav.hejny@cleverthis.com >
Co-authored-by: Rui Hu <rui.hu@cleverthis.com >
Co-committed-by: Rui Hu <rui.hu@cleverthis.com >
2025-04-30 03:38:36 +00:00
Stanislav Hejny
d1ba4db460
#26 - fix the boolean config value conversion, organize all config values to single class
2025-04-29 13:05:56 +01:00
Stanislav Hejny
3dfb7a821d
#15 - Implement Backpressure UPDATE & IDLE, setup AMQ handler in its own thread
2025-04-28 00:49:35 +01:00
stanislav.hejny
04977e5ccc
feat/#1 - improve error logging and fix the file upload to support also the native multipart message
2025-04-18 22:52:34 +01:00
stanislav.hejny
7888f1bddb
rewrite the download function to work with multiple threads
2025-04-16 09:11:05 +01:00
stanislav.hejny
0720c5963f
restructure to fit around python event-loop
2025-04-16 00:24:17 +01:00
Stanislav Hejny
79ed698ac9
Fixes from testing
2025-04-10 21:38:41 +01:00
Stanislav Hejny
113dd38106
Added support for file download
2025-04-09 19:23:26 +01:00
Stanislav Hejny
fc110c7175
Add IDLE backpressure detection
2025-04-06 01:24:51 +01:00
Stanislav Hejny
579102633c
Version that runs with new file upload stream and cleverswarm
2025-04-01 02:54:21 +01:00
Stanislav Hejny
d9af0d0981
Bump-up project version to enable publish to PyPI
2025-02-28 00:15:00 +00:00
Stanislav Hejny
aaf1c77e72
Fix cleverswarm dependencies identified in testing
2025-02-27 23:08:23 +00:00
Stanislav Hejny
dc884c654a
Bump-up project version to enable publish to PyPI
2025-02-27 21:50:44 +00:00
Stanislav Hejny
73c962dc12
Add CI/CD pipeline, adjust for integration with CleverSwarm and other python services
2025-02-26 19:53:44 +00:00