fix(ci): lock gemfiles/otel.gemfile on release - #287
Merged
Merged
Conversation
The 3.26.1 version bump (1d5d3f0) ran bundle lock for Gemfile.lock only, so gemfiles/otel.gemfile.lock still pins posthog-ruby 3.26.0. The Logs integration job installs with that gemfile in frozen mode and fails at bundle install on every PR since. Regenerated the lockfile (version line only) and made the release workflow lock both gemfiles. Tested: BUNDLE_GEMFILE=gemfiles/otel.gemfile BUNDLE_FROZEN=true bundle install succeeds, and the job's OpenTelemetry require check passes.
posthog-ruby-sync Compliance ReportDate: 2026-09-30T23:10:17.919252+00:00
|
| Test | Status | Duration |
|---|---|---|
| Format Validation.Event Has Required Fields | ✅ | 9ms |
| Format Validation.Event Has Uuid | ✅ | 6ms |
| Format Validation.Event Has Lib Properties | ✅ | 5ms |
| Format Validation.Distinct Id Is String | ✅ | 8ms |
| Format Validation.Token Is Present | ✅ | 6ms |
| Format Validation.Custom Properties Preserved | ✅ | 5ms |
| Format Validation.Event Has Timestamp | ✅ | 7ms |
| Format Validation.Non Utc Event Timestamp Is Converted To Utc | ✅ | 5ms |
| Retry Behavior.Retries On 503 | ✅ | 5320ms |
| Retry Behavior.Does Not Retry On 400 | ✅ | 2012ms |
| Retry Behavior.Does Not Retry On 401 | ✅ | 2011ms |
| Retry Behavior.Respects Retry After Header | ✅ | 8016ms |
| Retry Behavior.Implements Backoff | ✅ | 15381ms |
| Retry Behavior.Retries On 500 | ✅ | 5117ms |
| Retry Behavior.Retries On 502 | ✅ | 5141ms |
| Retry Behavior.Retries On 504 | ✅ | 5145ms |
| Retry Behavior.Max Retries Respected | ✅ | 15669ms |
| Deduplication.Generates Unique Uuids | ✅ | 25ms |
| Deduplication.Preserves Uuid On Retry | ✅ | 5114ms |
| Deduplication.Preserves Uuid And Timestamp On Retry | ✅ | 10351ms |
| Deduplication.Preserves Uuid And Timestamp On Batch Retry | ✅ | 5150ms |
| Deduplication.No Duplicate Events In Batch | ✅ | 22ms |
| Deduplication.Different Events Have Different Uuids | ✅ | 10ms |
| Compression.Sends Gzip When Enabled | ✅ | 6ms |
| Batch Format.Uses Proper Batch Structure | ✅ | 10ms |
| Batch Format.Flush With No Events Sends Nothing | ✅ | 6ms |
| Batch Format.Multiple Events Batched Together | ❌ | 15ms |
| Error Handling.Does Not Retry On 403 | ✅ | 2008ms |
| Error Handling.Does Not Retry On 413 | ✅ | 2010ms |
| Error Handling.Retries On 408 | ✅ | 5166ms |
Failures
batch_format.multiple_events_batched_together
Expected 1 requests, got 5
Feature_Flags Tests
View Details
| Test | Status | Duration |
|---|---|---|
| Request Payload.Request With Person Properties Device Id | ✅ | 10ms |
| Request Payload.Flags Request Uses V2 Query Param | ✅ | 10ms |
| Request Payload.Flags Request Hits Flags Path Not Decide | ✅ | 8ms |
| Request Payload.Flags Request Omits Authorization Header | ✅ | 6ms |
| Request Payload.Token In Flags Body Matches Init | ✅ | 6ms |
| Request Payload.Groups Round Trip | ✅ | 6ms |
| Request Payload.Groups Default To Empty Object | ✅ | 7ms |
| Request Payload.Disable Geoip False Propagates As Geoip Disable False | ✅ | 7ms |
| Request Payload.Disable Geoip Omitted Defaults To False | ❌ | 6ms |
| Request Payload.Flag Keys To Evaluate Contains Only Requested Key | ✅ | 7ms |
| Request Lifecycle.No Flags Request On Init Alone | ✅ | 3ms |
| Request Lifecycle.No Flags Request On Normal Capture | ✅ | 5ms |
| Request Lifecycle.Two Flag Calls Produce Two Remote Requests | ✅ | 8ms |
| Request Lifecycle.Mock Response Value Is Returned To Caller | ✅ | 6ms |
| Retry Behavior.Retries Flags On 502 | ✅ | 139ms |
| Retry Behavior.Retries Flags On 504 | ✅ | 150ms |
| Side Effect Events.Get Feature Flag Captures Feature Flag Called Event | ✅ | 7ms |
Failures
request_payload.disable_geoip_omitted_defaults_to_false
Field 'geoip_disable' not found in /flags request body at path 'geoip_disable'. Available keys: ['distinct_id', 'groups', 'person_properties', 'group_properties', 'flag_keys_to_evaluate', 'token']
posthog-ruby-async Compliance ReportDate: 2026-09-30T23:10:14.289663+00:00
|
| Test | Status | Duration |
|---|---|---|
| Format Validation.Event Has Required Fields | ✅ | 110ms |
| Format Validation.Event Has Uuid | ✅ | 108ms |
| Format Validation.Event Has Lib Properties | ✅ | 111ms |
| Format Validation.Distinct Id Is String | ✅ | 109ms |
| Format Validation.Token Is Present | ✅ | 109ms |
| Format Validation.Custom Properties Preserved | ✅ | 109ms |
| Format Validation.Event Has Timestamp | ✅ | 109ms |
| Format Validation.Non Utc Event Timestamp Is Converted To Utc | ✅ | 110ms |
| Retry Behavior.Retries On 503 | ✅ | 5414ms |
| Retry Behavior.Does Not Retry On 400 | ✅ | 2112ms |
| Retry Behavior.Does Not Retry On 401 | ✅ | 2111ms |
| Retry Behavior.Respects Retry After Header | ✅ | 8118ms |
| Retry Behavior.Implements Backoff | ✅ | 15618ms |
| Retry Behavior.Retries On 500 | ✅ | 5214ms |
| Retry Behavior.Retries On 502 | ✅ | 5214ms |
| Retry Behavior.Retries On 504 | ✅ | 5214ms |
| Retry Behavior.Max Retries Respected | ✅ | 15524ms |
| Deduplication.Generates Unique Uuids | ✅ | 115ms |
| Deduplication.Preserves Uuid On Retry | ✅ | 5214ms |
| Deduplication.Preserves Uuid And Timestamp On Retry | ✅ | 10319ms |
| Deduplication.Preserves Uuid And Timestamp On Batch Retry | ✅ | 5216ms |
| Deduplication.No Duplicate Events In Batch | ✅ | 113ms |
| Deduplication.Different Events Have Different Uuids | ✅ | 109ms |
| Compression.Sends Gzip When Enabled | ✅ | 108ms |
| Batch Format.Uses Proper Batch Structure | ✅ | 108ms |
| Batch Format.Flush With No Events Sends Nothing | ✅ | 6ms |
| Batch Format.Multiple Events Batched Together | ✅ | 111ms |
| Error Handling.Does Not Retry On 403 | ✅ | 2110ms |
| Error Handling.Does Not Retry On 413 | ✅ | 2110ms |
| Error Handling.Retries On 408 | ✅ | 5210ms |
Feature_Flags Tests
View Details
| Test | Status | Duration |
|---|---|---|
| Request Payload.Request With Person Properties Device Id | ✅ | 110ms |
| Request Payload.Flags Request Uses V2 Query Param | ✅ | 109ms |
| Request Payload.Flags Request Hits Flags Path Not Decide | ✅ | 109ms |
| Request Payload.Flags Request Omits Authorization Header | ✅ | 110ms |
| Request Payload.Token In Flags Body Matches Init | ✅ | 110ms |
| Request Payload.Groups Round Trip | ✅ | 110ms |
| Request Payload.Groups Default To Empty Object | ✅ | 111ms |
| Request Payload.Disable Geoip False Propagates As Geoip Disable False | ✅ | 109ms |
| Request Payload.Disable Geoip Omitted Defaults To False | ❌ | 109ms |
| Request Payload.Flag Keys To Evaluate Contains Only Requested Key | ✅ | 109ms |
| Request Lifecycle.No Flags Request On Init Alone | ✅ | 4ms |
| Request Lifecycle.No Flags Request On Normal Capture | ✅ | 107ms |
| Request Lifecycle.Two Flag Calls Produce Two Remote Requests | ✅ | 114ms |
| Request Lifecycle.Mock Response Value Is Returned To Caller | ✅ | 108ms |
| Retry Behavior.Retries Flags On 502 | ✅ | 213ms |
| Retry Behavior.Retries Flags On 504 | ✅ | 251ms |
| Side Effect Events.Get Feature Flag Captures Feature Flag Called Event | ✅ | 113ms |
Failures
request_payload.disable_geoip_omitted_defaults_to_false
Field 'geoip_disable' not found in /flags request body at path 'geoip_disable'. Available keys: ['distinct_id', 'groups', 'person_properties', 'group_properties', 'flag_keys_to_evaluate', 'token']
Contributor
|
[High risk] Build process now locks an additional dependency file on release. The PR appears safe to merge. Reviews (1) · Last reviewed commit: "fix(ci): lock gemfiles/otel.gemfile on r..." |
dustinbyrne
approved these changes
Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The 3.26.1 release bump (1d5d3f0) ran
bundle lockforGemfile.lockonly.gemfiles/otel.gemfile.lockstill pinsposthog-ruby (3.26.0), so theLogs integrationjob fails at a frozenbundle installon every PR opened since. The version bump commit is[skip ci], somainnever showed it.Scope
gemfiles/otel.gemfile.lock: regenerated. Only theposthog-rubyversion line changes..github/workflows/release.yml: the lock step also runsBUNDLE_GEMFILE=gemfiles/otel.gemfile bundle lock, so the next bump keeps both lockfiles in step.Verification
BUNDLE_GEMFILE=gemfiles/otel.gemfile BUNDLE_FROZEN=true bundle installsucceeds locally with bundler 4.0.13.require 'opentelemetry-sdk'check passes against the new lockfile.