Skip to content

fix: unbreak the Build workflow on main - #5

Merged
jkr-137 merged 4 commits into
mainfrom
cursor/fix-http-comment-e560
Aug 8, 2026
Merged

fix: unbreak the Build workflow on main#5
jkr-137 merged 4 commits into
mainfrom
cursor/fix-http-comment-e560

Conversation

@jkr-137

@jkr-137 jkr-137 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

Three failures were stacked behind each other on main; each one only became visible once the previous was fixed.

  • src/Http.h: the doc comment contained */ inside a /** … */ block ("*/*"), so MSVC ended the comment early and gwdash::http::Get disappeared.
  • src/TradePresets.cpp: includes <PluginUtils.h> without <imgui.h> first, so the ImRect in Toolbox's header failed to parse in that translation unit.
  • clang-format gate: .clang-format set NamespaceIndentation: None while every file indents inside namespaces, so the check could never pass. Config now matches the code, the remaining drift is formatted, and the clang-format version is pinned so the gate does not move with the runner image.

Test plan

  • CI Build on this PR is green (compile, tests, clang-format, packaging)
  • After merge, Build on main goes green
Open in Web Open in Cursor 

MSVC treated "*/*" in the doc comment as end-of-comment and failed the build.

Co-authored-by: domibuilds <jkr-137@users.noreply.github.com>
@jkr-137
jkr-137 marked this pull request as ready for review August 8, 2026 18:29
Copilot AI lite review requested due to automatic review settings August 8, 2026 18:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

cursoragent and others added 3 commits August 8, 2026 18:33
PluginUtils.h uses ImRect; without imgui.h MSVC fails that TU after the Http.h comment fix unblocked the build.

Co-authored-by: domibuilds <jkr-137@users.noreply.github.com>
The gate never passed: NamespaceIndentation was None while every file
indents inside namespaces. Pinning clang-format keeps the check from
drifting with the runner image's LLVM.

Co-authored-by: domibuilds <jkr-137@users.noreply.github.com>
Co-authored-by: domibuilds <jkr-137@users.noreply.github.com>
@cursor cursor Bot changed the title fix: Http.h comment breaks MSVC build fix: unbreak the Build workflow on main Aug 8, 2026
@jkr-137
jkr-137 merged commit e4187a7 into main Aug 8, 2026
2 checks passed
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.

3 participants