Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
679151defc | ||
|
|
abdf7d3925 | ||
|
|
9addac8c91 | ||
|
|
cee45bb962 |
No files matched your search
@@ -3,6 +3,18 @@
|
||||
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
||||
until 1.0, minor versions may contain breaking changes.
|
||||
|
||||
## [v202611-00080] – 2026-11-21
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Factory page made the server stall (HTTP 504, one CPU core at 100 %).** The overview sums tokens and cost of up to 300 runs per request from the `usage` table, which had no index on `session_id`: every request scanned the table 900 times (about 4 s while holding the database lock). The index `usage_session` makes it take milliseconds (measured on the production database: 4.0 s → 8 ms).
|
||||
|
||||
## [v202611-00079] – 2026-11-21
|
||||
|
||||
### 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
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -4,6 +4,10 @@ members = ["core", "server", "cli"]
|
||||
|
||||
[profile.release]
|
||||
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.
|
||||
[profile.release.package.codecraft-cli]
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img alt="Version v202611-00078" src="https://img.shields.io/badge/version-v202611--00078-d69e2e?style=flat-square">
|
||||
<img alt="Version v202611-00080" src="https://img.shields.io/badge/version-v202611--00080-d69e2e?style=flat-square">
|
||||
<img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-689d6a?style=flat-square">
|
||||
<img alt="Rust backend" src="https://img.shields.io/badge/backend-Rust-b7410e?style=flat-square&logo=rust">
|
||||
<img alt="React PWA" src="https://img.shields.io/badge/frontend-React%20PWA-2d81ff?style=flat-square&logo=react">
|
||||
|
||||
@@ -51,6 +51,7 @@ impl Store {
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS usage_ts ON usage(ts);
|
||||
CREATE INDEX IF NOT EXISTS usage_root ON usage(root_session_id);
|
||||
CREATE INDEX IF NOT EXISTS usage_session ON usage(session_id);
|
||||
CREATE TABLE IF NOT EXISTS users (
|
||||
id TEXT PRIMARY KEY,
|
||||
username TEXT NOT NULL UNIQUE COLLATE NOCASE,
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||
*/
|
||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||
"202611-00080": {
|
||||
en: ["Fixed: the Factory page no longer makes the server stall (504 errors, high CPU)"],
|
||||
de: ["Behoben: die Factory-Seite lässt den Server nicht mehr hängen (504-Fehler, hohe CPU-Last)"],
|
||||
},
|
||||
"202611-00079": {
|
||||
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": {
|
||||
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"],
|
||||
|
||||
Reference in new issue
Block a user