Skip to content

Commit fe95595

Browse files
Merge branch 'main' into feat/test-e2e
2 parents 69b034c + 49bd846 commit fe95595

File tree

72 files changed

+5925
-396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+5925
-396
lines changed

.github/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
monthly:
2+
- base-branch: ["monthly"]
3+
4+
stable:
5+
- base-branch: ["stable"]
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
releases/
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Channel Classification Flow
2+
3+
```mermaid
4+
flowchart TD
5+
Start([Version Input]) --> Check{Matches<br/>YY.MM-patch?}
6+
7+
Check -->|"Yes (25.04-1)"| Month{Month<br/>1-12?}
8+
Check -->|"No (1.2.3)"| Stable[Stable Channel]
9+
10+
Month -->|Yes| Latest["Latest Channel<br/>(normalize: 25.4.1)"]
11+
Month -->|"No (25.13-1)"| Stable
12+
13+
Latest --> ValidL{Valid<br/>semver?}
14+
Stable --> ValidS{"Valid semver<br/>>= 1.0.0?"}
15+
16+
ValidL -->|Yes| AcceptL["✅ Accept as Latest"]
17+
ValidL -->|No| Reject["❌ Skip"]
18+
19+
ValidS -->|Yes| AcceptS["✅ Accept as Stable"]
20+
ValidS -->|No| Reject
21+
22+
style AcceptL fill:#90EE90,stroke:#2d5016
23+
style AcceptS fill:#87CEEB,stroke:#003d5c
24+
style Reject fill:#ffcccb,stroke:#8b0000
25+
style Latest fill:#e1f5ff,stroke:#0066cc
26+
style Stable fill:#f0fff0,stroke:#006400
27+
```
28+
29+
### Examples
30+
31+
| Input Version | Matches Pattern? | Month Valid? | Channel | Normalized | Valid? | Result |
32+
|--------------|------------------|--------------|---------|------------|--------|--------|
33+
| `25.04-1` | ✅ Yes | ✅ Yes (4) | Latest | `25.4.1` | ✅ Yes |**Accept Latest** |
34+
| `25.13-1` | ✅ Yes | ❌ No (13) | Stable | `25.13-1` | ❌ No |**Skip** |
35+
| `1.2.3` | ❌ No | - | Stable | `1.2.3` | ✅ Yes |**Accept Stable** |
36+
| `0.9.0` | ❌ No | - | Stable | `0.9.0` | ❌ No (< 1.0.0) |**Skip** |
37+
| `24.12-10` | ✅ Yes | ✅ Yes (12) | Latest | `24.12.10` | ✅ Yes |**Accept Latest** |

0 commit comments

Comments
 (0)