ryerraguntla commented on code in PR #3519:
URL: https://github.com/apache/iggy/pull/3519#discussion_r3830786338


##########
.github/actions/rust/pre-merge/action.yml:
##########
@@ -279,6 +279,32 @@ runs:
         compile_duration=$((compile_end - compile_start))
         echo "::notice::Tests compiled in ${compile_duration}s ($(date -ud 
@${compile_duration} +'%M:%S'))"
 
+        # api_handler_tests, version_firewall_tests, and server_e2e_tests need 
gitignored
+        # wire fixtures. Generate when iggy-gateway-kafka is in the DAG test 
scope, or (on
+        # a full-workspace run) when gateways/** changed vs origin/master — 
avoid building
+        # kafka-message-gen / kafka-protocol when the gateway was not touched.
+        NEEDS_KAFKA_FIXTURES=false
+        if grep -q 'package(iggy-gateway-kafka)' <<< "$NEXTEST_FILTER"; then
+          NEEDS_KAFKA_FIXTURES=true
+        elif [[ -z "$NEXTEST_FILTER" ]]; then
+          if git diff --name-only origin/master...HEAD 2>/dev/null | grep -qE 
'^gateways/'; then

Review Comment:
   Done!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to