Skip to content

Add staging-to-main sync step to the release docs process - #73653

Merged
potiuk merged 2 commits into
apache:mainfrom
potiuk:sync-staging-to-main-release-step
Sep 24, 2026
Merged

potiuk merged 2 commits into
apache:mainfrom
potiuk:sync-staging-to-main-release-step

Conversation

@potiuk

@potiuk potiuk commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

The staging branch of airflow-site accumulates docs from earlier release candidates, so a new release's staging docs are built on top of stale content. Resetting staging to main first gives each vote a clean staging site. It must not happen while another release is being voted on, because that vote's staging docs would be wiped, so the command warns and asks for confirmation before triggering the workflow.

Generated-by: Claude Opus 5


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@shahar1

shahar1 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

CI failures don't seem related

@shahar1

shahar1 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

also, please note that we need also a solution for airflow-site-archive (i'm currently fixing the aws github workflow version there)

@potiuk

potiuk commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

also, please note that we need also a solution for airflow-site-archive (i'm currently fixing the aws github workflow version there)

Aha :) .. And yes, CI not related - just merged fixes in main.

The staging branch of airflow-site accumulates docs from earlier release
candidates, so a new release's staging docs are built on top of stale
content. Resetting staging to main first gives each vote a clean staging
site. It must not happen while another release is being voted on, because
that vote's staging docs would be wiped, so the command warns and asks
for confirmation before triggering the workflow.

Generated-by: Claude Opus 5
Release candidate docs are staged on the staging branch of
apache/airflow-site-archive as well as apache/airflow-site, so resetting
only airflow-site left the archive's staging branch carrying docs from
earlier release candidates. The command now triggers the reset-staging
workflow in both repositories after the single confirmation. The archive
workflow only moves the ref; it does not rebuild anything.

Generated-by: Claude Opus 5
@potiuk
potiuk force-pushed the sync-staging-to-main-release-step branch from 3909301 to 2352024 Compare September 24, 2026 10:42
@potiuk

potiuk commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

Fixed!

@potiuk
potiuk merged commit 34e7129 into apache:main Sep 24, 2026
36 checks passed
@potiuk
potiuk deleted the sync-staging-to-main-release-step branch September 24, 2026 10:49
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 34e7129 v3-3-test

This should apply the commit to the v3-3-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

potiuk added a commit that referenced this pull request Sep 24, 2026
The sync-staging-to-main help text changed in #73653 without its breeze
command images being regenerated, and #73027 added retry_reason to
TaskState without regenerating ts-sdk/src/generated/supervisor.ts. The
update-breeze-cmd-output and check-ts-sdk-supervisor-schema hooks rewrite
these files on every run, so static checks fail for every PR against
main. The new content is exactly what those hooks produced in CI.

Generated-by: Claude Opus 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants