forked from quick-lint/quick-lint-js
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump ws from 7.3.1 to 7.4.6 in /demo #1
Open
dependabot
wants to merge
1
commit into
master
Choose a base branch
from
dependabot/npm_and_yarn/demo/ws-7.4.6
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.3.1...7.4.6) Signed-off-by: dependabot[bot] <[email protected]>
dependabot
bot
added
the
dependencies
Pull requests that update a dependency file
label
May 31, 2021
vegerot
pushed a commit
that referenced
this pull request
Nov 11, 2021
DocumentLinter has two responsibilities: 1. sync text changes to the DocumentForVSCode 2. propagate diagnostics from the synced document Config files need #1, but will have a different way of dealing with #2. Separate these responsibilities into two classes: AbstractSyncedDocument (for #1) and DocumentLinter (for #2). This commit should not change behavior.
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
vegerot
pushed a commit
that referenced
this pull request
Jan 13, 2023
Tests are flaky on Windows [1]. Here's what I see on CI when a failure happens: [snip] 1: [----------] 5 tests from typescript/test_parse_conditional_expression (0 ms total) 1: 1: [----------] Global test environment tear-down 1: [==========] 1879 tests from 145 test suites ran. (9726 ms total) 1: [ PASSED ] 1879 tests. 1: 1: YOU HAVE 1 DISABLED TEST 1: 1: D:/a/quick-lint-js/quick-lint-js/src/quick-lint-js/io/output-stream.cpp:101: internal check failed in flush_impl: false 1: quick-lint-js crashed. Please report this bug here: 1: https://quick-lint-js.com/crash-report/ 1/2 Test #1: quick-lint-js-test ...............***Failed 9.77 sec Add some debug logs to help isolate the bug. [1] quick-lint#859
vegerot
pushed a commit
that referenced
this pull request
Jan 13, 2023
test_debug_server.trace_websocket_sends_trace_data is failing occasionally with the following message: [ RUN ] test_debug_server.trace_websocket_sends_trace_data .../test/test-debug-server.cpp:464: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_init_event(::testing::Field( &trace_stream_event_visitor::init_event::version, ::testing::StrEq("2.10.0"))))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:461: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_packet_header(::testing::_))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:464: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_init_event(::testing::Field( &trace_stream_event_visitor::init_event::version, ::testing::StrEq("2.10.0"))))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:461: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_packet_header(::testing::_))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:464: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_init_event(::testing::Field( &trace_stream_event_visitor::init_event::version, ::testing::StrEq("2.10.0"))))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:461: Failure Actual function call count doesn't match EXPECT_CALL(v, visit_packet_header(::testing::_))... Expected: to be called once Actual: never called - unsatisfied and active .../test/test-debug-server.cpp:482: Failure Value of: delegate.received_thread_indexes Expected: has 3 elements and there exists some permutation of elements such that: - element #0 is equal to 1, and - element #1 is equal to 2, and - element #2 is equal to 3 Actual: { 3, 1, 2, 3, 1, 2 }, which has 6 elements expected three streams: main thread, other thread, debug server thread [ FAILED ] test_debug_server.trace_websocket_sends_trace_data (1 ms) These failures are caused by the test not handling empty messages properly. Hackily fix the flaky failure by ignoring empty messages in the test.
vegerot
pushed a commit
that referenced
this pull request
Jan 8, 2024
diagnostic-metadata-debug-generated.cpp contains reflection data (class member variable names, types, and offsets) for diagnostic classes. This is a lot of information which is noise when adding new diagnostic types. Because this data is only used in tests, we have access to the source code (diagnostic-types-2.h). Move the build-time reflection to run-time reflection, simplifying patches touching diagnostic-types-2.h. Debug test times don't seem to be negatively affected by this change: Before: Benchmark #1: ./build/test/quick-lint-js-test --gtest_color=yes --gtest_break_on_failure --gtest_brief=1 --gtest_filter=-Test_Debug_Server.\*:Test_Configuration_Loader.\*:\*SLOW\* Time (mean ± σ): 356.9 ms ± 3.1 ms [User: 319.2 ms, System: 13.6 ms] Range (min … max): 352.8 ms … 363.6 ms 10 runs After: Benchmark #1: ./build/test/quick-lint-js-test --gtest_color=yes --gtest_break_on_failure --gtest_brief=1 --gtest_filter=-Test_Debug_Server.\*:Test_Configuration_Loader.\*:\*SLOW\* Time (mean ± σ): 352.5 ms ± 5.0 ms [User: 313.9 ms, System: 15.1 ms] Range (min … max): 346.6 ms … 361.6 ms 10 runs
vegerot
pushed a commit
that referenced
this pull request
Jan 8, 2024
Linked_Bump_Allocator is coded to align all allocations to 'alignment' (typically 8). This is problematic for a few reasons: 1. 'alignment' is specified as a compile-time template parameter, forcing Linked_Bump_Allocator to be a template. This probably slows down compilation and clutters the header file. (This is the main problem motivating this patch.) 2. Allocations perform run-time alignment anyways, but on the size rather than on the pointer. 3. The forced alignment wastes some space. 4. Linked_Bump_Allocator cannot support overaligned data. (This isn't a problem yet, and I don't forsee this being a real problem. I mention this for completeness.) Teach Linked_Bump_Allocator to align everything according to a run-time alignment. This will let us fix issue #1 later, directly fixes issue #3, and (with some work included in this patch) fixes #4. This patch might have negative performance costs. I did not measure.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps ws from 7.3.1 to 7.4.6.
Release notes
Sourced from ws's releases.
... (truncated)
Commits
f5297f7
[dist] 7.4.600c425e
[security] Fix ReDoS vulnerability990306d
[lint] Fix prettier error32e3a84
[security] Remove reference to Node Security Project8c914d1
[minor] Fix nitsfc7e27d
[ci] Test on node 16587c201
[ci] Do not test on node 15f672710
[dist] 7.4.567e25ff
[fix] Fix case whereabortHandshake()
does not close the connection23ba6b2
[fix] Make UTF-8 validation work even if utf-8-validate is not installedDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.