stanislav.hejny
bfa6a97ca8
Merge branch 'develop' into cleverbrag-integration-2
Unit test coverage / pytest (push) Successful in 1m14s
Unit test coverage / pytest (pull_request) Successful in 1m14s
2025-06-02 23:23:26 +00:00
Stanislav Hejny
748af5a3d7
Issue #23 - add test suite for CleverBRAG
Unit test coverage / pytest (push) Successful in 1m6s
Unit test coverage / pytest (pull_request) Successful in 1m11s
2025-06-02 12:18:14 +01:00
Stanislav Hejny
7e04106ab4
Issue #23 - add unit test for new code from fixes identified after running test for BRAG collections
Unit test coverage / pytest (push) Successful in 1m8s
2025-06-02 12:11:07 +01:00
Stanislav Hejny
d9583cb218
Issue #23 - fixes identified after running test for BRAG collections
2025-06-02 11:09:10 +01:00
Stanislav Hejny
8db2ad0b64
issue #23 - unit test coverage
Unit test coverage / pytest (push) Failing after 3m17s
2025-05-29 01:43:21 +01:00
Stanislav Hejny
5261b1f959
issue #23 - fixing issues from integration test, part 3
2025-05-29 01:05:05 +01:00
Stanislav Hejny
59e04300b0
issue #23 - fixing issues from integration test, part 2
2025-05-28 11:14:10 +01:00
Stanislav Hejny
82c8a298cd
issue #23 - fixing issues from integration test
Unit test coverage / pytest (push) Failing after 1m9s
2025-05-27 13:34:09 +01:00
hurui200320
8224e4020f
ci: move back to forgejo
...
Unit test coverage / pytest (pull_request) Successful in 2m3s
Unit test coverage / pytest (push) Successful in 1m51s
CI for pypl publish / publish-lib (push) Successful in 1m53s
ISSUES CLOSED : clevermicro/amq-adapter-python#8
2025-05-22 04:42:03 +00:00
stanislav.hejny
73aca8cf25
Merge pull request 'Implement unit test' ( #47 ) from unittest-coverage-85 into develop
...
Unit test coverage / pytest (push) Successful in 1m14s
CI for pypl publish / publish-lib (push) Failing after 1m15s
Reviewed-on: #47
2025-05-19 14:30:14 +00: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
2e12d5ab57
test(General): finished unit test, coverage 88%
...
Unit test coverage / pytest (push) Successful in 1m8s
Unit test coverage / pytest (pull_request) Successful in 1m6s
ISSUES CLOSED : clevermicro/amq-adapter-python#16
2025-05-16 18:16:04 +08:00
hurui200320
aec53f5b34
test(General): implement unit test for data parser, rabbitmq client and other python files
...
Unit test coverage / pytest (push) Failing after 1m7s
This commit bump the coverage rate to 77%
2025-05-15 17:06:05 +08:00
Stanislav Hejny
33431e87fc
issue #16 - add model tests, cursor config file and update the tracing.py to setup Jaeger & Prometheus exporters
Unit test coverage / pytest (push) Failing after 1m4s
2025-05-15 00:47:12 +01:00
hurui200320
883ea3400f
test(General): fix existing unit tests for cleverthis service adapter
...
Unit test coverage / pytest (push) Failing after 1m10s
Should bump coverage rate to 62%
2025-05-14 16:16:10 +08:00
hurui200320
85297fa4cf
test(General): finished unit test for file handler, fixed unit test for backpressure handler
Unit test coverage / pytest (push) Failing after 1m4s
2025-05-14 15:08:32 +08:00
Stanislav Hejny
53dce69e8f
issue #16 - fix the pytest hanging after test main thread exits
Unit test coverage / pytest (push) Failing after 1m4s
2025-05-14 01:01:35 +01:00
hurui200320
98fc52fc26
Partially finished the unit test for file handler
Unit test coverage / pytest (push) Failing after 3h4m2s
2025-05-13 18:00:01 +08:00
hurui200320
44b6a8c3f1
test(General): implement unit test for serializer
2025-05-13 15:14:50 +08: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
bc98351493
feat \#16 - add unittest for backpressure_handler and logging_utils
Unit test coverage / pytest (push) Failing after 3h11m10s
2025-05-12 01:06:39 +01:00
stanislav.hejny
5684deb65e
Merge pull request 'WIP #23 - first draft of CleverBRAG facade with endpoints discovery, suggested type (de)serialization and sample invocation' ( #24 ) from cleverbrag-integration into develop
...
Unit test coverage / pytest (push) Failing after 1m49s
CI for pypl publish / publish-lib (push) Failing after 1m35s
Reviewed-on: #24
2025-05-11 23:47:46 +00:00
Stanislav Hejny
c387a2494e
#23 refactor for cleverBRAG, fix failing unit tests
Unit test coverage / pytest (push) Failing after 1m10s
Unit test coverage / pytest (pull_request) Failing after 1m9s
2025-05-12 00:46:18 +01:00
Stanislav Hejny
27a930b3c3
#23 refactor to use shared code between services, part 2
Unit test coverage / pytest (push) Failing after 1m20s
Unit test coverage / pytest (pull_request) Failing after 1m18s
2025-05-11 23:57:27 +01: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
81e9616072
Merge branch 'develop' into cleverbrag-integration
2025-05-09 22:55:41 +01:00
stanislav.hejny
197671038b
Merge pull request ' #43 - fix the issues reported by flake8' ( #44 ) from code-formatting into develop
...
Unit test coverage / pytest (push) Failing after 1m5s
CI for pypl publish / publish-lib (push) Failing after 1m3s
Reviewed-on: #44
2025-05-08 23:02:35 +00:00
Stanislav Hejny
15da316a1f
#43 - fix the issues reported by flake8
Unit test coverage / pytest (push) Failing after 56s
Unit test coverage / pytest (pull_request) Failing after 1m1s
2025-05-08 23:52:33 +01:00
stanislav.hejny
a2bb270535
Merge pull request ' #40 - ensure the JSON format is handled correctly at all levels' ( #42 ) from errors-as-json into develop
...
Unit test coverage / pytest (push) Failing after 1m19s
CI for pypl publish / publish-lib (push) Successful in 1m26s
Reviewed-on: #42
2025-05-07 12:07:32 +00: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
3316d0891e
Merge pull request 'errors-as-json' ( #41 ) from errors-as-json into develop
...
Unit test coverage / pytest (push) Failing after 1m16s
CI for pypl publish / publish-lib (push) Successful in 1m23s
Reviewed-on: #41
2025-05-05 15:12:44 +00: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
d7b21af028
#40 - ensure return is a JSON with 'detail' field in case of the error
2025-05-05 15:55:47 +01:00
stanislav.hejny
687b134326
Merge pull request ' #12 - add comments to properties to complete the documentation of AMQ Adapter' ( #39 ) from config-documemntation into develop
...
Unit test coverage / pytest (push) Failing after 1m15s
CI for pypl publish / publish-lib (push) Failing after 1m16s
Reviewed-on: #39
2025-05-05 12:25:47 +00:00
Stanislav Hejny
08f71aa207
#12 - add comments to properties to complete the documentation of AMQ Adapter
Unit test coverage / pytest (push) Failing after 55s
Unit test coverage / pytest (pull_request) Failing after 1m9s
2025-05-05 13:24:22 +01:00
stanislav.hejny
9ceee90f07
Merge pull request ' #25 - monitor CPU usage to determine backpressure events' ( #38 ) from monitor-cpu-usage into develop
...
Unit test coverage / pytest (push) Failing after 1m13s
CI for pypl publish / publish-lib (push) Successful in 1m15s
Reviewed-on: #38
2025-05-05 12:07:59 +00: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
d40e8319be
Merge pull request ' #28 - stop using Thread as CleverSwarm methods are not thread-safe' ( #37 ) from single-thread into develop
...
Unit test coverage / pytest (push) Failing after 1m16s
CI for pypl publish / publish-lib (push) Successful in 1m20s
Reviewed-on: #37
2025-05-02 09:08:11 +00: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
d681b8ae0f
Merge pull request ' #35 - move CLI tools to dedicated directory so it is not part of the distributable code' ( #36 ) from cli_tools into develop
...
Unit test coverage / pytest (push) Failing after 1m24s
CI for pypl publish / publish-lib (push) Successful in 1m28s
Reviewed-on: #36
2025-05-01 17:28:59 +00: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
8163542388
Merge pull request ' #29 - CleverSwarm integration - fix PUT multipart/form-data message error' ( #30 ) from fix_put_message into develop
...
Unit test coverage / pytest (push) Failing after 1m6s
CI for pypl publish / publish-lib (push) Failing after 1m9s
Reviewed-on: #30
2025-05-01 17:09:52 +00:00
Stanislav Hejny
317a68d0c4
bug #29 - CleverSwarm integration - fix PUT multipart/form-data message error
Unit test coverage / pytest (push) Failing after 1m9s
Unit test coverage / pytest (pull_request) Failing after 1m7s
2025-05-01 18:08:15 +01:00
Stanislav Hejny
21c062ed29
Revert " #29 - CleverSwarm integration - fix PUT multipart/form-data message error"
...
Unit test coverage / pytest (push) Failing after 1m10s
Unit test coverage / pytest (pull_request) Failing after 1m9s
This reverts commit c6b7b2ad7e .
2025-05-01 17:59:30 +01:00
Stanislav Hejny
cf40c7d7e4
Revert "Revert " #29 - CleverSwarm integration - fix PUT multipart/form-data message error""
...
This reverts commit 1540335750 .
2025-05-01 17:59:03 +01:00
Stanislav Hejny
1540335750
Revert " #29 - CleverSwarm integration - fix PUT multipart/form-data message error"
...
This reverts commit c6b7b2ad7e .
2025-05-01 17:00:34 +01:00
stanislav.hejny
10a6c93b8d
Merge pull request ' #32 add the RabbitMQ exchange initialization tool' ( #33 ) from create_tools_exchg into develop
...
Unit test coverage / pytest (push) Failing after 1m9s
CI for pypl publish / publish-lib (push) Successful in 1m12s
Reviewed-on: #33
2025-05-01 15:56:07 +00: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
Stanislav Hejny
c6b7b2ad7e
#29 - CleverSwarm integration - fix PUT multipart/form-data message error
Unit test coverage / pytest (push) Failing after 1m2s
Unit test coverage / pytest (pull_request) Failing after 58s
2025-05-01 00:40:59 +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