Skip to content

trunk-merge/pr-3858/0e5536fa-2609-4a06-a3ee-edcefcbda4e5 - #3868

Closed
trunk-io[bot] wants to merge 6 commits into
mainfrom
trunk-merge/pr-3858/0e5536fa-2609-4a06-a3ee-edcefcbda4e5
Closed

trunk-merge/pr-3858/0e5536fa-2609-4a06-a3ee-edcefcbda4e5#3868
trunk-io[bot] wants to merge 6 commits into
mainfrom
trunk-merge/pr-3858/0e5536fa-2609-4a06-a3ee-edcefcbda4e5

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Jul 28, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA f86beb30bb5dc3e2c7a27ec668761061d4ed53f4.

See more details here.

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing the changes from pull request 3858.

puemos and others added 6 commits July 28, 2026 07:24
Read the rotating PostHog API credential from the dedicated sandbox OAuth file while retaining legacy and process-environment fallbacks. Add regression coverage for the split sandbox credential layout.

Generated-By: PostHog Code
Task-Id: 833df099-31c5-4930-addb-305cc5fe2def
Treat the dedicated OAuth credential file as authoritative when present. Empty or unreadable managed files now prevent fallback to stale launch-time credentials, matching the sandbox credential revocation contract.

Generated-By: PostHog Code
Task-Id: 833df099-31c5-4930-addb-305cc5fe2def
Remove legacy and process-token fallbacks for sandbox PostHog authentication. Artifact and task metadata clients now require the dedicated OAuth credential file and fail closed when it is missing, empty, or unreadable.

Generated-By: PostHog Code
Task-Id: 833df099-31c5-4930-addb-305cc5fe2def
Read the managed OAuth file from a single snapshot for each credential resolution. Re-resolve credentials for every request and authentication retry so rotation and revocation take effect without restarting the agent.

Generated-By: PostHog Code
Task-Id: 833df099-31c5-4930-addb-305cc5fe2def
Extract the NUL-delimited environment parser and use its parsed object for OAuth token lookup. Add direct coverage for normal, malformed, and equals-containing entries.

Generated-By: PostHog Code
Task-Id: 833df099-31c5-4930-addb-305cc5fe2def
@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit a6e75b0.

@trunk-io trunk-io Bot closed this Jul 28, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-3858/0e5536fa-2609-4a06-a3ee-edcefcbda4e5 branch July 28, 2026 11:12
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