Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.0 #122

Merged
merged 44 commits into from
Feb 4, 2025
Merged

0.8.0 #122

Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
816ae6d
Fixing Issues with Consumers termination
NeonKirill Mar 30, 2024
a84ab94
Increment Version to 0.7.2a1
NeonKirill Mar 30, 2024
99b2236
feat: allow ovos-utils 0.1.0 (#96)
mikejgray Apr 25, 2024
e6c61fa
Increment Version to 0.7.2a2
NeonDaniel Apr 25, 2024
4deb976
Update OVOS dependencies (#98)
NeonDaniel Sep 12, 2024
2c5cd08
Increment Version to 0.7.2a3
NeonDaniel Sep 12, 2024
2aafcf9
[FEAT] Async-based Consumers Support (#99)
NeonKirill Nov 21, 2024
e629a59
Increment Version to 0.7.2a4
NeonDaniel Nov 21, 2024
ef96424
[BUG FIX] Fixing Async Consumer Logic to work based on SelectConnecti…
NeonKirill Dec 3, 2024
a39737e
Increment Version to 0.7.2a5
NeonDaniel Dec 3, 2024
505ea14
Eliminated "self joining" problem in consumer threads and added grace…
NeonKirill Dec 5, 2024
77b6d76
Increment Version to 0.7.2a6
NeonKirill Dec 5, 2024
ab771ee
[Bug Fix] Fixing issue with reopenning connection on consumers (#103)
NeonKirill Dec 5, 2024
c634ead
Increment Version to 0.7.2a7
NeonKirill Dec 5, 2024
9915cc2
Update tests to use temporary RMQ instance and improve coverage (#104)
NeonDaniel Dec 11, 2024
f845c3f
Increment Version to 0.7.2a8
NeonDaniel Dec 11, 2024
13604c7
Improve connection close and error handling (#107)
NeonDaniel Jan 2, 2025
989429a
Increment Version to 0.7.2a9
NeonDaniel Jan 2, 2025
ced4ad7
Fix ` reconnection` with unit test coverage (#109)
NeonDaniel Jan 13, 2025
c5bd3b7
Increment Version to 0.7.2a10
NeonDaniel Jan 13, 2025
87c85ae
Define `shutdown` method for NeonMQHandler with unit test coverage (#…
NeonDaniel Jan 14, 2025
857a7d2
Increment Version to 0.7.2a11
NeonDaniel Jan 14, 2025
a777c9c
Resolve observed connection errors (#111)
NeonDaniel Jan 16, 2025
936c3d0
Increment Version to 0.7.2a12
NeonDaniel Jan 16, 2025
11d48e1
Update StreamLost handling from error to warning to prevent non-actio…
NeonDaniel Jan 17, 2025
ac28303
Increment Version to 0.7.2a13
NeonDaniel Jan 17, 2025
f083a7f
Raise exception if MQ startup check fails (#116)
NeonDaniel Jan 22, 2025
255d7f7
Increment Version to 0.7.2a14
NeonDaniel Jan 22, 2025
43667c8
Update default async consumer behavior and configuration (#113)
NeonDaniel Jan 23, 2025
a9fba67
Increment Version to 0.7.2a15
NeonDaniel Jan 23, 2025
cfc073f
Support Select Connections in `emit_mq_message` (#115)
NeonDaniel Jan 23, 2025
d0f56a5
Increment Version to 0.7.2a16
NeonDaniel Jan 23, 2025
9037174
Update copyright notices to 2025 (#118)
NeonDaniel Jan 23, 2025
2b52c34
Increment Version to 0.7.2a17
NeonDaniel Jan 23, 2025
0aa88f9
Improved Startup Connectivity Checks (#117)
NeonDaniel Jan 23, 2025
2f95c41
Increment Version to 0.7.2a18
NeonDaniel Jan 23, 2025
dd071d5
Add specific handling for RMQ checks without a configured vhost (#119)
NeonDaniel Jan 24, 2025
783abe9
Increment Version to 0.7.2a19
NeonDaniel Jan 24, 2025
3595966
Refactor `_started` to `_consumers_started` to avoid conflicts in cla…
NeonDaniel Jan 24, 2025
1922f5a
Increment Version to 0.7.2a20
NeonDaniel Jan 24, 2025
989e0fa
Update to ensure `message_id` is not None (#121)
NeonDaniel Jan 27, 2025
f1a019e
Increment Version to 0.7.2a21
NeonDaniel Jan 27, 2025
adf3b43
Increment Version to 0.8.0
NeonDaniel Jan 28, 2025
83bc863
Update Changelog
NeonDaniel Jan 28, 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
Prev Previous commit
Next Next commit
Update OVOS dependencies (#98)
* Update dependency to allow for ovos-config~=0.1

* Update upload-artifact action

* Update URL used in unit tests

* Update default config URL

---------

Co-authored-by: Daniel McKnight <daniel@neon.ai>
NeonDaniel and NeonDaniel authored Sep 12, 2024
commit 4deb976822643597773f5b91feca4dec3e0b389b
12 changes: 6 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -32,25 +32,25 @@ jobs:
run: |
pytest tests/test_utils.py --doctest-modules --junitxml=tests/utils-test-results.xml
- name: Upload Utils test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: utils-test-results
name: utils-test-results-${{ matrix.python-version }}
path: tests/utils-test-results.xml
- name: Run Connector Tests
run: |
pytest tests/test_connector.py --doctest-modules --junitxml=tests/connector-test-results.xml
# env:
# MQ_TESTING: 1
- name: Upload Connector test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: connector-test-results
name: connector-test-results-${{ matrix.python-version }}
path: tests/connector-test-results.xml
- name: Run Backward Compatibility Tests
run: |
pytest tests/test_backward_compatibility.py --doctest-modules --junitxml=tests/backward-compatibility-test-results.xml
- name: Upload Backward Compatibility test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: backward-compatibility-test-results
name: backward-compatibility-test-results-${{ matrix.python-version }}
path: tests/backward-compatibility-test-results.xml
2 changes: 1 addition & 1 deletion neon_mq_connector/utils/client_utils.py
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
from neon_mq_connector.utils.network_utils import b64_to_dict

_default_mq_config = {
"server": "api.neon.ai",
"server": "mq.neonaiservices.com",
"port": 5672,
"users": {
"mq_handler": {
4 changes: 2 additions & 2 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pika==1.2.0
ovos-config~=0.0.8
ovos-utils>=0.0.32,<0.2.0
ovos-config~=0.0,>=0.0.8
ovos-utils~=0.0,>=0.0.32
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ def test_repeating_timer(self):
self.assertEqual(self.counter, 3)

def test_wait_for_mq_startup(self):
self.assertTrue(wait_for_mq_startup("api.neon.ai", 5672))
self.assertTrue(wait_for_mq_startup("mq.neonaiservices.com", 5672))
self.assertFalse(wait_for_mq_startup("www.neon.ai", 5672, 1))

def setUp(self) -> None:
@@ -240,5 +240,5 @@ def test_b64_to_dict(self):

def test_check_port_is_open(self):
from neon_mq_connector.utils.network_utils import check_port_is_open
self.assertTrue(check_port_is_open("api.neon.ai", 5672))
self.assertTrue(check_port_is_open("mq.neonaiservices.com", 5672))
self.assertFalse(check_port_is_open("www.neon.ai", 5672))