Skip to content

Fix PHP Agent SDK split publish - #1272

Merged
DanielButler1 merged 2 commits into
mainfrom
fix/php-agent-sdk-split-ref-20260726
Jul 26, 2026
Merged

Fix PHP Agent SDK split publish#1272
DanielButler1 merged 2 commits into
mainfrom
fix/php-agent-sdk-split-ref-20260726

Conversation

@DanielButler1

@DanielButler1 DanielButler1 commented Jul 26, 2026

Copy link
Copy Markdown
Member

Fix two release-path failures exposed by the first Agent SDK publication run.

  • push the PHP subtree commit to the fully qualified refs/heads/main destination required when creating an empty split repository
  • skip optional live Agent SDK smoke tests when the Phaseo API-key secret is absent, without exposing the secret to unrelated setup steps
  • retain exact-version/tag checks so rerunning skips Python, Ruby, Go, NuGet, and the already-created PHP monorepo tag

Validation:

  • git diff --check
  • PHP failure reproduced from release run 30199423102 and corrected using Git's explicit suggested refspec
  • public clean installs verified for PyPI, NuGet, RubyGems, and Go at 0.2.0
  • original main CI failure traced to an empty PHASEO_API_KEY with live-smoke opt-in enabled

Created with Codex

Summary by CodeRabbit

  • Chores
    • Live GPT 5.6 Luna Agent SDK smoke tests now run only when the required API credentials are available.
    • Updated PHP Agent SDK publishing to target the main branch explicitly, improving release workflow reliability.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CI workflow now skips live smoke tests when the API key is unavailable. The PHP SDK publish workflow now pushes split commits explicitly to the main branch ref.

Changes

CI live smoke gating

Layer / File(s) Summary
Credential-gated live smoke test
.github/workflows/ci.yml
Adds a credential availability check and requires it before running the main-branch live smoke step.

PHP SDK publishing

Layer / File(s) Summary
Explicit split-repository branch ref
.github/workflows/publish-agent-sdks.yml
Pushes the split commit to refs/heads/main.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main PHP Agent SDK split publish workflow change and is specific enough for history scanning.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/php-agent-sdk-split-ref-20260726

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@DanielButler1
DanielButler1 enabled auto-merge July 26, 2026 11:08
@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Web preview

Open the latest preview

Commit: fb85201

@DanielButler1
DanielButler1 added this pull request to the merge queue Jul 26, 2026
@DanielButler1
DanielButler1 removed this pull request from the merge queue due to a manual request Jul 26, 2026
@DanielButler1
DanielButler1 added this pull request to the merge queue Jul 26, 2026
Merged via the queue into main with commit b3868c0 Jul 26, 2026
43 checks passed
@DanielButler1
DanielButler1 deleted the fix/php-agent-sdk-split-ref-20260726 branch July 26, 2026 11:36
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