Skip to content

chore: trigger releases from main changesets#109

Merged
marandaneto merged 3 commits into
mainfrom
chore/release-on-main-push
May 4, 2026
Merged

chore: trigger releases from main changesets#109
marandaneto merged 3 commits into
mainfrom
chore/release-on-main-push

Conversation

@marandaneto
Copy link
Copy Markdown
Member

@marandaneto marandaneto commented May 4, 2026

💡 Motivation and Context

Standardize SDK releases so they are triggered by pushes to main containing Sampo changesets, rather than by PR labels or pull_request.closed events.

Changes

  • Updated the release workflow to run on push to main for .sampo/changesets/*.md, while keeping manual workflow_dispatch
  • Removed the release-label check from the release flow
  • Added [skip ci] to release version-bump commits and narrowed release path filters to changeset markdown files to avoid re-triggering release workflows on consumed changeset deletions
  • Updated only the release-label parts of the release docs and PR checklist

💚 How did you test it?

  • Parsed the updated release workflow YAML locally
  • Verified the release workflow no longer references pull_request or PR labels
  • Verified the PR template no longer asks for a release label

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

If releasing new changes

  • Ran sampo add to generate a changeset file (not needed for this release-process-only change)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

posthog-elixir Compliance Report

Date: 2026-05-04 12:40:20 UTC
Duration: 107313ms

⚠️ Some Tests Failed

40/45 tests passed, 5 failed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 609ms
Format Validation.Event Has Uuid 609ms
Format Validation.Event Has Lib Properties 609ms
Format Validation.Distinct Id Is String 607ms
Format Validation.Token Is Present 609ms
Format Validation.Custom Properties Preserved 609ms
Format Validation.Event Has Timestamp 609ms
Retry Behavior.Retries On 503 5614ms
Retry Behavior.Does Not Retry On 400 2612ms
Retry Behavior.Does Not Retry On 401 2612ms
Retry Behavior.Respects Retry After Header 5615ms
Retry Behavior.Implements Backoff 15616ms
Retry Behavior.Retries On 500 5616ms
Retry Behavior.Retries On 502 5611ms
Retry Behavior.Retries On 504 5615ms
Retry Behavior.Max Retries Respected 15625ms
Deduplication.Generates Unique Uuids 620ms
Deduplication.Preserves Uuid On Retry 5614ms
Deduplication.Preserves Uuid And Timestamp On Retry 10619ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5617ms
Deduplication.No Duplicate Events In Batch 615ms
Deduplication.Different Events Have Different Uuids 612ms
Compression.Sends Gzip When Enabled 609ms
Batch Format.Uses Proper Batch Structure 609ms
Batch Format.Flush With No Events Sends Nothing 606ms
Batch Format.Multiple Events Batched Together 614ms
Error Handling.Does Not Retry On 403 2611ms
Error Handling.Does Not Retry On 413 2612ms
Error Handling.Retries On 408 5615ms

Feature_Flags Tests

⚠️ 11/16 tests passed, 5 failed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id 8ms
Request Payload.Flags Request Uses V2 Query Param 6ms
Request Payload.Flags Request Hits Flags Path Not Decide 6ms
Request Payload.Flags Request Omits Authorization Header 6ms
Request Payload.Token In Flags Body Matches Init 7ms
Request Payload.Groups Round Trip 6ms
Request Payload.Groups Default To Empty Object 6ms
Request Payload.Person Properties Distinct Id Auto Populated When Caller Omits It 6ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False 6ms
Request Payload.Disable Geoip Omitted Defaults To False 6ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key 6ms
Request Lifecycle.No Flags Request On Init Alone 3ms
Request Lifecycle.No Flags Request On Normal Capture 607ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests 9ms
Request Lifecycle.Mock Response Value Is Returned To Caller 6ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event 608ms

Failures

request_payload.request_with_person_properties_device_id

Field 'token' not found in /flags request body at path 'token'. Available keys: ['groups', 'api_key', 'distinct_id', 'flag_keys_to_evaluate', 'geoip_disable', 'group_properties', 'person_properties']

request_payload.token_in_flags_body_matches_init

Field 'token' not found in /flags request body at path 'token'. Available keys: ['groups', 'api_key', 'distinct_id', 'flag_keys_to_evaluate', 'group_properties', 'person_properties']

request_payload.disable_geoip_omitted_defaults_to_false

Field 'geoip_disable' not found in /flags request body at path 'geoip_disable'. Available keys: ['groups', 'api_key', 'distinct_id', 'flag_keys_to_evaluate', 'group_properties', 'person_properties']

request_lifecycle.mock_response_value_is_returned_to_caller

Last action result missing field 'value'. Keys: ['error', 'success']

side_effect_events.get_feature_flag_captures_feature_flag_called_event

Expected 1 events with name '$feature_flag_called', got 0

@marandaneto marandaneto marked this pull request as ready for review May 4, 2026 12:38
@marandaneto marandaneto requested review from a team and rafaeelaudibert as code owners May 4, 2026 12:38
@marandaneto marandaneto merged commit e8717be into main May 4, 2026
24 checks passed
@marandaneto marandaneto deleted the chore/release-on-main-push branch May 4, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants