Skip to content

chore: Speed up CI by caching Sampo + some fixes#83

Merged
rafaeelaudibert merged 4 commits intomasterfrom
cache-sampo
Feb 12, 2026
Merged

chore: Speed up CI by caching Sampo + some fixes#83
rafaeelaudibert merged 4 commits intomasterfrom
cache-sampo

Conversation

@rafaeelaudibert
Copy link
Member

@rafaeelaudibert rafaeelaudibert commented Feb 12, 2026

Make it faster by only checking the existence of changesets + cache it when actually releasing

Also fixes tag generation + creating releases on release

@rafaeelaudibert rafaeelaudibert requested review from a team February 12, 2026 03:07
@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

posthog-elixir Compliance Report

Date: 2026-02-12 03:23:41 UTC
Duration: 105880ms

⚠️ Some Tests Failed

28/29 tests passed, 1 failed


Capture Tests

⚠️ 28/29 tests passed, 1 failed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 610ms
Format Validation.Event Has Uuid 609ms
Format Validation.Event Has Lib Properties 610ms
Format Validation.Distinct Id Is String 610ms
Format Validation.Token Is Present 611ms
Format Validation.Custom Properties Preserved 611ms
Format Validation.Event Has Timestamp 610ms
Retry Behavior.Retries On 503 5616ms
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 5616ms
Retry Behavior.Retries On 504 5613ms
Retry Behavior.Max Retries Respected 15626ms
Deduplication.Generates Unique Uuids 621ms
Deduplication.Preserves Uuid On Retry 5616ms
Deduplication.Preserves Uuid And Timestamp On Retry 10621ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5614ms
Deduplication.No Duplicate Events In Batch 615ms
Deduplication.Different Events Have Different Uuids 613ms
Compression.Sends Gzip When Enabled 610ms
Batch Format.Uses Proper Batch Structure 610ms
Batch Format.Flush With No Events Sends Nothing 607ms
Batch Format.Multiple Events Batched Together 615ms
Error Handling.Does Not Retry On 403 2613ms
Error Handling.Does Not Retry On 413 2613ms
Error Handling.Retries On 408 5616ms

Failures

compression.sends_gzip_when_enabled

Header 'Content-Encoding' with value 'gzip' not found in requests

We don't want the tags to be posthog-v1.2.3, simply v1.2.3 is enough for us and that aligns with what we have over in the SDK doctor.
@rafaeelaudibert rafaeelaudibert changed the title chore: Speed up CI by caching Sampo chore: Speed up CI by caching Sampo + some fixes Feb 12, 2026
if: steps.commit-release.outputs.committed == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "v${{ steps.sampo-release.outputs.new_version }}" --generate-notes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i particularly dont like '--generate-notes' cus its noisy with all merged PRs rather than user facing changes
an idea would be to parse the CHANGELOG.md and add it here so its clearly user facing changes

@rafaeelaudibert rafaeelaudibert merged commit 12ac913 into master Feb 12, 2026
22 of 28 checks passed
@rafaeelaudibert rafaeelaudibert deleted the cache-sampo branch February 12, 2026 08:01
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