Repository navigation
patches: report # Upstream: carry markers in BUILD and .bzl files (part of #11967) - #13976
Merged
Merged
Conversation
…rt of #11967) //patches:upstream now also reads `# Upstream: owner/repo#N` comment lines in BUILD, BUILD.bazel and .bzl files, so code that carries an upstream fix is flagged by the weekly report like a patch. //patches:headers_test fails on an unreadable marker. The clang_cl LIB targets carry hermeticbuild/hermetic-llvm#973. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K
TrapsterDK
force-pushed
the
issue-11967-carry-upstream
branch
from
November 19, 2026 16:21
fbf7f1a to
ff7c3d4
Compare
TrapsterDK
marked this pull request as ready for review
November 19, 2026 16:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #11967
//patches:upstreamnow reads# Upstream: owner/repo#Ncomment lines inBUILD,BUILD.bazeland.bzlfiles (the walk skips./bazel-dirs andnode_modules). These carries are reported in the same sections as patch headers.//patches:headers_testfails when a marker is unreadable; it reads them from@dx_test_tags_sources//:sources.json. The clang_cl LIB targets incc/private/toolchain/clang_cl/BUILD.bazelare marked# Upstream: hermeticbuild/hermetic-llvm#973, so the weekly issue flags them once an llvm release ships the fix.Remaining for #11967:
search_path,*_link_lib_envandlink_lib_envtargets and thelink_lib_envparameter ofclang_cl_toolchains.Tests:
bazel test //patches:upstream_unit_test //patches:headers_test //patches:render_unit_test //tools/ci:prose_rules_test: the three patches tests pass.prose_rules_testfails with.github/workflows/README.md issue-number 5: 4 allowed; remove the new one. origin/main already has 5 issue numbers in that file, and this PR adds none.tools/dx check --affected:tools/api:api_test(API snapshot),tools/ci:aggregate_gates_test(ci.yml"Write job summary"|| true) andtools/ci:config_consistency_test(README.bazelversion, clippy config) fail. This PR touches none of those files.carry_files('.')from the repo root findscc/private/toolchain/clang_cl/BUILD.bazel, and it is the only file with a marker.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hvgPbKqbuDgsTasg7K