From 235ca56c755b529f9378bddb0a3de68afe51b49d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Jun 2026 15:00:24 +0000 Subject: [PATCH 1/2] chore(deps): bump github.com/posthog/posthog-go Bumps [github.com/posthog/posthog-go](https://github.com/posthog/posthog-go) from 0.0.0-20240327112532-87b23fe11103 to 1.14.0. - [Release notes](https://github.com/posthog/posthog-go/releases) - [Changelog](https://github.com/PostHog/posthog-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/posthog/posthog-go/commits/v1.14.0) --- updated-dependencies: - dependency-name: github.com/posthog/posthog-go dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 02032ce81..f2694385f 100644 --- a/go.mod +++ b/go.mod @@ -87,7 +87,7 @@ require ( github.com/open-policy-agent/opa v1.12.1 github.com/openvex/go-vex v0.2.5 github.com/owenrumney/go-sarif/v3 v3.3.0 - github.com/posthog/posthog-go v0.0.0-20240327112532-87b23fe11103 + github.com/posthog/posthog-go v1.14.0 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 github.com/sigstore/cosign/v3 v3.0.4 github.com/sigstore/fulcio v1.8.5 diff --git a/go.sum b/go.sum index 3cfcf3886..ce00b1564 100644 --- a/go.sum +++ b/go.sum @@ -1127,8 +1127,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/posthog/posthog-go v0.0.0-20240327112532-87b23fe11103 h1:YEWdfKVtz5Db85b8RLIZ1IY3PLSB1fW49hvK2yIL6JU= -github.com/posthog/posthog-go v0.0.0-20240327112532-87b23fe11103/go.mod h1:QjlpryJtfYLrZF2GUkAhejH4E7WlDbdKkvOi5hLmkdg= +github.com/posthog/posthog-go v1.14.0 h1:pN0+v7kvKkykRQDf6E0KNYJvKqhJ+VzQGlfxYHfZMhs= +github.com/posthog/posthog-go v1.14.0/go.mod h1:xsVOW9YImilUcazwPNEq4PJDqEZf2KeCS758zXjwkPg= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= From e12d3f25e1f6e0b83b30937bbb16dd1f24c6029d Mon Sep 17 00:00:00 2001 From: Miguel Martinez Trivino Date: Fri, 12 Jun 2026 09:09:06 +0200 Subject: [PATCH 2/2] fix(cli): adapt to posthog-go 1.14.0 StdLogger signature posthog-go 1.14.0 changed StdLogger to require a verbose bool argument. Pass false to keep the existing noop/quiet logging behavior. Assisted-by: Claude Code Signed-off-by: Miguel Martinez Trivino Chainloop-Trace-Sessions: 8335ea5b-d667-4053-8a95-5633a6aedad0 --- app/cli/internal/telemetry/posthog/posthog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cli/internal/telemetry/posthog/posthog.go b/app/cli/internal/telemetry/posthog/posthog.go index ee5e6648c..39c3683c3 100644 --- a/app/cli/internal/telemetry/posthog/posthog.go +++ b/app/cli/internal/telemetry/posthog/posthog.go @@ -1,5 +1,5 @@ // -// Copyright 2024 The Chainloop Authors. +// Copyright 2024-2026 The Chainloop Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ func NewClient(apiKey string, endpointURL string) (*Tracker, error) { noopLogger := log.New(io.Discard, "", 0) client, err := posthog.NewWithConfig(apiKey, posthog.Config{ Endpoint: endpointURL, - Logger: posthog.StdLogger(noopLogger), + Logger: posthog.StdLogger(noopLogger, false), }) if err != nil { return nil, fmt.Errorf("failed to create PostHog client: %w", err)