Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 2026-11-15 11:55

| Check | Status | Details |
|-------|--------|---------|
| Lint | ✓ PASS | 0 errors |
| Build | ✓ PASS | 27 pages built, 5 pages indexed (Pagefind) |
| Unit Tests | ✓ PASS | 75 tests passed |
| E2E Tests | ✓ PASS | 96 tests passed |
| Lighthouse | ✓ PASS | 99.8% performance (avg) |

### Lighthouse Performance (local build)

| Page | Scores (3 runs) |
|------|-----------------|
| / (index) | 100%, 100%, 100% |
| /about | 99%, 99%, 99% |
| /posts | 100%, 100%, 100% |
| /archives (soft 404, not linked) | 100%, 100%, 100% |
| /404 | 100%, 100%, 100% |

**Diagnostics:** None for the blog. Live site not measured (Turnstile gate). CMS checks: format clean, 18 unit, 2 integration passed.

Changes: Opt the Sveltia script out of Cloudflare Rocket Loader (`data-cfasync="false"`; Rocket Loader is on for the zone and kept Sveltia from starting, leaving a blank admin page) with a unit test; ESLint ignores `.omc/` (local agent notes, never committed).

## 2026-11-15 08:43

| Check | Status | Details |
Expand Down
1 change: 1 addition & 0 deletions cms/public/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
</head>
<body>
<script
data-cfasync="false"
src="https://unpkg.com/@sveltia/cms@0.266.0/dist/sveltia-cms.js"
integrity="sha384-MvIc9V6dpnf1+8gMj6610BmYWClYbpAyg810CA5ad7jCJmLlpGsOZTJOpOewp0wn"
crossorigin="anonymous"
Expand Down
13 changes: 13 additions & 0 deletions cms/test/unit/rocket-loader.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { readFileSync } from "node:fs";
import { join } from "node:path";
import { expect, it } from "vitest";
import { cmsRoot } from "./helpers";

// Rocket Loader is on for the kulkarni.cloud zone; it rewrites script tags and Sveltia then never starts.
// Cloudflare only honours data-cfasync when it comes before src.
it("opts the Sveltia script out of Cloudflare Rocket Loader", () => {
const html = readFileSync(join(cmsRoot, "public/admin/index.html"), "utf8");
expect(html).toMatch(
/<script\s+data-cfasync="false"\s+src="[^"]*sveltia-cms\.js"/
);
});
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default [
"public/",
"cms/",
".claude/",
".omc/",
".trash/",
],
},
Expand Down
Loading