chore(release): v0.7.24 - #241
Merged
Merged
Conversation
Ships two changes since v0.7.23 (#239, #240): - #240: the transactions summary/COUNT/trend statements joined keys/users/ api_keys unconditionally, which made SQLite drop the covering index and fall back to a row-by-row lookup (0.21s -> 22.6s on the dev db, 186k rows over NFS). That query held the shared DB lock long enough to queue /api/me and /api/models behind it, and the boot session restore waits for all four requests, so a refresh could sit on the login page with the token intact. The joins are now conditional on a column filter actually needing them. - #239: README tagline rewritten and the live instance surfaced. No schema change (12 -> 14 happened in v0.7.23). - Cargo.toml / Cargo.lock: 0.7.23 -> 0.7.24. - ui/index.html: asset cache-bust -> 20260914-11 (all five refs). - CHANGELOG.md: v0.7.24 entry. Gates: `cargo test` 249 passed / 0 failed, `cargo fmt --check` clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
发布 v0.7.24 —— 自 v0.7.23 起 2 个 PR。
95d69ba(性能,本次主要目的):交易页 summary/COUNT/trend 无条件带上 keys/users/api_keys 三个 LEFT JOIN ⇒ SQLite 弃用覆盖索引、逐行回表(dev 库 18.6 万行 / NFS 实测 0.21s → 22.6s)⇒ 长时间占住共享 DB 锁,把/api/me、/api/models排到后面,而前端 boot 串行等 4 个请求才进主界面 ⇒ 刷新「停在登录页」。改为按需 JOIN。cefd589(文档):README 标语重写(补主语与收益)、新增线上实例https://aitokenpool.args.fun/,中英同步。无 schema 变更(12 → 14 已在 v0.7.23 完成)。
Related Issue
对应 ranc
2026-09-14T21:0x(刷新跳登录页)与2026-09-14T20:32(README)、2026-09-14T16:51(慢查询)。Changes
Cargo.toml/Cargo.lock:0.7.23→0.7.24ui/index.html:5 处 cache-bust →20260914-11CHANGELOG.md:v0.7.24 条目Tests
cargo test249 passed / 0 failedcargo fmt --check通过Checklist
release/v0.7.24(与历史 release 分支一致)