Skip to content

Conversation

@alexeagle
Copy link
Contributor

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 14 to 21
lcov_build = ctx.bazel.build(
"@lcov",
events = True,
bazel_flags = ["--build_runfile_links"],
)
lcov = runnable(ctx, "@@lcov+//:lcov")
for event in lcov_build.events():
lcov.event(event)

Choose a reason for hiding this comment

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

P0 Badge Build lcov tool with invalid target label

The lcov binary is built with ctx.bazel.build("@lcov", …), but @lcov is not a legal Bazel label – an external repository must be addressed with a full label such as @lcov//:lcov. Because no @@lcov+//:lcov target is actually built, the runnable never sees a target_completed event, _determine_entrypoint returns None, and lcov.spawn will fail before any report is printed. The build call should use the same explicit label that the runnable later tries to execute so the lcov binary is produced and can be run.

Useful? React with 👍 / 👎.

@alexeagle alexeagle changed the title print a report feat: print a report Nov 6, 2025
@alexeagle alexeagle merged commit 3b5ca71 into main Nov 6, 2025
3 of 4 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.

2 participants