instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
tokio-rs__tracing__1297 | tokio-rs/tracing | 1,297 | defect | 2e4a4f367d68b25e936c1b87207f7872bd35bbc2 | 927764560b5bec3d026f5cd5c641e3409cc8d5d0 | attributes: fix `#[instrument]` skipping code when returning pinned futures | Fixes #1296.
I had forgotten to use all the input statements in #1228, so we would delete nearly all the statement of sync functions that return a boxed future :/ | diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs
index 54f5efebe5..639adad445 100644
--- a/tracing-attributes/src/lib.rs
+++ b/tracing-attributes/src/lib.rs
@@ -264,39 +264,45 @@ pub fn instrument(
// the future instead of the wrapper
if let Some(internal_fun) = get_async_trait_info(... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the new async_fn test, the redundant `.clone()` on the last use of `span4` should be dropped to satisfy clippy.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tokio-rs__tracing__1619 | tokio-rs/tracing | 1,619 | defect | 9ac27fbc92b1763f5d533e684d33eebe48652a58 | 65ae64c06e2b2c78078ecd2bb2c3604f23c09430 | Forward `Filtered::downcast_raw` to wrapped Layer | ## Motivation
I'm trying to implement a `Layer` that has something very similar to tracing-error's [`WithContext`](https://github.com/tokio-rs/tracing/blob/66cd79f72af5ebcb6f21a1017b6ce33bea05558d/tracing-error/src/layer.rs#L32) to support erasing types and getting access to the current span's state.
To do that, ... | diff --git a/tracing-subscriber/src/filter/layer_filters.rs b/tracing-subscriber/src/filter/layer_filters.rs
index 9b23419493..7515080676 100644
--- a/tracing-subscriber/src/filter/layer_filters.rs
+++ b/tracing-subscriber/src/filter/layer_filters.rs
@@ -386,7 +386,7 @@ where
id if id == TypeId::of::<Magic... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test need not set the subscriber as default or create/enter a span; it could be simpler by building a Dispatch directly (suggested rewrite).", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It might be nice to also add a test f... | null |
tokio-rs__tracing__1716 | tokio-rs/tracing | 1,716 | defect | b439705a8f6f2f81935a7747765935869003f7d3 | eccd0ea8260e88f0641a7a0eb78f32e7c1c95fd6 | attributes: implement `#[instrument(ret)]` | ## Motivation
Currently, users have to explicitly call logging functions at the end of
functions if they wanted to record values being returned. For example,
```rust
fn increment(a: i32) -> i32 {
let succ = a + 1;
tracing::debug!(?succ);
succ
}
```
The code above will be significantly simpler if... | diff --git a/tracing-attributes/src/attr.rs b/tracing-attributes/src/attr.rs
index 0f429156cc..d8025ddf2b 100644
--- a/tracing-attributes/src/attr.rs
+++ b/tracing-attributes/src/attr.rs
@@ -13,7 +13,8 @@ pub(crate) struct InstrumentArgs {
target: Option<LitStr>,
pub(crate) skips: HashSet<Ident>,
pub(cra... | 8 | 6 | 6 | [{"id": "G0", "claim": "The generated code expands `#block` more than once (including indirectly in `#ret_event`), so the instrumented body would be evaluated twice; it should be evaluated once and the return event emitted in the `Ok` case.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope":... | null |
tokio-rs__tracing__1744 | tokio-rs/tracing | 1,744 | defect | 500021c46ccdd183a1f71c87c96d6f10d2f4aa5c | 80a04370903cbff529cab12912394ffb25b6e96e | tracing-journald: Send large journal payloads through memfd | See #1698: Properly write large payloads to journal.
I'd appreciate a very careful review; this cmsg stuff is nasty, and while it's well documented in `cmsg(3)` I had to fiddle a bit because the corresponding functions in libc aren't const and thus don't permit a direct allocation of the buffer as most `cmsg` C code... | diff --git a/tracing-journald/Cargo.toml b/tracing-journald/Cargo.toml
index cac962c73c..0609bc6d05 100644
--- a/tracing-journald/Cargo.toml
+++ b/tracing-journald/Cargo.toml
@@ -16,6 +16,8 @@ keywords = ["tracing", "journald"]
rust = "1.42.0"
[dependencies]
+libc = "0.2.107"
+memoffset = "0.6.4"
tracing-core = { ... | 7 | 7 | 0 | [{"id": "G0", "claim": "Use a hardcoded memfd name constant instead of building a new CString from the caller-supplied name on every call, since the name is only ever the same and has no semantic meaning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
tokio-rs__tracing__1853 | tokio-rs/tracing | 1,853 | defect | 5e01d65c7d033c63c53a86fed6c5e278a7c8db88 | 994de002d8c83708b16e4ffda2c647f21b9a91ec | opentelemetry: Update otel to 0.17.0 | ## Motivation
Support the latest OpenTelemetry specification. Resolves #1857.
## Solution
Update `opentelemetry` to the latest `0.17.x` release. Breaking changes upstream in the tracking of parent contexts in otel's `SpanBuilder` have necessitated a new `OtelData` struct to continue pairing tracing spans with ... | diff --git a/examples/Cargo.toml b/examples/Cargo.toml
index 30c431ae6d..83709f8f92 100644
--- a/examples/Cargo.toml
+++ b/examples/Cargo.toml
@@ -52,8 +52,8 @@ inferno = "0.10.0"
tempfile = "3"
# opentelemetry example
-opentelemetry = { version = "0.16", default-features = false, features = ["trace"] }
-openteleme... | 3 | 3 | 1 | [{"id": "G0", "claim": "CI fails because opentelemetry 0.17 raised the MSRV, so the pull request should raise tracing-opentelemetry's MSRV (rust-version in Cargo.toml plus README and lib.rs docs) and follow tracing-appender's pattern: add a separate MSRV check job for tracing-opentelemetry and exclude it from the main ... | null |
tokio-rs__tracing__2027 | tokio-rs/tracing | 2,027 | defect | c1de4983efabfda0669d8171294ab1c4504c2f76 | 817ae1700a11b71ed3a6171c8d3adee61f1f43ca | subscriber: add `Subscribe` impl for `Vec<S: Subscribe>` | Depends on #2028
## Motivation
In many cases, it is desirable to have a variable number of subscribers
at runtime (such as when reading a logging configuration from a config
file). The current approach, where types implementing `Subscribe` are
composed at the type level into `Layered` subscribers, doesn't wor... | diff --git a/tracing-subscriber/src/subscribe/mod.rs b/tracing-subscriber/src/subscribe/mod.rs
index 6055e65c85..636d6380e2 100644
--- a/tracing-subscriber/src/subscribe/mod.rs
+++ b/tracing-subscriber/src/subscribe/mod.rs
@@ -266,9 +266,114 @@
//! .init();
//! ```
//!
+//! The [`Subscribe::boxed`] method is pro... | 5 | 4 | 1 | [{"id": "G0", "claim": "The emphasized word in \"When the _number_ of subscribers varies at runtime\" contrasts with nothing, so the underscores should be dropped.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The sentence \"If a variable number ... | null |
tokio-rs__tracing__2093 | tokio-rs/tracing | 2,093 | defect | 92ec839a54f981717ec90a15b9a98570d96a167f | 3b3778ae1af0c31086ed0360009b6915bb113fb4 | attributes, mock: permit `#[instrument(follows_from = …)]` | This PR extends the `#[instrument]` attribute to accept an optional `follows_from = …` argument that supplies any number of `Span::follows_from` relationships to the generated `Span`.
## Motivation
This PR resolves #879.
## Solution
This PR largely follows the implementation strategy articulated by @hawkw: http... | diff --git a/tracing-attributes/src/attr.rs b/tracing-attributes/src/attr.rs
index 34ca3d665c..2af0400f2b 100644
--- a/tracing-attributes/src/attr.rs
+++ b/tracing-attributes/src/attr.rs
@@ -12,6 +12,7 @@ pub(crate) struct InstrumentArgs {
pub(crate) name: Option<LitStr>,
target: Option<LitStr>,
pub(crat... | 2 | 2 | 0 | [{"id": "G0", "claim": "The rustdoc example should also show a single follows-from span and/or a hard-coded list, and the documentation should explicitly state that the follows_from list is always treated as a literal of something implementing IntoIterator.", "category": "documentation", "verdict": "supported", "priori... | null |
tokio-rs__tracing__2335 | tokio-rs/tracing | 2,335 | defect | bc95f2e5ee582b6fa02b83ad13a2279fcd87df96 | 23ebcecf4c6e4daaf2c8314488efd3e5d80dac99 | attributes: add support for custom levels for `ret` and `err` (#2330) | Fixes #2330
The change is fairly straightforward, just adding support for customizable levels for `ret` and `err` in a fully backward-compatible way.
I made `Level` `pub(crate)` to be able to expose `level_to_tokens`, there may be a better way of doing it but it seemed simple enough and anyway it doesn't escape ... | diff --git a/tracing-attributes/src/attr.rs b/tracing-attributes/src/attr.rs
index 2af0400f2b..0ca5e1dd99 100644
--- a/tracing-attributes/src/attr.rs
+++ b/tracing-attributes/src/attr.rs
@@ -6,60 +6,30 @@ use quote::{quote, quote_spanned, ToTokens};
use syn::ext::IdentExt as _;
use syn::parse::{Parse, ParseStream};
... | 10 | 10 | 2 | [{"id": "G0", "claim": "Rename the `DisplayArgs` struct to `EventArgs`, since it configures the event emitted for a return value under both `Debug` and `Display` formatting, not just `fmt::Display`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
tokio-rs__tracing__2494 | tokio-rs/tracing | 2,494 | defect | 21c5ce05ccf5fbcd2e1244228b18438f18a71cd4 | c46757795e3aea88ea2061bed422d8952d1325fa | mock: complete API documentation including expect module | ## Motivation
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, documentation and some
code clean up is needed.
The `expect` module, which contains constructor functions for many of
the other `tracing-mock` modules needs documentation and example... | diff --git a/tracing-mock/README.md b/tracing-mock/README.md
index d27bb959d0..c2d751cce9 100644
--- a/tracing-mock/README.md
+++ b/tracing-mock/README.md
@@ -4,7 +4,7 @@
# tracing-mock
-Utilities for testing [`tracing`][tracing] and crates that uses it.
+Utilities for testing [`tracing`] and crates that uses it.
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The doc example on expect::span says \"If we expect an event and instead record something else, the test will fail\" although the example expects a span, so the sentence should be reworded to talk about expecting a span.", "category": "documentation", "verdict": "supported", "priority": "P1", "s... | null |
tokio-rs__tracing__266 | tokio-rs/tracing | 266 | defect | c049ec87a471aacbd6b8298b6fed5459e684c4b0 | b691498eeed76f90b0fbca2b518d985121c645e7 | log: prepare to release tracing-log 0.0.1-alpha.1 | This PR prepares the `tracing-log` crate to publish an alpha release to
crates.io.
I realised this was necessary as I wanted to publish a new alpha of
`tracing-fmt`, and that crate now depends on `tracing-log`.
I've also done some cleanup & added some documentation.
Signed-off-by: Eliza Weisman <eliza@buoy... | diff --git a/tracing-log/Cargo.toml b/tracing-log/Cargo.toml
index f2c85ecb9c..62555d20f2 100644
--- a/tracing-log/Cargo.toml
+++ b/tracing-log/Cargo.toml
@@ -1,24 +1,25 @@
[package]
name = "tracing-log"
-version = "0.0.1"
-authors = ["Eliza Weisman <eliza@buoyant.io>"]
+version = "0.0.1-alpha.1"
+authors = ["Tokio C... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Overview section's descriptions of LogTracer and TraceLogger are so similar that it is unclear what the difference between the two is.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tokio-rs__tracing__2925 | tokio-rs/tracing | 2,925 | defect | 908cc432a5994f6e17c8f36e13c217dc40085704 | f87f41f58e103ad10c9b3061319a3e398eaee328 | macros: Allow field path segments to be keywords | ## Motivation
Currently, a keyword like `type` fails compilation as (a path segment of) a field name, for no clear reason. Trying to use `r#type` instead leads to the `r#` being part of the field name, which is unhelpful¹.
## Solution
Don't require the field path to match a `macro_rules!` `expr`, use repeated... | diff --git a/tracing-attributes/tests/fields.rs b/tracing-attributes/tests/fields.rs
index 476d172482..f5113ff061 100644
--- a/tracing-attributes/tests/fields.rs
+++ b/tracing-attributes/tests/fields.rs
@@ -1,4 +1,4 @@
-use tracing::collect::with_default;
+use tracing::{collect::with_default, error, error_span, field};... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new tests for keyword field-name segments should be moved out of tracing-attributes/tests/fields.rs into the `tracing` crate (tracing/tests/event.rs and tracing/tests/span.rs), since they test the macros defined there and nothing from tracing-attributes.", "category": "testing", "verdict": "... | null |
tokio-rs__tracing__2941 | tokio-rs/tracing | 2,941 | defect | 908cc432a5994f6e17c8f36e13c217dc40085704 | 10df309d63ad339dc25b74cb5d5923deced3de2b | tracing-attributes: support const values for target and name | Fixes: https://github.com/tokio-rs/tracing/issues/2460
I only fixed lints making #2917 fail. Seems like they affect `master` branch as well? | diff --git a/tracing-attributes/src/attr.rs b/tracing-attributes/src/attr.rs
index 902ca1450b..35d4840721 100644
--- a/tracing-attributes/src/attr.rs
+++ b/tracing-attributes/src/attr.rs
@@ -17,8 +17,8 @@ pub(crate) struct EventArgs {
#[derive(Clone, Default, Debug)]
pub(crate) struct InstrumentArgs {
level: Opt... | 3 | 3 | 0 | [{"id": "G0", "claim": "Include an example in the new comment explaining that identifiers for `name` must be passed as a named argument, to make it clearer for the next reader.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Split the single combin... | null |
tokio-rs__tracing__3130 | tokio-rs/tracing | 3,130 | defect | 91fedc1f45d0d4eaafb46917d57fe0e8b8b467cb | d609dc0c1041f97db51498f61ba617a04a8a40c7 | macros: Remove 'r#' prefix from raw identifiers in field names | ## Motivation
Currently a call like `info!(..., r#type = "...")` ends up emitting a field named "r#type", which is never desirable. Previous work in https://github.com/tokio-rs/tracing/pull/2925 made the desired behavior expressible as `info!(..., type = "...")`, and even before that PR one could write it as `info!(... | diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs
index 0b403f3b20..94957f516d 100644
--- a/tracing/src/lib.rs
+++ b/tracing/src/lib.rs
@@ -1002,12 +1002,12 @@ pub mod span;
pub mod __macro_support {
pub use crate::callsite::{Callsite, Registration};
use crate::{collect::Interest, Metadata};
- use core... | 2 | 1 | 0 | [{"id": "G0", "claim": "kadenlnelson suggests that, assuming `example!` is an external macro and the tracing macros are behaving as expected, the r#-stripping behavior might be better solved in the calling macro (example!) rather than in the tracing macros.", "category": "design", "verdict": "uncertain", "priority": "P... | null |
tokio-rs__tracing__3227 | tokio-rs/tracing | 3,227 | defect | b4868674ba73f3963b125ec38b57efaadc714d90 | 71b9ff117fac145a34b04b090170c2e6e734bcb9 | tracing: add `record_all!` macro for recording multiple values in one call | ## Motivation
Currently, Span.record_all() is part of the public API and accepts ValueSet as a parameter.
However, constructing a ValueSet is both verbose and undocumented, making it not so practical.
## Solution
To make recording multiple values easier, we introduce a new macro: record_all!, which wraps the ... | diff --git a/tracing/src/macros.rs b/tracing/src/macros.rs
index b0791d63f9..b5f975b6ab 100644
--- a/tracing/src/macros.rs
+++ b/tracing/src/macros.rs
@@ -131,6 +131,53 @@ macro_rules! span {
};
}
+/// Records multiple values on a span in a single call. As with recording
+/// individual values, all fields must ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The doc-example heading of record_all! should read `# Examples` instead of `# Example`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the stray hidden `/// #` line at the end of the record_all! doc example.", "categ... | null |
tokio-rs__tracing__3311 | tokio-rs/tracing | 3,311 | defect | e4df76127538aa8370d7dee32a6f84bbec6bbf10 | 1817e6e209715f6af5019826ffbb285cb846a7f2 | attributes: fix tracing::instrument regression around shadowing | Closes #3306. | diff --git a/tracing-attributes/src/expand.rs b/tracing-attributes/src/expand.rs
index 947d4fe3ca..eb3ea5cdac 100644
--- a/tracing-attributes/src/expand.rs
+++ b/tracing-attributes/src/expand.rs
@@ -87,7 +87,7 @@ pub(crate) fn gen_function<'a, B: ToTokens + 'a>(
let block = quote! {
{
#fake_r... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pass ui test for type shadowing should become a normal integration test instead of living in the ui tests directory.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment to type_shadowing.rs marking it as a regression t... | null |
tokio-rs__tracing__333 | tokio-rs/tracing | 333 | defect | 49dab30847823a10f4398595616c19c0ee96d737 | 6fb6be8a1f8283e6e6b5a8ff0419ee4a53df77c6 | subscriber: fix wrong `PartialOrd` impls for `Directive`s | ## Motivation
`tracing-subscriber` currently relies on `PartialOrd` and `Ord`
implementations for the `Directive` and `StaticDirective` types. These
are used for determining the order in which the directives that apply to
a span/event are iterated over when determining whether that span or
event is enabled, so t... | diff --git a/tracing-subscriber/src/filter/directive.rs b/tracing-subscriber/src/filter/directive.rs
index 56b60ef0f8..0652f76c16 100644
--- a/tracing-subscriber/src/filter/directive.rs
+++ b/tracing-subscriber/src/filter/directive.rs
@@ -144,7 +144,9 @@ impl Directive {
.filter_map(|d| d.to_static())
... | 7 | 7 | 2 | [{"id": "G0", "claim": "A stray debug println was left in the from_iter code and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The target-length comparison should be written as an Option cmp (self.target.as_ref().map(len).cmp... | null |
tokio-rs__tracing__3331 | tokio-rs/tracing | 3,331 | defect | e63ef57f3d686abe3727ddd586eb9af73d6715b7 | 1bef95e329bf110b810a78eb14121c8ce12c2dde | subscriber: change registry exit to decrement local span ref only | ## Motivation
Fixes #3223
## Solution
From my understanding, it's sufficient for `Registry::exit` just to call `self.try_close()` and do local bookkeeping:
- The attempt to use the thread dispatcher leads directly to the issues observed in #3223, and
- I don't think it's correct to call `try_close` on the w... | diff --git a/tracing-subscriber/src/registry/sharded.rs b/tracing-subscriber/src/registry/sharded.rs
index 3004c9c52b..d0af3a8c8b 100644
--- a/tracing-subscriber/src/registry/sharded.rs
+++ b/tracing-subscriber/src/registry/sharded.rs
@@ -300,7 +300,7 @@ impl Subscriber for Registry {
fn exit(&self, id: &span::Id)... | 2 | 2 | 0 | [{"id": "G0", "claim": "The test function should be renamed from `test_callback_counts` to `span_entered_on_different_thread_from_subscriber` to better describe what it does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test's per-event at... | null |
tokio-rs__tracing__3379 | tokio-rs/tracing | 3,379 | defect | ed3300c9f0e0ced79b721d35810daec9362d981a | a86f4086f577011ae0f8aa8d1777f47568228927 | fix(subscriber): make Layered propagate on_register_dispatch | ## Motivation
The `Layered` implementation of `Subscriber` does not implement and propagate the `on_register_dispatch` callback. This means that combined layers will never have their `on_register_dispatch` methods called.
## Solution
Implement the missing `on_register_dispatch` method. | diff --git a/tracing-subscriber/src/layer/layered.rs b/tracing-subscriber/src/layer/layered.rs
index e276514986..8c0428b582 100644
--- a/tracing-subscriber/src/layer/layered.rs
+++ b/tracing-subscriber/src/layer/layered.rs
@@ -91,6 +91,11 @@ where
L: Layer<S>,
S: Subscriber,
{
+ fn on_register_dispatch(&s... | 2 | 2 | 1 | [{"id": "G0", "claim": "The mocking of `on_register_dispatch` should be provided by extending MockSubscriber and MockLayer in tracing-mock instead of the hand-rolled TestLayer in the tracing-subscriber unit test.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
tokio-rs__tracing__339 | tokio-rs/tracing | 339 | defect | b385da6b0253a6ad81d9e60db5972b9d6f1c6378 | 38d4ac6152ede540c9f81681c6c9a42733560466 | subscriber: rename `Filter` to `EnvFilter` | This branch renames `Filter` to `EnvFilter` and deprecates the previous
name, as suggested in https://github.com/tokio-rs/tracing/pull/336#pullrequestreview-286356811.
This should make the difference between an `EnvFilter` and a
`LevelFilter` clearer. | diff --git a/examples/examples/futures-proxy-server.rs b/examples/examples/futures-proxy-server.rs
index 9ed88ea353..b655377354 100644
--- a/examples/examples/futures-proxy-server.rs
+++ b/examples/examples/futures-proxy-server.rs
@@ -17,10 +17,10 @@ use tokio::net::{TcpListener, TcpStream};
use tokio::prelude::*;
... | 3 | 3 | 1 | [{"id": "G0", "claim": "Rename the feature flag as well, maintaining compatibility by keeping `filter` as a feature that implicitly enables `env-filter`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Emit a deprecation warning when the deprecated `filte... | null |
tokio-rs__tracing__3432 | tokio-rs/tracing | 3,432 | defect | 9978c3663bcd58de14b3cf089ad24cb63d00a922 | fe8b8875d7f470726b70615ad067c51370f5851a | tracing: fix record_all panic | <!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/tokio-rs/tracing/blob/master/CONTRIBUTING.md
-->
## Motivation
<!--
Explain the context and why you're makin... | diff --git a/tracing/src/macros.rs b/tracing/src/macros.rs
index 6e6bc2f569..2922f404bc 100644
--- a/tracing/src/macros.rs
+++ b/tracing/src/macros.rs
@@ -41,12 +41,12 @@ macro_rules! span {
$crate::Span::child_of(
$parent,
meta,
- &$crate::v... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new valueset! macro's way of creating a fake Field (a dummy callsite emitting a bogus field) should be replaced with a better construction, such as an ArrayVec- or MaybeUninit-based build, or holding an Option<Field> in the Explicit variant to allow in-place array construction.", "category":... | null |
tokio-rs__tracing__346 | tokio-rs/tracing | 346 | defect | 930bd731cc30afc26c6d3daabf959b1d97b77574 | 5dd613eefc7ba1509ddcc0bd9b78b6b8d0da06c4 | tracing: don't emit log events if a subscriber has been set | ## Motivation
Currently, when `tracing`'s `log` feature is enabled, all spans and
events will emit `log` records as well as `tracing` events. When
`tracing-log` is being used to convert `log` records into `tracing`
events, this results in duplicate events being observed: those emitted
by the event macros directl... | diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml
index fc66b65e22..3e24192b90 100644
--- a/tracing/Cargo.toml
+++ b/tracing/Cargo.toml
@@ -28,7 +28,7 @@ keywords = ["logging", "tracing", "metrics", "async"]
edition = "2018"
[dependencies]
-tracing-core = { version = "0.1.5", path = "../tracing-core", default-fe... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR probably does not need both `__tracing_should_log` and `if_log`; they could be merged into a single macro, and `if_log` should be in `src/macros`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The `log-always` feature refe... | null |
tokio-rs__tracing__3478 | tokio-rs/tracing | 3,478 | defect | e4df76127538aa8370d7dee32a6f84bbec6bbf10 | 054ccf5691a0baff0479f19f22d422234187b547 | fix: Propagate on_register_dispatch for Option<Layer> and Vec<Layer> | <!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/tokio-rs/tracing/blob/master/CONTRIBUTING.md
-->
## Motivation
This was missing, so `on_register_dispatch` would not be ... | diff --git a/tracing-subscriber/src/layer/mod.rs b/tracing-subscriber/src/layer/mod.rs
index 12fab82c99..8cefe2785d 100644
--- a/tracing-subscriber/src/layer/mod.rs
+++ b/tracing-subscriber/src/layer/mod.rs
@@ -1568,6 +1568,13 @@ where
}
}
+ #[inline]
+ fn on_register_dispatch(&self, subscriber: &... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a regression test exercising the on_register_dispatch propagation (e.g. via the MockLayer on_register_dispatch expectation in tracing-subscriber/tests/option.rs) before merging.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tokio-rs__tracing__3484 | tokio-rs/tracing | 3,484 | defect | efc690fa6bd1d9c3a57528b9bc8ac80504a7a6ed | 9df949b70712417d9b6a2f42127f7febb1e0d043 | subscriber: allow ansi sanitization to be disabled | Fix: https://github.com/tokio-rs/tracing/issues/3369
Add `ansi_sanitization` flag to allow turning off the sanitization of ansi output.
Sanitizing output remains the default but can now be turned off.
## Solution
`ansi_sanitization` is passed into the new `AnsiValue` struct which now replaces `Escape` togethe... | diff --git a/tracing-subscriber/src/fmt/fmt_layer.rs b/tracing-subscriber/src/fmt/fmt_layer.rs
index d0233810e9..16034a5096 100644
--- a/tracing-subscriber/src/fmt/fmt_layer.rs
+++ b/tracing-subscriber/src/fmt/fmt_layer.rs
@@ -72,6 +72,7 @@ pub struct Layer<
fmt_event: E,
fmt_span: format::FmtSpanConfig,
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test suite is missing a test for the JSON variant layer.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The struct `AnsiValue` could have a better name, ideally one that describes something that optionally sanitizes the output.... | null |
tokio-rs__tracing__359 | tokio-rs/tracing | 359 | defect | 8c735e1dafeb40c10e524dc29fa39c321798cc44 | 192ead3ecfd37f056a40e0d8770e10c66deda551 | Allow skipping arguments in `#[instrument]`. | ## Motivation
This adds a `skip` directive to the `#[instrument]` macro that allows
specifying one or more arguments to the function which will not appear
in the generated span. In particular, this means that it's possible to
use `#[instrument]` on functions with a non-`Debug` parameter.
## Solution
The in... | diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs
index 381f2a511c..324c1b5dc0 100644
--- a/tracing-attributes/src/lib.rs
+++ b/tracing-attributes/src/lib.rs
@@ -39,11 +39,13 @@
//! [instrument]: attr.instrument.html
extern crate proc_macro;
+use std::collections::HashSet;
+
use proc_macro... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `skips` function panics instead of returning an error when more than one `skip` directive is given, and this should be fixed before merging — e.g. by returning a `Result` whose error expands to a `compile_error!` at the call site.", "category": "correctness", "verdict": "supported", "priorit... | null |
tokio-rs__tracing__361 | tokio-rs/tracing | 361 | defect | 3552c6c74dede7e797d7a7482e9150eb0f2c55f5 | dd3e934ddc1bfca605a4f34c9084829d8d42619f | fmt: Track duplicate spans in fmt context | <!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/tokio-rs/tracing/blob/master/CONTRIBUTING.md
-->
## Motivation
Entering twice in the same span causes the spa... | diff --git a/tracing-subscriber/src/fmt/span.rs b/tracing-subscriber/src/fmt/span.rs
index 17d08eb10a..05deb8a693 100644
--- a/tracing-subscriber/src/fmt/span.rs
+++ b/tracing-subscriber/src/fmt/span.rs
@@ -62,8 +62,14 @@ enum State {
Empty(usize),
}
+#[derive(Debug)]
+struct ContextId {
+ id: Id,
+ dupli... | 4 | 4 | 0 | [{"id": "G0", "claim": "The linear scan in push to detect duplicate IDs could be replaced with a HashSet-backed SpanStack type giving an O(1) duplicate check, at the cost of a bit more complexity.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It mi... | null |
tokio-rs__tracing__613 | tokio-rs/tracing | 613 | defect | 77e589906df9702a11f7c7bdb6ea69a3437a320f | 559cef067c41fc12978715a377b0d63375bab162 | tracing: less noisy, more useful `log` records for spans | ## Motivation
Currently, the `tracing` crate's "log" feature always logs span
lifecycle (creation/enter/exit/close) events, even when the span has no
fields. This can be quite noisy. Since the enter, exit, and close logs
don't include the span's fields, it doesn't add that much additional
context to the surround... | diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs
index 76a74ac8dc..974dd5102b 100644
--- a/tracing/src/lib.rs
+++ b/tracing/src/lib.rs
@@ -584,6 +584,58 @@
//! Once a subscriber has been set, instrumentation points may be added to the
//! executable using the `tracing` crate's macros.
//!
+//! ## `log` Compatibi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docs sentence under \"Consuming `log` Records\" repeats the word \"Additionally\", already used in the preceding sentence, and the reviewer suggests dropping it from that sentence.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
tokio-rs__tracing__637 | tokio-rs/tracing | 637 | defect | bd3535484e6d407fa8067696b61199d74d18f040 | 3cdca33578fdd9d3d9cb5bb59f194b678d75216b | attributes: instrument Err | <!--
Thank you for your Pull Request. Please provide a description above and review
the requirements below.
Bug fixes and new features should include tests.
Contributors guide: https://github.com/tokio-rs/tracing/blob/master/CONTRIBUTING.md
-->
## Motivation
From #545:
> When using `?` for error handl... | diff --git a/tracing-attributes/src/lib.rs b/tracing-attributes/src/lib.rs
index 25c3d92029..a6ab04c883 100644
--- a/tracing-attributes/src/lib.rs
+++ b/tracing-attributes/src/lib.rs
@@ -146,6 +146,17 @@ use syn::{
/// }
/// ```
///
+/// If the function returns a `Result<T, E>`, you can add `err` to emit error event... | 6 | 2 | 0 | [{"id": "G0", "claim": "It would be nice to reduce the duplication between the async and non-async versions of the generated code, if practical.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The generated code should record the error using the tr... | null |
tokio-rs__tracing__853 | tokio-rs/tracing | 853 | defect | cdeefe3bc13147cba5983607345541e98cc51d31 | 3b2da981f1641a6bee067298ab7dff403e117dd7 | core: add faster fast path for level filtering | ## Motivation
Tracing currently stores cached filter evaluations in a per-callsite
cache. Once filters have been evaluated, this allows us to skip disabled
callsites with a single load and compare, which is a nice fast path for
skipping. However, determining the value to store in the callsite cache
is expensive:... | diff --git a/tracing-core/CHANGELOG.md b/tracing-core/CHANGELOG.md
index 760f1786c9..8cc4d0e6ed 100644
--- a/tracing-core/CHANGELOG.md
+++ b/tracing-core/CHANGELOG.md
@@ -1,3 +1,10 @@
+# 0.1.12 (UNRELEASED)
+
+## Added
+
+- `LevelFilter` type and `LevelFilter::max()`
+- `Subscriber::max_level_hint` for setting the valu... | 11 | 7 | 0 | [{"id": "G0", "claim": "Fix the 'exploint' typo for 'exploit' in the metadata.rs comment about the niche optimization.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add tests that transmute the level filter to usize for every case, so that a futu... | null |
tokio-rs__tracing__875 | tokio-rs/tracing | 875 | defect | a4069486b49e67fb843178daf78fe1711e26d343 | 3ce8cc345bc155458907510cd89f29bee91b9db5 | #[instrument] - support use of the 'self' variable in async-trait contexts | ## Motivation
Fix #864.
## Solution
Visit the fields and replace 'self' with '_self', and 'Self' with the type of the impl (when we can acces it, see https://github.com/tokio-rs/tracing/issues/864#issuecomment-667508801 for current limitations). | diff --git a/tracing-attributes/Cargo.toml b/tracing-attributes/Cargo.toml
index a7774c4615..96044535bb 100644
--- a/tracing-attributes/Cargo.toml
+++ b/tracing-attributes/Cargo.toml
@@ -39,7 +39,7 @@ async-await = []
[dependencies]
proc-macro2 = "1"
-syn = { version = "1", features = ["full", "extra-traits"] }
+sy... | 4 | 4 | 0 | [{"id": "G0", "claim": "The variable `span_declared_name` is unclearly named: it holds the name of the instrumented function, not necessarily the span's name, since the span name may be overridden with `name = \"something_else\"`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
tokio-rs__valuable__32 | tokio-rs/valuable | 32 | defect | a6014c6a64e4b3862e95f8b7cb47793c51994768 | 3a0f240d356504530345d9b6f77955135e6d7c2c | document Valuable | Also includes a couple of convenience functions:
* `valuable::visit()` - forwards to `Visit::visit_value()`.
* `NamedValues::get_by_name()` - iterates values and finds one that matches the provided name. | diff --git a/tests/tests/listable.rs b/tests/tests/listable.rs
index bfe5fb16..e107b91d 100644
--- a/tests/tests/listable.rs
+++ b/tests/tests/listable.rs
@@ -60,6 +60,16 @@ macro_rules! test_default {
counts,
Default::default(),
);
+
+ ... | 15 | 15 | 0 | [{"id": "G0", "claim": "NamedValues::get_by_name could accept `impl AsRef<str>` (or a generic `Q: PartialEq<str>`) instead of `&str` for flexibility.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The StructDef doc header should read \"A struct's name, f... | null |
tokopedia__gripmock__129 | tokopedia/gripmock | 129 | defect | 2dbe6716e0227b84852ccccd476a975e53f2b34b | 75a1b6ab7b44252c8d311a24ef763eaf12f8f1d3 | feat: support multiple stubs in a file | ### Motivation
there are too many stub files because gripmock can only read 1 stub in 1 file
### Changes
- detect array json and unmarshal to array
- change storeStub and readStubFromFile into methods for isolated test
- change unit test to prevent intermittent test fail due to map order | diff --git a/stub/storage.go b/stub/storage.go
index 914216cf..4faf810d 100644
--- a/stub/storage.go
+++ b/stub/storage.go
@@ -27,6 +27,10 @@ type storage struct {
}
func storeStub(stub *Stub) error {
+ return stubStorage.storeStub(stub)
+}
+
+func (sm *stubMapping) storeStub(stub *Stub) error {
mx.Lock()
defer... | 1 | 1 | 0 | [{"id": "G0", "claim": "An integration test should be added in the example/simple folder.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tokopedia__gripmock__130 | tokopedia/gripmock | 130 | defect | edac53aa34999db00ae75549e2b95667f6807366 | 4d0ae0ee22ac51d8daa9f324830ff6b5ee1e9ab5 | fix: bug multi package | ### Motivation
protodir is deduced from first protopath. it doesn't work if the proto files are in multiple packages.
we can specify the correct protodir in `imports` param, but there will be 2 protodir with same content.
this PR fix the issue by replacing the deduced protodir with its prefix (if specified in `impor... | diff --git a/Readme.md b/Readme.md
index 6eda3b84..3678a6d6 100644
--- a/Readme.md
+++ b/Readme.md
@@ -26,7 +26,7 @@ basic syntax to run GripMock is
- Run `docker pull tkpd/gripmock` to pull the image
- We are gonna mount `/mypath/hello.proto` (it must be a fullpath) into a container and also we expose ports needed. ... | 1 | 1 | 0 | [{"id": "G1", "claim": "The `// include well-known-types` comment above the imports loop is obsolete and should be updated to explain what the code now does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tolgee__tolgee-platform__1597 | tolgee/tolgee-platform | 1,597 | defect | 995a8e8c7d1b468c6b3e37aa9cb76d3c6ee81d13 | 6b26ab3873c971572a78833edd5343802bf5e57f | feat: Editor -> "Insert source" button | This PR adds "Insert source" button to the editor to translation fields.
Translators can now click this button (or use the `Ctrl + Ins` keyboard shortcut) to insert the source text into the translation field. If the source language is not currently displayed, it gets the source text from API. | diff --git a/e2e/cypress/common/translations.ts b/e2e/cypress/common/translations.ts
index 3b129451840..d5dfd7bb9d4 100644
--- a/e2e/cypress/common/translations.ts
+++ b/e2e/cypress/common/translations.ts
@@ -19,6 +19,10 @@ export function getCellSaveButton() {
return cy.gcy('translations-cell-save-button');
}
+e... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request's new webapp code uses \"source\" naming (sourceText, onInsertSource, getSourceText) while the rest of the codebase and the public API use \"base\", making the terminology inconsistent; the reviewer asks to change it to make it consistent.", "category": "maintainability", "verdi... | null |
tolgee__tolgee-platform__1614 | tolgee/tolgee-platform | 1,614 | defect | 25f82fe35c6a48ef563f673972abf349edc3dc88 | 44a7d57b9415f254a896fed3e33a2a8edd17967d | #1271 Update to AWS SDK v2 | This PR attempts to update the AWS SDK to v2 and resolve the need to use the default credentials chain (and thus IAM role) to authenticate as described in #1271 . Not sure how to fully test this change, but just getting it out there for review sooner rather than later. | diff --git a/backend/app/src/main/kotlin/io/tolgee/configuration/FileStorageConfiguration.kt b/backend/app/src/main/kotlin/io/tolgee/configuration/FileStorageConfiguration.kt
index 9917e64417f..0f8557587cc 100644
--- a/backend/app/src/main/kotlin/io/tolgee/configuration/FileStorageConfiguration.kt
+++ b/backend/app/src... | 3 | 2 | 2 | [{"id": "G0", "claim": "Adding a new `enabled` config property (defaulting to false) instead of deriving enablement from the existing keys is a breaking config change; the reviewer asks to keep backward compatibility, first suggesting reusing `defaultEnabled` for this and later that `enabled` be made nullable so it is ... | null |
tolgee__tolgee-platform__2382 | tolgee/tolgee-platform | 2,382 | defect | f48dc56d1d5912352f0a0812f047bcf432e28d22 | c219da54ee479154ef3fa9f9de0f10422fbd6bce | feat: Ability to resend registration email | Added:
- limit the number of the requests per hour to some constant per e-mail and ip
- Enable to the user to login, but without any permissions, telling them, they should verify
- backend endpoint to resend the verification link
Hi @JanCizmar, could you please provide feedback so I can see if I am doing this corr... | diff --git a/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt b/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt
index f94c006afc6..14badac005a 100644
--- a/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt
+++ b/backend/api/src/main/kot... | 9 | 7 | 2 | [{"id": "G0", "claim": "The email-verification check in OrganizationAuthorizationInterceptor should not use authenticationFacade.authenticatedUserEntity, because fetching the user entity from the DB on every request is exactly what the cacheable authenticatedUser DTO exists to avoid.", "category": "performance", "verdi... | null |
tolgee__tolgee-platform__2410 | tolgee/tolgee-platform | 2,410 | defect | 74a8dddf4115e9a49ded877fd21d6eb14c935594 | fd2bdf5ab864aa8339845b20a8346cb517ef828a | feat: demo project for self hosted | [issue 2394](https://github.com/tolgee/tolgee-platform/issues/2394) | diff --git a/backend/app/src/main/kotlin/io/tolgee/commandLineRunners/InitialUserCreatorCommandLineRunner.kt b/backend/app/src/main/kotlin/io/tolgee/commandLineRunners/InitialUserCreatorCommandLineRunner.kt
index f3e9926fa05..5ed0c6766bb 100644
--- a/backend/app/src/main/kotlin/io/tolgee/commandLineRunners/InitialUserC... | 1 | 1 | 1 | [{"id": "G0", "claim": "The newly added createDemoForInitialUser property has no @DocProperty of its own and so carries securedImageRetrieval's documentation; please fix it and add the correct DocProperty.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tolgee__tolgee-platform__2421 | tolgee/tolgee-platform | 2,421 | defect | f4fa40aaf1d05114883fdb4ccc8244c483859330 | d4f96b5961bdff09a399072ad7505f2c7bf4ff3e | fix: email resend sign up view fix | remove email verification alert when signing up
add a counter until the next email verification request | diff --git a/webapp/src/component/security/SignUp/SignUpView.tsx b/webapp/src/component/security/SignUp/SignUpView.tsx
index 46c8546959c..aabaac30de1 100644
--- a/webapp/src/component/security/SignUp/SignUpView.tsx
+++ b/webapp/src/component/security/SignUp/SignUpView.tsx
@@ -1,7 +1,7 @@
import { FunctionComponent } f... | 3 | 2 | 1 | [{"id": "G0", "claim": "Instead of only showing a retry-after error toast, the resend button should be disabled with a visible countdown so the user cannot even hit the rate limit under normal use.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The funct... | null |
tolgee__tolgee-platform__2698 | tolgee/tolgee-platform | 2,698 | defect | 6cac171e40103267716d7efe98cfc45d7e3711ce | 91ad8d77f39b10e2bf39b14f3a3a12391f5ff68e | fix: allow formality to be set globally | Closes #1994 | diff --git a/.run/Backend localhost.run.xml b/.run/Backend localhost.run.xml
index 3f94b63a762..d8e7961f17e 100644
--- a/.run/Backend localhost.run.xml
+++ b/.run/Backend localhost.run.xml
@@ -2,10 +2,10 @@
<configuration default="false" name="Backend localhost" type="SpringBootApplicationConfigurationType" factor... | 3 | 3 | 1 | [{"id": "G0", "claim": "The run-configuration change (<module> rename) is unrelated to formality and should be split into a separate pull request, though keeping it is acceptable if preferred.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "MtSer... | null |
tolgee__tolgee-platform__2883 | tolgee/tolgee-platform | 2,883 | defect | e6c2794a1f8ead384a6682994ed8fad2bc7de67e | 2c894753ccafab07bbd89bd8389f9cbf6c15bf91 | feat: Allow switching to SSO provider | Fixes #2619 | diff --git a/backend/api/src/main/kotlin/io/tolgee/controllers/AuthProviderChangeController.kt b/backend/api/src/main/kotlin/io/tolgee/controllers/AuthProviderChangeController.kt
new file mode 100644
index 00000000000..957c173273c
--- /dev/null
+++ b/backend/api/src/main/kotlin/io/tolgee/controllers/AuthProviderChangeC... | 6 | 5 | 1 | [{"id": "G0", "claim": "The new auth-provider endpoints must not be created under /api/: the controller has to be moved to V2, and the endpoints should be hidden from public OpenAPI docs with @OpenApiHideFromPublicDocs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
tolgee__tolgee-platform__2893 | tolgee/tolgee-platform | 2,893 | defect | 34c4f12bd0e11fa95e779f636029f5ea408fbe76 | c85f49ea0a4fc4e9394a5d195f1061fa72829d95 | feat: Apple String Catalog Support | This PR adds support for Apple String Catalog Support
demo
https://github.com/user-attachments/assets/0c7ef97a-ebcf-4f42-b9e9-af65d4469ef6
/claim #2300
/closes #2300 | diff --git a/backend/data/src/main/kotlin/io/tolgee/formats/ExportFormat.kt b/backend/data/src/main/kotlin/io/tolgee/formats/ExportFormat.kt
index 9cc58dfdc56..e385ea846ae 100644
--- a/backend/data/src/main/kotlin/io/tolgee/formats/ExportFormat.kt
+++ b/backend/data/src/main/kotlin/io/tolgee/formats/ExportFormat.kt
@@ ... | 10 | 6 | 5 | [{"id": "G0", "claim": "APPLE_XCSTRINGS has to be added last in the ExportFormat enum because the format is stored as an ordinal in the database (io.tolgee.model.contentDelivery.ContentDeliveryConfig), so inserting it mid-enum would break existing content delivery configurations.", "category": "correctness", "verdict":... | null |
tolgee__tolgee-platform__2936 | tolgee/tolgee-platform | 2,936 | defect | f924abe9ed8287e4dfc7f5485c563ee809753750 | ee198045232ecbb06ca75e73dcfcb19edc5d540f | Escaping Tags in XLIFF | This PR adds support for escaping HTML tags in XLIFF
Check list
- [x] Import
- [x] Export
- [x] Tests
- [x] Docs [PR](https://github.com/tolgee/documentation/pull/857)
- [x] CDN (Complete but unable to test it due to local dev environment issues)
/claim #2912
/closes #2912 | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt
index ed56a7fc904..b8e6d120852 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDelivery... | 13 | 13 | 3 | [{"id": "G0", "claim": "The `when` clause in XliffHtmlEscaper.escapeHtmlTags is unnecessary since all of its branches return the same value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The regex in escapeHtmlTags should not be compiled on eve... | null |
tolgee__tolgee-platform__2941 | tolgee/tolgee-platform | 2,941 | defect | fb8220acca0f2088835630e4dd11072af2eea3e2 | c29c1514dca71f7acaab7333fe3ad237fbcec811 | feat: publish to s3 subfolder |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added support for specifying an optional path prefix for S3 content storage, allowing files to be stored within a subfolder in the S3 bucket.
- Updated web interface to include a new field for... | diff --git a/.run/Backend localhost.run.xml b/.run/Backend localhost.run.xml
deleted file mode 100644
index ddf075530c3..00000000000
--- a/.run/Backend localhost.run.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<component name="ProjectRunConfigurationManager">
- <configuration default="false" name="Backend localhost"
- typ... | 20 | 11 | 6 | [{"id": "G0", "claim": "Don't remove the .run/Backend localhost.run.xml run configuration from the repository; the reviewer uses it every day.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Setting tolgeeProperties.contentDelivery.storage.s3.buc... | null |
tolgee__tolgee-platform__2953 | tolgee/tolgee-platform | 2,953 | defect | 5f31989345e1fb71f4670b6d3855d218f3e901be | 70194ca49f212e5913e2f7a556e66efdb29f1f5e | feat: Configurable selected languages limit | Closes: https://github.com/tolgee/tolgee-platform/issues/2907 | diff --git a/backend/api/src/main/kotlin/io/tolgee/api/publicConfiguration/PublicConfigurationAssembler.kt b/backend/api/src/main/kotlin/io/tolgee/api/publicConfiguration/PublicConfigurationAssembler.kt
index 3b6bbdf0565..742f4892312 100644
--- a/backend/api/src/main/kotlin/io/tolgee/api/publicConfiguration/PublicConfi... | 2 | 2 | 0 | [{"id": "G0", "claim": "The DocProperty description for translationsViewLanguagesLimit should read \"Maximum amount of languages that can be selected in the Translations view\" instead of \"Maximum amount of languages that can be selected in Translations.\"", "category": "documentation", "verdict": "supported", "priori... | null |
tolgee__tolgee-platform__3032 | tolgee/tolgee-platform | 3,032 | defect | 68631aadbede5dd6b3dc62efe7e2121cc885054e | 27cae52196f21d62c4b1dcb3cdbf6258347ca77d | fix: body width as basis for other calculations instead of window size |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced the application layout responsiveness by updating how the body width is observed, ensuring more reliable and accurate UI adjustments.
- Added a custom width observer functionality to be... | diff --git a/webapp/src/globalContext/useLayoutService.ts b/webapp/src/globalContext/useLayoutService.ts
index d12b1045847..86a55469ca2 100644
--- a/webapp/src/globalContext/useLayoutService.ts
+++ b/webapp/src/globalContext/useLayoutService.ts
@@ -1,6 +1,6 @@
import { useState } from 'react';
-import { useWindowSize ... | 5 | 5 | 2 | [{"id": "G0", "claim": "Using the non-null assertion on bodySize.width could be unsafe because width may be undefined during initial rendering or if the observer fails; it should use a fallback value instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
tolgee__tolgee-platform__3111 | tolgee/tolgee-platform | 3,111 | defect | 875082a269b9230477798d0e1c0cdba77c9aff3c | a76266963cf8fce7c57261b6f15f6bb2c47520d3 | feat: glossaries in ai translator |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added glossary support to AI prompt generation, allowing glossary entries to be included in prompts and used as template variables.
- Introduced a new "Glossary" option in AI prompt settings ... | diff --git a/backend/data/src/main/kotlin/io/tolgee/development/testDataBuilder/TestDataService.kt b/backend/data/src/main/kotlin/io/tolgee/development/testDataBuilder/TestDataService.kt
index 063a7f83e50..bc1151edc65 100644
--- a/backend/data/src/main/kotlin/io/tolgee/development/testDataBuilder/TestDataService.kt
+++... | 1 | 1 | 1 | [{"id": "G0", "claim": "The description of the `hasNonTranslatable` glossary variable wrongly says \"Glossary items contain some caseSensitive item\" and should say it contains some non-translatable item, since the variable actually checks `isNonTranslatable`.", "category": "documentation", "verdict": "supported", "pri... | null |
tolgee__tolgee-platform__3152 | tolgee/tolgee-platform | 3,152 | defect | a77ac9af058bf16746e4fb44c42e4f6afb5b488f | c17ff9f44ea6c24bc8c77f433af4c117d7e83540 | feat: administration plans UI improvements | <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Add ability to archive cloud and self-hosted EE plans from Administration with confirmation, archive endpoint integration, and success feedback.
* Visual indicators for archived plans: badge, di... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/SelfHostedEePlanModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/SelfHostedEePlanModel.kt
index 5f9eb1d58eb..5cca0a4d37b 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/SelfHostedEePlanModel.kt
+++ b/backend/api/src/main/kotlin/io/to... | 14 | 3 | 1 | [{"id": "G0", "claim": "PlanArchivedSwitch hardcodes useFormikContext<CloudPlanFormData>(), which may not be type-compatible with SelfHostedEePlanFormData; make the component's Formik context generic so it works with both plan forms.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
tolgee__tolgee-platform__3221 | tolgee/tolgee-platform | 3,221 | defect | 7d5ebbb17f424068f06f2dd8ca95e4f9765511fd | a0ed903590a56f3584d50cc13c513eaa70c52115 | Batch operations. Languages list. Add ability to select All or None langauges | When you work with batch operations and many languages you need to always select languages one by one.
Now in the list of languages 2 options added
- All languages
- None
So you can easily select all languages to work with batch operations.
It will improve work with translation and batch operations. It is sugg... | diff --git a/e2e/cypress/support/dataCyType.d.ts b/e2e/cypress/support/dataCyType.d.ts
index 6c148dd13a6..26c61b1fa7a 100644
--- a/e2e/cypress/support/dataCyType.d.ts
+++ b/e2e/cypress/support/dataCyType.d.ts
@@ -823,8 +823,10 @@ declare namespace DataCy {
"translations-key-edit-description-field" |
"... | 8 | 1 | 1 | [{"id": "G0", "claim": "MenuItems for All/None without a value inside Select can trigger out-of-range value warnings and unintended selection behavior; assign sentinel values and prevent default selection so only onClick runs.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}... | null |
tolgee__tolgee-platform__3357 | tolgee/tolgee-platform | 3,357 | defect | 7c5f0a34ab3620e072a72618ff90cbbdccb344de | 9e3222b9bdd8c8d8e92e200f708a0c182b3a7fff | fix: use correct languageInfo when validating Mt settings | Fixes #3353
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Refactor**
* Improved machine translation settings validation to evaluate each target language with its own language info, enhancing service applicability checks and null-safety during updates.
* **T... | diff --git a/webapp/src/views/projects/languages/MachineTranslation/useMachineTranslationSettings.tsx b/webapp/src/views/projects/languages/MachineTranslation/useMachineTranslationSettings.tsx
index a25118a3bc3..d18bf9fecd2 100644
--- a/webapp/src/views/projects/languages/MachineTranslation/useMachineTranslationSetting... | 6 | 2 | 1 | [{"id": "G0", "claim": "The type annotation of isSupported's second parameter should be `LanguageInfoModel | undefined` because the function checks `!langInfo`, so the declared non-nullable type hides from callers that undefined is accepted.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope"... | null |
tolgee__tolgee-platform__3381 | tolgee/tolgee-platform | 3,381 | defect | dea9bac652d9052dc9f364497271d267472e7f8f | df048027e25f9e607c8f407046b1914e22ef679b | feat: glossary improvements | - Glossary Table – made header sticky
- Glossary Export – exports all associated languages
- Navigation improvements - switch between glossaries from the navigation bar, navigate to projects from the glossary and back to the glossary from a project
- Inline editing for glossaries on the translations page
- Persist ... | diff --git a/backend/data/src/main/kotlin/io/tolgee/repository/LanguageRepository.kt b/backend/data/src/main/kotlin/io/tolgee/repository/LanguageRepository.kt
index d1289a321ab..a1ea43b2bb9 100644
--- a/backend/data/src/main/kotlin/io/tolgee/repository/LanguageRepository.kt
+++ b/backend/data/src/main/kotlin/io/tolgee/... | 27 | 13 | 8 | [{"id": "G0", "claim": "The data-cy prop passed to SwitchPopover is silently dropped because SwitchPopover neither accepts it nor spreads rest props; remove it or make SwitchPopover accept and forward it to its root element.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
tolgee__tolgee-platform__3466 | tolgee/tolgee-platform | 3,466 | defect | 0af117203407d6433423af9d3796ffb8ccda19c6 | e1003e3b04fa7ed40596ac0b5701501bf711c3d0 | feat: add branch support to CDN content delivery configs | ## Summary
- Links CDN configs to branches via a foreign key (`branch_id`) instead of the plain `filterBranch` string column
- Adds branch selector to the CDN config dialog when branching is enabled
- Shows branch name chip on CDN list items
- Cleans up CDN configs when a branch is deleted
- Migrates existing configs ... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt
index 6b8ae688f2a..c82a92ac4ac 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDelivery... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new deleteAllByBranchId function performs multiple delete operations and must be annotated @Transactional.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generated changeSet dropping the filter_branch column should ha... | null |
tolgee__tolgee-platform__3474 | tolgee/tolgee-platform | 3,474 | defect | a4e87e7bdbf59c4ebb6b6417724e4ec5d01bc966 | 4f032649e9ac1bcb11111ad52fcaba5618071524 | feat: branching improvements | ## Summary
Consolidates several branching-related improvements:
- **Snapshot creation rewrite** — native SQL for better performance (#3462)
- **Branch merge activity params fix** — projection queries in `BranchMergeActivityParamsProvider` (#3469)
- **CDN branch support** — CDN content delivery configs can now b... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDeliveryConfigModel.kt
index 6b8ae688f2a..c82a92ac4ac 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/contentDelivery/ContentDelivery... | 14 | 1 | 0 | [{"id": "G0", "claim": "The migration drops filter_branch without copying existing values into branch_id, which will permanently lose the branch association of existing CDN configs; add a data migration step (and optionally a rollback) between the add-column and drop-column changesets.", "category": "correctness", "ver... | null |
tolgee__tolgee-platform__3492 | tolgee/tolgee-platform | 3,492 | defect | 03cfcf9ca6cddc698183da64f1287664c59f3d6b | bae008b43fc77b29d6b39d3c6efc7013bdb16590 | feat: map-based LLM provider config with pricing dialog | ## Summary
- Add map-based LLM provider configuration support
- Add pricing info dialog for server-configured LLM providers showing token costs (MT credits) and estimated translation costs for 1,000 strings
- Add descriptive text labels above pricing tables
## Test plan
- [ ] Verify pricing dialog opens from info icon... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/llmProvider/LlmProviderSimpleModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/llmProvider/LlmProviderSimpleModel.kt
index 4cdd46a27a2..ae87749c1e4 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/llmProvider/LlmProviderSimpleModel.kt
+++ b/bac... | 12 | 6 | 1 | [{"id": "G0", "claim": "The new e2e test should navigate to the Server tab via a data-cy selector (e.g. gcy('llm-providers-server')) instead of text-based .contains('Server'), as the coding guidelines strictly require data-cy attributes for E2E selectors.", "category": "testing", "verdict": "supported", "priority": "P2... | null |
tolgee__tolgee-platform__3508 | tolgee/tolgee-platform | 3,508 | defect | d15161f8bd65921767819752648ff4de8ad05600 | 6c0e05487897203ae1e67f72dbaee38637ecf8d2 | chore: add CI check for dataCyType.d.ts freshness | ## Summary
- Extract dataCy generation logic from the Vite plugin (`dataCy.plugin.ts`) into a shared core module (`dataCy.core.mjs`) so it can be reused by both the plugin and a standalone CLI script
- Add `webapp/scripts/generate-data-cy.mjs` CLI entry point and `generate-data-cy` npm script
- Add `data-cy-check` CI ... | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 62f2573e9a9..907befca117 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -356,6 +356,36 @@ jobs:
fi
echo "✅ Migration files are up to date"
+ data-cy-check:
+ name: DataCy Check 🏷️
+ ru... | 4 | 2 | 1 | [{"id": "G0", "claim": "The regex character class [c|C] in processFile treats the pipe as a literal, so it matches c, |, or C instead of only c or C, and should be [cC].", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When no data-cy attributes are f... | null |
tolgee__tolgee-platform__3587 | tolgee/tolgee-platform | 3,587 | defect | de3ea288307e7cae9279cf924a57add6cc0616a5 | 69cb09d9c08f3bfc1d11e016f20aa812c484352a | feat: auto-disable webhooks after persistent failures | ## Summary
- Automatically disable webhooks that fail continuously for 3 days
- Send warning email to organization owners after 6 hours of continuous failure
- Send notification email when webhook is disabled
- Add enabled/disabled toggle in the webhook UI
- Fix bug where `firstFailed` was overwritten on every failure... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/webhooks/WebhookConfigModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/webhooks/WebhookConfigModel.kt
index 326823d69b0..1dd7a1cf130 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/ee/webhooks/WebhookConfigModel.kt
+++ b/backend/api/src... | 13 | 9 | 5 | [{"id": "G0", "claim": "Non-positive check periods/lease times and a misordered warning/disable threshold are trusted as-is and can break scheduling or make webhooks eligible for disable before any warning is valid; add validation so bad config is rejected at startup.", "category": "correctness", "verdict": "supported"... | null |
tolgee__tolgee-platform__3597 | tolgee/tolgee-platform | 3,597 | defect | 5225ebc3200b857d3cc900eb29bd11b5ef8a7e3f | 28d0f3b68ef5b7eb5eeb2226463c29936e8d243f | Update PromptFragmentsHelper.kt | Improve ICU placeholder instructions: explicit rules for placeholder preservation, count matching, capitalization on position shift, and punctuation adaptation
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Improvements**
* Tightened translation guidance for ... | diff --git a/ee/backend/app/src/main/kotlin/io/tolgee/ee/service/prompt/PromptFragmentsHelper.kt b/ee/backend/app/src/main/kotlin/io/tolgee/ee/service/prompt/PromptFragmentsHelper.kt
index 160e894b4e5..52253af2eb2 100644
--- a/ee/backend/app/src/main/kotlin/io/tolgee/ee/service/prompt/PromptFragmentsHelper.kt
+++ b/ee/... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new icuInfo prompt text treats any `{...}` content as non-translatable, which conflicts with ICU plural/select messages where literal branch text inside braces must be translated, and can drive incorrect untranslated outputs.", "category": "correctness", "verdict": "supported", "priority": "... | null |
tolgee__tolgee-platform__3604 | tolgee/tolgee-platform | 3,604 | defect | 70da3ef985495d20cafb76fa4982ea7218e51585 | 00e5b4dc535a196d58086e03380b6868d3777f11 | fix: email verification bugs on email change and resend | ## Summary
- Fix resend verification overwriting pending `newEmail` with null — resend now sends to the correct (new) email address
- Remove `@Async` from `EmailService.sendEmailTemplate()` — email errors were silently swallowed
- Allow unverified users to update their profile so they can fix a mistyped email during s... | diff --git a/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt b/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt
index 5b183aa6d91..10ac4750c5f 100644
--- a/backend/api/src/main/kotlin/io/tolgee/api/v2/controllers/V2UserController.kt
+++ b/backend/api/src/main/kot... | 5 | 3 | 2 | [{"id": "G0", "claim": "The deprecated POST /v2/user handler (updateUserOld) should also carry @BypassEmailVerification, otherwise requests hitting POST are still blocked by the EmailValidationInterceptor.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
tolgee__tolgee-platform__3605 | tolgee/tolgee-platform | 3,605 | defect | c3e458cc2fcbcc0a0e01bab8274c775a6c31713b | 37751fca69f8dfd3f1210d5197be0510e414d4b7 | fix: bind email-targeted invitations to the invitee's email | When an invitation is sent to a specific email address, only that user can now accept it (case-insensitive match). Link invitations without an email remain open to anyone.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Invitations can be boun... | diff --git a/backend/api/src/main/kotlin/io/tolgee/hateoas/invitation/PublicInvitationModel.kt b/backend/api/src/main/kotlin/io/tolgee/hateoas/invitation/PublicInvitationModel.kt
index 8762a7bb150..551f7ceea6d 100644
--- a/backend/api/src/main/kotlin/io/tolgee/hateoas/invitation/PublicInvitationModel.kt
+++ b/backend/a... | 14 | 4 | 2 | [{"id": "G0", "claim": "Returning inviteeEmail as plain text in the public invitation payload introduces a PII disclosure path and it should be masked or omitted in favour of backend-side mismatch validation.", "category": "security", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
tolgee__tolgee-platform__3619 | tolgee/tolgee-platform | 3,619 | defect | d3a6f4a8d8aa4b1a46c07af4516a78df1062cd46 | 1beac8cd919680c6f2ad259e1e2c9c6140705541 | fix: do not show QaBadge when QA checks are disabled for the project | ## Summary
- Editing a translation in a project with QA checks disabled caused the QaBadge to appear on the cell (with the stale indicator) until the next page refresh. The optimistic update in `useEditService` wrote `qaChecksStale: true` unconditionally, and the render gate in `ControlsTranslation` only checked the i... | diff --git a/e2e/cypress/e2e/qa/badges.cy.ts b/e2e/cypress/e2e/qa/badges.cy.ts
index 91e14825637..bf1e355cabb 100644
--- a/e2e/cypress/e2e/qa/badges.cy.ts
+++ b/e2e/cypress/e2e/qa/badges.cy.ts
@@ -5,9 +5,11 @@ import {
import { login } from '../../common/apiCalls/common';
import { gcy } from '../../common/shared';
i... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new assertion should target the translation row via stable data-cy test attributes (gcy()/cy.gcy()) instead of text-based matching (cy.contains('disabled_key')), per the project's E2E selector coding guidelines.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "int... | null |
tolgee__tolgee-platform__3630 | tolgee/tolgee-platform | 3,630 | defect | 1ee9036106c7d685bc0be540adff505e4ac056c2 | b13958157675604ee761ce2d45ea871cc9a526fb | fix: open Context Data tab by default on the AI page | ## Summary
- Reorder the project AI page tabs so **Context Data** is shown first and opens by default when the user navigates to `/projects/:id/ai`.
- Add `LINKS.PROJECT_AI_PROMPTS = /ai/prompts` so the Prompts tab gets its own URL instead of squatting on the parent `/ai` route. Mirrors the existing `/developer/*` ... | diff --git a/e2e/cypress/common/permissions/ai.ts b/e2e/cypress/common/permissions/ai.ts
index e05fa51b5e3..a6285c8d0fb 100644
--- a/e2e/cypress/common/permissions/ai.ts
+++ b/e2e/cypress/common/permissions/ai.ts
@@ -1,3 +1,4 @@
+import { visitAiSettings } from '../prompt';
import { waitForGlobalLoading } from '../loa... | 1 | 1 | 0 | [{"id": "G0", "claim": "In visitAiSettings the URL should be typed literally instead of built from the LINKS reference, because tests should behave like a user, not like the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tomasvotava__fastapi-sso__118 | tomasvotava/fastapi-sso | 118 | defect | cb86159761d4a4100c1680e3f85403bf6a17e1de | c80b6daa87c451ac4be417c8afc74f68a7e7c0c8 | add LinkedIn provider support | @tomasvotava This PR adds the support to SSO via LinkedIn
pylint...................................................................Passed
black....................................................................Passed
mypy.....................................................................Passed
isort............. | diff --git a/examples/linkedin.py b/examples/linkedin.py
new file mode 100644
index 0000000..6e02637
--- /dev/null
+++ b/examples/linkedin.py
@@ -0,0 +1,38 @@
+"""Github Login Example
+"""
+
+import os
+import uvicorn
+from fastapi import FastAPI, Request
+from fastapi_sso.sso.linkedin import LinkedInSSO
+
+CLIENT_ID =... | 5 | 5 | 2 | [{"id": "G0", "claim": "The example imports LinkedInSSO but never uses it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The README.md should be updated to list the new LinkedIn provider.", "category": "documentation", "verdict": "supported", "... | null |
tomasvotava__fastapi-sso__124 | tomasvotava/fastapi-sso | 124 | defect | cb86159761d4a4100c1680e3f85403bf6a17e1de | a74af056a4988fec6d440da95759eee438c7fbb8 | Add line sso | Integration with Line [ref.](https://developers.line.biz/en/docs/line-login/integrate-line-login/) | diff --git a/fastapi_sso/__init__.py b/fastapi_sso/__init__.py
index 865c504..5199976 100644
--- a/fastapi_sso/__init__.py
+++ b/fastapi_sso/__init__.py
@@ -10,6 +10,7 @@
from .sso.gitlab import GitlabSSO
from .sso.google import GoogleSSO
from .sso.kakao import KakaoSSO
+from .sso.line import LineSSO
from .sso.micr... | 7 | 7 | 1 | [{"id": "G0", "claim": "first_name and last_name should be omitted (left as their None defaults) instead of being set to empty strings, since both fields are optional on OpenID.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new file uses si... | null |
tomasvotava__fastapi-sso__145 | tomasvotava/fastapi-sso | 145 | defect | 2362a6f97f229d80c80004b1284a84dfe1a6852a | 464ad9b02e5988bf699f6d56b721f278ff3a286c | fix(gitlab): added support for on-premise gitlab, first name and last name | Hello!
The current Gitlab implementation does not support the use of authentication via on-premise Gitlab.
In order not to make patches on the client side, I'm making a small edit that adds only one parameter for init the provider with the default value. | diff --git a/examples/gitlab.py b/examples/gitlab.py
index a702705..97034a7 100644
--- a/examples/gitlab.py
+++ b/examples/gitlab.py
@@ -8,12 +8,14 @@
CLIENT_ID = os.environ["CLIENT_ID"]
CLIENT_SECRET = os.environ["CLIENT_SECRET"]
+BASE_ENDPOINT_URL = os.environ.get("GITLAB_ENDPOINT_URL", "https://gitlab.com")
a... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new base_endpoint_url argument should be moved to the end of the __init__ argument list.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pydantic.AnyHttpUrl type for base_endpoint_url feels odd because the URL is not used i... | null |
tomasvotava__fastapi-sso__153 | tomasvotava/fastapi-sso | 153 | defect | 4a3ef9c606490b65b7266a058fda60d82a67cdd3 | dbc6a4f0cceed3f2d52ef66dfa0e615a39b09340 | [hotfix] add naver email, nickname fields(optinal). | Sorry about its.
<img width="824" alt="image" src="https://github.com/tomasvotava/fastapi-sso/assets/11470513/aa0768cd-2774-4592-8f50-ecc4c5500e25">
Naver sets the DisplayName, email, and Picture fields as optional fields. Photo options include: I didn't check this part properly when doing PR. I'm sorry for uploa... | diff --git a/fastapi_sso/sso/naver.py b/fastapi_sso/sso/naver.py
index 5cc46c9..82cfdbe 100644
--- a/fastapi_sso/sso/naver.py
+++ b/fastapi_sso/sso/naver.py
@@ -25,7 +25,8 @@ async def get_discovery_document(self) -> DiscoveryDocument:
async def openid_from_response(self, response: dict, session: Optional["httpx.A... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use `response[\"response\"].get(...)` instead of item access when reading email (and the other fields) from the Naver response, so that missing fields yield None instead of raising a KeyError.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tomasvotava__fastapi-sso__194 | tomasvotava/fastapi-sso | 194 | defect | 6c8ed47dd2f2a3c91b4a9130fe2bbdfa29dde692 | cfb50020809b6dc36e1f0fa2f551352d723f794f | added Seznam SSO provider | Added support for authentication using Seznam.cz.
Docs: https://vyvojari.seznam.cz/oauth/doc
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added Seznam as a new login provider, enhancing user authentication options.
- Introduced a FastA... | diff --git a/README.md b/README.md
index 6e10035..465a24a 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,7 @@ I tend to process Pull Requests faster when properly caffeinated 😉.
- Line (by Jimmy Yeh) - [jimmyyyeh](https://github.com/jimmyyyeh)
- LinkedIn (by Alessandro Pischedda) - [Cereal84](https://github.com... | 3 | 2 | 0 | [{"id": "G0", "claim": "Passing client_secret into verify_and_process and returning the user object could expose sensitive information, so sensitive fields should be filtered from the user object before returning it to the client.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "introduced"... | null |
tombi-toml__tombi__1444 | tombi-toml/tombi | 1,444 | defect | e71c7da659a6903c27cf676dda37d7d0805c973d | 130477cf35f4448c8f163f9b469f70b278be9fa4 | feat(lsp): add `tombi/getSchemas` command to fetch the current document schemas | Hi 👋🏼
Following #1423, I now have the LSP schemas listing since the release v0.7.19 (thanks for it) but I was still missing the document schemas. I tried using the hover and/or goToDefinition, but this only works on a valid statements so it's not possible to know which schemas is active on an empty document, on r... | diff --git a/crates/tombi-config/src/schema.rs b/crates/tombi-config/src/schema.rs
index 2b4857879..1ba012595 100644
--- a/crates/tombi-config/src/schema.rs
+++ b/crates/tombi-config/src/schema.rs
@@ -94,6 +94,20 @@ pub enum SchemaItem {
}
impl SchemaItem {
+ pub fn title(&self) -> Option<&str> {
+ match ... | 6 | 2 | 0 | [{"id": "G0", "claim": "The string \"Documnent Directive Schema\" is misspelled and should read \"Document Directive Schema\", both in the handler code and in the documentation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The normalization of t... | null |
tombi-toml__tombi__1549 | tombi-toml/tombi | 1,549 | defect | 68931b7ec4df48a3b78caf58fa7122f0d94ca0ea | 849adeacaad4fd41aee7358932d5a92567eec532 | feat: implement JSON Schema if/then/else conditional validation | ## Summary
- Add support for JSON Schema draft-07 `if`/`then`/`else` keywords for conditional schema validation
- Create `IfThenElseSchema` struct (modeled after `NotSchema`) and add as `Option<Box<IfThenElseSchema>>` field to `TableSchema`, `ArraySchema`, `OneOfSchema`, `AnyOfSchema`, `AllOfSchema`
- Implement `valida... | diff --git a/crates/tombi-linter/src/lint/table.rs b/crates/tombi-linter/src/lint/table.rs
index 986ced240..c878ca49d 100644
--- a/crates/tombi-linter/src/lint/table.rs
+++ b/crates/tombi-linter/src/lint/table.rs
@@ -113,4 +113,107 @@ mod tests {
) -> Ok(_)
}
}
+
+ mod if_then_else_test {
... | 2 | 2 | 2 | [{"id": "G0", "claim": "`if_result.is_ok()` treats warning-only diagnostics (Err with only WARN diagnostics, as accepted by `is_success_or_warning` in validate.rs) as a failed `if` match, so the validator incorrectly takes the `else` branch when `if` produced only warnings; it should determine the match using the same ... | null |
tombi-toml__tombi__1552 | tombi-toml/tombi | 1,552 | defect | d413163787d4ccc6ac259ed6ebb034768a8cdd4f | 78edcf624715c38cc63b36af6d7d3ba72f84bdd9 | feat: implement `contains` keyword validation for arrays (draft-07) | ## Summary
- Implement JSON Schema `contains` keyword for array validation (draft-07 semantics)
- Validates that at least one item in an array matches the specified sub-schema
- Add test schema (`schemas/contains-test.schema.json`) and 6 test cases covering: const match, minimum condition, type-only match, empty array,... | diff --git a/crates/tombi-linter/src/lib.rs b/crates/tombi-linter/src/lib.rs
index 47ef2a0a8..eddd2fabc 100644
--- a/crates/tombi-linter/src/lib.rs
+++ b/crates/tombi-linter/src/lib.rs
@@ -361,6 +361,76 @@ mod tests {
}
}
+ mod contains_test_schema {
+ use tombi_test_lib::contains_test_schema_... | 3 | 3 | 2 | [{"id": "G0", "claim": "The `contains` match detection uses `is_ok()`, which treats warning-only validation results as non-matches, so an item that matches but produces only warnings (e.g., `deprecated: true`) can incorrectly fail `contains`; the PR should use an `is_success_or_warning`-style ERROR-level check instead.... | null |
tombi-toml__tombi__1553 | tombi-toml/tombi | 1,553 | defect | 45293e2a0ce82e4d1e8937d147c213dbb0df9f7a | 81875fa490d6dbda9e274a113dfa445e3037f77d | feat: implement `dependencies` keyword validation (draft-07) | ## Summary
- Implement JSON Schema draft-07 `dependencies` keyword for table/object validation
- Support property dependencies (array form): when a key is present, all listed dependent keys must also be present
- Support schema dependencies (object form): when a key is present, the entire table must validate against an... | diff --git a/crates/tombi-linter/src/lib.rs b/crates/tombi-linter/src/lib.rs
index eddd2fabc..83aac941a 100644
--- a/crates/tombi-linter/src/lib.rs
+++ b/crates/tombi-linter/src/lib.rs
@@ -431,6 +431,91 @@ mod tests {
}
}
+ mod dependencies_test_schema {
+ use tombi_test_lib::dependencies_test... | 2 | 1 | 1 | [{"id": "G0", "claim": "`dependencies` is stored in and iterated over as an `AHashMap`, whose non-deterministic iteration order can make diagnostic ordering vary between runs (and can make tests asserting ordered diagnostic vectors flaky); the reviewer asks for an order-preserving map, a `Vec<(String, Dependency)>`, or... | null |
tombi-toml__tombi__1554 | tombi-toml/tombi | 1,554 | defect | fdc45a19f52e0feef27c6cb9523dc6817b4dbd5b | 0ace5c14a92ea151ccf9d727e9382c593d2c0f36 | feat: implement tuple `items`, `additionalItems`, and `prefixItems` validation | ## Summary
- Implement draft-07 tuple-form `items` (array of schemas) for positional validation
- Implement `additionalItems` keyword (boolean and schema forms)
- Implement draft-2020-12 `prefixItems` keyword with `items` as overflow schema
- Add `ArrayAdditionalItems` diagnostic for rejecting extra elements
- Resolve ... | diff --git a/crates/tombi-linter/src/lib.rs b/crates/tombi-linter/src/lib.rs
index 83aac941a..93f8963d0 100644
--- a/crates/tombi-linter/src/lib.rs
+++ b/crates/tombi-linter/src/lib.rs
@@ -516,6 +516,108 @@ mod tests {
}
}
+ mod tuple_items_test_schema {
+ use tombi_test_lib::tuple_items_test_... | 3 | 3 | 2 | [{"id": "G0", "claim": "In draft-2020-12, `additionalItems` is still parsed and given precedence over `items` as the overflow schema when `prefixItems` is present, so overflow elements can be validated against the wrong schema; make the precedence dialect-aware or ensure `additional_items_schema` is never set for 2020-... | null |
tombi-toml__tombi__1557 | tombi-toml/tombi | 1,557 | defect | 47c4212a6badd3ede75ec288039ad3595df8de7b | b87db7346812ef3739c67fd83da67fa82aeec41e | feat: add const/enum validation for table and array types | ## Summary
- Implement JSON Schema `const` and `enum` validation for complex types (objects and arrays)
- Add TOML-to-JSON value conversion module (`convert.rs`) with functions `table_to_json_object` and `value_to_json_value`
- Support all TOML value types including date-time variants (OffsetDateTime, LocalDateTime, Lo... | diff --git a/Cargo.lock b/Cargo.lock
index 8c59a4191..4eba0dd68 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4126,6 +4126,7 @@ dependencies = [
"email_address",
"itertools 0.14.0",
"log",
+ "pretty_assertions",
"serde",
"thiserror 2.0.12",
"tombi-ast",
@@ -4135,6 +4136,7 @@ dependencies = [
"tombi-documen... | 6 | 1 | 1 | [{"id": "G0", "claim": "The new const/enum validation paths for tables and arrays always push diagnostics at SeverityLevelDefaultError::default() and do not honor existing per-value lint rules or noqa handling, so severity should be wired through the common const/enum rules and handle_unused_noqa added when those rules... | null |
tombi-toml__tombi__1561 | tombi-toml/tombi | 1,561 | defect | 84d5c494ff75eae97bd29aaf6c196dffc3117d33 | 8e7e024989471292ff7f5054f64ea4225bdfe03d | feat: implement draft-2019-09 keywords (dependentRequired, dependentSchemas, minContains, maxContains) | ## Summary
- Implement `dependentRequired` keyword (draft-2019-09 replacement for `dependencies` array form)
- Implement `dependentSchemas` keyword (draft-2019-09 replacement for `dependencies` object form)
- Implement `minContains` / `maxContains` keywords (draft-2019-09 count constraints for `contains` schema)
- Opti... | diff --git a/crates/tombi-linter/tests/integration.rs b/crates/tombi-linter/tests/integration.rs
index 628b573f5..f8d2bff0b 100644
--- a/crates/tombi-linter/tests/integration.rs
+++ b/crates/tombi-linter/tests/integration.rs
@@ -6,6 +6,12 @@ mod cargo_schema;
mod contains_test_schema;
#[path = "integration/dependenci... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add tests exercising the `numbers` property's minContains-only path (a satisfied case such as `numbers = [5, 15]` and a not-satisfied case such as `numbers = [1, 5, 9]`) to complete coverage of min-max-contains-test.schema.json and exercise the early-break optimization for `!needs_full_count`.",... | null |
tombi-toml__tombi__1565 | tombi-toml/tombi | 1,565 | defect | 5a5379f3c65e69c61cb371492c3cc3d528361abc | 56e5cfc65d74343531294156676bdde4452fab41 | feat: support JSON Schema anchor and dynamicRef resolution | ## Summary
- add JSON Schema anchor/dynamicAnchor collection during schema construction
- support resolving dynamicRef via collected dynamicAnchor in scope
- separate definitions and anchors handling while sharing lookup/collection helpers
- add linter integration tests for anchor and dynamicRef behavior
## Scope
- sc... | diff --git a/crates/tombi-linter/tests/integration.rs b/crates/tombi-linter/tests/integration.rs
index 2b89009b5..3067b32eb 100644
--- a/crates/tombi-linter/tests/integration.rs
+++ b/crates/tombi-linter/tests/integration.rs
@@ -1,3 +1,5 @@
+#[path = "integration/anchor_dynamic_ref_test_schema.rs"]
+mod anchor_dynamic_... | 8 | 8 | 6 | [{"id": "G0", "claim": "collect_named_anchors will insert an entry even when $anchor is an empty string, producing the key \"#\" that may collide with other fragment handling; it should skip empty values (and optionally validate allowed characters) before inserting.", "category": "correctness", "verdict": "supported", ... | null |
tombi-toml__tombi__1567 | tombi-toml/tombi | 1,567 | defect | 116ff2449123e9453af90af45c5c26fe034da1af | bc8ee9223fcec0e386e951d83dd128087802960c | feat: add recursiveAnchor/recursiveRef compatibility and linter tests | ## Summary
- add compatibility handling for recursiveAnchor / recursiveRef in schema resolution
- gate anchor/dynamic/recursive keyword handling by dialect support
- add tombi-linter integration tests for recursive anchor/ref behavior
- add recursive schema fixture and test-lib path helper
- update JSON Schema complian... | diff --git a/crates/tombi-linter/tests/integration.rs b/crates/tombi-linter/tests/integration.rs
index 3067b32eb..bc2ba99b5 100644
--- a/crates/tombi-linter/tests/integration.rs
+++ b/crates/tombi-linter/tests/integration.rs
@@ -20,6 +20,8 @@ mod non_schema;
mod other_schema;
#[path = "integration/prefix_items_test_s... | 1 | 1 | 1 | [{"id": "G0", "claim": "An unresolved merge-conflict marker (`<<<<<<< HEAD`) is present in the committed tasks/JSON_SCHEMA_COMPLIANCE_GAP_TODO.md, and all conflict markers should be resolved and removed before merging.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tombi-toml__tombi__1568 | tombi-toml/tombi | 1,568 | defect | 10d491f398d7aa6c80b3d373b9025e458c7d93f8 | c45e99e8c9f2c203e4567acd32b7390d356b30fc | feat: support JSON Schema format vocabularies | ## Summary
- add schema-store support for format-annotation and format-assertion vocabulary detection
- wire validator behavior to respect format assertion requirements and warnings
- add schema fixtures and integration/completion tests for format vocabulary handling
- update JSON Schema compliance TODO status for this... | diff --git a/crates/tombi-linter/tests/integration.rs b/crates/tombi-linter/tests/integration.rs
index bc2ba99b5..3e9ab9bef 100644
--- a/crates/tombi-linter/tests/integration.rs
+++ b/crates/tombi-linter/tests/integration.rs
@@ -12,6 +12,8 @@ mod dependencies_test_schema;
mod dependent_required_test_schema;
#[path = ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `format_assertion` computation in `validate_table` is loop-invariant, so it should be hoisted above the `for key in table_value.keys()` loop to avoid redundant computation on every iteration.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tombi-toml__tombi__1579 | tombi-toml/tombi | 1,579 | defect | b443d511517f44e784ccbe3ec2a38d7f5ee5c57a | f7222ad7f45023d0a6f1099a09d41e251c3091fc | fix: correct unevaluated evaluation and add regression coverage | ## Summary
- fix `unevaluatedItems` evaluation order so `contains`-evaluated indices are considered before unevaluated checks
- fix `unevaluatedProperties` behavior when `additionalProperties` is absent (do not mark as pre-evaluated)
- add integration schemas/tests for `unevaluatedItems` and `unevaluatedProperties`
- u... | diff --git a/crates/tombi-linter/tests/integration.rs b/crates/tombi-linter/tests/integration.rs
index 076cae2ea..bf2be3589 100644
--- a/crates/tombi-linter/tests/integration.rs
+++ b/crates/tombi-linter/tests/integration.rs
@@ -34,5 +34,9 @@ mod table_const_enum_test_schema;
mod tombi_schema;
#[path = "integration/t... | 3 | 3 | 2 | [{"id": "G0", "claim": "The TODO item for unevaluatedProperties/unevaluatedItems should be marked as [x] with a date annotation if this PR completes the implementation, consistent with the other completed items in the file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
tombi-toml__tombi__1587 | tombi-toml/tombi | 1,587 | defect | 4555735987dc97088a45523ff3f0f57c42ec6c4e | 0129f684318c69af6da201f276a0eb3a1ce05bd0 | test: add issue 1580 diagnostic fixture | ## Summary
- add an issue #1580 fixture under tombi-lsp test fixtures
- add an LSP diagnostic regression test that opens the fixture via test_diagnostic.rs
- document the expected invalid conditional-allOf behavior in the fixture README
## Testing
- cargo build --locked
- cargo test -p tombi-lsp --test test_diagnostic... | diff --git a/crates/tombi-lsp/tests/fixtures/issue-1580-conditional-all-of/README.md b/crates/tombi-lsp/tests/fixtures/issue-1580-conditional-all-of/README.md
new file mode 100644
index 000000000..f47e25ab4
--- /dev/null
+++ b/crates/tombi-lsp/tests/fixtures/issue-1580-conditional-all-of/README.md
@@ -0,0 +1,30 @@
+# I... | 1 | 1 | 0 | [{"id": "G0", "claim": "The fixture's `include = [\"*.toml\"]` glob also matches the fixture's own `tombi.toml`, so the reproduction schema could accidentally be applied to the config file and produce unrelated diagnostics if it is ever validated; narrow the include list to the intended repro file(s) such as `input.tom... | null |
tombi-toml__tombi__1608 | tombi-toml/tombi | 1,608 | defect | 1a7d61bb5f9d5da2c086691bf97b00a021daedde | 90f8b44a99e8a49b212946d5654c9736192f34eb | feat: support fragment | Support: https://github.com/tombi-toml/tombi/issues/1603 | diff --git a/crates/tombi-ast/src/impls/comment.rs b/crates/tombi-ast/src/impls/comment.rs
index f443e2585..fc20ed437 100644
--- a/crates/tombi-ast/src/impls/comment.rs
+++ b/crates/tombi-ast/src/impls/comment.rs
@@ -37,11 +37,41 @@ impl Comment {
);
if let Ok(uri) = uri_text.parse::<tombi_u... | 3 | 3 | 3 | [{"id": "G0", "claim": "resolve_json_pointer only converts ValueNode::Object into a ValueSchema and returns None for boolean schemas, so valid JSON Pointer fragment references targeting boolean schemas (including whole-document `#`) can incorrectly error with InvalidJsonPointer; consider handling ValueNode::Bool or spe... | null |
tombi-toml__tombi__1610 | tombi-toml/tombi | 1,610 | defect | 41ffdd6e14cc073a69b75edd04c981832566041c | 0769ab64ff873b79feb16474c96ef48b3ae30921 | fix: resolve parent relative file schema URIs | ## Summary
Fix: https://github.com/tombi-toml/tombi/issues/1609
- handle `file://../...` and `file://./../...` schema directives via shared relative file URI resolution logic
- preserve parent path segments when resolving schema comment directives from a source file path
- add regression coverage for parent-relat... | diff --git a/crates/tombi-ast/src/impls/comment.rs b/crates/tombi-ast/src/impls/comment.rs
index 32c3f9291..87c79ee59 100644
--- a/crates/tombi-ast/src/impls/comment.rs
+++ b/crates/tombi-ast/src/impls/comment.rs
@@ -36,52 +36,20 @@ impl Comment {
),
);
- if let Ok(uri) = uri_... | 3 | 3 | 0 | [{"id": "G0", "claim": "The test relative_file_schema_path_decodes_path_bytes hard-codes a Unix-only /tmp path, which will fail on Windows and can be flaky in sandboxed environments; construct the source directory with std::env::temp_dir() (or tempfile) so the assertion stays platform-independent.", "category": "testin... | null |
tombi-toml__tombi__1625 | tombi-toml/tombi | 1,625 | defect | 0dae6bc3eb3ed9ed61ca071598cdad35dcf20a91 | 22482344b1fbb21b09b68422d2aac6f3460b8d2c | fix: add `const: true` to workspace and optional boolean fields in cargo schema | ## Summary
- Add `const: true` constraint to the `workspace` and `optional` boolean fields in the Cargo schema
- These fields should only accept `true` as a value (setting them to `false` is meaningless), so the schema now reflects this constraint
## Test plan
- [ ] Verify schema validation correctly accepts `workspac... | diff --git a/www.schemastore.org/cargo.json b/www.schemastore.org/cargo.json
index 3573fbd1f..e95031350 100644
--- a/www.schemastore.org/cargo.json
+++ b/www.schemastore.org/cargo.json
@@ -98,6 +98,7 @@
"workspace": {
"description": "Inherit this dependency from the workspace manifest.",
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `enum: [true]` instead of `const: true` for the `workspace` and `optional` boolean fields, to match the existing pattern in the schema (e.g. definitions.WorkspaceInheritance) and avoid mixing styles; or, if `const` is preferred, update the other occurrences instead.", "category": "design", "... | null |
tombi-toml__tombi__1627 | tombi-toml/tombi | 1,627 | defect | 0777c9f17a1fc96425574ef16fd966811113091c | ba598179db04dc90bb103428b3a5b1628b908b9d | Add Cargo workspace inheritance completion | ## Summary
- add Cargo member completion candidates from `[workspace.dependencies]`
- insert `crate.workspace = true` for dependency, dev-dependency, build-dependency, and target dependency sections
- add fixture-based completion label/edit coverage, including empty-line and partial-key replacement cases
## Testing
- ... | diff --git a/crates/tombi-lsp/tests/fixtures/issue-1621-cargo-workspace-completion/Cargo.toml b/crates/tombi-lsp/tests/fixtures/issue-1621-cargo-workspace-completion/Cargo.toml
new file mode 100644
index 000000000..493bf5523
--- /dev/null
+++ b/crates/tombi-lsp/tests/fixtures/issue-1621-cargo-workspace-completion/Cargo... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add completion label/edit tests for [build-dependencies] and at least one target-specific dev/build-dependency table so the new branches in member_dependency_accessors don't regress.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
tombi-toml__tombi__1628 | tombi-toml/tombi | 1,628 | defect | df403f54b6e7daa4111c49c0a2c13b9cd247209b | 6766c9877e79f501c52e311358244fcbc06442d1 | Add dependency hover metadata | ## Summary
- add shared hover metadata plumbing for extensions
- enrich Cargo and uv dependency hovers with package name and description
- skip remote registry lookups immediately in offline mode
## Testing
- cargo test -p tombi-extension-cargo hover
- cargo test -p tombi-extension-uv hover
- cargo test -p tombi-lsp -... | diff --git a/Cargo.lock b/Cargo.lock
index 974859693..2d31ddd1d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3788,6 +3788,8 @@ dependencies = [
"itertools 0.14.0",
"log",
"pep508_rs",
+ "serde",
+ "serde_json",
"tombi-ast",
"tombi-config",
"tombi-document-tree",
diff --git a/crates/tombi-extension/src/hover... | 2 | 2 | 0 | [{"id": "G0", "claim": "is_unsupported_remote_dependency checks for the misspelled key \"registory\" in addition to \"registry\", which looks like a typo/legacy alias and is confusing since \"registry\" is already checked; remove it or comment why the misspelling is intentionally supported.", "category": "correctness",... | null |
tombi-toml__tombi__1641 | tombi-toml/tombi | 1,641 | defect | 029b9d17bdf5e694835ca9ac62dd602aa9f62058 | c6953b617830c71c0ceca9ef7472d653f5f6648a | Add hover configuration to extension features | ## Summary
- Add `hover` configuration support to Cargo, Pyproject, and Tombi extension features, allowing users to enable/disable hover functionality (including dependency-detail hover) via `tombi.toml`
- Add `CargoHoverFeatures`, `PyprojectHoverFeatures` types and corresponding JSON schema definitions
- Gate extensio... | diff --git a/crates/tombi-config/src/extensions.rs b/crates/tombi-config/src/extensions.rs
index b1cb57364..2709df9c1 100644
--- a/crates/tombi-config/src/extensions.rs
+++ b/crates/tombi-config/src/extensions.rs
@@ -218,6 +218,17 @@ impl CargoExtensionFeatures {
.map_or(true, CargoLspFeatures::path_do... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new if/else if chain returns the TombI extension's Option directly, so when tombi_hover_enabled is true and tombi_extension_tombi::hover returns None the code no longer falls through to the Cargo/Pyproject hover providers; restore the previous try-each-enabled-provider-in-order-until-Some be... | null |
tombi-toml__tombi__1646 | tombi-toml/tombi | 1,646 | defect | 3261ea73e6a980ea31935996ec50696e6679b422 | ecded5df1937b99bd2bfa0cf31bb381deb43eff7 | Limit Cargo hover metadata to crate keys | ## Summary
- only apply Cargo dependency hover metadata when hovering the dependency crate key itself
- keep schema-provided title and description for nested dependency table fields like version
- add a regression test covering nested dependency field hover
## Testing
- cargo test -p tombi-lsp cargo_workspace_dependen... | diff --git a/crates/tombi-lsp/tests/test_hover.rs b/crates/tombi-lsp/tests/test_hover.rs
index dacc74ad5..7788bbc2c 100644
--- a/crates/tombi-lsp/tests/test_hover.rs
+++ b/crates/tombi-lsp/tests/test_hover.rs
@@ -385,6 +385,23 @@ mod hover_keys_value {
});
);
+ test_hover_keys_value!(
+ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new `accessors.len() != dependency_accessors.len()` gate only prevents crate hover metadata for nested dependency fields and still applies it when hovering the dependency value in `foo = \"1.0\"` (the accessors path is identical to the key path); the reviewer asks for additional context (e.g... | null |
tombi-toml__tombi__1647 | tombi-toml/tombi | 1,647 | defect | 1d7d8ca2676d4cd90d6f69c5d6410be9fe01ab98 | b97ad9a8d72107a83652c6c9fb67d0182c844654 | Add workspace package inlay hints | ## Summary
- add Cargo inlay hints for `[package].*.workspace = true` by resolving values from `workspace.package`
- support both workspace roots and member manifests, and render inherited TOML values directly in the hint label
- add LSP coverage for member and root manifest inheritance cases
## Testing
- cargo fmt --... | diff --git a/crates/tombi-lsp/tests/test_inlay_hint.rs b/crates/tombi-lsp/tests/test_inlay_hint.rs
index 217cfc400..5ab7e87e2 100644
--- a/crates/tombi-lsp/tests/test_inlay_hint.rs
+++ b/crates/tombi-lsp/tests/test_inlay_hint.rs
@@ -21,6 +21,7 @@ use tombi_lsp::{
const RESOLVED_VERSION_TOOLTIP: &str = "Resolved vers... | 3 | 3 | 2 | [{"id": "G0", "claim": "Because inlay_hint_impl still returns Ok(None) unless dependency-version hints are enabled, turning off dependency-version hints also unintentionally disables the new workspace.package inheritance hints; the reviewer asks to gate each hint type independently (remove the dependency-version gate f... | null |
tombi-toml__tombi__1649 | tombi-toml/tombi | 1,649 | defect | 1d7d8ca2676d4cd90d6f69c5d6410be9fe01ab98 | 41702919177169bba6815c2f703a160c70096b8a | Refactor inlay hint test fixtures | ## Summary
- replace `test_inlay_hint!` fixture setup with declarative `CargoFile`, `WorkspaceRootFile`, `WorkspaceFile`, and `PyprojectFile` forms
- convert every inlay hint test to the new macro style and drop the old `InlayHintFixture::*` call patterns
- keep the file tree setup generic so workspace and ancestor loc... | diff --git a/crates/tombi-lsp/src/backend.rs b/crates/tombi-lsp/src/backend.rs
index f45d785c2..666025d35 100644
--- a/crates/tombi-lsp/src/backend.rs
+++ b/crates/tombi-lsp/src/backend.rs
@@ -360,7 +360,8 @@ impl tower_lsp::LanguageServer for Backend {
) -> Result<Option<Vec<InlayHint>>, tower_lsp::jsonrpc::Error... | 1 | 1 | 0 | [{"id": "G0", "claim": "The WorkspaceFile arm of test_inlay_hint! uses $context twice (is_empty() and files.push), so a non-literal expr could be double-evaluated; bind $context to a local first so it is evaluated only once.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tombi-toml__tombi__1653 | tombi-toml/tombi | 1,653 | defect | 0aa88273f7f800b9aefbfd277d407823fdc73633 | 139565bc75b40754386c961cafd7a7537a471056 | Add uv dependency version hints | ## Summary
- add dependency-version inlay hints for `tool.uv.dev-dependencies`, `tool.uv.constraint-dependencies`, `tool.uv.override-dependencies`, and `tool.uv.build-constraint-dependencies`
- reuse shared pyproject dependency parsing so hover and PyPI prefetch cover the same uv dependency lists
- add regression tests... | diff --git a/crates/tombi-lsp/tests/test_hover.rs b/crates/tombi-lsp/tests/test_hover.rs
index 7788bbc2c..ede8e6cc4 100644
--- a/crates/tombi-lsp/tests/test_hover.rs
+++ b/crates/tombi-lsp/tests/test_hover.rs
@@ -560,6 +560,31 @@ mod hover_keys_value {
});
);
+ test_hover_keys_value!(
+ ... | 3 | 2 | 2 | [{"id": "G0", "claim": "Because inlay_hint_impl returns early when [project] name/version are missing, UniquePackageVersion hints for tool.uv.{constraint,override,build-constraint}-dependencies never render in pyprojects that only define [tool.uv]; consider making current_package optional and only requiring it for Curr... | null |
tombi-toml__tombi__1657 | tombi-toml/tombi | 1,657 | defect | 6177b72323e8a42d4b3857b53557129c9c2ea88d | 7cfddbd5735406fa45dd10cb75946ca98dc8d910 | Add Cargo workspace-value hints for lints | ## Summary
- refactor Cargo workspace-value inlay hint collection to resolve the workspace manifest once
- keep workspace-value hints for package inheritance and add support for `[lints] workspace = true`
- explicitly leave dependency `workspace = true` hints to the dependency-version feature and cover the behavior wit... | diff --git a/crates/tombi-lsp/tests/test_inlay_hint.rs b/crates/tombi-lsp/tests/test_inlay_hint.rs
index 8c6b4d26e..14b194a8f 100644
--- a/crates/tombi-lsp/tests/test_inlay_hint.rs
+++ b/crates/tombi-lsp/tests/test_inlay_hint.rs
@@ -24,7 +24,7 @@ use tombi_lsp::{
const RESOLVED_VERSION_TOOLTIP: &str = "Resolved vers... | 1 | 1 | 1 | [{"id": "G0", "claim": "collect_workspace_value_inlay_hints now resolves/loads the workspace manifest unconditionally even when there are no workspace = true fields in the document or visible range, a performance regression from the prior lazy resolution behavior; it should scan for visible workspace = true targets fir... | null |
tombi-toml__tombi__1658 | tombi-toml/tombi | 1,658 | defect | 6177b72323e8a42d4b3857b53557129c9c2ea88d | d164ebc68cd82abfaa717ed94c165b393a40bb05 | Add fallback for path dependency version hints | ## Summary
- add a local Cargo.toml fallback when path dependency versions cannot be resolved from Cargo.lock
- limit the fallback work to hints inside the visible range
- add inlay hint tests for direct and workspace path dependencies without lockfile resolution
## Testing
- cargo test -p tombi-extension-cargo inlay_... | diff --git a/crates/tombi-lsp/tests/test_inlay_hint.rs b/crates/tombi-lsp/tests/test_inlay_hint.rs
index 8c6b4d26e..f23a09b5e 100644
--- a/crates/tombi-lsp/tests/test_inlay_hint.rs
+++ b/crates/tombi-lsp/tests/test_inlay_hint.rs
@@ -23,6 +23,7 @@ use tombi_lsp::{
};
const RESOLVED_VERSION_TOOLTIP: &str = "Resolved ... | 3 | 3 | 1 | [{"id": "G0", "claim": "dependency_local_version loads and parses the dependency's Cargo.toml for every visible dependency hint even when Cargo.lock resolution succeeds, introducing unnecessary filesystem IO and parsing on each inlay-hint request; consider deferring the local-manifest lookup until after lockfile resolu... | null |
tombi-toml__tombi__1660 | tombi-toml/tombi | 1,660 | defect | 0950565af34b00f775fa9cffb99b747b294aad98 | 5eeebf0fe89bfb1a78497763c4bf9a3885c980e8 | Fix hover display for quoted extension keys | ## Summary
- fix hover key rendering so non-bare keys like `tombi-toml/cargo` are shown as quoted TOML keys
- extract shared key formatting and basic string escaping into `tombi_toml_text::to_key_string`
- add unit and hover regression tests for quoted and escaped keys
## Testing
- cargo fmt --all
- cargo test -p tomb... | diff --git a/Cargo.lock b/Cargo.lock
index a316abdcc..913bbbded 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3535,6 +3535,7 @@ dependencies = [
"rstest",
"tombi-hashmap",
"tombi-text",
+ "tombi-toml-text",
]
[[package]]
@@ -4014,6 +4015,7 @@ dependencies = [
"tombi-syntax",
"tombi-test-lib",
"tombi-text... | 2 | 2 | 1 | [{"id": "G0", "claim": "to_key_string should use a stricter bare-key check for display purposes (excluding '.') so that keys containing '.' are quoted/escaped in the rendered output instead of being emitted unquoted as an ambiguous dotted key.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
tombi-toml__tombi__1661 | tombi-toml/tombi | 1,661 | defect | 0950565af34b00f775fa9cffb99b747b294aad98 | 99dc9ef1ee4a9a907bfc0701bd97fcd72de67e8d | Fix Cargo workspace dependency rewrite output | ## Summary
- change Cargo workspace dependency inheritance to emit dotted keys for string dependencies
- keep version-to-workspace replacement behavior for table dependencies while preserving extra keys
- add regression tests for trailing comment preservation in both dotted and inline table cases
## Testing
- cargo te... | diff --git a/crates/tombi-lsp/tests/test_code_action_refactor_rewrite.rs b/crates/tombi-lsp/tests/test_code_action_refactor_rewrite.rs
index 814a2f97a..7b1e60891 100644
--- a/crates/tombi-lsp/tests/test_code_action_refactor_rewrite.rs
+++ b/crates/tombi-lsp/tests/test_code_action_refactor_rewrite.rs
@@ -190,7 +190,24 @... | 1 | 1 | 1 | [{"id": "G0", "claim": "generate_member_workspace_true_edit rewrites any non-string dependency value to `crate = { workspace = true }`, dropping existing dependency settings (features, default-features, optional, registry, etc.) for inline-table or dotted-key dependencies; other keys should be preserved (as in render_i... | null |
tombi-toml__tombi__1673 | tombi-toml/tombi | 1,673 | defect | 648c1105ce65c44b6ebd3ef14001974751c3e5b4 | a76e364db6dc498f5fce0ff9260a54ff0681e8cd | Add Cargo feature usage navigation | ## Summary
- add Cargo feature-key hover content listing all project references as links
- make Cargo feature-key goto definition return the same project-wide usage locations
- share the cargo feature navigation fixture path in test helpers and cover hover/goto behavior
## Testing
- cargo test -p tombi-lsp --test test... | diff --git a/crates/tombi-lsp/tests/test_document_link.rs b/crates/tombi-lsp/tests/test_document_link.rs
index 36ca1a94d..266b66033 100644
--- a/crates/tombi-lsp/tests/test_document_link.rs
+++ b/crates/tombi-lsp/tests/test_document_link.rs
@@ -1,4 +1,4 @@
-use tombi_test_lib::project_root_path;
+use tombi_test_lib::{c... | 5 | 5 | 0 | [{"id": "G0", "claim": "Because collect_feature_usage_locations pulls workspace member manifests via globbing without a stable order and render_feature_usage_links preserves the incoming order, hover output can be nondeterministic across platforms/filesystems; usage_locations should be sorted (e.g., by cargo_toml_path ... | null |
tombi-toml__tombi__1675 | tombi-toml/tombi | 1,675 | defect | 467d686d28a1ac8f188e6cd2739718895869df6c | 94e67bb1ae2041d15f1e80ff3fa541dbb015a007 | Fix Cargo lockfile version resolution | ## Summary
- prefer Cargo.lock-resolved versions over exact dependency requirements when fetching crates.io metadata
- handle Cargo.lock dependency entries that include a source suffix such as `(registry+...)`
- add regression coverage for `+spec` versions and source-suffixed dependency entries
## Testing
- cargo test... | diff --git a/extensions/tombi-extension-cargo/src/cargo_lock.rs b/extensions/tombi-extension-cargo/src/cargo_lock.rs
index 9392cae6d..8a88eef07 100644
--- a/extensions/tombi-extension-cargo/src/cargo_lock.rs
+++ b/extensions/tombi-extension-cargo/src/cargo_lock.rs
@@ -107,8 +107,8 @@ impl CargoLock {
crate_nam... | 1 | 1 | 0 | [{"id": "G0", "claim": "exact_crates_io_version(version_requirement) can run twice on the common lockfile-present path, since CargoLock::resolve_dependency_version already falls back to it and the code chains .or_else(|| exact_crates_io_version(...)) here; restructure so the exact-version fallback only runs when the lo... | null |
tombi-toml__tombi__1684 | tombi-toml/tombi | 1,684 | defect | bbe423fff3289fbd18bf28ca93c83b6594c63f0b | 42457350903f08cf57ee069545c06c51fb3cda34 | Add TOMBI_CACHE_HOME cache override | ## Summary
- add `TOMBI_CACHE_HOME` as the highest-priority cache directory override
- keep the existing `XDG_CACHE_HOME/tombi` and `~/.cache/tombi` fallbacks unchanged
- document the new environment variable and cache search order
## Why
Issue #1680 asks for a way to make schema data available in hermetic environment... | diff --git a/crates/tombi-cache/src/lib.rs b/crates/tombi-cache/src/lib.rs
index b7b6ef33f..13dbffd3d 100644
--- a/crates/tombi-cache/src/lib.rs
+++ b/crates/tombi-cache/src/lib.rs
@@ -5,30 +5,22 @@ pub use options::{DEFAULT_CACHE_TTL, Options};
pub const CACHE_INDEX_FILE_NAME: &str = "__index__.json";
pub async fn... | 2 | 2 | 1 | [{"id": "G0", "claim": "TOMBI_CACHE_HOME (and XDG_CACHE_HOME) should be read with std::env::var_os instead of std::env::var so non-UTF-8 but otherwise valid cache paths are not dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new prefers_... | null |
tombi-toml__tombi__1693 | tombi-toml/tombi | 1,693 | defect | b5649ec3f9625aa6b72b023807fede44cbfde0f1 | 09cc90309c36808e3c20f86f0b20dc1c2f984091 | Fix oneOf hover branch selection | ## Summary
- fix oneOf hover selection to prefer the single schema branch that actually validates
- add a hover test covering discriminator-like oneOf behavior
- add a dedicated schema fixture for the new test
- update the schema completion test fixture list for the new schema file
## Testing
- cargo test -p tombi-l... | diff --git a/crates/tombi-lsp/src/hover/one_of.rs b/crates/tombi-lsp/src/hover/one_of.rs
index 5e82dc617..a77c450bc 100644
--- a/crates/tombi-lsp/src/hover/one_of.rs
+++ b/crates/tombi-lsp/src/hover/one_of.rs
@@ -141,8 +141,8 @@ where
}
}
- let mut hover_value_content = if one_hover_value... | 1 | 1 | 1 | [{"id": "G0", "claim": "Because HoverValueContent's Eq/Hash intentionally ignore constraints, distinct oneOf branches with different defaults/enums can deduplicate into one entry and the one_hover_value_contents.len() == 1 fallback path may pick an arbitrary branch's constraints when no single valid branch exists; the ... | null |
tombi-toml__tombi__1697 | tombi-toml/tombi | 1,697 | defect | efd733bc6def53146dca444b3fb6cc90eff86dfc | 904c4c0972d7d0c508afab71ce310524bb859398 | Fix adjacent applicator schema lookups in LSP | ## Summary
- fix hover resolution for table schemas that carry adjacent `oneOf`/`anyOf`/`allOf` applicators
- apply the same traversal to completion and goto type definition
- add regression coverage for adjacent applicator branch narrowing on table properties and nested items
## Testing
- cargo test -p tombi-lsp one_... | diff --git a/crates/tombi-lsp/src/completion/value/any_of.rs b/crates/tombi-lsp/src/completion/value/any_of.rs
index be5112f83..44e9cc9ec 100644
--- a/crates/tombi-lsp/src/completion/value/any_of.rs
+++ b/crates/tombi-lsp/src/completion/value/any_of.rs
@@ -47,7 +47,7 @@ where
return completion_items;
... | 6 | 3 | 3 | [{"id": "G0", "claim": "The early `return` when `table_schema.one_of/any_of/all_of` is present skips the base `TableSchema` keywords (properties, patternProperties, additionalProperties, required-ness), dropping hover resolution for schemas that define both object properties and an adjacent applicator; consider combini... | null |
tombi-toml__tombi__1703 | tombi-toml/tombi | 1,703 | defect | 140a4564a00f895fbf3543259047f81400476777 | 4f0f4644ea074acfda05f2ae050d987c1a80c41a | Abort did_open background tasks on LSP shutdown | ## Summary
- track background refresh tasks spawned from LSP `did_open`
- abort tracked tasks during shutdown and backend drop to avoid leaks
- only request inlay hint refresh when Cargo cache warming actually awaited URLs
## Testing
- cargo test -p tombi-extension-cargo keeps_did_open_caches_bounded
- cargo test -p t... | diff --git a/crates/tombi-lsp/src/backend.rs b/crates/tombi-lsp/src/backend.rs
index 666025d35..a92510b0f 100644
--- a/crates/tombi-lsp/src/backend.rs
+++ b/crates/tombi-lsp/src/backend.rs
@@ -45,6 +45,7 @@ pub struct Backend {
#[allow(dead_code)]
pub client: tower_lsp::Client,
pub capabilities: Arc<toki... | 3 | 3 | 1 | [{"id": "G0", "claim": "If shutdown aborts the refresh task before the cache-warming handle completes, the warming JoinHandle is dropped and the cache-warming task keeps running detached, so shutdown/drop may still leak network work; the cache-warming handle itself should be registered/abortable.", "category": "correct... | null |
tombi-toml__tombi__1720 | tombi-toml/tombi | 1,720 | defect | aeb7e92345c12a6f9b4af53a57ca8da04393539a | e5d1e9352bef31fd437cecf82b58e55254726440 | Fix missing default completion for composite schemas | ## Summary
- keep top-level anyOf/oneOf defaults and examples visible unless branch narrowing is active
- restore the `0` default completion for `tombi.toml` format rules like `array-bracket-space-width`
- add an LSP completion test covering the `tombi.toml` regression
## Testing
- cargo test -p tombi-lsp tombi_format... | diff --git a/crates/tombi-lsp/src/completion/value/any_of.rs b/crates/tombi-lsp/src/completion/value/any_of.rs
index 39e20cea1..256f401a1 100644
--- a/crates/tombi-lsp/src/completion/value/any_of.rs
+++ b/crates/tombi-lsp/src/completion/value/any_of.rs
@@ -137,7 +137,7 @@ where
}
}
- if !... | 2 | 2 | 2 | [{"id": "G0", "claim": "oneOf-level default/examples are surfaced whenever !narrow_branches, so when keys is non-empty (completing inside a nested property of a oneOf branch) they appear as semantically unrelated suggestions at the nested cursor position; gate the block with keys.is_empty() so they are offered only at ... | null |
tombi-toml__tombi__1725 | tombi-toml/tombi | 1,725 | defect | 422b70c5ee8038a6ccc0773b06e51a7bdde3501c | ee1777354514936ef8b78873135e2c41856322c2 | Fix issue 1719 unevaluatedProperties handling | ## Summary
Fix evaluated-property collection for referenced schemas inside applicators so `allOf` + `unevaluatedProperties` does not report false diagnostics.
Add LSP regression fixtures and tests for issue #1719 covering config-based, schema-directive-only, and pull-diagnostic startup flows.
## Testing
cargo test -p ... | diff --git a/crates/tombi-lsp/tests/fixtures/issue-1719-all-of-unevaluated-properties/README.md b/crates/tombi-lsp/tests/fixtures/issue-1719-all-of-unevaluated-properties/README.md
new file mode 100644
index 000000000..69a2e0279
--- /dev/null
+++ b/crates/tombi-lsp/tests/fixtures/issue-1719-all-of-unevaluated-propertie... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `test_diagnostic!` macro binds `let mut args = TestArgs::default();` but later in the macro body references a `config` variable (e.g., `config.schema_file_path`, `config.source_text`), which will cause a compile error because `config` is not defined in this macro; those references should be ... | null |
tombi-toml__tombi__1741 | tombi-toml/tombi | 1,741 | defect | 223397104627ac99ce420ef4898688f24ee12852 | 44b88883c6e5b6f12140d6a4b457ced562c4bb7c | fix: propagate root schema rules to subschemas | ## Summary
- propagate root schema format/lint settings to subschema evaluation
- make root schema overrides take precedence inside subschemas for table and array ordering
- add formatter and linter regression tests for root-to-subschema propagation
## Testing
- cargo test -p tombi-linter test_root_schema_lint_rules_p... | diff --git a/AGENTS.md b/AGENTS.md
index 5ef4224e3..badb27e5d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -2,3 +2,4 @@
## Development Guidelines
- Think in English, but generate responses in Japanese (思考は英語、回答の生成は日本語で行うように)
+- 自動テストを作成・追加する際は、必ずそのリポジトリで用意されているテスト用マクロ(例: `test_format!`)を利用すること
diff --git a/crates/tomb... | 1 | 1 | 1 | [{"id": "G0", "claim": "Insert sites in store.rs use the fragment-full `document_schema.schema_uri.clone()` as map key while lookups strip fragments, so schemas configured with a fragment (`...#...`) are stored under a key that is never found and their format/lint rules and overrides do not apply; the key should be nor... | null |
tombi-toml__tombi__1743 | tombi-toml/tombi | 1,743 | defect | 008b215f1e453c6b284427d05e6c1fc38637363c | bfe6f1fe7b707b18e20cee0eef993a28bd620555 | test: use config text in formatter schema tests | Formatter test macro now accepts TOML config text and parses it during test setup, so formatter tests can describe schema settings with inline config strings. The formatter schema-order tests were updated to use `ConfigText(...)` instead of constructing `tombi_config::Config` values manually, which removes a large amou... | diff --git a/Cargo.lock b/Cargo.lock
index f8b2b06cc..fe40112e5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3842,6 +3842,7 @@ dependencies = [
"rstest",
"schemars",
"serde",
+ "serde_tombi",
"textwrap",
"tokio",
"tombi-ast",
diff --git a/crates/tombi-formatter/Cargo.toml b/crates/tombi-formatter/Cargo.toml... | 2 | 2 | 2 | [{"id": "G0", "claim": "In the migrated ConfigText schema-override fixtures the root and subschema roles are reversed (tombi.json as root, pyproject.json as the root = \"tool.tombi\" subschema), so overrides for tool.tombi.* attach to the wrong schema item and the tests do not exercise the root-vs-subschema scenarios t... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.