Release profile: keep symbols and line tables of the server for diagnosing the CPU load
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5ccb524366
commit
cee45bb962
3 files changed
+14
No files matched your search
@@ -3,6 +3,12 @@
|
|||||||
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
||||||
until 1.0, minor versions may contain breaking changes.
|
until 1.0, minor versions may contain breaking changes.
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Server binary keeps its symbols and line tables** (`strip = "none"`, `debug = "line-tables-only"` in the release profile), so a stack sample of the running server can be resolved to functions. The binary is a few tens of MB larger.
|
||||||
|
|
||||||
## [v202611-00078] – 2026-11-21
|
## [v202611-00078] – 2026-11-21
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ members = ["core", "server", "cli"]
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
# Symbols and line tables stay in the binary, so a hot thread can be resolved with eu-stack / addr2line
|
||||||
|
# on the running server (the file grows by a few tens of MB).
|
||||||
|
strip = "none"
|
||||||
|
debug = "line-tables-only"
|
||||||
|
|
||||||
# The command line client is small and self-contained.
|
# The command line client is small and self-contained.
|
||||||
[profile.release.package.codecraft-cli]
|
[profile.release.package.codecraft-cli]
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||||
*/
|
*/
|
||||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||||
|
unreleased: {
|
||||||
|
en: ["The server binary keeps its symbols (for diagnosing a high CPU load); no change in behaviour"],
|
||||||
|
de: ["Das Server-Binary behält seine Symbole (zur Diagnose einer hohen CPU-Last); keine Änderung im Verhalten"],
|
||||||
|
},
|
||||||
"202611-00078": {
|
"202611-00078": {
|
||||||
en: ["Fixed: leftover zombie processes in the container; the Telegram bot token no longer appears in error logs"],
|
en: ["Fixed: leftover zombie processes in the container; the Telegram bot token no longer appears in error logs"],
|
||||||
de: ["Behoben: übrig gebliebene Zombie-Prozesse im Container; der Telegram-Bot-Token taucht nicht mehr in Fehlerlogs auf"],
|
de: ["Behoben: übrig gebliebene Zombie-Prozesse im Container; der Telegram-Bot-Token taucht nicht mehr in Fehlerlogs auf"],
|
||||||
|
|||||||
Reference in new issue
Block a user