forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to .github/workflows/main.ymlClear filter

2026-09-25

iz: pin topcoat and its CLI to 0.9.0Ahmet Kaan Gümüş · c96d861
iz: pin topcoat and its CLI to 0.9.0

CI installed topcoat-cli 0.6.2 against a 0.8.0 dependency, which is the mismatch warning. Latest is 0.9.0 for both. im-client rev moves to 2043642 so the git dep no longer pulls a second topcoat 0.8.x into the lockfile.

2026-09-10

every deploy re-asserts config 0600 and drops secret-bearing editor debris.Ahmet Kaan Gümüş · b8a9cbd
every deploy re-asserts config 0600 and drops secret-bearing editor debris.

toml and keys files are held to 0600; *.bak* and *.pre-* next to live config are deleted. The SHA healthz rollback is unchanged.

2026-09-08

2026-09-03

The deploy proves the answering process is this commitAhmet Kaan Gümüş · 5fed7f7
The deploy proves the answering process is this commit

healthz serves the sha build.rs bakes in, and the swap step asserts the
answer names the commit it just pushed, rolling back otherwise. The
rename deploy went green over a pre-rename server: a stale process held
the port and answered healthz, and the stylesheet check passed because
the commit had not touched the css. A rerun-if-env-changed line keeps a
cache hit from shipping last deploy's sha.
Rename izlek to izAhmet Kaan Gümüş · 7326831
Rename izlek to iz

Crate, binary, config, database and key files, JS globals, env vars,
workflow deploy paths, and all user-facing strings follow the repo's new
name. The token-hash known-answer test carries the digest of the new
input. Clock tests move off a date that rotted into the past.

2026-09-02

ci: resolve the deploy path from the server's $HOMEAhmet Kaan Gümüş · 03ba608
ci: resolve the deploy path from the server's $HOME

The deploy path was a secret holding an absolute path with the deploy
user's name baked in; the user change left it pointing at the previous
user's home. The path is now DEPLOY_SUBDIR (a visible constant) under
the SSH user's home, resolved remotely as $HOME — it follows whoever
SSH_USER is, and DEPLOY_PATH can be deleted from the repo secrets.
ci: run remote deploy scripts under bash explicitlyAhmet Kaan Gümüş · 0ca81cd
ci: run remote deploy scripts under bash explicitly

The server's login shell is no longer bash, so ssh would hand the
multi-line POSIX scripts in 'Upload the release' and 'Swap and restart'
to it. Pipe them to 'bash -s' on stdin instead — the pattern the
stylesheet verify step already uses — and pass values as arguments
rather than interpolating them into the script text.
The stylesheet check runs as one remote scriptAhmet Kaan Gümüş · 877208d
The stylesheet check runs as one remote script

Mixing runner-side and server-side variables in nested ssh quoting made
the verification fail on a healthy deploy with a malformed URL. The
server-side half now lives in a single heredoc; only the bytes cross back.
Commit the styles the last three slices wrote; the binary guards its bundleAhmet Kaan Gümüş · 475a59b
Commit the styles the last three slices wrote; the binary guards its bundle

The search, wrap and feed styling never reached the repo — two commits
staged crates/ alone, so CI kept bundling the cdd1f28 stylesheet while
serving new markup. The stylesheet is the visible half of every slice;
it travels with them now.

So a mixed bundle can never boot again: build.rs stamps the stylesheet's
sha256 into the binary, the boot refuses a bundle whose bytes do not
match, and the deploy smoke-checks the served stylesheet against the one
it just uploaded.

2026-08-31

🩹 fix(ci): bump the rust-cache prefix for the gnu targetAhmet Kaan Gümüş · 280f563
🩹 fix(ci): bump the rust-cache prefix for the gnu target

The cache key does not include the target or the rustflags, and on a
key hit the save step reports up-to-date and stores nothing — so the
deps recompiled under the musl→gnu transition were thrown away and
would have been recompiled on every future run (both flag-change runs
measured 421s and 381s against a ~300s warm floor for exactly this
reason). A new prefix makes the next run save a fresh snapshot.
🔥 perf(ci): build gnu against the pinned 24.04 runner, drop the musl cross-toolchainAhmet Kaan Gümüş · 150069e
🔥 perf(ci): build gnu against the pinned 24.04 runner, drop the musl cross-toolchain

The server runs Ubuntu 24.04 (glibc 2.39) — measured over ssh — exactly
the glibc the ubuntu-24.04 runner builds against, so the static-binary
insurance musl provided buys nothing here. The runner is pinned to
24.04 instead of latest so a glibc bump can never arrive unannounced;
the day either side moves, the pin forces a conscious decision.

This drops the apt install, the rustup target add, the CC override and
the gcc-ld wrapper flags: the gnu target's default linker is already the
bundled rust-lld (142s BFD relink vs 23s lld, measured).
⚡ perf(ci): point the musl link at the bundled rust-lld, not BFDAhmet Kaan Gümüş · 9e90080
⚡ perf(ci): point the musl link at the bundled rust-lld, not BFD

The previous commit removed the musl-gcc linker pin expecting rustc's
default to be rust-lld; probing shows the musl target's default is still
cc, which drives GNU BFD. So the config now passes the two link args the
gnu target's default uses: -B<sysroot>/.../bin/gcc-ld -fuse-ld=lld,
routing the link through rustc's bundled ld.lld wrapper. A warm relink
of this binary measures 142s under BFD against 23s under lld. Verified
locally that the generated config links musl statically via lld.
⚡ perf(ci): link the deploy binary with the default rust-lld, not BFDAhmet Kaan Gümüş · c6d6abc
⚡ perf(ci): link the deploy binary with the default rust-lld, not BFD

The workflow pinned musl-gcc as the musl linker, putting the final link
on GNU bfd. A warm relink of this binary measures 142s under BFD against
23s under rust-lld — the link was the largest single chunk of the ~6
minute deploy build. musl-gcc stays as the C compiler for ring; lld links
its objects.

2026-08-30

👷 perf(ci): the deploy builds thin, and the CLI is built onceAhmet Kaan Gümüş · ecc25a3
👷 perf(ci): the deploy builds thin, and the CLI is built once

`release` optimizes the whole program in one non-parallel pass, which is the
right trade for something CPU-bound and the wrong one for a server that
spends its time in SQLite, TLS and the network. `dist` inherits it with thin
LTO and the cores actually used; `release` is untouched for when the last
few percent are worth the wait.

Measured on twelve cores: the relink every deploy pays for goes from 2m27s
to 25s, a full build from 5m01s to 2m04s. The binary grows 32MB to 43MB
before stripping, which nothing here is bounded by.

The topcoat CLI is compiled from source on every run and changes only when
its pinned version does, so it is cached on that version alone.
👷 ci(deploy): a push to main builds a static İzlek and swaps it inAhmet Kaan Gümüş · 9fb88e0
👷 ci(deploy): a push to main builds a static İzlek and swaps it in

One musl binary and its asset bundle, built by `topcoat asset bundle` in a
single compile — the target goes into a CI-written .cargo/config.toml
because that command strips every CARGO_* variable from its inner build.

Only `current/` is replaced on the server. The deploy path is the service's
working directory, where izlek.db, izlek.key and config/izlek.toml live, and
none of them is ever touched from here. `systemctl --user restart` returns
success even when the binary will not exec, so the /healthz poll is what
decides the deploy landed; if it never answers, the previous release goes
back and the job fails.