Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/scripts/release_rust/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@
import argparse
import json
import os
import tomllib
from collections import defaultdict, deque
from dataclasses import dataclass
from pathlib import Path

import tomllib

SCRIPT_PATH = Path(__file__).resolve()
PROJECT_DIR = SCRIPT_PATH.parents[3]
PUBLISH_GLOBS = (
"core/Cargo.toml",
"core/core/Cargo.toml",
"core/testkit/Cargo.toml",
"core/executors/*/Cargo.toml",
"core/http-transports/*/Cargo.toml",
"core/layers/*/Cargo.toml",
"core/services/*/Cargo.toml",
Expand Down
8 changes: 8 additions & 0 deletions .github/scripts/release_rust/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ def test_repository_plan_excludes_non_release_paths(self):
result = plan()

self.assertIn("core/core", result)
self.assertIn("core/executors/compio", result)
self.assertIn("core/executors/tokio", result)
self.assertIn("core/testkit", result)
self.assertIn("core", result)
self.assertIn("integrations/object_store", result)
Expand All @@ -138,6 +140,12 @@ def test_repository_plan_excludes_non_release_paths(self):
def test_repository_plan_orders_core_before_root_and_integrations(self):
result = plan()

self.assertLess(
result.index("core/core"), result.index("core/executors/compio")
)
self.assertLess(result.index("core/core"), result.index("core/executors/tokio"))
self.assertLess(result.index("core/executors/compio"), result.index("core"))
self.assertLess(result.index("core/executors/tokio"), result.index("core"))
self.assertLess(result.index("core/core"), result.index("core"))
self.assertLess(result.index("core/testkit"), result.index("core"))
self.assertLess(result.index("core"), result.index("integrations/object_store"))
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ on:
- ".github/workflows/release_rust.yml"
- ".github/scripts/release_rust/**"
- "core/testkit/Cargo.toml"
- "core/executors/*/Cargo.toml"
- "core/http-transports/*/Cargo.toml"
workflow_dispatch:

Expand Down
34 changes: 17 additions & 17 deletions bindings/ruby/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading