Browser suite: feeds in every shape, a feed that starts failing, ipxd user (#463); coverage build's stylesheet named by its own hash (#464)
Atom, RSS with a bare ampersand and the iTunes and Media RSS fields, WordPress.com's posts, and replies that are no feed are added through the API; a fixture feed turned 404, 403, 402, 500, a sentence, a web page linking its new address, garbled, a redirect loop and a dropped connection says each, and after a day (error_since set back in the suite's SQLite) in words, with the page's banner; ipxd user's commands and their refusals. API coverage 76.5% to 78.0%: failure.rs 12% to 91%, parse.rs 56% to 92%, cli.rs 44% to 86%. #464: with IPX_COVERAGE=1 the page named app.css by the hash of it unminified while the build wrote it minified. The worker's check from #449 reloaded the page for it, and its throttle then swallowed the reload the #449 test waits for, which failed in every coverage run. buildStyle now defaults to the page's choice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ const ICONS_URL = `/icons/index.json?v=${hash(ICONS)}`;
|
||||
|
||||
/// The shared stylesheet, minified. @swc/html minifies CSS inside a page, so it goes through as
|
||||
/// one; the doctype only keeps it from complaining that a fragment has none.
|
||||
export function buildStyle({ minify = true } = {}) {
|
||||
export function buildStyle({ minify = !coverageMap } = {}) {
|
||||
const css = fs.readFileSync(path.join(here, STYLE), 'utf8');
|
||||
if (!minify) return css;
|
||||
const r = html.minifySync(`<!doctype html><style>${css}</style>`, { minifyCss: true, removeComments: true });
|
||||
|
||||
Reference in New Issue
Block a user