Skip to content

Merge branch 'master' into copilot/refactor-filepath-handling

f61a2e0
Select commit
Loading
Failed to load commit list.
Merged

Refactor EventStream::sendFrame to use reusable filepath member #4616

Merge branch 'master' into copilot/refactor-filepath-handling
f61a2e0
Select commit
Loading
Failed to load commit list.
Cirrus CI / freebsd-build freebsd_instance:family/freebsd-15-0-amd64-zfs failed Mar 4, 2026 in 2m 7s

Task Summary

Instruction build failed in 00:45

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:22 clone
✅ 00:47 prepare
✅ 00:10 configure
❌ 00:45 build

[ 37%] Building CXX object src/CMakeFiles/zm.dir/zm_group_permission.cpp.o
[ 38%] Building CXX object src/CMakeFiles/zm.dir/zm_monitor_permission.cpp.o
[ 39%] Building CXX object src/CMakeFiles/zm.dir/zm_logger.cpp.o
[ 39%] Building CXX object src/CMakeFiles/zm.dir/zm_event.cpp.o
[ 40%] Building CXX object src/CMakeFiles/zm.dir/zm_eventstream.cpp.o
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:867:14: error: use of undeclared identifier 'reuse_filepath'; did you mean 'reuse_filepath_'?
  867 |     if (stat(reuse_filepath.c_str(), &filestat) < 0) {
      |              ^~~~~~~~~~~~~~
      |              reuse_filepath_
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
  130 |   std::string reuse_filepath_;  // reused across sendFrame calls to avoid per-frame heap alloc
      |               ^
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:869:13: error: use of undeclared identifier 'reuse_filepath'; did you mean 'reuse_filepath_'?
  869 |             reuse_filepath.c_str(), curr_frame_id);
      |             ^~~~~~~~~~~~~~
      |             reuse_filepath_
/tmp/cirrus-ci-build/src/zm_logger.h:220:53: note: expanded from macro 'Debug'
  220 | #define Debug(level, params...)  logPrintf(level, ##params)
      |                                                     ^
/tmp/cirrus-ci-build/src/zm_logger.h:206:60: note: expanded from macro 'logPrintf'
  206 |       log->logPrint(false, __FILE__, __LINE__, logLevel, ##params); \
      |                                                            ^
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
  130 |   std::string reuse_filepath_;  // reused across sendFrame calls to avoid per-frame heap alloc
      |               ^
/tmp/cirrus-ci-build/src/zm_eventstream.cpp:870:7: error: use of undeclared identifier 'reuse_filepathi'; did you mean 'reuse_filepath_'?
  870 |       reuse_filepathi.clear();
      |       ^~~~~~~~~~~~~~~
      |       reuse_filepath_
/tmp/cirrus-ci-build/src/zm_eventstream.h:130:15: note: 'reuse_filepath_' declared here
  130 |   std::string reuse_filepath_;  // reused across sendFrame calls to avoid per-frame heap alloc
      |               ^
[ 41%] Building CXX object src/CMakeFiles/zm.dir/zm_event_tag.cpp.o
3 errors generated.
--- src/CMakeFiles/zm.dir/zm_eventstream.cpp.o ---
*** [src/CMakeFiles/zm.dir/zm_eventstream.cpp.o] Error code 1

make[2]: stopped making "src/CMakeFiles/zm.dir/build" in /tmp/cirrus-ci-build/build
make[2]: 1 error

make[2]: stopped making "src/CMakeFiles/zm.dir/build" in /tmp/cirrus-ci-build/build
--- src/CMakeFiles/zm.dir/all ---
*** [src/CMakeFiles/zm.dir/all] Error code 2

make[1]: stopped making "all" in /tmp/cirrus-ci-build/build
make[1]: 1 error

make[1]: stopped making "all" in /tmp/cirrus-ci-build/build
*** [all] Error code 2

make: stopped making "default_target" in /tmp/cirrus-ci-build/build
make: 1 error

make: stopped making "default_target" in /tmp/cirrus-ci-build/build

Exit status: 2