This is an automated email from the ASF dual-hosted git repository.
xuang7 pushed a commit to branch release/v1.2
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/release/v1.2 by this push:
new 14ee95ef6b fix(amber, v1.2): log betterproto stderr as info to avoid
false IDE build failures (#7108)
14ee95ef6b is described below
commit 14ee95ef6b52d685fb9867ba2c35fe238d05ac59
Author: Yicong Huang <[email protected]>
AuthorDate: Thu Jul 30 02:29:34 2026 -0400
fix(amber, v1.2): log betterproto stderr as info to avoid false IDE build
failures (#7108)
### What changes were proposed in this PR?
Backport of #6245 to `release/v1.2`, cherry-picked from
a6c85b3b193de317f73f9b567aa9ceb687bc022b.
Follows the Direct Backport Push convention; opened as a PR (rather than
a direct push) as part of a backport-coverage audit for fixes merged to
`main` since early June that were never labeled for backport.
### Any related issues, documentation, discussions?
Backport of #6245. Originally linked #6243.
### How was this PR tested?
Release-branch CI runs on this PR. The cherry-pick applied cleanly onto
`release/v1.2`; no manual conflict resolution was needed.
### Was this PR authored or co-authored using generative AI tooling?
Yes — backport prepared with Claude Code (mechanical cherry-pick; the
change itself is #6245 by its original author).
Co-authored-by: Eugene Gu <[email protected]>
---
amber/build.sbt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/amber/build.sbt b/amber/build.sbt
index 67b77106a3..634af54b19 100644
--- a/amber/build.sbt
+++ b/amber/build.sbt
@@ -217,7 +217,7 @@ genPythonProto := {
"Install protoc and `pip install betterproto[compiler]` before
launching a Python worker or running pytest."
)
} else {
- val procLogger = scala.sys.process.ProcessLogger(line => log.info(line),
line => log.error(line))
+ val procLogger = scala.sys.process.ProcessLogger(line => log.info(line),
line => log.info(line))
val exit = scala.sys.process.Process(Seq("bash", script.getAbsolutePath),
repoRoot).!(procLogger)
if (exit != 0) sys.error(s"python-proto-gen.sh failed with exit code
$exit")
}