From c7762469f2128a308730dcaf3f704b6f415b3bb2 Mon Sep 17 00:00:00 2001 From: Michael Ruoss Date: Thu, 6 Nov 2025 09:41:32 +0100 Subject: [PATCH] bump kubereq to 0.4 (#3090) --- lib/livebook/k8s_api.ex | 2 +- mix.exs | 2 +- mix.lock | 2 +- test/livebook/runtime/k8s_test.exs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/livebook/k8s_api.ex b/lib/livebook/k8s_api.ex index 46ebafe72..c1b037141 100644 --- a/lib/livebook/k8s_api.ex +++ b/lib/livebook/k8s_api.ex @@ -100,7 +100,7 @@ defmodule Livebook.K8sAPI do ] ) |> case do - {:ok, stream} -> + {:ok, %Req.Response{status: 200, body: stream}} -> stream = Stream.map(stream, fn event -> %{message: event["object"]["message"]} diff --git a/mix.exs b/mix.exs index f72c2aa15..dfd687416 100644 --- a/mix.exs +++ b/mix.exs @@ -122,7 +122,7 @@ defmodule Livebook.MixProject do {:mint_web_socket, "~> 1.0.0"}, {:protobuf, "~> 0.13.0"}, {:dns_cluster, "~> 0.1.2"}, - {:kubereq, "~> 0.3.0"}, + {:kubereq, "~> 0.4.0"}, {:yaml_elixir, "~> 2.11"}, {:phoenix_live_reload, "~> 1.2", only: :dev}, {:tidewave, "~> 0.5", only: :dev}, diff --git a/mix.lock b/mix.lock index 8c22976a0..0d7dbea90 100644 --- a/mix.lock +++ b/mix.lock @@ -24,7 +24,7 @@ "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, "jose": {:hex, :jose, "1.11.10", "a903f5227417bd2a08c8a00a0cbcc458118be84480955e8d251297a425723f83", [:mix, :rebar3], [], "hexpm", "0d6cd36ff8ba174db29148fc112b5842186b68a90ce9fc2b3ec3afe76593e614"}, "jsx": {:hex, :jsx, "3.1.0", "d12516baa0bb23a59bb35dccaf02a1bd08243fcbb9efe24f2d9d056ccff71268", [:rebar3], [], "hexpm", "0c5cc8fdc11b53cc25cf65ac6705ad39e54ecc56d1c22e4adb8f5a53fb9427f3"}, - "kubereq": {:hex, :kubereq, "0.3.2", "e425dd94bd74b6510dc45a9557d9378d3fd6ca0ea3ebe0dad2a9c85a08c2e20a", [:mix], [{:fresh, "~> 0.4.4", [hex: :fresh, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: false]}, {:mint_web_socket, "~> 1.0", [hex: :mint_web_socket, repo: "hexpm", optional: false]}, {:pluggable, "~> 1.0", [hex: :pluggable, repo: "hexpm", optional: false]}, {:req, "~> 0.5.0", [hex: :req, repo: "hexpm", optional: false]}, {:yaml_elixir, "~> 2.0", [hex: :yaml_elixir, repo: "hexpm", optional: false]}], "hexpm", "d13293ac66bbfe7ac238881ac0404662af5a01f96f9325dd556594fd858f2a3e"}, + "kubereq": {:hex, :kubereq, "0.4.2", "a42cb9ceb86605c2ac63fb7921d5481161c25e266f6c82bd9c0f759841db6dd0", [:mix], [{:mint, "~> 1.0", [hex: :mint, repo: "hexpm", optional: false]}, {:mint_web_socket, "~> 1.0", [hex: :mint_web_socket, repo: "hexpm", optional: false]}, {:pluggable, "~> 1.0", [hex: :pluggable, repo: "hexpm", optional: false]}, {:req, "~> 0.5.0", [hex: :req, repo: "hexpm", optional: false]}, {:yaml_elixir, "~> 2.0", [hex: :yaml_elixir, repo: "hexpm", optional: false]}], "hexpm", "c52a4a7c8911e10e739291457a2367f38397eada3e904ea6731fc0c34ee99d3e"}, "lazy_html": {:hex, :lazy_html, "0.1.0", "619c4c124a7375ecbf66263de90270d221ffc7479afde436717a4e5cceaac954", [:make, :mix], [{:cc_precompiler, "~> 0.1", [hex: :cc_precompiler, repo: "hexpm", optional: false]}, {:elixir_make, "~> 0.9.0", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:fine, "~> 0.1.0", [hex: :fine, repo: "hexpm", optional: false]}], "hexpm", "a212f417b0e546055b7d5d72d302fce747b63ac9dfe0cf491c1f9af6d198e256"}, "logger_json": {:hex, :logger_json, "6.2.1", "a1db30e1164e6057f2328a1e4d6b632b9583c015574fdf6c38cf73721128edcb", [:mix], [{:decimal, ">= 0.0.0", [hex: :decimal, repo: "hexpm", optional: true]}, {:ecto, "~> 3.11", [hex: :ecto, repo: "hexpm", optional: true]}, {:jason, "~> 1.4", [hex: :jason, repo: "hexpm", optional: false]}, {:plug, "~> 1.15", [hex: :plug, repo: "hexpm", optional: true]}, {:telemetry, "~> 1.0", [hex: :telemetry, repo: "hexpm", optional: true]}], "hexpm", "34acd0bfd419d5fcf08c4108a8a4b59b695fcc60409dc1dd1a868b70c42e1d1f"}, "makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"}, diff --git a/test/livebook/runtime/k8s_test.exs b/test/livebook/runtime/k8s_test.exs index 4a435769d..6e6abd2f0 100644 --- a/test/livebook/runtime/k8s_test.exs +++ b/test/livebook/runtime/k8s_test.exs @@ -56,7 +56,7 @@ defmodule Livebook.Runtime.K8sTest do assert_receive {:runtime_connect_info, ^pid, "waiting for pod"}, @assert_receive_timeout - assert_receive {:runtime_connect_info, ^pid, "created container livebook-runtime"}, + assert_receive {:runtime_connect_info, ^pid, "created container: livebook-runtime"}, @assert_receive_timeout assert_receive {:runtime_connect_info, ^pid, "started container livebook-runtime"},