Skip to content

Publish API docs on push to main - #1862

Merged
PratimMallick merged 4 commits into
developfrom
aleksandarapostolov/and-1617-move-dokka-api-docs-publishing-out-of-the-release-workflow
Oct 7, 2026
Merged

PratimMallick merged 4 commits into
developfrom
aleksandarapostolov/and-1617-move-dokka-api-docs-publishing-out-of-the-release-workflow

Conversation

@aleksandar-apostolov

@aleksandar-apostolov aleksandar-apostolov commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Goal

Refs AND-1617 — move API-docs publishing to a push-to-main workflow, ahead of dropping it from the release job.

Implementation

New publish-api-docs.yml calls the shared workflow at build-conventions v1.0.1 (d275481) on push to main (+ workflow_dispatch, main only) and passes SLACK_WEBHOOK_ANDROID_CICD for failure alerts.

release.yml stays pinned at 9ea4d20: bumping it pulls in the Stream-repo publishing cutover, which goes in its own PR. Until then the release job still runs Dokka, so docs publish twice per release (same content). The release-time saving lands with that bump.

Testing

actionlint clean. Build-conventions v1.0.1 released through the same path: API Docs ran on the main push and redeployed Pages. After the next release here, it updates getstream.github.io/stream-video-android.

Adds a caller for the shared publish-api-docs workflow so docs no longer
depend on the release job. The release.yml pin is unchanged; until it is
bumped, docs are published by both.
@aleksandar-apostolov aleksandar-apostolov added the pr:ci CI / GitHub Actions / workflow updates label Oct 7, 2026
@aleksandar-apostolov
aleksandar-apostolov requested a review from a team as a code owner October 7, 2026 12:06
@aleksandar-apostolov aleksandar-apostolov added the pr:ci CI / GitHub Actions / workflow updates label Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 12.38 MB 12.38 MB 0.00 MB 🟢
stream-video-android-ui-xml 5.66 MB 5.66 MB 0.00 MB 🟢
stream-video-android-ui-compose 6.19 MB 6.19 MB 0.00 MB 🟢

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 23765d05-a6a1-48bf-bfab-a5ac7caf8ea3
📥 Commits

Reviewing files that changed from the base of the PR and between 622f636 and fc77066.

📒 Files selected for processing (1)
  • .github/workflows/publish-api-docs.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.


Walkthrough

Adds a GitHub Actions workflow that runs on pushes to main or manual dispatch. It calls a pinned reusable workflow with contents: write permission.

Changes

API docs publishing

Layer / File(s) Summary
Configure API docs publishing
.github/workflows/publish-api-docs.yml
Adds triggers for pushes to main and manual dispatch. The workflow delegates to a pinned reusable workflow and grants it contents: write permission.

Priority: ⬇️ Low

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

Change: Feature

Suggested reviewers: andremion

Merge Risk: ⚪ Minimal · up to fc770

This PR adds a workflow that publishes API docs on pushes to main. No concrete defect was found. Before merging, confirm that the reusable-workflow pin points to the merged upstream commit, as the PR description says.

🚥 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. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
Title check ✅ Passed The title clearly describes the main change: publishing API docs when changes are pushed to main.
Description check ✅ Passed The description includes the goal, implementation, and testing details. UI screenshots and checklist items are not relevant to this workflow change.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the workflow's cue,
It hops when main has work to do.
A manual tap can start the run,
The docs publish when steps are done.
Fresh pages greet the morning light.

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

@rahul-lohra rahul-lohra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

…pi-docs-publishing-out-of-the-release-workflow
@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@PratimMallick
PratimMallick merged commit ea955ec into develop Oct 7, 2026
17 checks passed
@PratimMallick
PratimMallick deleted the aleksandarapostolov/and-1617-move-dokka-api-docs-publishing-out-of-the-release-workflow branch October 7, 2026 13:32
@stream-public-bot stream-public-bot added the released Included in a release label Oct 7, 2026
@stream-public-bot

Copy link
Copy Markdown
Collaborator

🚀 Available in v1.36.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:ci CI / GitHub Actions / workflow updates released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants