From 68f648e031b335079b1bebee9c8ce88b5a16d3d2 Mon Sep 17 00:00:00 2001 From: Daniel Moody Date: Thu, 20 Nov 2025 15:25:08 -0600 Subject: [PATCH] SERVER-114223 add third party "mongo-like" header to auto_header exclude list (#44252) GitOrigin-RevId: ed72c09a5bbf1a70a44aeaaac4cae833dc56ee1d --- bazel/auto_header/auto_header.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bazel/auto_header/auto_header.py b/bazel/auto_header/auto_header.py index d5d78fe4ecb..469793d80e5 100644 --- a/bazel/auto_header/auto_header.py +++ b/bazel/auto_header/auto_header.py @@ -36,7 +36,7 @@ PROTO_GEN_SUFFIXES = (".grpc.pb.h", ".pb.h") # order matters only for readabili SRC_ROOT_POSIX = SRC_ROOT.as_posix() AUTO_HEADER_PREFIX = f"//{SRC_ROOT_POSIX}/" -VERSION_SALT = "autoheader-v6" # bump to force regen +VERSION_SALT = "autoheader-v7" # bump to force regen MANIFEST_PATH = SRC_ROOT / AUTO_DIR / "last_run.json" # -------- single-pass file lister (cache) -------- @@ -51,7 +51,8 @@ GEN_HEADER_REMAP = { EXCLUDE_HEADERS = { "mongo/platform/windows_basic.h", # forced via command line; don’t depend on it - "mongo/scripting/mozjs/freeOpToJSContext.h", # wierd mongo include that lives in 3rd party + "mongo/scripting/mozjs/freeOpToJSContext.h", # weird mongo include that lives in 3rd party + "mongo/scripting/mozjs/mongoErrorReportToString.h", # weird mongo include that lives in 3rd party } # Generated *_cpp (or *_gen) left files that we want to emit regardless of rg.