diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 380ea0d..2007e55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: name: golangci-lint (api-service) files: ^api-service/ args: [--timeout=5m] - entry: bash -c 'cd api-service && golangci-lint run --timeout=5m' + entry: bash -c 'cd api-service && golangci-lint run -v --timeout=5m' pass_filenames: false - id: golangci-lint name: golangci-lint (controller) diff --git a/aenv/src/cli/extends/artifacts/artifacts_builder.py b/aenv/src/cli/extends/artifacts/artifacts_builder.py index be08885..79cda82 100644 --- a/aenv/src/cli/extends/artifacts/artifacts_builder.py +++ b/aenv/src/cli/extends/artifacts/artifacts_builder.py @@ -206,17 +206,11 @@ def _build_image( ) # Process streaming build logs current_step = 0 - # last_output_time = time.time() - # heartbeat_interval = 30 # Show heartbeat every 30 seconds if no output - # last_heartbeat_time = time.time() for log_line in response: if not log_line: continue - # current_time = time.time() - # last_output_time = current_time - # Handle different types of log messages if "stream" in log_line: stream_text = log_line["stream"].strip()