Commit 65111e5
fix(version): restore semver+build-metadata format with seconds (#77)
* fix(version): restore vergen semver+build-metadata format with seconds
Replace `built` crate with `vergen-gitcl` for all build metadata.
Version strings now use proper semver+build-metadata format:
`0.8.0+a1b2c3d-dirty.20260316T123456.release`
- CLI, MCP, and daemon all use the same canonical format
- Timestamp includes seconds (was date-only before)
- Removed duplicate `version_string()` from daemon crate
- Removed `built` dependency from daemon and CLI
- REPL banner and `info` output use canonical version
This work was originally done but lost in a stash. Recovered from
stash@{1} and updated to use `build_timestamp` (with seconds) instead
of `build_date`.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): use 4-core runners for PR workflow
Faster builds, same cost (2x rate but half the time).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* revert(ci): back to ubuntu-latest, 4-core runners need org setup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): use ubuntu-latest-m larger runner for PR workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* revert(ci): back to ubuntu-latest, larger runners require spending limit
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(version): collapse consecutive str::replace per clippy
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): use self-hosted runner for PR workflow
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): remove cloud cache for self-hosted runners
Self-hosted runners persist target/ locally — no need for
Swatinem/rust-cache or actions/cache. Also use plain docker build
instead of buildx cache-from/cache-to which uploads to GitHub.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): skip cloud cache on self-hosted runners
Cache steps conditionally skipped when runner name contains
'self-hosted' — local target/ persists between runs. Falls back
to Swatinem/rust-cache if switched to GitHub-hosted runners.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): use runner.environment to detect self-hosted runners
runner.name is the configured name (e.g. "hyper0"), not "self-hosted".
runner.environment is "self-hosted" or "github-hosted".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(ci): add --clobber to cross download for self-hosted runners
Self-hosted runners persist /tmp between runs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): move build-and-publish to self-hosted runners
Same pattern as PR workflow: self-hosted runners, conditional cache
skip, plain docker build, --clobber for cross download.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(ci): guard cloud cache/buildx in build-and-publish with if
Keep all GitHub-hosted runner steps intact but skip them on
self-hosted via runner.environment check. Nothing deleted.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6a7c9c6 commit 65111e5
21 files changed
Lines changed: 373 additions & 247 deletions
File tree
- .github/workflows
- bench
- crates
- cli
- src
- bin
- daemon
- src
- mcp
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
63 | | - | |
| 60 | + | |
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
| |||
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| 73 | + | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | | - | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
88 | | - | |
| 86 | + | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
93 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 58 | | |
64 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 69 | + | |
| 70 | + | |
82 | 71 | | |
83 | 72 | | |
84 | 73 | | |
85 | 74 | | |
86 | 75 | | |
87 | 76 | | |
88 | | - | |
| 77 | + | |
89 | 78 | | |
90 | 79 | | |
91 | 80 | | |
92 | 81 | | |
93 | 82 | | |
94 | 83 | | |
95 | 84 | | |
| 85 | + | |
96 | 86 | | |
97 | 87 | | |
98 | 88 | | |
99 | 89 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 90 | | |
108 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
109 | 96 | | |
110 | 97 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | 98 | | |
115 | 99 | | |
116 | 100 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 101 | + | |
| 102 | + | |
126 | 103 | | |
127 | 104 | | |
128 | 105 | | |
| |||
137 | 114 | | |
138 | 115 | | |
139 | 116 | | |
140 | | - | |
141 | 117 | | |
142 | 118 | | |
143 | | - | |
| 119 | + | |
144 | 120 | | |
145 | 121 | | |
146 | 122 | | |
| |||
150 | 126 | | |
151 | 127 | | |
152 | 128 | | |
| 129 | + | |
153 | 130 | | |
154 | 131 | | |
155 | 132 | | |
| |||
158 | 135 | | |
159 | 136 | | |
160 | 137 | | |
161 | | - | |
| 138 | + | |
162 | 139 | | |
163 | 140 | | |
164 | 141 | | |
| |||
168 | 145 | | |
169 | 146 | | |
170 | 147 | | |
| 148 | + | |
171 | 149 | | |
172 | 150 | | |
173 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments