Skip to content

fix(rpc): correct severity of error diagnostic - #8193

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
Alizter:ps/branch/fix_rpc___correct_severity_of_error_diagnostic
Jul 14, 2023
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
Alizter:ps/branch/fix_rpc___correct_severity_of_error_diagnostic

Conversation

@Alizter

@Alizter Alizter commented Jul 12, 2023 •

Copy link
Copy Markdown
Collaborator

The severity of diagnostics sent over RPC seemed to be missing.

  • changelog

@Alizter
Alizter requested a review from rgrinberg July 12, 2023 13:47
@Alizter Alizter mentioned this pull request Jul 12, 2023
9 of 12 tasks
@ocaml-benchmarks

Copy link
Copy Markdown

#8193 (155da21) changes the metrics as follows in comparison to main (4256431) when running on fermat (bench/monorepo/bench.Dockerfile):

Benchmark: default

Test: dune monorepo benchmarks

  • build from scratch changed by 0.2%
  • null build changed by -1.5%
  • watch mode: changing file in 'base' library changed by 1.2%
  • watch mode: changing file in 'file_path' library changed by -1.0%
  • watch mode: fixing error in file in 'base' library changed by -2.7%
  • watch mode: fixing error in file in 'file_path' library changed by -0.4%
  • watch mode: introducing error in file in 'base' library changed by -5.5%
  • watch mode: introducing error in file in 'file_path' library changed by -6.7%

@rgrinberg

Copy link
Copy Markdown
Member

Can you add a changes entry?

@Alizter
Alizter force-pushed the ps/branch/fix_rpc___correct_severity_of_error_diagnostic branch from 155da21 to 2f8b648 Compare July 14, 2023 12:06
@Alizter

Alizter commented Jul 14, 2023

Copy link
Copy Markdown
Collaborator Author

@rgrinberg done.

@rgrinberg
rgrinberg merged commit a8cd7e4 into ocaml:main Jul 14, 2023
@Alizter
Alizter deleted the ps/branch/fix_rpc___correct_severity_of_error_diagnostic branch July 14, 2023 15:49
emillon added a commit to emillon/opam-repository that referenced this pull request Jul 28, 2023
CHANGES:

- Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter)

- Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more
  items. (ocaml/dune#8196, @Alizter)

- Add `dune show installed-libraries` as an alias of the `dune
  installed-libraries` command. (ocaml/dune#8135, @Alizter)

- Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193,
  @Alizter)

- Add `dune build --dump-gc-stats FILE` argument to dump garbage collection
  stats to a named file. (ocaml/dune#8072, @Alizter)

- Fix bug with ppx and Reason syntax due to missing dependency in sandboxed
  action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter)

- Add `dune describe package-entries` to print all package entries (ocaml/dune#7480,
  @moyodiallo)

- Improve `dune describe external-lib-deps` by adding the internal dependencies
  for more information. (ocaml/dune#7478, @moyodiallo)

- Re-enable background file digests on Windows. The files are now open in a way
  that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
emillon added a commit to emillon/opam-repository that referenced this pull request Jul 31, 2023
CHANGES:

- Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter)

- Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more
  items. (ocaml/dune#8196, @Alizter)

- Add `dune show installed-libraries` as an alias of the `dune
  installed-libraries` command. (ocaml/dune#8135, @Alizter)

- Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193,
  @Alizter)

- Add `dune build --dump-gc-stats FILE` argument to dump garbage collection
  stats to a named file. (ocaml/dune#8072, @Alizter)

- Fix bug with ppx and Reason syntax due to missing dependency in sandboxed
  action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter)

- Add `dune describe package-entries` to print all package entries (ocaml/dune#7480,
  @moyodiallo)

- Improve `dune describe external-lib-deps` by adding the internal dependencies
  for more information. (ocaml/dune#7478, @moyodiallo)

- Re-enable background file digests on Windows. The files are now open in a way
  that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

- Add `dune show rules` as alias of the `dune rules` command. (ocaml/dune#8000, @Alizter)

- Fix `%{deps}` to expand properly in `(cat ...)` when containing 2 or more
  items. (ocaml/dune#8196, @Alizter)

- Add `dune show installed-libraries` as an alias of the `dune
  installed-libraries` command. (ocaml/dune#8135, @Alizter)

- Fix the `severity` of error messages sent over RPC which was missing. (ocaml/dune#8193,
  @Alizter)

- Add `dune build --dump-gc-stats FILE` argument to dump garbage collection
  stats to a named file. (ocaml/dune#8072, @Alizter)

- Fix bug with ppx and Reason syntax due to missing dependency in sandboxed
  action (ocaml/dune#7932, fixes ocaml/dune#7930, @Alizter)

- Add `dune describe package-entries` to print all package entries (ocaml/dune#7480,
  @moyodiallo)

- Improve `dune describe external-lib-deps` by adding the internal dependencies
  for more information. (ocaml/dune#7478, @moyodiallo)

- Re-enable background file digests on Windows. The files are now open in a way
  that prevents race condition around deletion. (ocaml/dune#8262, fixes ocaml/dune#8268, @emillon)
@Alizter Alizter added this to the 3.10.0 milestone Jun 10, 2026
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.

2 participants