Commit Graph

29 Commits

Author SHA1 Message Date
dependabot[bot]
2684730f70 build(deps): bump serial_test from 3.4.0 to 3.5.0 (#9276)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 14:58:25 +02:00
dependabot[bot]
86ae3644db build(deps): bump serial_test from 3.3.1 to 3.4.0 (#8204)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 16:57:44 +01:00
dependabot[bot]
7f1899ab99 build(deps): bump serial_test from 3.2.0 to 3.3.1 (#7863)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 22:37:20 +01:00
Arnaud Gourlay
570597ee32 Fix Clippy 1.87 bis (#6518) 2025-05-22 23:10:13 +02:00
Tim Visée
8ad2b34265 Bump Rust edition to 2024 (#6042)
* Bump Rust edition to 2024

* gen is a reserved keyword now

* Remove ref mut on references

* Mark extern C as unsafe

* Wrap unsafe function bodies in unsafe block

* Geo hash implements Copy, don't reference but pass by value instead

* Replace secluded self import with parent

* Update execute_cluster_read_operation with new match semantics

* Fix lifetime issue

* Replace map_or with is_none_or

* set_var is unsafe now

* Reformat
2025-03-21 11:38:56 +01:00
Arnaud Gourlay
b6ace97e95 Fix clippy 1.84 (#5735) 2025-01-08 14:11:13 +01:00
Arnaud Gourlay
ded515e766 Standardize http crate version (#5727) 2025-01-08 14:11:05 +01:00
Arnaud Gourlay
a861f76d3e Misc. cargo file changes (#5725) 2025-01-08 14:10:58 +01:00
Andrey Vasnetsov
0b9f1df0fd allow to read related issues with collection-level access (#5609)
* allow to read related issues with collection-level access

* refactor to use requirements

* patch test

---------

Co-authored-by: Luis Cossío <luis.cossio@outlook.com>
2025-01-08 14:00:54 +01:00
dependabot[bot]
860fc5525c build(deps): bump serial_test from 3.1.1 to 3.2.0 (#5424) 2024-11-12 14:39:59 +01:00
dependabot[bot]
702892c53d build(deps): bump dashmap from 6.0.1 to 6.1.0 (#5055)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v6.0.1...v6.1.0)

---
updated-dependencies:
- dependency-name: dashmap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 15:27:28 +02:00
xzfc
07c278ad51 Enable some of the pedantic clippy lints (#4715)
* Use workspace lints

* Enable lint: manual_let_else

* Enable lint: enum_glob_use

* Enable lint: filter_map_next

* Enable lint: ref_as_ptr

* Enable lint: ref_option_ref

* Enable lint: manual_is_variant_and

* Enable lint: flat_map_option

* Enable lint: inefficient_to_string

* Enable lint: implicit_clone

* Enable lint: inconsistent_struct_constructor

* Enable lint: unnecessary_wraps

* Enable lint: needless_continue

* Enable lint: unused_self

* Enable lint: from_iter_instead_of_collect

* Enable lint: uninlined_format_args

* Enable lint: doc_link_with_quotes

* Enable lint: needless_raw_string_hashes

* Enable lint: used_underscore_binding

* Enable lint: ptr_as_ptr

* Enable lint: explicit_into_iter_loop

* Enable lint: cast_lossless
2024-08-09 18:10:10 +02:00
dependabot[bot]
a2a7624b43 build(deps): bump dashmap from 5.5.3 to 6.0.1 (#4546)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 5.5.3 to 6.0.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v.5.5.3...v6.0.1)

---
updated-dependencies:
- dependency-name: dashmap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 13:33:59 +02:00
Arnaud Gourlay
1c5befe968 Cleanup unused dependencies (#4306) 2024-05-26 12:51:33 +02:00
Luis Cossío
6585d61b6a make broker test independent of a global dashboard (#4240) 2024-05-26 12:32:11 +02:00
Luis Cossío
2701cf1d18 Issues API: Unindexed fields (#4139)
* submit an issue for unindexed field

solve unindexed field issue when an index is created for the field

also log a warning when issue is submitted

fmt

fix rebase problems

get collection name without panicking

better solving of issue

remove outdated TODO

add tests, fix GET /issues

review fixes

use `/` instead of `.` as separator

fmt

prepare extractor for time-based submission

smol rename

add check in search

hook unindexed field creation in search and search_batch of rest

update after rebase on `dev`

remove submit from `struct_payload_index`

solve issues inside of handlers, not in match router

post-process at Collection level

don't clone filters

remove from openapi spec

- Add hidden env variable to adjust slow search threshold
- Remove Solution::None
- Fix UnindexedField issue extractor
- Add endpoint to openapi, but without response body spec
- Move integration test to consensus_tests to set lower threshold

* event-based integration

* use typed Code

* remove payload_index_schema hack, get through collection info

* rename `notify` to `publish`

* update after rebase

* remove breakpoint

* update after rebase

* attach current payload schema to SlowQueryEvent

* collect filters refs lazily

* review fixes

* review fixes

* use regular config for setting the threshold, use 1.2 secs as default

* fix checking against current schema for all conditions
2024-05-26 12:16:45 +02:00
xzfc
8fe5e43764 Introduce Cargo feature "testing" (#4192) 2024-05-09 14:27:37 +02:00
Luis Cossío
b9a1b466f3 Issues API: Listen for issues events in main app (#4123)
* listen for issues events in main app

* don't setup subscribers if `issues` feature is disabled

* Revert "don't setup subscribers if `issues` feature is disabled"

This reverts commit 6754537dd51faa8ebc6f96d03f83b98f2c01c497.
2024-05-02 19:20:28 +02:00
Arnaud Gourlay
eeb419593e Remove outdated rustdoc for Issue module (#4141) 2024-05-02 19:19:19 +02:00
Arnaud Gourlay
854d54ec62 Proactively fix lints for Clippy 1.78 (#4140) 2024-05-02 19:19:13 +02:00
dependabot[bot]
6b9d68da61 Bump serial_test from 3.1.0 to 3.1.1 (#4134)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 19:18:28 +02:00
Luis Cossío
a980d2151f Issues API: Event-driven issue framework (#4086)
* update issues crate from unindexed-field-issue-integration branch

* add EventBroker, update Dashboard::solve_by_filter

* Update outdated comment

* better example use

* use composite `Code` type to remove inverted index

* rename `EventBroker::notify` to `EventBroker::publish`

* remove `publish_async`

* review fixes

* rename `Code::from_issue` to `Code::of`
2024-05-02 19:18:12 +02:00
dependabot[bot]
464fc1fe99 Bump serial_test from 3.0.0 to 3.1.0 (#4094)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 19:11:06 +02:00
Anush
029def9f30 refactor: Update to Chrono 0.4.35 (#3827)
* refactor: Chrono 0.4.35

* Move chrono dependency to workspace

* Update lib/segment/src/common/anonymize.rs

Co-authored-by: Tim Visée <tim+github@visee.me>

---------

Co-authored-by: timvisee <tim@visee.me>
Co-authored-by: Tim Visée <tim+github@visee.me>
2024-03-19 13:31:10 +01:00
xzfc
d50ec6c87c Drop unused Deserialize (#3680) 2024-03-05 17:12:14 +01:00
Luis Cossío
049795ac0a Issues API: Interface: get issues (#3502)
* add `/issues` endpoint

* generate openapi spec

* fmt

* fix read only patterns test

* list under beta tag, update tags descriptions.
2024-03-05 17:08:20 +01:00
dependabot[bot]
282c63c74c Bump chrono from 0.4.33 to 0.4.34 (#3601)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.33 to 0.4.34.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.33...v0.4.34)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 17:06:57 +01:00
Luis Cossío
b503e6da47 refactor test to remove thread::sleep (#3587) 2024-03-05 17:06:12 +01:00
Luis Cossío
48b5e39675 Issues API: internal crate (#3375) 2024-03-05 17:04:15 +01:00