riteshghorse commented on code in PR #28564:
URL: https://github.com/apache/beam/pull/28564#discussion_r1337578790


##########
sdks/python/container/boot.go:
##########
@@ -409,7 +410,40 @@ func installSetupPackages(ctx context.Context, logger 
*tools.Logger, files []str
        if err := pipInstallPackage(ctx, logger, files, workDir, workflowFile, 
false, true, nil); err != nil {
                return fmt.Errorf("failed to install workflow: %v", err)
        }
+       if err := logRuntimeDependencies(ctx, logger); err != nil {
+               logger.Warnf(ctx, "couldn't fetch the runtime dependencies: 
%v", err)
+       }
+       if err := logSubmissionEnvDependencies(ctx, logger, workDir); err != 
nil {
+               logger.Warnf(ctx, "couldn't fetch the submission environment 
dependencies: %v", err)
+       }
+
+       return nil
+}
 
+func logSubmissionEnvDependencies(ctx context.Context, logger *tools.Logger, 
dir string) error {
+       logger.Log(ctx, fnexecution_v1.LogEntry_Severity_DEBUG, "Logging 
submission environment dependencies:")

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