Skip to content
go-libfossil Check-in [73812b88e0]
Login

Check-in [73812b88e0]

Overview
Comment:test(manifest): skip slog-capturing tests under libfossil_noslog; changelog

With the tag the diagnostics go to stderr, so the five tests that read them back from a slog handler skip. CHANGELOG notes the tag and that regexp and strings.Replacer no longer come in through the library.

Timelines: family | ancestors | descendants | both | main | trunk | spike/wasm-size
Files: files | file ages | folders
SHA3-256: 73812b88e0443fb31ff5fc8f0b4b57ee425200e33e49da140a25e7f522572e6a
User & Date: [email protected] on 2026-10-31 14:13:48.000
Other Links: branch diff | manifest | tags
Context
2026-10-31
14:22
Merge pull request #529 from danmestas/spike/wasm-size

Keep regexp, strings.Replacer and log/slog out of small builds check-in: f338cac5ba user: [email protected] tags: main, trunk

14:13
test(manifest): skip slog-capturing tests under libfossil_noslog; changelog

With the tag the diagnostics go to stderr, so the five tests that read them back from a slog handler skip. CHANGELOG notes the tag and that regexp and strings.Replacer no longer come in through the library. leaf check-in: 73812b88e0 user: [email protected] tags: main, spike/wasm-size, trunk

13:38
perf(wasm): keep regexp, strings.Replacer and log/slog out of small builds

Spike for a smaller TinyGo engine (html-artifact-publisher). Behaviour on every platform is unchanged:

- repo: table names are checked with a byte loop, not a regexp, so a build that uses no other regexp leaves package regexp out (about 69 KB gzipped in the publisher's engine, with the engine's own two regexps). - fsltype: HTMLize escapes with a byte loop instead of a strings.Replacer (about 15 KB gzipped). - manifest: the package's diagnostics go through logDebug, logInfo and logWarn. By default they call log/slog as before. With the libfossil_noslog build tag they are written to stderr as plain lines and log/slog stays out (about 33 KB gzipped). Tests that assert on slog output need the default build. check-in: 2abfe81c2a user: [email protected] tags: main, spike/wasm-size, trunk

Changes