Commit 18bb1c9
feat: discover all recent Unity versions from releases page, not just latest
Improves version discovery to capture all recent versions from Unity's official
releases page instead of just the latest one. This ensures versions like 6000.3.17f1
are added to the system within minutes of release, allowing reconciliation to build
and publish images responsively without manual intervention.
**What changed:**
- New function scrapeRecentOfficialUnityVersions() captures all versions found on
the releases page using regex matching and fallback changeset extraction
- scrapeLatestOfficialUnityVersion() now delegates to the new function for compatibility
- scrapeVersions() merges all recent discovered versions into the main list alongside
unity-changeset library results, respecting deduplication
**Why:**
Previously, the fallback only grabbed the absolute latest version. If 6000.4.10f1 was
latest, 6000.3.17f1 would be missed. Now all recent releases are captured, so
reconciliation can begin building immediately after discovery, within 15 minutes.
**Rate limits:**
- No additional API calls beyond existing Unity releases page fetch
- Already-discovered versions via unity-changeset library not re-queried
- Deduplication prevents duplicate entries
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent ff9279c commit 18bb1c9
1 file changed
Lines changed: 41 additions & 20 deletions
Lines changed: 41 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
62 | 79 | | |
63 | 80 | | |
64 | 81 | | |
| |||
74 | 91 | | |
75 | 92 | | |
76 | 93 | | |
77 | | - | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| |||
85 | 102 | | |
86 | 103 | | |
87 | 104 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
93 | 114 | | |
94 | 115 | | |
95 | 116 | | |
| |||
0 commit comments