ci: automate IntentCall pub.dev publishing#3
Conversation
|
To preview the documentation for this pull request, visit the following URL: docs.page/arenukvern/intentcall~3
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughIntroduces automated release tooling: a release-please GitHub Actions workflow with linked-version config, a ChangesRelease Automation Pipeline
Sequence Diagram(s)sequenceDiagram
rect rgba(173, 216, 230, 0.5)
note over Developer,pub.dev: Automated Release Train
Developer->>main: Push conventional commits
main->>release-please-action: Trigger release-please.yml
release-please-action->>Release PR: Open/update grouped PR (linked versions)
Developer->>Release PR: Merge
Release PR->>Component Tags: Generate intentcall_*-v* tags
end
rect rgba(144, 238, 144, 0.5)
note over Component Tags,pub.dev: Tag-triggered Publish
Component Tags->>pub_publish.yml: Trigger on tag push
pub_publish.yml->>intentcall CLI: dart pub get + release preflight
intentcall CLI->>pub.dev API: packageHasVersion (skip-existing check)
pub_publish.yml->>intentcall CLI: publish-tag --execute
intentcall CLI->>pub.dev API: poll waitForReleaseDependencies
pub.dev API-->>intentcall CLI: dependencies live
intentcall CLI->>pub.dev API: dart pub publish --force (OIDC)
intentcall CLI->>pub.dev API: waitForPubVersion poll
pub.dev API-->>intentcall CLI: version confirmed live
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Automatic publishing setup statusCompleted via pub.dev admin + GitHub API:
Still blocked before fully automatic publishing can cover the whole train:
No package publish was run. |
intentcall_session first publish completeCompleted:
Validation before publish:
Remaining package outside this request: |
Summary
intentcall_sessionintentcall_*-v*component tagspublish-tagcommand, just targets, tests, and publishing docsStacking
This branch was created from
chore/adopt-steward-governanceand should stack on PR #2: #2. If PR #2 changes before merge, rebase this branch on the updated PR #2 head.Validation
steward doctor --jsonsteward actions list --jsonsteward action inspect intentcall.validate --jsonsteward action inspect intentcall.adapter-contract-test --jsonsteward probe --json --profile quicksteward benchmark --scenario intentcall.adapter-contract --jsondart analyze .(exits 0; reports one existing info-level lint inpackages/intentcall_schema/lib/src/agent_result_envelope.dart)dart test tool/intentcalljust testjust publish-tag-dry-run intentcall_session-v0.1.0just publish-dry-run-ignore-warningsRequired setup before automatic publishing works
RELEASE_PLEASE_TOKEN; relying onGITHUB_TOKENmay create tags without triggering downstream publish workflows.pub.dev.intentcall_*package with tag pattern<package>-v{{version}}and environmentpub.dev.No actual publish was run.
Summary by CodeRabbit
New Features
Documentation
Chores