feat: add cli event handler #682
ci.yml
on: pull_request
Run linters
4m 24s
Matrix: Run tests
Annotations
28 errors and 7 warnings
test_vector_store.test_vector_store_list_limit_offset:
packages/ragbits-core/tests/cli/test_vector_store.py#L112
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 1,
offset: 1
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L127
assert 'Vector' not in 'InMemoryVec...\n }\n]\n'
'Vector' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
? ++++++
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 10
Outputs:
returned: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'anothe (...) [
{
"id": "1",
"key": "entry 1",
"vector": [
4.0,
5.0
],
"metadata": {
"key": "value"
}
},
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
},
{
"id": "3",
"key": "entry 3",
"vector": [
7.0,
8.0
],
"metadata": {
"foo": "bar",
"baz": "qux"
}
}
]
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_query:
packages/ragbits-core/tests/cli/test_vector_store.py#L193
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: NoopEmbeddings.embed_text Status: completed; Duration: 0.000s
Inputs:
data: ['example query']
Outputs:
returned: [[0.1, 0.1]]InMemoryVectorStore.retrieve Status: completed; Duration: 0.000s
Inputs:
vector: [0.1, 0.1],
options: k=1 max_distance=None
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_json:
packages/ragbits-core/tests/cli/test_vector_store.py#L214
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
test_vector_store.test_vector_store_list_limit_offset:
packages/ragbits-core/tests/cli/test_vector_store.py#L112
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 1,
offset: 1
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L127
assert 'Vector' not in 'InMemoryVec...\n }\n]\n'
'Vector' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
? ++++++
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 10
Outputs:
returned: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'anothe (...) [
{
"id": "1",
"key": "entry 1",
"vector": [
4.0,
5.0
],
"metadata": {
"key": "value"
}
},
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
},
{
"id": "3",
"key": "entry 3",
"vector": [
7.0,
8.0
],
"metadata": {
"foo": "bar",
"baz": "qux"
}
}
]
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_query:
packages/ragbits-core/tests/cli/test_vector_store.py#L193
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: NoopEmbeddings.embed_text Status: completed; Duration: 0.000s
Inputs:
data: ['example query']
Outputs:
returned: [[0.1, 0.1]]InMemoryVectorStore.retrieve Status: completed; Duration: 0.000s
Inputs:
vector: [0.1, 0.1],
options: k=1 max_distance=None
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_json:
packages/ragbits-core/tests/cli/test_vector_store.py#L214
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
test_vector_store.test_vector_store_list_limit_offset:
packages/ragbits-core/tests/cli/test_vector_store.py#L112
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 1,
offset: 1
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L127
assert 'Vector' not in 'InMemoryVec...\n }\n]\n'
'Vector' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
? ++++++
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 10
Outputs:
returned: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'anothe (...) [
{
"id": "1",
"key": "entry 1",
"vector": [
4.0,
5.0
],
"metadata": {
"key": "value"
}
},
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
},
{
"id": "3",
"key": "entry 3",
"vector": [
7.0,
8.0
],
"metadata": {
"foo": "bar",
"baz": "qux"
}
}
]
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_query:
packages/ragbits-core/tests/cli/test_vector_store.py#L193
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: NoopEmbeddings.embed_text Status: completed; Duration: 0.000s
Inputs:
data: ['example query']
Outputs:
returned: [[0.1, 0.1]]InMemoryVectorStore.retrieve Status: completed; Duration: 0.000s
Inputs:
vector: [0.1, 0.1],
options: k=1 max_distance=None
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_json:
packages/ragbits-core/tests/cli/test_vector_store.py#L214
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
Run tests (3.11)
Process completed with exit code 1.
|
test_vector_store.test_vector_store_list_limit_offset:
packages/ragbits-core/tests/cli/test_vector_store.py#L112
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 1,
offset: 1
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_columns:
packages/ragbits-core/tests/cli/test_vector_store.py#L127
assert 'Vector' not in 'InMemoryVec...\n }\n]\n'
'Vector' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
? ++++++
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: InMemoryVectorStore.list Status: completed; Duration: 0.000s
Inputs:
limit: 10
Outputs:
returned: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'anothe (...) [
{
"id": "1",
"key": "entry 1",
"vector": [
4.0,
5.0
],
"metadata": {
"key": "value"
}
},
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
},
{
"id": "3",
"key": "entry 3",
"vector": [
7.0,
8.0
],
"metadata": {
"foo": "bar",
"baz": "qux"
}
}
]
|
test_vector_store.test_vector_store_list_columns_non_existent:
packages/ragbits-core/tests/cli/test_vector_store.py#L154
assert 0 == 1
+ where 0 = <Result okay>.exit_code
|
test_vector_store.test_vector_store_remove:
packages/ragbits-core/tests/cli/test_vector_store.py#L165
assert 'Removed entries with IDs: 1, 3' in 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n'
+ where 'InMemoryVectorStore.store Status: completed; Duration: 0.000s\nInputs: \nentries: [VectorStoreEntry(id=\'1\', key=\'entry 1\', vector=[4.0, 5.0], \nmetadata={\'key\': \'value\'}), VectorStoreEntry(id=\'2\', key=\'entry 2\', vector=[1.0,\n2.0], metadata={\'another (...) \nOutputs: InMemoryVectorStore.remove Status: completed; Duration: 0.000s\nInputs: \nids: [\'1\', \'3\']\nOutputs: [\n {\n "id": "1"\n },\n {\n "id": "3"\n }\n]\n' = <Result okay>.stdout
|
test_vector_store.test_vector_store_query:
packages/ragbits-core/tests/cli/test_vector_store.py#L193
assert 'entry 1' not in 'InMemoryVec...\n }\n]\n'
'entry 1' is contained here:
InMemoryVectorStore.store Status: completed; Duration: 0.000s
Inputs:
entries: [VectorStoreEntry(id='1', key='entry 1', vector=[4.0, 5.0],
? +++++++
metadata={'key': 'value'}), VectorStoreEntry(id='2', key='entry 2', vector=[1.0,
2.0], metadata={'another (...)
Outputs: NoopEmbeddings.embed_text Status: completed; Duration: 0.000s
Inputs:
data: ['example query']
Outputs:
returned: [[0.1, 0.1]]InMemoryVectorStore.retrieve Status: completed; Duration: 0.000s
Inputs:
vector: [0.1, 0.1],
options: k=1 max_distance=None
Outputs:
returned: [VectorStoreEntry(id='2', key='entry 2', vector=[1.0, 2.0],
metadata={'another_key': 'another_value'})][
{
"id": "2",
"key": "entry 2",
"vector": [
1.0,
2.0
],
"metadata": {
"another_key": "another_value"
}
}
]
|
test_vector_store.test_vector_store_list_json:
packages/ragbits-core/tests/cli/test_vector_store.py#L214
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
|
Run tests (3.10)
Process completed with exit code 1.
|
Run tests (3.12)
Process completed with exit code 1.
|
Run tests (3.13)
Process completed with exit code 1.
|
Run tests (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (3.12)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run tests (3.13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run linters
No files were found with the provided path: report.xml. No artifacts will be uploaded.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "packages", "results", "test-report".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
packages
Expired
|
568 KB |
|
results
Expired
|
36.4 KB |
|
test-report
Expired
|
165 KB |
|