Skip to content

chore: fix release reference commit workflow#547

Open
marandaneto wants to merge 2 commits intomainfrom
chore/fix-release-reference-commit
Open

chore: fix release reference commit workflow#547
marandaneto wants to merge 2 commits intomainfrom
chore/fix-release-reference-commit

Conversation

@marandaneto
Copy link
Copy Markdown
Member

@marandaneto marandaneto commented May 2, 2026

💡 Motivation and Context

The release workflow successfully published 7.14.0, but failed when committing generated references. The first ghcommit-action creates the release commit remotely, leaving the local checkout on the previous SHA; the later references commit then fails its expected-head safety check.

This PR syncs the checkout to the release commit before continuing and adds the generated 7.14.0 references that the failed workflow did not commit. The workflow output is passed through an environment variable before use in the shell to satisfy the GitHub Actions shell-injection rule.

💚 How did you test it?

  • Parsed .github/workflows/release.yml as YAML
  • Ran uv run bin/docs generate-references
  • Validated generated reference JSON with python3 -m json.tool

📝 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
  • Added the release label to the PR

@marandaneto marandaneto requested a review from a team as a code owner May 2, 2026 06:38
@marandaneto marandaneto enabled auto-merge (squash) May 2, 2026 06:39
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 2, 2026

Reviews (1): Last reviewed commit: "chore: fix release reference commit work..." | Re-trigger Greptile

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 2, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 2, 2026

posthog-python Compliance Report

Date: 2026-05-02 07:07:41 UTC
Duration: 159968ms

⚠️ Some Tests Failed

29/30 tests passed, 1 failed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 515ms
Format Validation.Event Has Uuid 1507ms
Format Validation.Event Has Lib Properties 1506ms
Format Validation.Distinct Id Is String 1506ms
Format Validation.Token Is Present 1507ms
Format Validation.Custom Properties Preserved 1506ms
Format Validation.Event Has Timestamp 1507ms
Retry Behavior.Retries On 503 9517ms
Retry Behavior.Does Not Retry On 400 3505ms
Retry Behavior.Does Not Retry On 401 3507ms
Retry Behavior.Respects Retry After Header 9514ms
Retry Behavior.Implements Backoff 23516ms
Retry Behavior.Retries On 500 7511ms
Retry Behavior.Retries On 502 7516ms
Retry Behavior.Retries On 504 7507ms
Retry Behavior.Max Retries Respected 23532ms
Deduplication.Generates Unique Uuids 1496ms
Deduplication.Preserves Uuid On Retry 7511ms
Deduplication.Preserves Uuid And Timestamp On Retry 14524ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 7503ms
Deduplication.No Duplicate Events In Batch 1507ms
Deduplication.Different Events Have Different Uuids 1506ms
Compression.Sends Gzip When Enabled 1507ms
Batch Format.Uses Proper Batch Structure 1506ms
Batch Format.Flush With No Events Sends Nothing 1005ms
Batch Format.Multiple Events Batched Together 1505ms
Error Handling.Does Not Retry On 403 3508ms
Error Handling.Does Not Retry On 413 3507ms
Error Handling.Retries On 408 7511ms

Feature_Flags Tests

⚠️ 0/1 tests passed, 1 failed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id 518ms

Failures

request_payload.request_with_person_properties_device_id

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

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.

1 participant