Skip to content

Add providers.bzl to shell/private:private_bzl#57

Merged
fmeum merged 1 commit intobazel-contrib:mainfrom
avdv:cb/add-missing-providers.bzl
Mar 25, 2026
Merged

Add providers.bzl to shell/private:private_bzl#57
fmeum merged 1 commit intobazel-contrib:mainfrom
avdv:cb/add-missing-providers.bzl

Conversation

@avdv
Copy link
Copy Markdown
Contributor

@avdv avdv commented Mar 25, 2026

This file is missing in the bzl_library target which makes starlark generation fail for example:

Stardoc documentation generation failed: File /home/runner/.cache/bazel/_bazel_runner/c91220d87f26118b19246641d5266d21/sandbox/processwrapper-sandbox/251/execroot/rules_haskell/bazel-out/k8-opt-exec-2B5CBBC6/bin/docs/defs_metadata_stardoc.runfiles/rules_shell/shell/private/sh_executable.bzl imported ':providers.bzl', yet /home/runner/.cache/bazel/_bazel_runner/c91220d87f26118b19246641d5266d21/sandbox/processwrapper-sandbox/251/execroot/rules_haskell/bazel-out/k8-opt-exec-2B5CBBC6/bin/docs/defs_metadata_stardoc.runfiles/rules_shell/shell/private/providers.bzl was not found.

@psalaberria002
Copy link
Copy Markdown

Yei! I was about to send a PR for this.

#45 should prevent future regressions.

psalaberria002 added a commit to cognitedata/bazel-snapshots that referenced this pull request Mar 25, 2026
Add stardoc and aspect_bazel_lib deps, generate API docs for defs.bzl,
toolchain.bzl, and snapshots/private/snapshots.bzl into docs/. The
write_source_files target in docs/ keeps committed docs in sync — CI
catches drift automatically via bazel test //....

Pin rules_shell to 0.6.1 to work around a missing bzl_library for
providers.bzl in 0.7.x (fix in bazel-contrib/rules_shell#57).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
github-merge-queue Bot pushed a commit to cognitedata/bazel-snapshots that referenced this pull request Mar 25, 2026
* Add stardoc generation with docs committed to source tree

Add stardoc and aspect_bazel_lib deps, generate API docs for defs.bzl,
toolchain.bzl, and snapshots/private/snapshots.bzl into docs/. The
write_source_files target in docs/ keeps committed docs in sync — CI
catches drift automatically via bazel test //....

Pin rules_shell to 0.6.1 to work around a missing bzl_library for
providers.bzl in 0.7.x (fix in bazel-contrib/rules_shell#57).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* gzl

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@fmeum fmeum merged commit 81e1eb9 into bazel-contrib:main Mar 25, 2026
12 checks passed
@avdv avdv deleted the cb/add-missing-providers.bzl branch March 25, 2026 17:32
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