Skip to content

fix(golang-github-prometheus-common): add missing jmespath BuildRequires for sigv4 tests#16615

Merged
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-golang-github-prometheus-common-v2
Apr 12, 2026
Merged

fix(golang-github-prometheus-common): add missing jmespath BuildRequires for sigv4 tests#16615
christopherco merged 1 commit intotomls/base/mainfrom
chrco/fix-golang-github-prometheus-common-v2

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

golang-github-aws-sdk is built in bootstrap mode, which suppresses all golang(...) Requires from its -devel RPM. The sigv4 subpackage imports aws-sdk-go, which transitively needs github.com/jmespath/go-jmespath. Add an explicit BuildRequires so sigv4 tests compile and run.

Build verified locally; package inspected in mock.

…res for sigv4 tests

golang-github-aws-sdk is built in bootstrap mode, which suppresses all
golang(...) Requires from its -devel RPM. The sigv4 subpackage imports
aws-sdk-go, which transitively needs github.com/jmespath/go-jmespath.
Add an explicit BuildRequires so sigv4 tests compile and run.

Build verified locally; package inspected in mock.
Copy link
Copy Markdown
Contributor

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

Adds a dedicated component overlay for golang-github-prometheus-common to ensure sigv4 tests can build under bootstrap constraints where transitive Go Requires aren’t available from golang-github-aws-sdk’s -devel RPM.

Changes:

  • Introduce golang-github-prometheus-common.comp.toml with a spec-add-tag overlay adding BuildRequires: golang(github.com/jmespath/go-jmespath).
  • Remove the inline [components.golang-github-prometheus-common] entry from base/comps/components.toml to avoid duplicate component tables (since **/*.comp.toml files are included automatically).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
base/comps/golang-github-prometheus-common/golang-github-prometheus-common.comp.toml Adds an overlay to explicitly pull in the missing jmespath Go module for sigv4 test compilation.
base/comps/components.toml Drops the inline component entry now that the component has a dedicated .comp.toml.

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

@christopherco christopherco merged commit 0f42a11 into tomls/base/main Apr 12, 2026
9 checks passed
@christopherco christopherco deleted the chrco/fix-golang-github-prometheus-common-v2 branch April 12, 2026 20:31
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