diff options
author | Mike Kruskal <62662355+mkruskal-google@users.noreply.github.com> | 2024-02-27 13:43:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 13:43:30 -0800 |
commit | 489aba5b55bb994bcd130a43e20cc9be3be04adf (patch) | |
tree | ae9ae65983040647ef83852e3567745811f9658c | |
parent | 982aac091620867ee1d9668ef3715f1bdaaddcc6 (diff) | |
parent | 367c7bea8dd5505f817f41e052e50caa694fb0e6 (diff) | |
download | protobuf-489aba5b55bb994bcd130a43e20cc9be3be04adf.tar.gz |
Merge pull request #15984 from mkruskal-google/staleness-fix-25
Actually fail if staleness fail
-rw-r--r-- | .github/workflows/staleness_check.yml | 3 | ||||
-rw-r--r-- | php/ext/google/protobuf/php-upb.h | 4 | ||||
-rwxr-xr-x | ruby/ext/google/protobuf_c/ruby-upb.h | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml index 01077caa5..8d4b1fdea 100644 --- a/.github/workflows/staleness_check.yml +++ b/.github/workflows/staleness_check.yml @@ -52,8 +52,7 @@ jobs: run: | set -ex if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then - bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS || \ - echo "Please run ./regenerate_stale_files.sh to regenerate stale files" + bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS else bazel query 'attr(tags, "staleness_test", //...)' fi diff --git a/php/ext/google/protobuf/php-upb.h b/php/ext/google/protobuf/php-upb.h index ec9136875..ae67e1803 100644 --- a/php/ext/google/protobuf/php-upb.h +++ b/php/ext/google/protobuf/php-upb.h @@ -10178,7 +10178,7 @@ const upb_FileDef* upb_DefPool_FindFileByNameWithSize(const upb_DefPool* s, const upb_FieldDef* upb_DefPool_FindExtensionByMiniTable( const upb_DefPool* s, const upb_MiniTableExtension* ext); -const upb_FieldDef* upb_DefPool_FindExtensionByName(const upb_DefPool* s, +UPB_API const upb_FieldDef* upb_DefPool_FindExtensionByName(const upb_DefPool* s, const char* sym); const upb_FieldDef* upb_DefPool_FindExtensionByNameWithSize( @@ -10201,7 +10201,7 @@ UPB_API const upb_FileDef* upb_DefPool_AddFile( upb_DefPool* s, const UPB_DESC(FileDescriptorProto) * file_proto, upb_Status* status); -const upb_ExtensionRegistry* upb_DefPool_ExtensionRegistry( +UPB_API const upb_ExtensionRegistry* upb_DefPool_ExtensionRegistry( const upb_DefPool* s); const upb_FieldDef** upb_DefPool_GetAllExtensions(const upb_DefPool* s, diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index c4be0d71d..9195fb397 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h @@ -10682,7 +10682,7 @@ const upb_FileDef* upb_DefPool_FindFileByNameWithSize(const upb_DefPool* s, const upb_FieldDef* upb_DefPool_FindExtensionByMiniTable( const upb_DefPool* s, const upb_MiniTableExtension* ext); -const upb_FieldDef* upb_DefPool_FindExtensionByName(const upb_DefPool* s, +UPB_API const upb_FieldDef* upb_DefPool_FindExtensionByName(const upb_DefPool* s, const char* sym); const upb_FieldDef* upb_DefPool_FindExtensionByNameWithSize( @@ -10705,7 +10705,7 @@ UPB_API const upb_FileDef* upb_DefPool_AddFile( upb_DefPool* s, const UPB_DESC(FileDescriptorProto) * file_proto, upb_Status* status); -const upb_ExtensionRegistry* upb_DefPool_ExtensionRegistry( +UPB_API const upb_ExtensionRegistry* upb_DefPool_ExtensionRegistry( const upb_DefPool* s); const upb_FieldDef** upb_DefPool_GetAllExtensions(const upb_DefPool* s, |