Skip to content

chore(deps): bump lsp-server to 0.10.0 and jsonschema to 0.52.1 - #421

Merged
owenlamont merged 2 commits into
mainfrom
chore/bump-lsp-server-0.10-jsonschema-0.52
Sep 2, 2026
Merged

chore(deps): bump lsp-server to 0.10.0 and jsonschema to 0.52.1#421
owenlamont merged 2 commits into
mainfrom
chore/bump-lsp-server-0.10-jsonschema-0.52

Conversation

@owenlamont

Copy link
Copy Markdown
Owner

Replaces Dependabot's #418, whose branch is stale and fails to compile against lsp-server 0.10.

What changed

  • lsp-server 0.8.0 to 0.10.0 (runtime, behind the lsp feature, and dev). 0.10 folds Response::result and Response::error into one response_result: Result<Value, ResponseError> field. Only the three LSP test suites read those fields, so they now read response_result; src/lsp only builds responses through Response::new_ok / new_err, which are unchanged.
  • jsonschema 0.46.2 to 0.52.1 (dev-only). Dependabot targeted 0.49.9, but 0.52.1 is current and the validator_for API the tests use is unchanged across 0.47 to 0.52. The one breaking note in that range concerns default-features = false, which ryl does not set.

Why

#418 has been stuck since 21 Aug: its workflow-file hunks now conflict with #420 and its tests no longer compile. A fresh branch off main is simpler than repairing it.

Risk

Low. No src/ changes. Full suite passes locally (1749 tests), prek run --all-files is clean, both -D warnings clippy gates pass, and the coverage script reports no uncovered regions. cargo audit is clean on the new lock.

Where to focus review

tests/lsp_server.rs around the former assert_eq!(response.result, Some(Value::Null)) sites, now matches!(response.response_result, Ok(Value::Null)), and the cancelled workspace/diagnostic test whose old assertion became vacuous under the new type and now checks the response id instead.

Skills used
Skill Version
human-collaboration v0.8.0

lsp-server 0.10 folds `Response::result` and `Response::error` into one
`response_result: Result<Value, ResponseError>` field, so the LSP test
suites now read that field. jsonschema is a dev-only dependency and the
`validator_for` API ryl's tests use is unchanged across 0.47 to 0.52.

Supersedes #418.

Co-Authored-By: Claude <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploying ryl-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a48120
Status: ✅  Deploy successful!
Preview URL: https://9b88bcb2.ryl-docs.pages.dev
Branch Preview URL: https://chore-bump-lsp-server-0-10-j.ryl-docs.pages.dev

View logs

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Test Coverage (nextest + cargo-llvm-cov)

Filename                                Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cli_support.rs                              168                 0   100.00%           7                 0   100.00%          95                 0   100.00%           0                 0         -
conf/mod.rs                                  10                 0   100.00%           1                 0   100.00%           7                 0   100.00%           0                 0         -
config.rs                                  1793                 0   100.00%         176                 0   100.00%        1281                 0   100.00%           0                 0         -
config_schema.rs                            491                 0   100.00%          46                 0   100.00%         389                 0   100.00%           0                 0         -
config_schema/serialization.rs              631                 0   100.00%          36                 0   100.00%         410                 0   100.00%           0                 0         -
config_schema/validation.rs                 171                 0   100.00%          21                 0   100.00%         146                 0   100.00%           0                 0         -
decoder.rs                                  482                 0   100.00%          35                 0   100.00%         321                 0   100.00%           0                 0         -
directives.rs                               284                 0   100.00%          24                 0   100.00%         174                 0   100.00%           0                 0         -
discover.rs                                  63                 0   100.00%           5                 0   100.00%          40                 0   100.00%           0                 0         -
fix.rs                                      602                 0   100.00%          39                 0   100.00%         385                 0   100.00%           0                 0         -
lint.rs                                     310                 0   100.00%          22                 0   100.00%         195                 0   100.00%           0                 0         -
lsp/actions.rs                              244                 0   100.00%          17                 0   100.00%         188                 0   100.00%           0                 0         -
lsp/analysis.rs                              98                 0   100.00%          10                 0   100.00%          74                 0   100.00%           0                 0         -
lsp/encoding.rs                             299                 0   100.00%          21                 0   100.00%         168                 0   100.00%           0                 0         -
lsp/hover.rs                                 39                 0   100.00%           3                 0   100.00%          28                 0   100.00%           0                 0         -
lsp/mod.rs                                 1016                 0   100.00%          75                 0   100.00%         766                 0   100.00%           0                 0         -
lsp/rename.rs                               158                 0   100.00%          11                 0   100.00%         111                 0   100.00%           0                 0         -
main.rs                                    1451                 0   100.00%          94                 0   100.00%         976                 0   100.00%           0                 0         -
markdown_embed/lint.rs                      109                 0   100.00%           6                 0   100.00%          75                 0   100.00%           0                 0         -
markdown_embed/mod.rs                       185                 0   100.00%          14                 0   100.00%         133                 0   100.00%           0                 0         -
migrate.rs                                  351                 0   100.00%          27                 0   100.00%         255                 0   100.00%           0                 0         -
report.rs                                   349                 0   100.00%          10                 0   100.00%         204                 0   100.00%           0                 0         -
rules/anchors.rs                            184                 0   100.00%          11                 0   100.00%         155                 0   100.00%           0                 0         -
rules/block_scalar_chomping.rs               94                 0   100.00%          11                 0   100.00%          60                 0   100.00%           0                 0         -
rules/colons.rs                             299                 0   100.00%          20                 0   100.00%         228                 0   100.00%           0                 0         -
rules/commas.rs                             350                 0   100.00%          15                 0   100.00%         246                 0   100.00%           0                 0         -
rules/comments.rs                           194                 0   100.00%          12                 0   100.00%         125                 0   100.00%           0                 0         -
rules/comments_indentation.rs               380                 0   100.00%          20                 0   100.00%         230                 0   100.00%           0                 0         -
rules/document_end.rs                       197                 0   100.00%          15                 0   100.00%         133                 0   100.00%           0                 0         -
rules/document_start.rs                     122                 0   100.00%          11                 0   100.00%          82                 0   100.00%           0                 0         -
rules/empty_lines.rs                        196                 0   100.00%          10                 0   100.00%         128                 0   100.00%           0                 0         -
rules/empty_values.rs                       155                 0   100.00%          12                 0   100.00%         139                 0   100.00%           0                 0         -
rules/float_values.rs                       270                 0   100.00%          24                 0   100.00%         170                 0   100.00%           0                 0         -
rules/hyphens.rs                            150                 0   100.00%           8                 0   100.00%         105                 0   100.00%           0                 0         -
rules/indentation.rs                        682                 0   100.00%          45                 0   100.00%         587                 0   100.00%           0                 0         -
rules/key_duplicates.rs                     684                 0   100.00%          47                 0   100.00%         464                 0   100.00%           0                 0         -
rules/key_ordering.rs                       208                 0   100.00%          23                 0   100.00%         142                 0   100.00%           0                 0         -
rules/line_length.rs                        193                 0   100.00%          15                 0   100.00%         132                 0   100.00%           0                 0         -
rules/merge_keys.rs                          49                 0   100.00%           2                 0   100.00%          32                 0   100.00%           0                 0         -
rules/new_line_at_end_of_file.rs             29                 0   100.00%           3                 0   100.00%          19                 0   100.00%           0                 0         -
rules/new_lines.rs                           92                 0   100.00%           7                 0   100.00%          61                 0   100.00%           0                 0         -
rules/octal_values.rs                       104                 0   100.00%          11                 0   100.00%          70                 0   100.00%           0                 0         -
rules/quoted_strings.rs                    1229                 0   100.00%          95                 0   100.00%         879                 0   100.00%           0                 0         -
rules/support/comments_scan.rs               21                 0   100.00%           2                 0   100.00%          16                 0   100.00%           0                 0         -
rules/support/flow_collection.rs            613                 0   100.00%          36                 0   100.00%         501                 0   100.00%           0                 0         -
rules/support/line_syntax.rs                254                 0   100.00%          21                 0   100.00%         181                 0   100.00%           0                 0         -
rules/support/mapping_key_walker.rs          89                 0   100.00%          15                 0   100.00%          87                 0   100.00%           0                 0         -
rules/support/merge_key.rs                   13                 0   100.00%           2                 0   100.00%          12                 0   100.00%           0                 0         -
rules/support/punctuation.rs                158                 0   100.00%          16                 0   100.00%         107                 0   100.00%           0                 0         -
rules/support/span_utils.rs                  74                 0   100.00%          11                 0   100.00%          62                 0   100.00%           0                 0         -
rules/support/yaml_version.rs                67                 0   100.00%          10                 0   100.00%          45                 0   100.00%           0                 0         -
rules/tags.rs                               119                 0   100.00%           9                 0   100.00%          90                 0   100.00%           0                 0         -
rules/trailing_spaces.rs                     73                 0   100.00%           3                 0   100.00%          35                 0   100.00%           0                 0         -
rules/truthy.rs                             241                 0   100.00%          16                 0   100.00%         186                 0   100.00%           0                 0         -
rules/unicode_line_breaks.rs                 29                 0   100.00%           5                 0   100.00%          23                 0   100.00%           0                 0         -
yaml_dom/loader.rs                          186                 0   100.00%           6                 0   100.00%         121                 0   100.00%           0                 0         -
yaml_dom/scalar.rs                          142                 0   100.00%          11                 0   100.00%          71                 0   100.00%           0                 0         -
yaml_dom/tag.rs                              23                 0   100.00%           3                 0   100.00%          15                 0   100.00%           0                 0         -
yaml_dom/yaml_owned.rs                       69                 0   100.00%          14                 0   100.00%          53                 0   100.00%           0                 0         -
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                     17336                 0   100.00%        1297                 0   100.00%       12213                 0   100.00%           0                 0         -

Missed Lines (per file)

@owenlamont
owenlamont merged commit ba6b733 into main Sep 2, 2026
3 checks passed
@owenlamont
owenlamont deleted the chore/bump-lsp-server-0.10-jsonschema-0.52 branch September 2, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant