Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/heavy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- main

permissions:
contents: read
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/per-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- main

permissions:
contents: read
Expand All @@ -17,7 +17,7 @@ concurrency:
jobs:
build-and-lint:
name: "Format, docs, and lint"
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 15 || 10 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand All @@ -33,7 +33,7 @@ jobs:
- run: rustup component add rustfmt clippy
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo fmt --all --check
- run: cargo doc --workspace --all-features --no-deps
env:
Expand All @@ -46,7 +46,7 @@ jobs:
test:
name: Unit Tests
# Give extra time to ensure pushes to main have time to populate the cache
timeout-minutes: ${{ matrix.timeoutMinutes || (github.ref == 'refs/heads/master' && 20 || 15) }}
timeout-minutes: ${{ matrix.timeoutMinutes || (github.ref == 'refs/heads/main' && 20 || 15) }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo test -- --include-ignored --nocapture
- name: Find test executable for cgroup tests
id: find-cgroup-test
Expand All @@ -107,7 +107,7 @@ jobs:

msrv:
name: "Verify MSRV"
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 15 || 10 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand All @@ -123,7 +123,7 @@ jobs:
- run: rustup component add rustfmt clippy
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
key: msrv
- run: cargo install cargo-msrv
- run: cargo msrv verify
Expand All @@ -150,7 +150,7 @@ jobs:

integ-tests:
name: Integ tests
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 30 || 25 }}
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 30 || 25 }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -185,18 +185,18 @@ jobs:
core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo integ-test

cloud-tests:
if: github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-core'
if: github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-rust'
name: Cloud tests
env:
TEMPORAL_CLOUD_ADDRESS: https://${{ vars.TEMPORAL_CLIENT_NAMESPACE }}.tmprl.cloud:7233
TEMPORAL_NAMESPACE: ${{ vars.TEMPORAL_CLIENT_NAMESPACE }}
TEMPORAL_CLIENT_CERT: ${{ secrets.TEMPORAL_CLIENT_CERT }}
TEMPORAL_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }}
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 25 || 20 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand All @@ -210,7 +210,7 @@ jobs:

- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo test --features=test-utilities --test cloud_tests

docker-integ-tests:
Expand All @@ -221,7 +221,7 @@ jobs:
TEMPORAL_CLIENT_CERT: ${{ secrets.TEMPORAL_CLIENT_CERT }}
TEMPORAL_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }}
DOCKER_PROMETHEUS_RUNNING: true
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 25 || 20 }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
Expand All @@ -238,7 +238,7 @@ jobs:
compose-file: ./etc/docker/docker-compose-ci.yaml
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo integ-test docker_

examples:
Expand All @@ -255,7 +255,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Build examples
run: cargo build --examples -p temporalio-sdk --features examples
- name: Install Temporal CLI
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contributor Guidance for `sdk-core`
# Contributor Guidance for `sdk-rust`

This repository provides a Rust workspace for the Temporal Core SDK and related crates. Use this
document as your quick reference when submitting pull requests.
Expand Down
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ definitions. The actual implementations of this "service" are not generated by g
the messages themselves are, and make it easier to hit the ground running in new languages.

See the latest API
definition [here](https://github.com/temporalio/sdk-core/tree/master/sdk-core-protos/protos/local/temporal/sdk/core)
definition [here](https://github.com/temporalio/sdk-rust/tree/main/crates/common/protos/local/temporal/sdk/core)

## Other topics

Expand Down
2 changes: 1 addition & 1 deletion crates/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
license-file = { workspace = true }
description = "Clients for interacting with Temporal"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow"]
categories = ["development-tools"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
license-file = { workspace = true }
description = "Common functionality for the Temporal SDK Core, Client, and Rust SDK"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow"]
categories = ["development-tools"]
exclude = ["protos/*/.github/*"]
Expand Down
2 changes: 1 addition & 1 deletion crates/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
license-file = { workspace = true }
description = "Procmacros used in Temporal Core & Rust SDKs"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow", "macros"]
categories = ["development-tools"]

Expand Down
2 changes: 1 addition & 1 deletion crates/sdk-core-c-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Spencer Judge <spencer@temporal.io>"]
license-file = { workspace = true }
description = "C bridge for Temporal Core SDK"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow"]
categories = ["development-tools"]
publish = false
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2024"
license-file = { workspace = true }
description = "Library for building new Temporal SDKs"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow"]
categories = ["development-tools"]
exclude = ["machine_coverage/*"]
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Spencer Judge <spencer@temporal.io>"]
license-file = { workspace = true }
description = "Temporal Rust SDK"
homepage = "https://temporal.io/"
repository = "https://github.com/temporalio/sdk-core"
repository = "https://github.com/temporalio/sdk-rust"
keywords = ["temporal", "workflow"]
categories = ["development-tools"]
readme = "README.md"
Expand Down
Loading