Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
679151defc | ||
|
|
abdf7d3925 | ||
|
|
9addac8c91 | ||
|
|
cee45bb962 | ||
|
|
5ccb524366 | ||
|
|
c05e2cb6ef | ||
|
|
f8b85beb70 | ||
|
|
3623896464 | ||
|
|
d0e7cea117 | ||
|
|
23fbc6f302 | ||
|
|
6804139be7 | ||
|
|
87eafb3108 | ||
|
|
537aac820d |
No files matched your search
+1
-1
@@ -38,4 +38,4 @@ CODECRAFT_LOG_FORMAT=
|
||||
# Optional limits per environment and the image used when .factory/setup.json names none:
|
||||
#RUNNER_MEMORY=2g
|
||||
#RUNNER_CPUS=2
|
||||
#RUNNER_DEFAULT_IMAGE=node:22-bookworm
|
||||
#RUNNER_DEFAULT_IMAGE=git.familie-zink.org/zink/codecraft-testbase:latest
|
||||
+40
-3
@@ -3,18 +3,55 @@
|
||||
All notable changes to CodeCraft. Versions follow [Semantic Versioning](https://semver.org/);
|
||||
until 1.0, minor versions may contain breaking changes.
|
||||
|
||||
## [v202611-00074] – 2026-11-20
|
||||
## [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
|
||||
|
||||
- **Factory: merge and close on the issue card.** A finished issue shows a *Merge* button on its card once the acceptance has passed (the pull request is open); after the merge the card shows *Close*. Before that neither button is shown. The server enforces the order: a pull request is merged only when the acceptance passed, an issue is closed only when its pull request is merged (a merge done on the forge itself counts). The issue also gets its version and tag right after a merge instead of at the next poll.
|
||||
- **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-00073] – 2026-11-20
|
||||
## [v202611-00078] – 2026-11-21
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Zombie processes:** the compose files start the containers with `init: true`, so children left behind by agents (Chromium, bwrap, npm) are reaped – a long-running container had collected about 1000 zombies.
|
||||
- **Telegram:** request errors no longer contain the URL, which includes the bot token, so the token does not end up in the server log.
|
||||
|
||||
## [v202611-00077] – 2026-11-20
|
||||
|
||||
### Added
|
||||
|
||||
- **Shared base image for acceptance containers** (`git.familie-zink.org/zink/codecraft-testbase`, built from `docker/testbase/Dockerfile` by the release script): Node 24, Python 3, gcc/g++/make/cmake, Chromium with Playwright and common tools (git, curl, e2fsprogs, xz, zsh, sudo, jq, …). It is the runner's default image (`RUNNER_DEFAULT_IMAGE`), so setups that installed these again and again start faster; plain `node:24-bookworm` is the fallback if it cannot be pulled. Projects with their own `image` or `dockerfile` are unchanged.
|
||||
- The runner also logs the apt packages an environment's setup installed (`apt installed: …`), to see what the base image still lacks.
|
||||
|
||||
## [v202611-00076] – 2026-11-20
|
||||
|
||||
### Changed
|
||||
|
||||
- **Test runner: the cache is now visible.** The runner logs for every environment how long it took until the app answered, whether the seed was a hit or a miss, and how long `install` took (e.g. `test env abc (git-…-penguin31) ready after 42 s; cache on; seed 07be…: hit; install took 3 s`).
|
||||
|
||||
## [v202611-00075] – 2026-11-20
|
||||
|
||||
### Changed
|
||||
|
||||
- **Factory: the "preparing" lamp** (checkout, test environment) now has a colour that differs from the theme's accent colour in every theme – the lamp of a running chat keeps the accent. Set per theme with the new variable `--prep`.
|
||||
- **Factory overlay:** the chat's menu button is hidden in the overlay (it could only close the overlay).
|
||||
|
||||
## [v202611-00074] – 2026-11-20
|
||||
|
||||
### Added
|
||||
|
||||
- **Test runner: cache between acceptance runs.** Every project gets a cache volume (`cc-cache-<project>`) in the runner. Tool caches are shared automatically: npm and Yarn, pip, Go modules and build cache, the Cargo registry and the Cargo target directory (so the second build of a Rust project is incremental). `.factory/setup.json` can add `"cache": {"dirs": [...]}` for directories that persist (downloads – inputs only) and `"cache": {"seed": {"paths": [...], "key": [...]}}` for expensive *results* of `install`, such as a built disk image: the seed is stored after a successful install under a key made from the image, the install command, the seed paths and the contents of the `key` files, and copied into fresh containers only while the key matches – a run never sees changes of an earlier run, and a change of the listed sources builds it anew (the three newest seeds are kept). `"cache": false` turns everything off; `DELETE /v1/cache/<project>` on the runner forgets a project's cache.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Factory: merge and close on the issue card.** A finished issue shows a *Merge* button on its card once the acceptance has passed (the pull request is open); after the merge the card shows *Close*. Before that neither button is shown. The server enforces the order: a pull request is merged only when the acceptance passed, an issue is closed only when its pull request is merged (a merge done on the forge itself counts). The issue also gets its version and tag right after a merge instead of at the next poll.
|
||||
|
||||
## [v202611-00072] – 2026-11-20
|
||||
|
||||
### Added
|
||||
|
||||
@@ -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-00074" src="https://img.shields.io/badge/version-v202611--00074-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">
|
||||
@@ -391,7 +391,11 @@ directories, and copied into a fresh container only while that key matches – s
|
||||
inherits changes from an earlier one, and editing a listed source rebuilds it. `"cache": false`
|
||||
disables caching; `DELETE /v1/cache/<project>` on the runner clears one project.
|
||||
|
||||
`image` defaults to `RUNNER_DEFAULT_IMAGE`; `"dockerfile": "path"` builds the image from the
|
||||
`image` defaults to `RUNNER_DEFAULT_IMAGE`, by default the shared base image
|
||||
`codecraft-testbase` (Node 24, Python 3, gcc/cmake, Chromium with Playwright and common tools; see
|
||||
`docker/testbase/Dockerfile`; plain Node 24 is the fallback when it cannot be pulled). The runner logs
|
||||
per environment the start time, the seed hit/miss and the apt packages the setup installed.
|
||||
The image can be changed per project with `"image"`; `"dockerfile": "path"` builds the image from the
|
||||
repository instead; helper services are reachable by their name. Containers run without extra
|
||||
capabilities, with memory/CPU/process limits (`RUNNER_MEMORY`, `RUNNER_CPUS`), and cannot see the
|
||||
host. Without the runner, or without a `setup.json`, nothing changes. Note that the runner holds
|
||||
|
||||
@@ -18,6 +18,8 @@ services:
|
||||
# Pin a version (e.g. :v202611-00001) or follow :latest.
|
||||
image: git.familie-zink.org/zink/codecraft:${CODECRAFT_VERSION:-latest}
|
||||
container_name: codecraft
|
||||
# PID 1 reaps the children the agents leave behind (chromium, bwrap, npm …) instead of keeping them as zombies.
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
# Same UID/GID as the owner of your project files.
|
||||
user: "${UID:-1000}:${GID:-1000}"
|
||||
@@ -65,6 +67,7 @@ services:
|
||||
image: git.familie-zink.org/zink/codecraft:${CODECRAFT_VERSION:-latest}
|
||||
command: ["testrunner"]
|
||||
container_name: codecraft-testrunner
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
user: "${UID:-1000}:${GID:-1000}"
|
||||
# Group that owns /var/run/docker.sock on the host: stat -c %g /var/run/docker.sock
|
||||
@@ -75,7 +78,7 @@ services:
|
||||
RUNNER_FACTORY_DIR: /factory
|
||||
RUNNER_MEMORY: ${RUNNER_MEMORY:-2g}
|
||||
RUNNER_CPUS: ${RUNNER_CPUS:-2}
|
||||
RUNNER_DEFAULT_IMAGE: ${RUNNER_DEFAULT_IMAGE:-node:22-bookworm}
|
||||
RUNNER_DEFAULT_IMAGE: ${RUNNER_DEFAULT_IMAGE:-git.familie-zink.org/zink/codecraft-testbase:latest}
|
||||
HOME: /tmp
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
+4
-1
@@ -14,6 +14,8 @@ services:
|
||||
GIT_COMMIT: ${GIT_COMMIT:-}
|
||||
image: codecraft:latest
|
||||
container_name: codecraft
|
||||
# PID 1 reaps the children the agents leave behind (chromium, bwrap, npm …) instead of keeping them as zombies.
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
# Same UID/GID as the owner of your project files.
|
||||
user: "${UID:-1000}:${GID:-1000}"
|
||||
@@ -61,6 +63,7 @@ services:
|
||||
image: codecraft:latest
|
||||
command: ["testrunner"]
|
||||
container_name: codecraft-testrunner
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
user: "${UID:-1000}:${GID:-1000}"
|
||||
# Group that owns /var/run/docker.sock on the host: stat -c %g /var/run/docker.sock
|
||||
@@ -71,7 +74,7 @@ services:
|
||||
RUNNER_FACTORY_DIR: /factory
|
||||
RUNNER_MEMORY: ${RUNNER_MEMORY:-2g}
|
||||
RUNNER_CPUS: ${RUNNER_CPUS:-2}
|
||||
RUNNER_DEFAULT_IMAGE: ${RUNNER_DEFAULT_IMAGE:-node:22-bookworm}
|
||||
RUNNER_DEFAULT_IMAGE: ${RUNNER_DEFAULT_IMAGE:-git.familie-zink.org/zink/codecraft-testbase:latest}
|
||||
HOME: /tmp
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Base image of the factory's throw-away acceptance containers (used when .factory/setup.json names no image).
|
||||
# Node 24, Python 3, a C/C++ toolchain, the Chromium that Playwright needs, and the small tools
|
||||
# that acceptance setups installed again and again (see the runner log "apt installed: ...").
|
||||
FROM node:24-bookworm
|
||||
ENV DEBIAN_FRONTEND=noninteractive PIP_BREAK_SYSTEM_PACKAGES=1 PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential cmake pkg-config git curl wget ca-certificates unzip xz-utils zip \
|
||||
e2fsprogs util-linux zsh sudo nano procps iproute2 netcat-openbsd jq sqlite3 \
|
||||
python3 python3-pip python3-venv \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& npm install -g playwright \
|
||||
&& playwright install --with-deps chromium \
|
||||
&& rm -rf /var/lib/apt/lists/* /root/.npm \
|
||||
&& chmod -R a+rX /ms-playwright
|
||||
@@ -94,6 +94,10 @@ if (( image )); then
|
||||
run docker buildx build --builder "$BUILDER" --platform "$PLATFORMS" \
|
||||
--build-arg GIT_COMMIT="$(git rev-parse --short HEAD)" --build-arg CODECRAFT_VERSION="$version" \
|
||||
"${tags[@]}" --push .
|
||||
# Base image of the factory's acceptance containers (cached layers: cheap unless the Dockerfile changed).
|
||||
step "Building and pushing ${REGISTRY}-testbase for $PLATFORMS"
|
||||
run docker buildx build --builder "$BUILDER" --platform "$PLATFORMS" \
|
||||
-t "${REGISTRY}-testbase:latest" -t "${REGISTRY}-testbase:$tag" --push docker/testbase
|
||||
fi
|
||||
|
||||
step "Creating the Gitea release $tag"
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -130,7 +130,7 @@ impl Bot {
|
||||
}
|
||||
|
||||
async fn call(&self, method: &str, body: Value) -> Result<Value> {
|
||||
let resp = crate::provider::http_client().post(self.url(method)).timeout(Duration::from_secs(60)).json(&body).send().await.context("telegram request failed")?;
|
||||
let resp = crate::provider::http_client().post(self.url(method)).timeout(Duration::from_secs(60)).json(&body).send().await.map_err(|e| e.without_url()).context("telegram request failed")?;
|
||||
let status = resp.status();
|
||||
let v: Value = resp.json().await.unwrap_or_else(|_| json!({}));
|
||||
if v["ok"].as_bool() != Some(true) {
|
||||
@@ -174,7 +174,7 @@ impl Bot {
|
||||
if let Some(c) = caption {
|
||||
form = form.text("caption", c.chars().take(1000).collect::<String>());
|
||||
}
|
||||
let v: Value = crate::provider::http_client().post(self.url("sendPhoto")).timeout(Duration::from_secs(120)).multipart(form).send().await?.json().await?;
|
||||
let v: Value = crate::provider::http_client().post(self.url("sendPhoto")).timeout(Duration::from_secs(120)).multipart(form).send().await.map_err(|e| e.without_url())?.json().await.map_err(|e| e.without_url())?;
|
||||
if v["ok"].as_bool() != Some(true) {
|
||||
bail!("telegram sendPhoto: {}", v["description"].as_str().unwrap_or("error"));
|
||||
}
|
||||
@@ -186,7 +186,7 @@ impl Bot {
|
||||
let f = self.call("getFile", json!({"file_id": file_id})).await?;
|
||||
let path = f["file_path"].as_str().context("telegram file without path")?.to_string();
|
||||
let url = format!("{}/file/bot{}/{path}", api_base(), self.token);
|
||||
let bytes = crate::provider::http_client().get(url).timeout(Duration::from_secs(120)).send().await?.error_for_status()?.bytes().await?;
|
||||
let bytes = crate::provider::http_client().get(url).timeout(Duration::from_secs(120)).send().await.map_err(|e| e.without_url())?.error_for_status().map_err(|e| e.without_url())?.bytes().await.map_err(|e| e.without_url())?;
|
||||
Ok((bytes.to_vec(), path))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,13 +34,21 @@ const CACHE_LABEL: &str = "codecraft.testrunner.cache=1";
|
||||
|
||||
/// What every environment container runs: link the shared directories, restore a matching seed, run
|
||||
/// `install`, store a new seed (only after a successful install, so it is pristine), start the app.
|
||||
const FALLBACK_IMAGE: &str = "node:24-bookworm";
|
||||
|
||||
const ENTRY_SCRIPT: &str = r#"cd /app
|
||||
hit=0
|
||||
if [ -d /cache ]; then
|
||||
for d in $CC_CACHE_DIRS; do mkdir -p "/cache/dirs/$d" "$(dirname "$d")" && rm -rf "$d" && ln -s "/cache/dirs/$d" "$d"; done
|
||||
if [ -d /usr/local/cargo ]; then for d in registry git; do mkdir -p "/cache/cargo/$d"; rm -rf "/usr/local/cargo/$d"; ln -s "/cache/cargo/$d" "/usr/local/cargo/$d"; done; fi
|
||||
if [ -n "$CC_SEED_KEY" ]; then for p in $CC_SEED_PATHS; do if [ -e "/cache/seed/$CC_SEED_KEY/$p" ]; then mkdir -p "$(dirname "$p")" && cp -a "/cache/seed/$CC_SEED_KEY/$p" "$p" && echo "[runner] restored $p from the cache"; fi; done; fi
|
||||
if [ -n "$CC_SEED_KEY" ]; then for p in $CC_SEED_PATHS; do if [ -e "/cache/seed/$CC_SEED_KEY/$p" ]; then mkdir -p "$(dirname "$p")" && cp -a "/cache/seed/$CC_SEED_KEY/$p" "$p" && hit=1 && echo "[runner] restored $p from the cache"; fi; done; fi
|
||||
fi
|
||||
if [ -n "$CC_SEED_KEY" ]; then if [ "$hit" = 1 ]; then echo "[runner] seed $CC_SEED_KEY: hit"; else echo "[runner] seed $CC_SEED_KEY: miss"; fi; fi
|
||||
t0=$(date +%s); st=$(date -u '+%Y-%m-%d %H:%M:%S')
|
||||
if [ -n "$CC_INSTALL" ]; then sh -c "$CC_INSTALL" || exit 1; fi
|
||||
echo "[runner] install took $(( $(date +%s) - t0 )) s"
|
||||
pk=$(awk -v s="$st" '$3=="install" && ($1" "$2)>=s {sub(/:.*/,"",$4); print $4}' /var/log/dpkg.log 2>/dev/null | sort -u | head -40 | tr '\n' ' ')
|
||||
if [ -n "$pk" ]; then echo "[runner] apt installed: $pk"; fi
|
||||
if [ -d /cache ] && [ -n "$CC_SEED_KEY" ] && [ ! -d "/cache/seed/$CC_SEED_KEY" ]; then
|
||||
t="/cache/seed/.tmp-$$"; rm -rf "$t"; mkdir -p "$t"; ok=1
|
||||
for p in $CC_SEED_PATHS; do if [ -e "$p" ]; then mkdir -p "$t/$(dirname "$p")" && cp -a "$p" "$t/$p" || ok=0; fi; done
|
||||
@@ -351,7 +359,7 @@ pub async fn serve() -> Result<()> {
|
||||
ports: (lo, hi),
|
||||
memory: std::env::var("RUNNER_MEMORY").unwrap_or_else(|_| "2g".into()),
|
||||
cpus: std::env::var("RUNNER_CPUS").unwrap_or_else(|_| "2".into()),
|
||||
default_image: std::env::var("RUNNER_DEFAULT_IMAGE").unwrap_or_else(|_| "node:22-bookworm".into()),
|
||||
default_image: std::env::var("RUNNER_DEFAULT_IMAGE").unwrap_or_else(|_| "git.familie-zink.org/zink/codecraft-testbase:latest".into()),
|
||||
max_age: Duration::from_secs(60 * std::env::var("RUNNER_MAX_MINUTES").ok().and_then(|s| s.parse().ok()).unwrap_or(90)),
|
||||
me: std::env::var("RUNNER_SELF").or_else(|_| std::env::var("HOSTNAME")).unwrap_or_default(),
|
||||
envs: Mutex::new(HashMap::new()),
|
||||
@@ -434,6 +442,7 @@ async fn start_env(State(r): State<Arc<Runner>>, h: HeaderMap, Json(req): Json<S
|
||||
}
|
||||
|
||||
async fn create(r: &Arc<Runner>, id: &str, req: &StartReq, work: &Path) -> Result<Started> {
|
||||
let began = Instant::now();
|
||||
let net = format!("cc-run-{id}");
|
||||
let app = format!("cc-run-{id}");
|
||||
// Register first, so a failure at any step is cleaned up by stop().
|
||||
@@ -453,7 +462,7 @@ async fn create(r: &Arc<Runner>, id: &str, req: &StartReq, work: &Path) -> Resul
|
||||
r.envs.lock().unwrap().get_mut(id).unwrap().containers.push(cname);
|
||||
}
|
||||
let image = if req.dockerfile.is_empty() {
|
||||
if req.image.is_empty() { r.default_image.clone() } else { req.image.clone() }
|
||||
if req.image.is_empty() { default_image_or_fallback(&r.default_image).await } else { req.image.clone() }
|
||||
} else {
|
||||
let tag = format!("cc-run-{id}");
|
||||
let df = work.join(&req.dockerfile);
|
||||
@@ -542,6 +551,11 @@ async fn create(r: &Arc<Runner>, id: &str, req: &StartReq, work: &Path) -> Resul
|
||||
}
|
||||
tokio::time::sleep(Duration::from_millis(700)).await;
|
||||
}
|
||||
// Report what the cache brought: seed hit/miss, install time, total time until the app answered.
|
||||
let facts: Vec<String> = logs(&app).await.lines().filter(|l| l.starts_with("[runner] seed ") || l.starts_with("[runner] install took") || l.starts_with("[runner] apt installed")).map(|l| l.trim_start_matches("[runner] ").to_string()).collect();
|
||||
let took = began.elapsed().as_secs();
|
||||
let cache = if cached { "on" } else { "off" };
|
||||
tracing::info!("test env {id} ({}) ready after {took} s; cache {cache}{}{}", req.cache_id, if facts.is_empty() { "" } else { "; " }, facts.join("; "));
|
||||
let (listener, port) = bind_forward(r).await?;
|
||||
let (target, tport) = (ip, req.port);
|
||||
let fwd = tokio::spawn(async move {
|
||||
@@ -562,6 +576,15 @@ async fn create(r: &Arc<Runner>, id: &str, req: &StartReq, work: &Path) -> Resul
|
||||
Ok(Started { id: id.to_string(), port })
|
||||
}
|
||||
|
||||
/// The shared base image; when it can neither be found nor pulled, fall back to plain Node so runs still work.
|
||||
async fn default_image_or_fallback(img: &str) -> String {
|
||||
if docker(&["image", "inspect", img]).await.is_ok() || docker(&["pull", "-q", img]).await.is_ok() {
|
||||
return img.to_string();
|
||||
}
|
||||
tracing::warn!("test runner: base image {img} is not available, using {FALLBACK_IMAGE}");
|
||||
FALLBACK_IMAGE.to_string()
|
||||
}
|
||||
|
||||
async fn logs(container: &str) -> String {
|
||||
match Command::new("docker").args(["logs", "--tail", "400", container]).output().await {
|
||||
Ok(o) => format!("{}{}", String::from_utf8_lossy(&o.stdout), String::from_utf8_lossy(&o.stderr)),
|
||||
|
||||
+6
-2
@@ -5263,6 +5263,10 @@ td.fold-indent {
|
||||
background: var(--bg1);
|
||||
border-bottom: 1px solid var(--bg2);
|
||||
}
|
||||
/* The sidebar is not reachable from the overlay: its menu button would only be confusing. */
|
||||
.chat-overlay .menu-btn {
|
||||
display: none !important;
|
||||
}
|
||||
.chat-overlay-body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
@@ -5353,10 +5357,10 @@ td.fold-indent {
|
||||
}
|
||||
/* Preparing (checkout, test environment): same lamp, other colour than an active chat. */
|
||||
.factory-pulse.prep {
|
||||
background: var(--blue, var(--accent2));
|
||||
background: var(--prep, var(--blue, var(--accent2)));
|
||||
}
|
||||
.factory-card.preparing {
|
||||
border-left: 3px solid var(--blue, var(--accent2));
|
||||
border-left: 3px solid var(--prep, var(--blue, var(--accent2)));
|
||||
}
|
||||
@keyframes factory-pulse {
|
||||
50% {
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #8f9a5c;
|
||||
--power-warn: #d9b45a;
|
||||
--power-off: #c15c46;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #8aa89a;
|
||||
--blue: #7c9aa1;
|
||||
--purple: #b47e99;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #5c6631;
|
||||
--power-warn: #9a7413;
|
||||
--power-off: #96392a;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #3d6b72;
|
||||
--blue: #3d6b72;
|
||||
--purple: #7c4a66;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #a6e3a1;
|
||||
--power-warn: #f9e2af;
|
||||
--power-off: #f38ba8;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #94e2d5;
|
||||
--blue: #89b4fa;
|
||||
--purple: #f5c2e7;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #40a02b;
|
||||
--power-warn: #df8e1d;
|
||||
--power-off: #d20f39;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #179299;
|
||||
--blue: #1e66f5;
|
||||
--purple: #ea76cb;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #a9b86a;
|
||||
--power-warn: #e8c36a;
|
||||
--power-off: #d4694f;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #9fb8a8;
|
||||
--blue: #a3b4c7;
|
||||
--purple: #cf90a2;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #4f6b00;
|
||||
--power-warn: #a8780a;
|
||||
--power-off: #a93a2e;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--aqua);
|
||||
--aqua: #3f6b5e;
|
||||
--blue: #8e2d53;
|
||||
--purple: #7a003b;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #50fa7b;
|
||||
--power-warn: #f1fa8c;
|
||||
--power-off: #ff5555;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #8be9fd;
|
||||
--blue: #8be9fd;
|
||||
--purple: #ff79c6;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #14710a;
|
||||
--power-warn: #846e15;
|
||||
--power-off: #cb3a2a;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #036a96;
|
||||
--blue: #036a96;
|
||||
--purple: #a3144d;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #a7c080;
|
||||
--power-warn: #dbbc7f;
|
||||
--power-off: #e67e80;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--purple);
|
||||
--aqua: #83c092;
|
||||
--blue: #7fbbb3;
|
||||
--purple: #d699b6;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #8da101;
|
||||
--power-warn: #dfa000;
|
||||
--power-off: #f85552;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #35a77c;
|
||||
--blue: #3a94c5;
|
||||
--purple: #df69ba;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #3fb950;
|
||||
--power-warn: #d29922;
|
||||
--power-off: #f85149;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #39c5cf;
|
||||
--blue: #58a6ff;
|
||||
--purple: #bc8cff;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #1a7f37;
|
||||
--power-warn: #9a6700;
|
||||
--power-off: #d1242f;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #1b7c83;
|
||||
--blue: #0969da;
|
||||
--purple: #8250df;
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
--power-on: #b8bb26;
|
||||
--power-warn: #fabd2f;
|
||||
--power-off: #fb4934;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #8ec07c;
|
||||
--blue: #83a598;
|
||||
--purple: #d3869b;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #79740e;
|
||||
--power-warn: #b57614;
|
||||
--power-off: #9d0006;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #427b58;
|
||||
--blue: #076678;
|
||||
--purple: #8f3f71;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #8fae72;
|
||||
--power-warn: #e0b350;
|
||||
--power-off: #f44336;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--blue);
|
||||
--aqua: #8a9ba6;
|
||||
--blue: #77838a;
|
||||
--purple: #e58980;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #5a7a43;
|
||||
--power-warn: #a87b1a;
|
||||
--power-off: #b14752;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #3d727d;
|
||||
--blue: #4c6c94;
|
||||
--purple: #8a5b81;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #98bb6c;
|
||||
--power-warn: #e6c384;
|
||||
--power-off: #e46876;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #7aa89f;
|
||||
--blue: #7fb4ca;
|
||||
--purple: #957fb8;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #6f894e;
|
||||
--power-warn: #b07a00;
|
||||
--power-off: #c84053;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #597b75;
|
||||
--blue: #4d699b;
|
||||
--purple: #624c83;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #a3be8c;
|
||||
--power-warn: #ebcb8b;
|
||||
--power-off: #bf616a;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #8fbcbb;
|
||||
--blue: #81a1c1;
|
||||
--purple: #b48ead;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #5f7d48;
|
||||
--power-warn: #9a7b2f;
|
||||
--power-off: #a9434d;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #4d8a89;
|
||||
--blue: #5e81ac;
|
||||
--purple: #8f6a8a;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #98c379;
|
||||
--power-warn: #e5c07b;
|
||||
--power-off: #e06c75;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #56b6c2;
|
||||
--blue: #61afef;
|
||||
--purple: #c678dd;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #50a14f;
|
||||
--power-warn: #c18401;
|
||||
--power-off: #e45649;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #0184bc;
|
||||
--blue: #4078f2;
|
||||
--purple: #a626a4;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #95b88f;
|
||||
--power-warn: #f6c177;
|
||||
--power-off: #eb6f92;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #9ccfd8;
|
||||
--blue: #31748f;
|
||||
--purple: #c4a7e7;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #5e8f60;
|
||||
--power-warn: #c98a1b;
|
||||
--power-off: #b4637a;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #56949f;
|
||||
--blue: #286983;
|
||||
--purple: #907aa9;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #859900;
|
||||
--power-warn: #b58900;
|
||||
--power-off: #dc322f;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--purple);
|
||||
--aqua: #2aa198;
|
||||
--blue: #268bd2;
|
||||
--purple: #6c71c4;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #859900;
|
||||
--power-warn: #b58900;
|
||||
--power-off: #dc322f;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--purple);
|
||||
--aqua: #2aa198;
|
||||
--blue: #268bd2;
|
||||
--purple: #6c71c4;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #8fb98a;
|
||||
--power-warn: #e0b860;
|
||||
--power-off: #d47a6a;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #96b4bc;
|
||||
--blue: #7aa0cc;
|
||||
--purple: #c896b2;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #4a6b3a;
|
||||
--power-warn: #9a7218;
|
||||
--power-off: #8a3028;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #3a5a6a;
|
||||
--blue: #3a5a8a;
|
||||
--purple: #5a4a72;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #9ece6a;
|
||||
--power-warn: #e0af68;
|
||||
--power-off: #f7768e;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #73daca;
|
||||
--blue: #7aa2f7;
|
||||
--purple: #bb9af7;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #587539;
|
||||
--power-warn: #8c6c3e;
|
||||
--power-off: #f52a65;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #118c74;
|
||||
--blue: #2e7de9;
|
||||
--purple: #9854f1;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #89d185;
|
||||
--power-warn: #cca700;
|
||||
--power-off: #f14c4c;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #4ec9b0;
|
||||
--blue: #3794ff;
|
||||
--purple: #c586c0;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
--power-on: #388a34;
|
||||
--power-warn: #bf8803;
|
||||
--power-off: #cd3131;
|
||||
/* Lamp of a phase that is still being prepared: a colour that differs from --accent */
|
||||
--prep: var(--power-warn);
|
||||
--aqua: #267f99;
|
||||
--blue: #005fb8;
|
||||
--purple: #af00db;
|
||||
|
||||
+26
-6
@@ -3,13 +3,33 @@
|
||||
* under "unreleased"; scripts/release.sh renames the key to the release version.
|
||||
*/
|
||||
export const WHATS_NEW: Record<string, { en: string[]; de: string[] }> = {
|
||||
"202611-00074": {
|
||||
en: ["Factory: Merge and Close buttons on the issue card – merge after a positive acceptance, close after the merge"],
|
||||
de: ["Factory: Merge- und Schließen-Knopf auf der Issue-Karte – Merge nach erfolgreicher Abnahme, Schließen nach dem Merge"],
|
||||
"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-00073": {
|
||||
en: ["Factory test runner: caches between acceptance runs (npm, Cargo, pip, Go and optional seeds of the install step) – the test environment starts much faster"],
|
||||
de: ["Factory-Test-Runner: Caches zwischen Abnahmeläufen (npm, Cargo, pip, Go und optionale Seeds des Install-Schritts) – die Testumgebung startet deutlich schneller"],
|
||||
"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"],
|
||||
},
|
||||
"202611-00077": {
|
||||
en: ["Factory test runner: shared base image (Node 24, Python, gcc, Chromium/Playwright) for acceptance containers; logs start time, cache hits and installed packages"],
|
||||
de: ["Factory-Test-Runner: gemeinsames Basis-Image (Node 24, Python, gcc, Chromium/Playwright) für Abnahme-Container; protokolliert Startzeit, Cache-Treffer und installierte Pakete"],
|
||||
},
|
||||
"202611-00076": {
|
||||
en: ["Factory test runner: logs how long an environment took to start and whether the cache seed was a hit"],
|
||||
de: ["Factory-Test-Runner: protokolliert, wie lange eine Umgebung zum Start brauchte und ob der Cache-Seed getroffen hat"],
|
||||
},
|
||||
"202611-00075": {
|
||||
en: ["Factory: the lamp of a phase being prepared now differs in colour from the accent in every theme"],
|
||||
de: ["Factory: die Lampe einer Phase in Vorbereitung unterscheidet sich in jedem Theme farblich vom Akzent"],
|
||||
},
|
||||
"202611-00074": {
|
||||
en: ["Factory: Merge and Close buttons on the issue card – merge after a positive acceptance, close after the merge", "Factory test runner: caches between acceptance runs (npm, Cargo, pip, Go and optional seeds of the install step) – the test environment starts much faster"],
|
||||
de: ["Factory: Merge- und Schließen-Knopf auf der Issue-Karte – Merge nach erfolgreicher Abnahme, Schließen nach dem Merge", "Factory-Test-Runner: Caches zwischen Abnahmeläufen (npm, Cargo, pip, Go und optionale Seeds des Install-Schritts) – die Testumgebung startet deutlich schneller"],
|
||||
},
|
||||
"202611-00072": {
|
||||
en: ["Factory: a blinking blue lamp shows that a phase is being prepared (checkout, test environment) before its chat starts"],
|
||||
|
||||
Reference in new issue
Block a user