Skip to content

Conversation

@GuillaumeLagrange
Copy link
Contributor

@GuillaumeLagrange GuillaumeLagrange commented Nov 19, 2025

No description provided.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 19, 2025

CodSpeed Performance Report

Merging #37 will not alter performance

Comparing cod-1556-any-plans-for-bazel-registry (f23b68b) with main (bee1708)

Summary

✅ 192 untouched

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch 14 times, most recently from 2506554 to 634b591 Compare November 19, 2025 16:41
Copilot finished reviewing on behalf of GuillaumeLagrange November 19, 2025 16:45
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR prepares the repository for publication to the Bazel Central Registry (BCR) by restructuring it into separate Bazel modules and enhancing the release process.

  • Splits the monorepo into two independent modules: codspeed_core and codspeed_google_benchmark_compat
  • Enhances the release script to create tarballs with submodule content included
  • Updates all build configurations and examples to reference modules via external repository syntax

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scripts/release.sh Adds submodule handling and tarball creation for GitHub releases with submodule content
core/MODULE.bazel New module definition for the core CodSpeed library (version 1.4.0)
core/BUILD Updates version to use module_version() and adds C++17 standard flag for non-Windows builds
core/CMakeLists.txt Updates version from 1.2.0 to 1.4.0
google_benchmark/MODULE.bazel Renames module from google_benchmark to codspeed_google_benchmark_compat with dependencies on codspeed_core
google_benchmark/BUILD.bazel Updates dependency references to use external @codspeed_core repository and adds alias for codspeed_mode
MODULE.bazel Restructures for local development with path overrides for the two modules
examples/google_benchmark_bazel/BUILD.bazel Updates dependency to reference @codspeed_google_benchmark_compat
.bazelrc Updates flag reference from //core:codspeed_mode to @codspeed_core//:codspeed_mode
.github/workflows/ci.yml Updates all Bazel flag references to use external repository syntax
flake.nix Adds git-cliff tool to development environment
CONTRIBUTING.md Updates release documentation with new process and version locations
MODULE.bazel.lock Updates lock file to reflect dependency changes and new module structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch from 634b591 to 6f4b3fa Compare November 19, 2025 17:00
@GuillaumeLagrange GuillaumeLagrange marked this pull request as ready for review November 20, 2025 09:00
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch from a0dc601 to cd55ad4 Compare November 20, 2025 09:15
std::filesystem usage requires c++17
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch from cd55ad4 to cccb6fc Compare November 20, 2025 10:34
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch 3 times, most recently from 8a8c313 to c538c05 Compare November 20, 2025 14:47
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch 6 times, most recently from 20e79d7 to 7abc45c Compare November 20, 2025 16:59
Copy link
Member

@not-matthias not-matthias left a comment

Choose a reason for hiding this comment

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

A few places that have leftover instrumentation mode. Otherwise LGTM

Copy link
Member

@adriencaccia adriencaccia left a comment

Choose a reason for hiding this comment

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

LGTM, waiting on @not-matthias review

Github asset does not contain submodule code, we manually create the git
archive with all submodules sources checked out to be used as a self
contained bazel module.
@GuillaumeLagrange GuillaumeLagrange force-pushed the cod-1556-any-plans-for-bazel-registry branch from 7abc45c to f23b68b Compare November 21, 2025 11:18
@GuillaumeLagrange GuillaumeLagrange merged commit f23b68b into main Nov 21, 2025
25 checks passed
@GuillaumeLagrange GuillaumeLagrange deleted the cod-1556-any-plans-for-bazel-registry branch November 21, 2025 11:28
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.

4 participants