Skip to content

feat: support sse transfer mode - #122

Open
mzzsfy wants to merge 4 commits into
arl:mainfrom
mzzsfy:feat-sse
Open

feat: support sse transfer mode#122
mzzsfy wants to merge 4 commits into
arl:mainfrom
mzzsfy:feat-sse

fix sse bug

f47127e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 26, 2026 in 25s

Annotations

Check failure on line 4 in internal/static/js/stats.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_nzdFd_qGgbzV_-u&open=AZ0q_nzdFd_qGgbzV_-u&pullRequest=122

Check failure on line 251 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-7&open=AZ0q_n2YFd_qGgbzV_-7&pullRequest=122

Check failure on line 33 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Content-Type" 5 times.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-4&open=AZ0q_n2YFd_qGgbzV_-4&pullRequest=122

Check failure on line 7 in internal/static/js/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected var, use let or const instead.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n1FFd_qGgbzV_-v&open=AZ0q_n1FFd_qGgbzV_-v&pullRequest=122

Check failure on line 195 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/path/to/statsviz" 3 times.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-3&open=AZ0q_n2YFd_qGgbzV_-3&pullRequest=122

Check warning on line 41 in internal/static/js/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract the assignment of "timeout" from this expression.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n1FFd_qGgbzV_-w&open=AZ0q_n1FFd_qGgbzV_-w&pullRequest=122

Check warning on line 84 in internal/static/js/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n1FFd_qGgbzV_-y&open=AZ0q_n1FFd_qGgbzV_-y&pullRequest=122

Check warning on line 231 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename function "Test_intercept" to match the regular expression ^(_|[a-zA-Z0-9]+)$

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-6&open=AZ0q_n2YFd_qGgbzV_-6&pullRequest=122

Check failure on line 207 in statsviz.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Content-Type" 3 times.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2LFd_qGgbzV_-0&open=AZ0q_n2LFd_qGgbzV_-0&pullRequest=122

Check failure on line 73 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-5&open=AZ0q_n2YFd_qGgbzV_-5&pullRequest=122

Check failure on line 117 in internal/static/js/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not assign `this` to `context`.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n1FFd_qGgbzV_-z&open=AZ0q_n1FFd_qGgbzV_-z&pullRequest=122

Check warning on line 63 in internal/static/js/app.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n1FFd_qGgbzV_-x&open=AZ0q_n1FFd_qGgbzV_-x&pullRequest=122

Check failure on line 30 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "http status %v, want %v" 3 times.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2XFd_qGgbzV_-1&open=AZ0q_n2XFd_qGgbzV_-1&pullRequest=122

Check failure on line 37 in statsviz_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "index.html" 3 times.

See more on https://sonarcloud.io/project/issues?id=arl_statsviz&issues=AZ0q_n2YFd_qGgbzV_-2&open=AZ0q_n2YFd_qGgbzV_-2&pullRequest=122