CanineHQ/canine · error

BuildKit builder did not become ready in time (waited #{READ

Error message

BuildKit builder did not become ready in time (waited #{READY_MAX_ATTEMPTS * READY_POLL_INTERVAL / 60} minutes)

What it means

Error "BuildKit builder did not become ready in time (waited #{READY_MAX_ATTEMPTS * READY_POLL_INTERVAL / 60} minutes)" thrown in CanineHQ/canine.

Source

Thrown at app/services/k8/build_cloud_manager.rb:224

    while attempts < READY_MAX_ATTEMPTS
      if builder_ready?
        build_cloud.success("Builder is ready! All pods are running.")
        return true
      end

      # Periodically log pod status and check for warnings
      if (attempts % WARNING_CHECK_INTERVAL).zero?
        log_pod_status
        check_pod_warnings(logged_warnings)
      end

      sleep READY_POLL_INTERVAL
      attempts += 1
    end

    log_pod_status
    check_pod_warnings(logged_warnings)
    raise "BuildKit builder did not become ready in time (waited #{READY_MAX_ATTEMPTS * READY_POLL_INTERVAL / 60} minutes)"
  end

  def ensure_builder_active!
    unless builder_ready?
      raise "BuildKit builder is not ready. Run setup! first."
    end

    # Set the builder as active
    runner.call(%w[docker buildx use] + [ build_cloud.name ])
  end

  def ensure_namespace!
    # Create namespace if it doesn't exist
    quiet_runner = Cli::RunAndReturnOutput.new
    K8::Kubeconfig.with_kube_config(connection.kubeconfig, skip_tls_verify: connection.cluster.skip_tls_verify) do |kubeconfig_file|
      quiet_runner.call(%w[kubectl create namespace] + [ namespace ], envs: { "KUBECONFIG" => kubeconfig_file.path })
    end
    build_cloud.success("Namespace #{namespace} created")

View on GitHub (pinned to ba4ee3968d)

When it happens

Trigger: Thrown at app/services/k8/build_cloud_manager.rb:224 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23). Data as JSON: /api/errors/f1ea3e7a2e1d216b. Report an issue: GitHub.