You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/community/contributing/release-process.mdx
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,8 @@ Thunder follows a weekly release cycle. Work is planned, developed, and validate
19
19
| --- | --- |
20
20
| Monday | Weekly sync to plan the milestone, assign work, and confirm scope |
21
21
| Monday to Thursday | Development, pull requests, reviews, and iteration |
22
-
| Thursday night | Code freeze and release branch sync|
23
-
| Friday | Validate milestone changes, fix or revert issues, then release |
22
+
| Thursday 9:30 PM UTC (Friday 3:00 AM IST) | Pre-Release Sync: release branch created (if needed) and synced from main|
23
+
| Friday | Validate milestone changes against the draft release; fix or revert issues directly on the release branch, then release |
24
24
25
25
---
26
26
@@ -32,17 +32,25 @@ main ──●──●──●──●──┬──●──●──●─
32
32
└── release ──○──○──◆ tag vX.Y.Z
33
33
│ │ │
34
34
fixes merge back to main
35
-
validated and delete branch
35
+
validated
36
36
```
37
37
38
-
Development happens continuously on `main`. On Thursday night, a `release` branch is cut from `main`. Any fixes identified during release validation are applied directly to the release branch. Once everything is validated and the release is confirmed good, it is tagged and the branch is merged back into `main` and deleted.
38
+
Development happens continuously on `main`. On Thursday night, the Pre-Release Sync merges the latest changes from `main` into `release` branch. Any fixes identified during release validation are applied directly to the release branch. Once everything is validated and the release is confirmed good, it is tagged and merged back into `main` automatically.
39
+
40
+
:::warning Important Note on Branching
41
+
42
+
A change should exist in **only one branch at a time**. The same change must not be merged separately into both `main` and `release`, as it can lead to duplication or inconsistencies during the release sync process.
43
+
44
+
:::
39
45
40
46
---
41
47
42
48
## 🧪 Release Validation
43
49
44
50
Every change included in the milestone must be validated by someone other than the author before release.
45
51
52
+
A **draft release** is created before the final release to allow validation of all milestone changes against real release artifacts. If any issues are found during validation, fixes should be applied directly to the `release` branch and re-validated. Development can continue on `main` as usual during this time — only release-related fixes go into the `release` branch.
53
+
46
54
In addition to milestone-specific changes, **core IAM flows** — including authentication, authorization, and token management — are tested every release, regardless of what changed. This ensures baseline functionality is never silently broken between releases.
47
55
48
56
---
@@ -56,7 +64,7 @@ The Release Manager coordinates release readiness and final release execution.
56
64
3.**Create a draft release** — publish a draft GitHub release to verify release artifacts before going live.
57
65
4.**Coordinate release validation** — confirm all milestone changes are validated against the draft release.
58
66
5.**Trigger the Release Builder** — run the workflow manually once everything is confirmed good to release, or allow the scheduled release run.
59
-
6.**Confirm post-release sync** — verify the release branch is synchronized back to main, ensure the milestone is closed and release notes are generated properly, and update stakeholders.
67
+
6.**Confirm post-release sync** — verify the release branch is merged back into main, ensure the milestone is closed and release notes are generated properly, and update stakeholders.
60
68
61
69
---
62
70
@@ -81,7 +89,7 @@ The weekly release process uses these GitHub Actions workflows:
81
89
82
90
| Workflow | Trigger | What It Does |
83
91
| --- | --- | --- |
84
-
|[Pre-Release Sync](https://github.com/asgardeo/thunder/blob/main/.github/workflows/pre-release-sync.yml)|Scheduled on Thursday night (UTC) and manual dispatch |Creates the release branch and syncs the latest changes from main|
85
-
|[Release Milestone Reminder](https://github.com/asgardeo/thunder/blob/main/.github/workflows/release-milestone-reminder.yaml)|Scheduled every Thursday and manual dispatch | Sends release-readiness reminder based on open milestone items |
92
+
|[Pre-Release Sync](https://github.com/asgardeo/thunder/blob/main/.github/workflows/pre-release-sync.yml)| Thursday 9:30 PM UTC and manual dispatch |Merges main into release branch; commits directly if no conflicts, opens a PR otherwise|
93
+
|[Release Milestone Reminder](https://github.com/asgardeo/thunder/blob/main/.github/workflows/release-milestone-reminder.yaml)|Thursday 6:00 AM IST and manual dispatch | Sends release-readiness reminder based on open milestone items |
86
94
|[Release Builder](https://github.com/asgardeo/thunder/blob/main/.github/workflows/release-builder.yml)| Scheduled on Friday and manual dispatch | Builds, tags, packages, and publishes the release |
87
-
|[Post-Release Sync](https://github.com/asgardeo/thunder/blob/main/.github/workflows/post-release-sync.yml)| After successful release workflow run and manual dispatch |Syncs release back into main, deletes release branch, or opens a conflict-resolution pull request|
95
+
|[Post-Release Sync](https://github.com/asgardeo/thunder/blob/main/.github/workflows/post-release-sync.yml)| After successful release workflow run and manual dispatch |Merges release into main directly if no conflicts; opens a conflict-resolution PR otherwise|
0 commit comments