go_build now reads XCE_DIRTY_FINGERPRINT (empty-safe) and appends -X main.DirtyFingerprint=... to its existing -ldflags construction, falling back to plain empty string when unset -- deliberately NOT the "unknown" fallback GitCommit/BuildTime use, matching dirty_fingerprint's empty-means-nothing-to-show convention everywhere else in this feature. Existing GitCommit/BuildTime fallback logic is completely untouched. Verified independently by review with real scratch Go builds traced via bash -x: unset -> empty flag value (not fabricated); set -> exact value carried through; all-unset -> GitCommit/BuildTime still fall back to "unknown" while DirtyFingerprint stays empty, confirming the two conventions coexist without interference. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| appimage | ||
| deploy-ha.sh | ||
| go_build | ||
| test-build-version-regression.sh | ||
| test-commit-durability.sh | ||
| test-heartbeat-tolerance.sh | ||
| test-version-startup-consistency.sh | ||
| test-xceadmin-build-install-version.sh | ||
| xce-build.sh | ||