From da0f70b83b0af98a17b226bdeb0e1d765edee13d Mon Sep 17 00:00:00 2001 From: Gethyl Kurian Date: Mon, 23 Mar 2026 20:52:50 +1100 Subject: [PATCH 1/5] feat: introduce otel metrics in certifier --- packages/talos_certifier/src/lib.rs | 1 + packages/talos_certifier/src/otel.rs | 43 +++++++++++ .../src/services/certifier_service.rs | 65 +++------------- .../src/services/decision_outbox_service.rs | 74 ++++++++++++++++++- .../src/services/tests/certifier_service.rs | 2 - .../services/tests/decision_outbox_service.rs | 8 +- packages/talos_certifier_adapters/Cargo.toml | 4 + .../src/certifier_kafka_pg.rs | 5 +- 8 files changed, 143 insertions(+), 59 deletions(-) create mode 100644 packages/talos_certifier/src/otel.rs diff --git a/packages/talos_certifier/src/lib.rs b/packages/talos_certifier/src/lib.rs index 78579fe8..8ec9e17b 100644 --- a/packages/talos_certifier/src/lib.rs +++ b/packages/talos_certifier/src/lib.rs @@ -4,6 +4,7 @@ pub mod core; pub mod errors; pub mod healthcheck; pub mod model; +pub mod otel; pub mod ports; pub mod services; pub mod talos_certifier_service; diff --git a/packages/talos_certifier/src/otel.rs b/packages/talos_certifier/src/otel.rs new file mode 100644 index 00000000..27548e9c --- /dev/null +++ b/packages/talos_certifier/src/otel.rs @@ -0,0 +1,43 @@ +use opentelemetry::global; +use opentelemetry_otlp::WithExportConfig; +use strum::Display; +use thiserror::Error as ThisError; + +#[derive(Debug, ThisError)] +#[error("Error initialising OTEL telemetry: '{kind}'.\nReason: {reason}\nCause: {cause:?}")] +pub struct OtelInitError { + pub kind: InitErrorType, + pub reason: String, + pub cause: Option, +} + +#[derive(Debug, Display, PartialEq, Clone)] +pub enum InitErrorType { + MetricError, +} + +pub fn init_otel_metrics(grpc_endpoint: Option) -> Result<(), OtelInitError> { + if let Some(grpc_endpoint) = grpc_endpoint { + let otel_exporter = opentelemetry_otlp::MetricExporter::builder() + .with_tonic() + .with_endpoint(grpc_endpoint) + .with_protocol(opentelemetry_otlp::Protocol::Grpc) + .build() + .map_err(|metric_error| OtelInitError { + kind: InitErrorType::MetricError, + reason: "Unable to initialise metrics exporter".into(), + cause: Some(format!("{:?}", metric_error)), + })?; + + let provider = opentelemetry_sdk::metrics::SdkMeterProvider::builder() + .with_periodic_exporter(otel_exporter) + .build(); + + tracing::info!("OTEL metrics provider initialised with endpoint"); + global::set_meter_provider(provider); + } else { + tracing::info!("No OTEL endpoint provided, metrics will default to NoopMeterProvider"); + } + + Ok(()) +} diff --git a/packages/talos_certifier/src/services/certifier_service.rs b/packages/talos_certifier/src/services/certifier_service.rs index 6f58257f..f1c578fb 100644 --- a/packages/talos_certifier/src/services/certifier_service.rs +++ b/packages/talos_certifier/src/services/certifier_service.rs @@ -3,6 +3,7 @@ use std::sync::Arc; use async_trait::async_trait; use log::{debug, error, info, warn}; +use opentelemetry::global; use talos_suffix::core::{SuffixConfig, SuffixMetricsConfig}; use talos_suffix::{get_nonempty_suffix_items, Suffix, SuffixTrait}; use time::OffsetDateTime; @@ -16,17 +17,11 @@ use crate::{ Certifier, ChannelMessage, }; -use opentelemetry::global; -use opentelemetry_otlp::WithExportConfig; -use strum::Display; -use thiserror::Error as ThisError; - /// Certifier service configuration #[derive(Debug, Clone, Default)] pub struct CertifierServiceConfig { /// Suffix config pub suffix_config: SuffixConfig, - pub otel_grpc_endpoint: Option, } pub struct CertifierService { @@ -39,45 +34,6 @@ pub struct CertifierService { pub config: CertifierServiceConfig, } -#[derive(Debug, ThisError)] -#[error("Error initialising OTEL telemetry: '{kind}'.\nReason: {reason}\nCause: {cause:?}")] -pub struct OtelInitError { - pub kind: InitErrorType, - pub reason: String, - pub cause: Option, -} - -#[derive(Debug, Display, PartialEq, Clone)] -pub enum InitErrorType { - MetricError, -} - -pub fn init_otel_metrics(grpc_endpoint: Option) -> Result<(), OtelInitError> { - if let Some(grpc_endpoint) = grpc_endpoint { - let otel_exporter = opentelemetry_otlp::MetricExporter::builder() - .with_tonic() - .with_endpoint(grpc_endpoint) - .with_protocol(opentelemetry_otlp::Protocol::Grpc) - .build() - .map_err(|metric_error| OtelInitError { - kind: InitErrorType::MetricError, - reason: "Unable to initialise metrics exporter".into(), - cause: Some(format!("{:?}", metric_error)), - })?; - - let provider = opentelemetry_sdk::metrics::SdkMeterProvider::builder() - .with_periodic_exporter(otel_exporter) - .build(); - - tracing::info!("OTEL metrics provider initialised"); - global::set_meter_provider(provider); - } - - tracing::info!("OTEL metrics initialised"); - - Ok(()) -} - impl CertifierService { pub fn new( message_channel_rx: mpsc::Receiver>, @@ -89,14 +45,17 @@ impl CertifierService { let certifier = Certifier::new(); let config = config.unwrap_or_default(); - - let suffix = if config.otel_grpc_endpoint.is_some() { - let _ = init_otel_metrics(config.otel_grpc_endpoint.clone()); - let meter = global::meter("certifier"); - Suffix::with_config(config.suffix_config.clone(), Some((SuffixMetricsConfig { prefix: "certifier".into() }, meter))) - } else { - Suffix::with_config(config.suffix_config.clone(), None) - }; + let meter = global::meter("talos_certifier"); + + let suffix = Suffix::with_config( + config.suffix_config.clone(), + Some(( + SuffixMetricsConfig { + prefix: "talos_certifier".into(), + }, + meter.clone(), + )), + ); Self { suffix, diff --git a/packages/talos_certifier/src/services/decision_outbox_service.rs b/packages/talos_certifier/src/services/decision_outbox_service.rs index 264e851e..1653a418 100644 --- a/packages/talos_certifier/src/services/decision_outbox_service.rs +++ b/packages/talos_certifier/src/services/decision_outbox_service.rs @@ -4,11 +4,14 @@ use ahash::HashMap; use async_trait::async_trait; use log::{debug, error}; +use opentelemetry::global; +use opentelemetry::metrics::{Histogram, Meter}; use time::OffsetDateTime; use tokio::sync::mpsc; use crate::core::ServiceResult; use crate::model::decision_headers::{DecisionCertHeaders, DecisionHeaderBuilder, DecisionMetaHeaders}; +use crate::model::metrics::TxProcessingTimeline; use crate::model::DEFAULT_DECISION_MESSAGE_VERSION; use crate::{ core::{DecisionOutboxChannelMessage, System, SystemService}, @@ -18,12 +21,68 @@ use crate::{ SystemMessage, }; +/// Captures important otel metrics around the journey of candidate and decision messages +#[derive(Debug, Clone)] +pub struct CertifierProcessingTimelineMetrics { + /// Capture the time from initiator got the request to certify at the cohort till the `Candidate` arrived on certifier + pub talos_initiator_to_candidate_received: Histogram, + /// Capture the time from the `Candidate` arrived on certifier to `Decision` created + pub talos_candidate_received_to_decision_created: Histogram, + /// Capture the time from the `Candidate` arrived on certifier to `Decision` published. + /// + /// **IMPORTANT METRIC**: This gives the full time spend within the certifier. This helps in gauging the performance of certifier. + pub talos_candidate_received_to_decision_published: Histogram, + /// Capture the time from initiator got the request to certify at the cohort till the `Decision` was created on certifier + pub talos_initiator_to_decision_created: Histogram, + /// Capture the time from initiator got the request to certify at the cohort till the `Decision` was published on certifier. + /// + /// **IMPORTANT METRIC**: This metric can be considerd as a `talos_initiator_to_candidate_received + talos_candidate_received_to_decision_published`. + /// But together it helps to gauge the performance from the time a request landed within the talos ecosystem on the cohort end to when the certifier published + /// it's corresponding decision. + /// + pub talos_initiator_to_decision_published: Histogram, +} + +impl CertifierProcessingTimelineMetrics { + pub fn new(meter: Meter) -> Self { + Self { + talos_initiator_to_candidate_received: meter.f64_histogram("talos_initiator_to_certifier_cm_recvd").with_unit("ms").build(), + talos_candidate_received_to_decision_created: meter.f64_histogram("talos_certifier_cm_recvd_to_dm_created").with_unit("ms").build(), + talos_candidate_received_to_decision_published: meter.f64_histogram("talos_certifier_cm_recvd_to_dm_published").with_unit("ms").build(), + talos_initiator_to_decision_created: meter.f64_histogram("talos_initiator_to_certifier_dm_created").with_unit("ms").build(), + talos_initiator_to_decision_published: meter.f64_histogram("talos_initiator_to_certifier_dm_published").with_unit("ms").build(), + } + } + + fn convert_ns_to_ms(start_ns: i128, end_ns: i128) -> f64 { + (end_ns - start_ns) as f64 / 1_000_000_f64 + } + + pub fn record_processing_metrics(&self, process_times: &TxProcessingTimeline, publish_end: i128) { + self.talos_candidate_received_to_decision_created.record( + Self::convert_ns_to_ms(process_times.candidate_processing_started, process_times.candidate_received), + &[], + ); + self.talos_candidate_received_to_decision_created + .record(Self::convert_ns_to_ms(process_times.candidate_received, process_times.decision_created_at), &[]); + self.talos_candidate_received_to_decision_created + .record(Self::convert_ns_to_ms(process_times.candidate_received, publish_end), &[]); + self.talos_initiator_to_decision_created.record( + Self::convert_ns_to_ms(process_times.candidate_processing_started, process_times.decision_created_at), + &[], + ); + self.talos_initiator_to_decision_published + .record(Self::convert_ns_to_ms(process_times.candidate_processing_started, publish_end), &[]); + } +} + pub struct DecisionOutboxService { pub system: System, pub decision_outbox_channel_tx: mpsc::Sender, pub decision_outbox_channel_rx: mpsc::Receiver, pub decision_store: Arc + Sync + Send>>, pub decision_publisher: Arc>, + pub metrics: CertifierProcessingTimelineMetrics, } impl DecisionOutboxService { @@ -40,6 +99,7 @@ impl DecisionOutboxService { decision_publisher, decision_outbox_channel_tx, decision_outbox_channel_rx, + metrics: CertifierProcessingTimelineMetrics::new(global::meter("talos_certifier")), } } @@ -78,6 +138,7 @@ impl DecisionOutboxService { publisher: &Arc>, decision_message: &DecisionMessage, headers: HashMap, + metrics: &CertifierProcessingTimelineMetrics, ) -> ServiceResult { let xid = decision_message.xid.clone(); let decision_str = serde_json::to_string(&decision_message).map_err(|e| { @@ -90,14 +151,21 @@ impl DecisionOutboxService { })?; debug!("Publishing message {}", decision_message.version); - publisher.publish_message(xid.as_str(), &decision_str, headers).await.map_err(|publish_error| { + + let publish_result = publisher.publish_message(xid.as_str(), &decision_str, headers).await.map_err(|publish_error| { Box::new(SystemServiceError { kind: SystemServiceErrorKind::MessagePublishError, reason: publish_error.reason, data: publish_error.data, //Some(format!("{:?}", decision_message)), service: "Decision Outbox Service".to_string(), }) - }) + }); + + let publish_end_ns = OffsetDateTime::now_utc().unix_timestamp_nanos(); + // record metrics of candidate and it's corresponding decision message. + metrics.record_processing_metrics(&decision_message.metrics, publish_end_ns); + + publish_result } } @@ -120,6 +188,7 @@ impl SystemService for DecisionOutboxService { self.system.name.clone(), None, )); + let metrics = self.metrics.clone(); async move { match DecisionOutboxService::save_decision_to_xdb(&datastore, &decision_message).await { @@ -128,6 +197,7 @@ impl SystemService for DecisionOutboxService { &publisher, &decision, decision_headers.add_cert_headers(DecisionCertHeaders::new(&decision)).build().into(), + &metrics, ) .await { diff --git a/packages/talos_certifier/src/services/tests/certifier_service.rs b/packages/talos_certifier/src/services/tests/certifier_service.rs index 1469719a..716438b5 100644 --- a/packages/talos_certifier/src/services/tests/certifier_service.rs +++ b/packages/talos_certifier/src/services/tests/certifier_service.rs @@ -333,7 +333,6 @@ async fn test_certification_check_suffix_prune_is_ready_threshold_30pc() { prune_start_threshold: Some(3), min_size_after_prune: Some(2), }, - otel_grpc_endpoint: None, }), ); @@ -567,7 +566,6 @@ async fn test_certification_check_suffix_prune_is_not_at_threshold() { capacity: 5, ..Default::default() }, - otel_grpc_endpoint: None, }), ); diff --git a/packages/talos_certifier/src/services/tests/decision_outbox_service.rs b/packages/talos_certifier/src/services/tests/decision_outbox_service.rs index 51351c0c..4b63b598 100644 --- a/packages/talos_certifier/src/services/tests/decision_outbox_service.rs +++ b/packages/talos_certifier/src/services/tests/decision_outbox_service.rs @@ -11,10 +11,12 @@ use crate::{ errors::{DecisionStoreError, DecisionStoreErrorKind}, DecisionStore, MessagePublisher, }, + services::decision_outbox_service::CertifierProcessingTimelineMetrics, SystemMessage, }; use ahash::{HashMap, HashMapExt}; use async_trait::async_trait; +use opentelemetry::global; use tokio::{ sync::{broadcast, mpsc}, time::{sleep_until, Instant}, @@ -369,7 +371,11 @@ async fn test_capture_publish_error() { metrics: TxProcessingTimeline::default(), }; - if let Err(publish_error) = DecisionOutboxService::publish_decision(&Arc::new(Box::new(mock_decision_publisher)), &decision_message, HashMap::new()).await { + let metrics = CertifierProcessingTimelineMetrics::new(global::meter("random-noop-meter")); + + if let Err(publish_error) = + DecisionOutboxService::publish_decision(&Arc::new(Box::new(mock_decision_publisher)), &decision_message, HashMap::new(), &metrics).await + { assert!(publish_error.kind == SystemServiceErrorKind::MessagePublishError); } } diff --git a/packages/talos_certifier_adapters/Cargo.toml b/packages/talos_certifier_adapters/Cargo.toml index 3896e621..4a1b695f 100644 --- a/packages/talos_certifier_adapters/Cargo.toml +++ b/packages/talos_certifier_adapters/Cargo.toml @@ -31,6 +31,10 @@ rdkafka = { version = "0.34.0", features = ["sasl"] } # Ahash hashmap ahash = "0.8.3" +# opentelemetry +# opentelemetry = { version = "0.28.0", default-features = false, features = [ +# "trace", +# ] } # uuid uuid = { version = "1.4.1", features = ["v4"] } # postgres diff --git a/packages/talos_certifier_adapters/src/certifier_kafka_pg.rs b/packages/talos_certifier_adapters/src/certifier_kafka_pg.rs index 4849be90..f30ec0b7 100644 --- a/packages/talos_certifier_adapters/src/certifier_kafka_pg.rs +++ b/packages/talos_certifier_adapters/src/certifier_kafka_pg.rs @@ -5,6 +5,7 @@ use crate::{self as Adapters, KafkaConsumer}; use std::sync::{atomic::AtomicI64, Arc}; use talos_certifier::core::SystemService; use talos_certifier::model::{CandidateMessage, DecisionMessage}; +use talos_certifier::otel::init_otel_metrics; use talos_certifier::ports::DecisionStore; use talos_certifier::services::{CertifierServiceConfig, MessageReceiverServiceConfig}; @@ -67,6 +68,9 @@ pub async fn certifier_with_kafka_pg(channel_buffer: TalosCertifierChannelBuffer name: config.app_name.unwrap_or("talos_certifier".to_string()), }; + // Otel initialisation + let _ = init_otel_metrics(config.otel_grpc_endpoint); + let (tx, rx) = mpsc::channel(channel_buffer.message_receiver); /* START - Kafka consumer service */ @@ -109,7 +113,6 @@ pub async fn certifier_with_kafka_pg(channel_buffer: TalosCertifierChannelBuffer system.clone(), Some(CertifierServiceConfig { suffix_config: config.suffix_config.unwrap_or_default(), - otel_grpc_endpoint: config.otel_grpc_endpoint, }), )), }; From f0a7c75a54a4287c2a2a5e257ae4848d55094b90 Mon Sep 17 00:00:00 2001 From: Gethyl Kurian Date: Tue, 24 Mar 2026 11:59:16 +1100 Subject: [PATCH 2/5] chore: fix mapping correct metrics --- .../talos_certifier/src/services/decision_outbox_service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/talos_certifier/src/services/decision_outbox_service.rs b/packages/talos_certifier/src/services/decision_outbox_service.rs index 1653a418..39d5c23d 100644 --- a/packages/talos_certifier/src/services/decision_outbox_service.rs +++ b/packages/talos_certifier/src/services/decision_outbox_service.rs @@ -59,13 +59,13 @@ impl CertifierProcessingTimelineMetrics { } pub fn record_processing_metrics(&self, process_times: &TxProcessingTimeline, publish_end: i128) { - self.talos_candidate_received_to_decision_created.record( + self.talos_initiator_to_candidate_received.record( Self::convert_ns_to_ms(process_times.candidate_processing_started, process_times.candidate_received), &[], ); self.talos_candidate_received_to_decision_created .record(Self::convert_ns_to_ms(process_times.candidate_received, process_times.decision_created_at), &[]); - self.talos_candidate_received_to_decision_created + self.talos_candidate_received_to_decision_published .record(Self::convert_ns_to_ms(process_times.candidate_received, publish_end), &[]); self.talos_initiator_to_decision_created.record( Self::convert_ns_to_ms(process_times.candidate_processing_started, process_times.decision_created_at), From 255b4adeb9d52433e25c40adde3c0aef4c5d8011 Mon Sep 17 00:00:00 2001 From: Gethyl Kurian Date: Tue, 24 Mar 2026 22:18:40 +1100 Subject: [PATCH 3/5] chore(beta-publish): publish beta packages --- .github/workflows/publish.yml | 658 +++++++++++++++++----------------- scripts/release.sh | 74 ++-- 2 files changed, 366 insertions(+), 366 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6bd52ecd..0e0adcf5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,337 +6,337 @@ # - macOs arm64 # - linux alpine x86 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - name: Publish tagged crates and NPMs - - on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' - env: - REGISTRY: "https://npm.pkg.github.com" - SDK_JS_PACKAGE_NAME: "@kindredgroup/cohort_sdk_js" - DIR_SDK_JS: packages/cohort_sdk_js - DIR_SDK_JS_CLIENT: cohort_sdk_client - jobs: +name: Publish tagged crates and NPMs + +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" + - "v[0-9]+.[0-9]+.[0-9]+-beta.*" +env: + REGISTRY: "https://npm.pkg.github.com" + SDK_JS_PACKAGE_NAME: "@kindredgroup/cohort_sdk_js" + DIR_SDK_JS: packages/cohort_sdk_js + DIR_SDK_JS_CLIENT: cohort_sdk_client +jobs: prebuild: - name: Build for ${{ matrix.name }} - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - include: - # macOS Intel (native build) - - name: macOS-x64 - os: macos-latest - target_arch: x64 - rust_target: x86_64-apple-darwin - npm_target_platform: darwin-x64 - use_docker: false - - # macOS ARM64 (native build) - - name: macOS-arm64 - os: macos-latest - target_arch: arm64 - rust_target: aarch64-apple-darwin - npm_target_platform: darwin-arm64 - use_docker: false - - # Alpine x64 (Docker build) - - name: alpine-x64 - os: ubuntu-latest - target_arch: x64 - rust_target: x86_64-unknown-linux-musl - npm_target_platform: linux-x64-musl - use_docker: true - docker_platform: linux/amd64 - - # Alpine ARM64 (Docker build) - # - name: alpine-arm64 - # os: ubuntu-latest - # target_arch: arm64 - # rust_target: aarch64-unknown-linux-musl - # npm_target_platform: linux-arm64-musl - # use_docker: true - # docker_platform: linux/arm64 - - steps: - - uses: actions/checkout@v4 - - # ===== macOS Native Builds ===== - - name: Setup Node.js (macOS) - if: ${{ !matrix.use_docker }} - uses: actions/setup-node@v4 - with: - node-version: 22 - check-latest: true - registry-url: "https://npm.pkg.github.com" - - - name: Install Rust toolchain (macOS) - if: ${{ !matrix.use_docker }} - uses: dtolnay/rust-toolchain@1.75 - with: - target: ${{ matrix.rust_target }} - - - name: Install dependencies (macOS) - if: ${{ !matrix.use_docker }} - run: |- - currentDir=$(pwd) - cd $DIR_SDK_JS - pwd - ls -l - npm install - - - name: Install NAPI-RS CLI (macOS) - if: ${{ !matrix.use_docker }} - run: npm install -g @napi-rs/cli@2.16.0 # Pinning to version 2 of napi-rs as version 3 has breaking changes with cli and threadedfunction - - - name: Build NAPI-RS Binary (macOS) - if: ${{ !matrix.use_docker }} - working-directory: ${{ env.DIR_SDK_JS }} - run: |- - napi build --platform --release - ls -l - - # ===== Alpine Docker Builds ===== - - name: Set up QEMU for multi-platform builds - if: ${{ matrix.use_docker }} - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - if: ${{ matrix.use_docker }} - uses: docker/setup-buildx-action@v3 - - - name: Build in Alpine Docker - if: ${{ matrix.use_docker }} - run: | - docker run --rm \ - --platform ${{ matrix.docker_platform }} \ - -v ${{ github.workspace }}:/workspace \ - -w /workspace/${{ env.DIR_SDK_JS }} \ - node:22-alpine \ - sh -c " - echo 'Installing Alpine packages...' - set -e && \ - apk add --no-cache \ - bash \ - curl \ - python3 make g++ \ - cmake pkgconfig \ - cyrus-sasl-dev \ - openssl-dev \ - musl-dev \ - linux-headers - - echo 'Installing Rust 1.75 via rustup...' - # Remove system rust first if present - apk del rust cargo || true - - # Install rustup and set Rust 1.75 - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.75.0 - . ~/.cargo/env - rustup target add ${{ matrix.rust_target }} - - echo 'Verifying Rust version...' - rustc --version - - echo 'Installing npm dependencies...' - npm install - - echo 'Installing NAPI-RS CLI...' - npm install -g @napi-rs/cli - - echo 'Building native module...' - napi build --platform --release --target ${{ matrix.rust_target }} - - echo 'Build complete, listing files...' - ls -la - " - - - name: Archive prebuilt binaries - uses: actions/upload-artifact@v4 - with: - name: prebuilt-binary-${{ matrix.name }} - path: | - ${{ env.DIR_SDK_JS }}/*.node - ${{ env.DIR_SDK_JS }}/index.js - ${{ env.DIR_SDK_JS }}/index.d.ts + name: Build for ${{ matrix.name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + include: + # macOS Intel (native build) + - name: macOS-x64 + os: macos-latest + target_arch: x64 + rust_target: x86_64-apple-darwin + npm_target_platform: darwin-x64 + use_docker: false + + # macOS ARM64 (native build) + - name: macOS-arm64 + os: macos-latest + target_arch: arm64 + rust_target: aarch64-apple-darwin + npm_target_platform: darwin-arm64 + use_docker: false + + # Alpine x64 (Docker build) + - name: alpine-x64 + os: ubuntu-latest + target_arch: x64 + rust_target: x86_64-unknown-linux-musl + npm_target_platform: linux-x64-musl + use_docker: true + docker_platform: linux/amd64 + + # Alpine ARM64 (Docker build) + # - name: alpine-arm64 + # os: ubuntu-latest + # target_arch: arm64 + # rust_target: aarch64-unknown-linux-musl + # npm_target_platform: linux-arm64-musl + # use_docker: true + # docker_platform: linux/arm64 + + steps: + - uses: actions/checkout@v4 + + # ===== macOS Native Builds ===== + - name: Setup Node.js (macOS) + if: ${{ !matrix.use_docker }} + uses: actions/setup-node@v4 + with: + node-version: 22 + check-latest: true + registry-url: "https://npm.pkg.github.com" + + - name: Install Rust toolchain (macOS) + if: ${{ !matrix.use_docker }} + uses: dtolnay/rust-toolchain@1.75 + with: + target: ${{ matrix.rust_target }} + + - name: Install dependencies (macOS) + if: ${{ !matrix.use_docker }} + run: |- + currentDir=$(pwd) + cd $DIR_SDK_JS + pwd + ls -l + npm install + + - name: Install NAPI-RS CLI (macOS) + if: ${{ !matrix.use_docker }} + run: npm install -g @napi-rs/cli@2.16.0 # Pinning to version 2 of napi-rs as version 3 has breaking changes with cli and threadedfunction + + - name: Build NAPI-RS Binary (macOS) + if: ${{ !matrix.use_docker }} + working-directory: ${{ env.DIR_SDK_JS }} + run: |- + napi build --platform --release + ls -l + + # ===== Alpine Docker Builds ===== + - name: Set up QEMU for multi-platform builds + if: ${{ matrix.use_docker }} + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + if: ${{ matrix.use_docker }} + uses: docker/setup-buildx-action@v3 + + - name: Build in Alpine Docker + if: ${{ matrix.use_docker }} + run: | + docker run --rm \ + --platform ${{ matrix.docker_platform }} \ + -v ${{ github.workspace }}:/workspace \ + -w /workspace/${{ env.DIR_SDK_JS }} \ + node:22-alpine \ + sh -c " + echo 'Installing Alpine packages...' + set -e && \ + apk add --no-cache \ + bash \ + curl \ + python3 make g++ \ + cmake pkgconfig \ + cyrus-sasl-dev \ + openssl-dev \ + musl-dev \ + linux-headers + + echo 'Installing Rust 1.75 via rustup...' + # Remove system rust first if present + apk del rust cargo || true + + # Install rustup and set Rust 1.75 + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.75.0 + . ~/.cargo/env + rustup target add ${{ matrix.rust_target }} + + echo 'Verifying Rust version...' + rustc --version + + echo 'Installing npm dependencies...' + npm install + + echo 'Installing NAPI-RS CLI...' + npm install -g @napi-rs/cli + + echo 'Building native module...' + napi build --platform --release --target ${{ matrix.rust_target }} + + echo 'Build complete, listing files...' + ls -la + " + + - name: Archive prebuilt binaries + uses: actions/upload-artifact@v4 + with: + name: prebuilt-binary-${{ matrix.name }} + path: | + ${{ env.DIR_SDK_JS }}/*.node + ${{ env.DIR_SDK_JS }}/index.js + ${{ env.DIR_SDK_JS }}/index.d.ts publish-npm: - name: Publish to NPM - needs: prebuild # Ensure all prebuild jobs complete successfully - runs-on: ubuntu-latest - if: success() && startsWith(github.ref, 'refs/tags/v') # Only publish on successful tag pushes - permissions: - contents: read - packages: write # Crucial for publishing to GitHub Packages - - steps: - - uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 22 # Updated to Node 22 - check-latest: true - registry-url: "https://npm.pkg.github.com" - - - name: Install dependencies - working-directory: ${{ env.DIR_SDK_JS }} - run: |- - npm install - ls -la - - - name: Download all prebuilt binaries - uses: actions/download-artifact@v4 - with: - path: . # Download artifacts to the root of the workspace - - - name: Move prebuilt binaries to correct location - run: | - ls -la - for dir in prebuilt-binary-*; do - if [ -d "$dir" ]; then - - echo "Processing artifact directory: $dir" - ls -la "$dir" - - # Move .node files into the folder within the target package - find "$dir" -maxdepth 1 -name "*.node" -exec mv {} ${{ env.DIR_SDK_JS }}/ \; - - # Move index.js to the target package directory - if [ -f "$dir/index.js" ]; then - mv "$dir/index.js" ${{ env.DIR_SDK_JS }}/index.js - fi - - # Move index.d.ts to the target package directory - if [ -f "$dir/index.d.ts" ]; then - mv "$dir/index.d.ts" ${{ env.DIR_SDK_JS }}/index.d.ts - fi - fi - done - echo "Contents of ${{ env.DIR_SDK_JS }} after consolidation:" - ls -la ${{ env.DIR_SDK_JS }}/ - - - name: "Extract tag name" - shell: bash - run: |- - echo "VERSION_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - - - name: "Publish ${{env.DIR_SDK_JS}} to npm" - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - # Check if the version contains a hyphen (indicating a pre-release) - if echo "$VERSION_NAME" | grep -q '-'; then - echo "Publishing pre-release version $VERSION_NAME with --tag dev" - npm publish --foreground-scripts --tag dev - else - echo "Publishing stable version $VERSION_NAME" - npm publish --foreground-scripts - fi - working-directory: ${{ env.DIR_SDK_JS }} - - - name: "Publish ${{env.DIR_SDK_JS_CLIENT}} to npm" - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - echo "Updating $SDK_JS_PACKAGE_NAME to $VERSION_NAME" - rm package-lock.json || true - echo "D: npm install $SDK_JS_PACKAGE_NAME@$VERSION_NAME --foreground-scripts" - npm install $SDK_JS_PACKAGE_NAME@$VERSION_NAME --foreground-scripts - ls -lah node_modules - echo "" - echo "listing node_modules/@kindredgroup" - ls -lah node_modules/@kindredgroup || true - echo "" - npm run build - npm version - pwd - ls -l - # Check if the version contains a hyphen (indicating a pre-release) - if echo "$VERSION_NAME" | grep -q '-'; then - echo "Publishing pre-release version $VERSION_NAME with --tag dev" - npm publish --foreground-scripts --tag dev - else - echo "Publishing stable version $VERSION_NAME" - npm publish --foreground-scripts - fi - working-directory: ${{ env.DIR_SDK_JS_CLIENT }} - + name: Publish to NPM + needs: prebuild # Ensure all prebuild jobs complete successfully + runs-on: ubuntu-latest + if: success() && startsWith(github.ref, 'refs/tags/v') # Only publish on successful tag pushes + permissions: + contents: read + packages: write # Crucial for publishing to GitHub Packages + + steps: + - uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 # Updated to Node 22 + check-latest: true + registry-url: "https://npm.pkg.github.com" + + - name: Install dependencies + working-directory: ${{ env.DIR_SDK_JS }} + run: |- + npm install + ls -la + + - name: Download all prebuilt binaries + uses: actions/download-artifact@v4 + with: + path: . # Download artifacts to the root of the workspace + + - name: Move prebuilt binaries to correct location + run: | + ls -la + for dir in prebuilt-binary-*; do + if [ -d "$dir" ]; then + + echo "Processing artifact directory: $dir" + ls -la "$dir" + + # Move .node files into the folder within the target package + find "$dir" -maxdepth 1 -name "*.node" -exec mv {} ${{ env.DIR_SDK_JS }}/ \; + + # Move index.js to the target package directory + if [ -f "$dir/index.js" ]; then + mv "$dir/index.js" ${{ env.DIR_SDK_JS }}/index.js + fi + + # Move index.d.ts to the target package directory + if [ -f "$dir/index.d.ts" ]; then + mv "$dir/index.d.ts" ${{ env.DIR_SDK_JS }}/index.d.ts + fi + fi + done + echo "Contents of ${{ env.DIR_SDK_JS }} after consolidation:" + ls -la ${{ env.DIR_SDK_JS }}/ + + - name: "Extract tag name" + shell: bash + run: |- + echo "VERSION_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + + - name: "Publish ${{env.DIR_SDK_JS}} to npm" + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + # Check if the version contains a hyphen (indicating a pre-release) + if echo "$VERSION_NAME" | grep -q '-'; then + echo "Publishing pre-release version $VERSION_NAME with --tag dev" + npm publish --foreground-scripts --tag dev + else + echo "Publishing stable version $VERSION_NAME" + npm publish --foreground-scripts + fi + working-directory: ${{ env.DIR_SDK_JS }} + + - name: "Publish ${{env.DIR_SDK_JS_CLIENT}} to npm" + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + echo "Updating $SDK_JS_PACKAGE_NAME to $VERSION_NAME" + rm package-lock.json || true + echo "D: npm install $SDK_JS_PACKAGE_NAME@$VERSION_NAME --foreground-scripts" + npm install $SDK_JS_PACKAGE_NAME@$VERSION_NAME --foreground-scripts + ls -lah node_modules + echo "" + echo "listing node_modules/@kindredgroup" + ls -lah node_modules/@kindredgroup || true + echo "" + npm run build + npm version + pwd + ls -l + # Check if the version contains a hyphen (indicating a pre-release) + if echo "$VERSION_NAME" | grep -q '-'; then + echo "Publishing pre-release version $VERSION_NAME with --tag dev" + npm publish --foreground-scripts --tag dev + else + echo "Publishing stable version $VERSION_NAME" + npm publish --foreground-scripts + fi + working-directory: ${{ env.DIR_SDK_JS_CLIENT }} publish-crates: - name: Publish to Crates.io - needs: publish-npm # Ensure all npm packages are published - runs-on: ubuntu-latest - if: success() && startsWith(github.ref, 'refs/tags/v') # Only publish on successful tag pushes - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@1.75.0 - - run: scripts/ubuntu-setup.sh - - run: rustup component add rustfmt clippy - - name: "Extract tag name" - shell: bash - run: |- - echo "VERSION_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - - - name: Publish talos_metrics@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_metrics - - - name: Publish talos_suffix@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_suffix - - - name: Publish talos_common_utils@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_common_utils - - - name: Publish talos_certifier@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_certifier - - - name: Publish talos_rdkafka_utils@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_rdkafka_utils - - - name: Publish talos_certifier_adapters@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_certifier_adapters - # Talos messenger core - - name: Publish talos_messenger_core@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_messenger_core - # Talos messenger actions - - name: Publish talos_messenger_actions@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_messenger_actions - # Talos replicator - - name: Publish talos_cohort_replicator@ ${{ env.VERSION_NAME }} crate - shell: bash - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} - run: |- - cargo publish -v -p talos_cohort_replicator \ No newline at end of file + name: Publish to Crates.io + needs: publish-npm # Ensure all npm packages are published + runs-on: ubuntu-latest + if: success() && startsWith(github.ref, 'refs/tags/v') # Only publish on successful tag pushes + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@1.75.0 + - run: scripts/ubuntu-setup.sh + - run: rustup component add rustfmt clippy + - name: "Extract tag name" + shell: bash + run: |- + echo "VERSION_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + + - name: Publish talos_metrics@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_metrics + + - name: Publish talos_suffix@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_suffix + + - name: Publish talos_common_utils@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_common_utils + + - name: Publish talos_certifier@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_certifier + + - name: Publish talos_rdkafka_utils@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_rdkafka_utils + + - name: Publish talos_certifier_adapters@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_certifier_adapters + # Talos messenger core + - name: Publish talos_messenger_core@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_messenger_core + # Talos messenger actions + - name: Publish talos_messenger_actions@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_messenger_actions + # Talos replicator + - name: Publish talos_cohort_replicator@ ${{ env.VERSION_NAME }} crate + shell: bash + env: + CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN_TALOS }} + run: |- + cargo publish -v -p talos_cohort_replicator diff --git a/scripts/release.sh b/scripts/release.sh index 2cd782d9..ad0d97e3 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -97,36 +97,36 @@ then exit 1 fi -echo "You answered '$ANSWER', validating ..." -echo "" +# echo "You answered '$ANSWER', validating ..." +# echo "" -IFS='.' read -a segments <<< "$ANSWER" -len=${#segments[@]} -if [ $len -ne 3 ]; -then - echo "Invalid version format: '${ANSWER}'. We expect exactly three segments separated by dot." - exit 1 -fi +# IFS='.' read -a segments <<< "$ANSWER" +# len=${#segments[@]} +# if [ $len -ne 3 ]; +# then +# echo "Invalid version format: '${ANSWER}'. We expect exactly three segments separated by dot." +# exit 1 +# fi NEW_VERSION=$ANSWER -echo $line -echo "Provide the next version number (aka 'dev version' or 'shapshot')" -echo "Type: 'a' or just press 'enter' for cancel and abort here." -echo "Otherwise type the next version (without suffix), for example, if you are releasing '2.0.0' then the next dev version will be '2.1.0'. We will add '-dev' suffix automatically" -unset ANSWER -read ANSWER -if [ "${ANSWER}" == "a" ] || [ "${ANSWER}" == "" ]; -then - echo "Your answer was '${ANSWER}', aborting" - exit 1 -fi +# echo $line +# echo "Provide the next version number (aka 'dev version' or 'shapshot')" +# echo "Type: 'a' or just press 'enter' for cancel and abort here." +# echo "Otherwise type the next version (witout suffix), for example, if you are releasing '2.0.0' then the next dev version will be '2.1.0'. We will add '-dev' suffix automatically" +# unset ANSWER +# read ANSWER +# if [ "${ANSWER}" == "a" ] || [ "${ANSWER}" == "" ]; +# then +# echo "Your answer was '${ANSWER}', aborting" +# exit 1 +# fi -NEXT_VERSION=$(echo $ANSWER | sed 's/-dev//')-dev +# NEXT_VERSION=$(echo $ANSWER | sed 's/-dev//')-dev echo $line echo "The new version for release will be : $NEW_VERSION" -echo "The next dev version after release will be: $NEXT_VERSION" +# echo "The next dev version after release will be: $NEXT_VERSION" echo $line echo "Proceed to bumping the project version? (type 'y' for 'Yes')" @@ -172,24 +172,24 @@ echo "Tagging repostiory" git tag -a -m "Release ${NEW_VERSION}" "v${NEW_VERSION}" echo "" -echo $line -echo "Bumping development versions to $NEXT_VERSION" -echo "" +# echo $line +# echo "Bumping development versions to $NEXT_VERSION" +# echo "" -currentDir=$(pwd) -cd cohort_sdk_client -npm version $NEXT_VERSION -cd $currentDir -cd packages/cohort_sdk_js -npm version $NEXT_VERSION -cd $currentDir -git add --all -git commit -a -m "chore(npm): Release $NEXT_VERSION" --no-verify +# currentDir=$(pwd) +# cd cohort_sdk_client +# npm version $NEXT_VERSION +# cd $currentDir +# cd packages/cohort_sdk_js +# npm version $NEXT_VERSION +# cd $currentDir +# git add --all +# git commit -a -m "chore(npm): Release $NEXT_VERSION" --no-verify -# This will update version in Cargo.toml files and in dependencies, then commit -cargo release --workspace --no-confirm --no-tag --no-publish --no-push -x $NEXT_VERSION +# # This will update version in Cargo.toml files and in dependencies, then commit +# cargo release --workspace --no-confirm --no-tag --no-publish --no-push -x $NEXT_VERSION -echo "" +# echo "" git log --oneline -5 From 156b4e62c3bcfaba28c093296b1e3108a26f28d2 Mon Sep 17 00:00:00 2001 From: Gethyl Kurian Date: Tue, 24 Mar 2026 22:19:13 +1100 Subject: [PATCH 4/5] chore(npm): Release npm 0.3.15-beta.1 --- cohort_sdk_client/package-lock.json | 4 ++-- cohort_sdk_client/package.json | 2 +- packages/cohort_sdk_js/npm/darwin-arm64/package.json | 2 +- packages/cohort_sdk_js/npm/darwin-universal/package.json | 2 +- packages/cohort_sdk_js/npm/darwin-x64/package.json | 2 +- packages/cohort_sdk_js/npm/linux-x64-gnu/package.json | 2 +- packages/cohort_sdk_js/npm/win32-x64-msvc/package.json | 2 +- packages/cohort_sdk_js/package-lock.json | 4 ++-- packages/cohort_sdk_js/package.json | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cohort_sdk_client/package-lock.json b/cohort_sdk_client/package-lock.json index 322989e5..bcdb6f09 100644 --- a/cohort_sdk_client/package-lock.json +++ b/cohort_sdk_client/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kindredgroup/cohort_sdk_client", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kindredgroup/cohort_sdk_client", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "license": "MIT", "dependencies": { "@kindredgroup/cohort_sdk_js": "^0.2.13", diff --git a/cohort_sdk_client/package.json b/cohort_sdk_client/package.json index 298a935d..4328b3d7 100644 --- a/cohort_sdk_client/package.json +++ b/cohort_sdk_client/package.json @@ -1,6 +1,6 @@ { "name": "@kindredgroup/cohort_sdk_client", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "author": "Kindredgroup", "license": "MIT", "description": "The Cohort SDK library for Talos Certifier clients", diff --git a/packages/cohort_sdk_js/npm/darwin-arm64/package.json b/packages/cohort_sdk_js/npm/darwin-arm64/package.json index dfa86128..a607cca2 100644 --- a/packages/cohort_sdk_js/npm/darwin-arm64/package.json +++ b/packages/cohort_sdk_js/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "cohort_sdk_js-darwin-arm64", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "os": [ "darwin" ], diff --git a/packages/cohort_sdk_js/npm/darwin-universal/package.json b/packages/cohort_sdk_js/npm/darwin-universal/package.json index a573a63e..87a2ede5 100644 --- a/packages/cohort_sdk_js/npm/darwin-universal/package.json +++ b/packages/cohort_sdk_js/npm/darwin-universal/package.json @@ -1,6 +1,6 @@ { "name": "cohort_sdk_js-darwin-universal", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "os": [ "darwin" ], diff --git a/packages/cohort_sdk_js/npm/darwin-x64/package.json b/packages/cohort_sdk_js/npm/darwin-x64/package.json index 2b923b1b..803b66e6 100644 --- a/packages/cohort_sdk_js/npm/darwin-x64/package.json +++ b/packages/cohort_sdk_js/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "cohort_sdk_js-darwin-x64", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "os": [ "darwin" ], diff --git a/packages/cohort_sdk_js/npm/linux-x64-gnu/package.json b/packages/cohort_sdk_js/npm/linux-x64-gnu/package.json index cb761770..2de4766b 100644 --- a/packages/cohort_sdk_js/npm/linux-x64-gnu/package.json +++ b/packages/cohort_sdk_js/npm/linux-x64-gnu/package.json @@ -1,6 +1,6 @@ { "name": "cohort_sdk_js-linux-x64", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "os": [ "linux" ], diff --git a/packages/cohort_sdk_js/npm/win32-x64-msvc/package.json b/packages/cohort_sdk_js/npm/win32-x64-msvc/package.json index 926acf65..11243593 100644 --- a/packages/cohort_sdk_js/npm/win32-x64-msvc/package.json +++ b/packages/cohort_sdk_js/npm/win32-x64-msvc/package.json @@ -1,6 +1,6 @@ { "name": "cohort_sdk_js-win32-x64-msvc", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "os": [ "win32" ], diff --git a/packages/cohort_sdk_js/package-lock.json b/packages/cohort_sdk_js/package-lock.json index 7d2b8a66..4de1ee8a 100644 --- a/packages/cohort_sdk_js/package-lock.json +++ b/packages/cohort_sdk_js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kindredgroup/cohort_sdk_js", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@kindredgroup/cohort_sdk_js", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "license": "MIT", "dependencies": { "@napi-rs/cli": "^2.16.0" diff --git a/packages/cohort_sdk_js/package.json b/packages/cohort_sdk_js/package.json index 242c73db..62128055 100644 --- a/packages/cohort_sdk_js/package.json +++ b/packages/cohort_sdk_js/package.json @@ -1,6 +1,6 @@ { "name": "@kindredgroup/cohort_sdk_js", - "version": "0.3.14-dev", + "version": "0.3.15-beta.1", "author": "Kindredgroup", "license": "MIT", "main": "index.js", From 38b135faf8878f4e37695f22948ed85efef0a935 Mon Sep 17 00:00:00 2001 From: Gethyl Kurian Date: Tue, 24 Mar 2026 22:20:46 +1100 Subject: [PATCH 5/5] chore(crate): Release 0.3.15-beta.1 --- Cargo.lock | 42 +++++++++---------- examples/agent_client/Cargo.toml | 8 ++-- examples/certifier_kafka_pg/Cargo.toml | 12 +++--- examples/cohort_banking_with_sdk/Cargo.toml | 20 ++++----- .../cohort_replicator_kafka_pg/Cargo.toml | 18 ++++---- examples/messenger_using_kafka/Cargo.toml | 16 +++---- packages/banking_common/Cargo.toml | 4 +- packages/banking_replicator/Cargo.toml | 16 +++---- packages/cohort_banking/Cargo.toml | 18 ++++---- packages/cohort_sdk/Cargo.toml | 14 +++---- packages/cohort_sdk_js/Cargo.toml | 16 +++---- packages/examples_support/Cargo.toml | 4 +- packages/talos_agent/Cargo.toml | 6 +-- packages/talos_certifier/Cargo.toml | 6 +-- packages/talos_certifier_adapters/Cargo.toml | 12 +++--- packages/talos_cohort_replicator/Cargo.toml | 8 ++-- packages/talos_common_utils/Cargo.toml | 2 +- packages/talos_messenger_actions/Cargo.toml | 14 +++---- packages/talos_messenger_core/Cargo.toml | 8 ++-- packages/talos_metrics/Cargo.toml | 2 +- packages/talos_rdkafka_utils/Cargo.toml | 4 +- packages/talos_suffix/Cargo.toml | 2 +- 22 files changed, 126 insertions(+), 126 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 84ce456b..04556a24 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "agent_client" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-channel", "async-trait", @@ -237,7 +237,7 @@ dependencies = [ [[package]] name = "banking_common" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "deadpool", @@ -255,7 +255,7 @@ dependencies = [ [[package]] name = "banking_replicator" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "banking_common", @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "certifier_kafka_pg" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "cargo-husky", "env_logger", @@ -500,7 +500,7 @@ dependencies = [ [[package]] name = "cohort_banking" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-channel", "async-trait", @@ -532,7 +532,7 @@ dependencies = [ [[package]] name = "cohort_banking_with_sdk" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-channel", "async-trait", @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "cohort_replicator_kafka_pg" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "banking_common", @@ -592,7 +592,7 @@ dependencies = [ [[package]] name = "cohort_sdk" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "axum", @@ -626,7 +626,7 @@ dependencies = [ [[package]] name = "cohort_sdk_js" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "chrono", @@ -923,7 +923,7 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "examples_support" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-channel", "async-trait", @@ -1691,7 +1691,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "messenger_using_kafka" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3218,7 +3218,7 @@ dependencies = [ [[package]] name = "talos_agent" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "mockall", @@ -3246,7 +3246,7 @@ dependencies = [ [[package]] name = "talos_certifier" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3280,7 +3280,7 @@ dependencies = [ [[package]] name = "talos_certifier_adapters" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3310,7 +3310,7 @@ dependencies = [ [[package]] name = "talos_cohort_replicator" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3341,7 +3341,7 @@ dependencies = [ [[package]] name = "talos_common_utils" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "opentelemetry 0.28.0", "serial_test", @@ -3352,7 +3352,7 @@ dependencies = [ [[package]] name = "talos_messenger_actions" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3392,7 +3392,7 @@ dependencies = [ [[package]] name = "talos_messenger_core" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "ahash 0.8.12", "async-trait", @@ -3423,7 +3423,7 @@ dependencies = [ [[package]] name = "talos_metrics" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "env_logger", "log", @@ -3439,7 +3439,7 @@ dependencies = [ [[package]] name = "talos_rdkafka_utils" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "criterion", @@ -3464,7 +3464,7 @@ dependencies = [ [[package]] name = "talos_suffix" -version = "0.3.14-dev" +version = "0.3.15-beta.1" dependencies = [ "async-trait", "criterion", diff --git a/examples/agent_client/Cargo.toml b/examples/agent_client/Cargo.toml index 8d763383..30b207b2 100644 --- a/examples/agent_client/Cargo.toml +++ b/examples/agent_client/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "agent_client" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dev-dependencies] -talos_agent = { path = "../../packages/talos_agent", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.14-dev" } -examples_support = { path = "../../packages/examples_support", version = "0.3.14-dev" } +talos_agent = { path = "../../packages/talos_agent", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.15-beta.1" } +examples_support = { path = "../../packages/examples_support", version = "0.3.15-beta.1" } async-channel = { version = "1.8.0" } async-trait = { workspace = true } diff --git a/examples/certifier_kafka_pg/Cargo.toml b/examples/certifier_kafka_pg/Cargo.toml index e517936d..002bf7d2 100644 --- a/examples/certifier_kafka_pg/Cargo.toml +++ b/examples/certifier_kafka_pg/Cargo.toml @@ -1,7 +1,7 @@ [package] # [package] name = "certifier_kafka_pg" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" keywords = ["talos"] description = "Talos Certifier using Kafka and Pg adapters" @@ -17,11 +17,11 @@ tokio = { workspace = true } refinery = { version = "0.8.7", features = ["tokio-postgres"] } # internal crates -talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.14-dev" } -talos_suffix = { path = "../../packages/talos_suffix", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.14-dev" } -talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.14-dev" } +talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.15-beta.1" } +talos_suffix = { path = "../../packages/talos_suffix", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.15-beta.1" } [dev-dependencies.cargo-husky] version = "1" diff --git a/examples/cohort_banking_with_sdk/Cargo.toml b/examples/cohort_banking_with_sdk/Cargo.toml index be52d7ae..03c31dec 100644 --- a/examples/cohort_banking_with_sdk/Cargo.toml +++ b/examples/cohort_banking_with_sdk/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "cohort_banking_with_sdk" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dev-dependencies] -banking_common = { path = "../../packages/banking_common", version = "0.3.14-dev" } -cohort_sdk = { path = "../../packages/cohort_sdk", version = "0.3.14-dev" } -cohort_banking = { path = "../../packages/cohort_banking", version = "0.3.14-dev" } -examples_support = { path = "../../packages/examples_support", version = "0.3.14-dev" } -talos_metrics = { path = "../../packages/talos_metrics", version = "0.3.14-dev" } -talos_agent = { path = "../../packages/talos_agent", version = "0.3.14-dev" } -talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.14-dev" } +banking_common = { path = "../../packages/banking_common", version = "0.3.15-beta.1" } +cohort_sdk = { path = "../../packages/cohort_sdk", version = "0.3.15-beta.1" } +cohort_banking = { path = "../../packages/cohort_banking", version = "0.3.15-beta.1" } +examples_support = { path = "../../packages/examples_support", version = "0.3.15-beta.1" } +talos_metrics = { path = "../../packages/talos_metrics", version = "0.3.15-beta.1" } +talos_agent = { path = "../../packages/talos_agent", version = "0.3.15-beta.1" } +talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.15-beta.1" } async-trait = { workspace = true } env_logger = { workspace = true } diff --git a/examples/cohort_replicator_kafka_pg/Cargo.toml b/examples/cohort_replicator_kafka_pg/Cargo.toml index d592d14e..486f2328 100644 --- a/examples/cohort_replicator_kafka_pg/Cargo.toml +++ b/examples/cohort_replicator_kafka_pg/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "cohort_replicator_kafka_pg" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dev-dependencies] -banking_common = { path = "../../packages/banking_common", version = "0.3.14-dev" } -banking_replicator = { path = "../../packages/banking_replicator", version = "0.3.14-dev" } -cohort_banking = { path = "../../packages/cohort_banking", version = "0.3.14-dev" } -talos_cohort_replicator = { path = "../../packages/talos_cohort_replicator", version = "0.3.14-dev" } -talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.14-dev" } -talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.14-dev" } +banking_common = { path = "../../packages/banking_common", version = "0.3.15-beta.1" } +banking_replicator = { path = "../../packages/banking_replicator", version = "0.3.15-beta.1" } +cohort_banking = { path = "../../packages/cohort_banking", version = "0.3.15-beta.1" } +talos_cohort_replicator = { path = "../../packages/talos_cohort_replicator", version = "0.3.15-beta.1" } +talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.15-beta.1" } async-trait = { workspace = true } env_logger = { workspace = true } diff --git a/examples/messenger_using_kafka/Cargo.toml b/examples/messenger_using_kafka/Cargo.toml index 75228f43..5f7c294b 100644 --- a/examples/messenger_using_kafka/Cargo.toml +++ b/examples/messenger_using_kafka/Cargo.toml @@ -1,7 +1,7 @@ [package] # [package] name = "messenger_using_kafka" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" keywords = ["talos"] description = "Example on consuming `talos_messenger`" @@ -31,10 +31,10 @@ toml_parser = { workspace = true } toml_writer = { workspace = true } # internal crates -talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.14-dev" } -talos_suffix = { path = "../../packages/talos_suffix", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.14-dev" } -talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.14-dev" } -talos_messenger_core = { path = "../../packages/talos_messenger_core", version = "0.3.14-dev" } -talos_messenger_actions = { path = "../../packages/talos_messenger_actions", version = "0.3.14-dev" } +talos_certifier = { path = "../../packages/talos_certifier", version = "0.3.15-beta.1" } +talos_suffix = { path = "../../packages/talos_suffix", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../../packages/talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../../packages/talos_rdkafka_utils", version = "0.3.15-beta.1" } +talos_messenger_core = { path = "../../packages/talos_messenger_core", version = "0.3.15-beta.1" } +talos_messenger_actions = { path = "../../packages/talos_messenger_actions", version = "0.3.15-beta.1" } diff --git a/packages/banking_common/Cargo.toml b/packages/banking_common/Cargo.toml index 10308e14..460a9116 100644 --- a/packages/banking_common/Cargo.toml +++ b/packages/banking_common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "banking_common" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] @@ -28,4 +28,4 @@ tokio-postgres = { version = "=0.7.13", features = [ deadpool = { version = "0.10.0" } deadpool-postgres = { version = "0.11.0" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } diff --git a/packages/banking_replicator/Cargo.toml b/packages/banking_replicator/Cargo.toml index 0cfb9ae4..250cd37a 100644 --- a/packages/banking_replicator/Cargo.toml +++ b/packages/banking_replicator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "banking_replicator" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] @@ -33,10 +33,10 @@ opentelemetry = { version = "0.20.0" } strum = { version = "0.25", features = ["derive"] } uuid = { version = "1.4.1", features = ["v4"] } -banking_common = { path = "../banking_common", version = "0.3.14-dev" } -cohort_sdk = { path = "../cohort_sdk", version = "0.3.14-dev" } -talos_metrics = { path = "../talos_metrics", version = "0.3.14-dev" } -talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.14-dev" } +banking_common = { path = "../banking_common", version = "0.3.15-beta.1" } +cohort_sdk = { path = "../cohort_sdk", version = "0.3.15-beta.1" } +talos_metrics = { path = "../talos_metrics", version = "0.3.15-beta.1" } +talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.15-beta.1" } diff --git a/packages/cohort_banking/Cargo.toml b/packages/cohort_banking/Cargo.toml index 661ac6dc..65b09be3 100644 --- a/packages/cohort_banking/Cargo.toml +++ b/packages/cohort_banking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cohort_banking" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] @@ -32,11 +32,11 @@ tokio-postgres = { version = "=0.7.13", features = [ ] } uuid = { version = "1.4.1", features = ["v4"] } -cohort_sdk = { path = "../cohort_sdk", version = "0.3.14-dev" } -banking_common = { path = "../banking_common", version = "0.3.14-dev" } -talos_agent = { path = "../talos_agent", version = "0.3.14-dev" } -talos_metrics = { path = "../talos_metrics", version = "0.3.14-dev" } -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } +cohort_sdk = { path = "../cohort_sdk", version = "0.3.15-beta.1" } +banking_common = { path = "../banking_common", version = "0.3.15-beta.1" } +talos_agent = { path = "../talos_agent", version = "0.3.15-beta.1" } +talos_metrics = { path = "../talos_metrics", version = "0.3.15-beta.1" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } diff --git a/packages/cohort_sdk/Cargo.toml b/packages/cohort_sdk/Cargo.toml index 2e2a0ee1..2801477f 100644 --- a/packages/cohort_sdk/Cargo.toml +++ b/packages/cohort_sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cohort_sdk" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] @@ -35,12 +35,12 @@ serde = { workspace = true } serde_json = { workspace = true } strum = { version = "0.27.1", features = ["derive"] } time = { version = "0.3.29" } -talos_metrics = { path = "../talos_metrics", version = "0.3.14-dev" } -talos_agent = { path = "../talos_agent", version = "0.3.14-dev" } -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } -talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } +talos_metrics = { path = "../talos_metrics", version = "0.3.15-beta.1" } +talos_agent = { path = "../talos_agent", version = "0.3.15-beta.1" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } +talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } uuid = { version = "1.4.1", features = ["v4"] } diff --git a/packages/cohort_sdk_js/Cargo.toml b/packages/cohort_sdk_js/Cargo.toml index 0371ba84..42c9f7ce 100644 --- a/packages/cohort_sdk_js/Cargo.toml +++ b/packages/cohort_sdk_js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cohort_sdk_js" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [lib] @@ -30,12 +30,12 @@ chrono = { version = "0.4.19", features = ["serde"] } tokio = { workspace = true, features = ["full"] } -cohort_sdk = { path = "../cohort_sdk", version = "0.3.14-dev" } -talos_agent = { path = "../talos_agent", version = "0.3.14-dev" } -talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.14-dev" } -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } +cohort_sdk = { path = "../cohort_sdk", version = "0.3.15-beta.1" } +talos_agent = { path = "../talos_agent", version = "0.3.15-beta.1" } +talos_cohort_replicator = { path = "../talos_cohort_replicator", version = "0.3.15-beta.1" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } async-trait = "0.1.72" diff --git a/packages/examples_support/Cargo.toml b/packages/examples_support/Cargo.toml index fe6d10ce..e66c413c 100644 --- a/packages/examples_support/Cargo.toml +++ b/packages/examples_support/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "examples_support" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] -talos_metrics = { path = "../talos_metrics", version = "0.3.14-dev" } +talos_metrics = { path = "../talos_metrics", version = "0.3.15-beta.1" } # Postgres refinery = { version = "0.8.7", features = ["tokio-postgres"] } diff --git a/packages/talos_agent/Cargo.toml b/packages/talos_agent/Cargo.toml index 896be546..a00463a9 100644 --- a/packages/talos_agent/Cargo.toml +++ b/packages/talos_agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_agent" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" [dependencies] @@ -33,8 +33,8 @@ toml_datetime = { workspace = true } toml_parser = { workspace = true } toml_writer = { workspace = true } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } [dev-dependencies] mockall = { version = "0.11.3" } diff --git a/packages/talos_certifier/Cargo.toml b/packages/talos_certifier/Cargo.toml index 08ec3420..cfd2025d 100644 --- a/packages/talos_certifier/Cargo.toml +++ b/packages/talos_certifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_certifier" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" keywords = ["talos"] license = "MIT" @@ -57,8 +57,8 @@ tracing-subscriber = { version = "0.3.19", features = [ ] } # internal crates -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } uuid = { version = "1.4.1", features = ["v4"] } diff --git a/packages/talos_certifier_adapters/Cargo.toml b/packages/talos_certifier_adapters/Cargo.toml index 4a1b695f..f6652d4e 100644 --- a/packages/talos_certifier_adapters/Cargo.toml +++ b/packages/talos_certifier_adapters/Cargo.toml @@ -1,7 +1,7 @@ [package] # [package] name = "talos_certifier_adapters" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" keywords = ["talos", "adapters"] license = "MIT" @@ -57,11 +57,11 @@ thiserror = "1.0.31" mockall = "0.11.0" # internal crates -talos_metrics = { path = "../talos_metrics", version = "0.3.14-dev" } -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } +talos_metrics = { path = "../talos_metrics", version = "0.3.15-beta.1" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } [dev-dependencies] diff --git a/packages/talos_cohort_replicator/Cargo.toml b/packages/talos_cohort_replicator/Cargo.toml index cdbef36c..6c2e2d24 100644 --- a/packages/talos_cohort_replicator/Cargo.toml +++ b/packages/talos_cohort_replicator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_cohort_replicator" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" keywords = ["talos", "cohort", "replicator"] license = "MIT" @@ -32,9 +32,9 @@ time = { workspace = true } indexmap = { version = "2.0.0" } ahash = "0.8.3" -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } # Tracing dependencies # We will move telemetry dependencies to the workspace once we adapt all projects. Currenly only SDK uses them. diff --git a/packages/talos_common_utils/Cargo.toml b/packages/talos_common_utils/Cargo.toml index c12d4268..dbdd0ba1 100644 --- a/packages/talos_common_utils/Cargo.toml +++ b/packages/talos_common_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_common_utils" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos" diff --git a/packages/talos_messenger_actions/Cargo.toml b/packages/talos_messenger_actions/Cargo.toml index 99e31af7..8988694d 100644 --- a/packages/talos_messenger_actions/Cargo.toml +++ b/packages/talos_messenger_actions/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_messenger_actions" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos" @@ -56,12 +56,12 @@ toml_parser = { workspace = true } toml_writer = { workspace = true } # *** End - Adding to fix napi build error on GH actions. -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } -talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.14-dev" } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } -talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.14-dev" } -talos_messenger_core = { path = "../talos_messenger_core", version = "0.3.14-dev" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } +talos_certifier_adapters = { path = "../talos_certifier_adapters", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } +talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15-beta.1" } +talos_messenger_core = { path = "../talos_messenger_core", version = "0.3.15-beta.1" } [dev-dependencies] diff --git a/packages/talos_messenger_core/Cargo.toml b/packages/talos_messenger_core/Cargo.toml index 9298717f..baa3a8fa 100644 --- a/packages/talos_messenger_core/Cargo.toml +++ b/packages/talos_messenger_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_messenger_core" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos" @@ -48,9 +48,9 @@ toml_writer = { workspace = true } # indexmap ahash = "0.8.3" -talos_certifier = { path = "../talos_certifier", version = "0.3.14-dev" } -talos_suffix = { path = "../talos_suffix", version = "0.3.14-dev" } -talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.14-dev" } +talos_certifier = { path = "../talos_certifier", version = "0.3.15-beta.1" } +talos_suffix = { path = "../talos_suffix", version = "0.3.15-beta.1" } +talos_common_utils = { path = "../../packages/talos_common_utils", version = "0.3.15-beta.1" } [dev-dependencies] mockall = { version = "0.11.3" } diff --git a/packages/talos_metrics/Cargo.toml b/packages/talos_metrics/Cargo.toml index 6d648d43..683724cf 100644 --- a/packages/talos_metrics/Cargo.toml +++ b/packages/talos_metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_metrics" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos" diff --git a/packages/talos_rdkafka_utils/Cargo.toml b/packages/talos_rdkafka_utils/Cargo.toml index a1561437..c5ffdbee 100644 --- a/packages/talos_rdkafka_utils/Cargo.toml +++ b/packages/talos_rdkafka_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_rdkafka_utils" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos" @@ -15,7 +15,7 @@ doctest = false [dependencies] async-trait = { workspace = true } tokio = { workspace = true, features = ["macros", "rt"] } -talos_common_utils = { path = "../talos_common_utils", version = "0.3.14-dev" } +talos_common_utils = { path = "../talos_common_utils", version = "0.3.15-beta.1" } # Logging log = { workspace = true } env_logger = { workspace = true } diff --git a/packages/talos_suffix/Cargo.toml b/packages/talos_suffix/Cargo.toml index 44cfec03..cf3979de 100644 --- a/packages/talos_suffix/Cargo.toml +++ b/packages/talos_suffix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "talos_suffix" -version = "0.3.14-dev" +version = "0.3.15-beta.1" edition = "2021" license = "MIT" homepage = "https://github.com/kindredgroup/talos"