Skip to content

chore(web): adopt @kleinbem/web-config v0.2.0 - #65

Merged
kleinbem merged 3 commits into
mainfrom
web-config-0-2
Nov 17, 2026
Merged

kleinbem merged 3 commits into
mainfrom
web-config-0-2

Conversation

@kleinbem

Copy link
Copy Markdown
Member

Why

web-config is the fleet standard for the Svelte apps, but each app had its own dependency form, a hand copy of the theme init script and its own adapter settings. v0.2.0 (kleinbem/web-config#16, kleinbem/web-config#17) moves those into the package; this brings the app onto it, the same way in every app.

What

  • Pin the release tag github:kleinbem/web-config#v0.2.0 instead of a branch or commit.
  • src/app.html: the hand-written theme / font-size script is replaced by the block npx web-config sync writes. It only accepts known stored values.
  • npm run check runs web-config check first, so a stale or hand-edited block fails CI.
  • vite.config.ts: the adapterOptions override is gone, build/ + 200.html is now the default.
  • npmDepsHash updated for the new lock.

Tests

  • npm run check: 0 errors, 0 warnings.
  • npm test: 6 of 6 pass.
  • npm run build: writes build/ with index.html and 200.html as before.
  • The Nix build (npmDepsHash) is verified by CI.

🤖 Generated with Claude Code

Pin the release tag, take the theme init block from 'web-config sync'
and check it in the check script, drop settings that are now defaults.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@kleinbem
kleinbem enabled auto-merge (squash) November 17, 2026 11:01
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • cr-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9d30cbe8-8ed5-46bb-9c2f-c780200e174c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
kleinbem added a commit that referenced this pull request Nov 17, 2026
## Why

osv-scanner now reports
[RUSTSEC-2026-0543](https://osv.dev/RUSTSEC-2026-0543): every `chrono`
release is marked unmaintained, with no fixed version. That fails
fleet-lint on every PR in this repo (first seen on #65). Tracking: #66.

An ignore entry would only postpone it, and the dependency is easy to
drop: revue is the only crate in `Cargo.lock` that uses chrono, in three
places, all for the current UTC time as a string.

## What

- `chrono` → `jiff` (0.2, `std` feature only), one of the alternatives
the advisory names.
- New `db::now_rfc3339()` replaces the three `Utc::now().to_rfc3339()`
calls. It keeps the `+00:00` offset chrono wrote, so new `created_at`
values sort correctly next to existing rows (the column is text and
indexed for `ORDER BY created_at DESC`).
- `Cargo.lock`: chrono and the nine crates only it needed are gone; jiff
and four helpers come in. No other version changes.

One difference: jiff prints only as many fractional-second digits as
needed, chrono padded to 3, 6 or 9. Nothing in the Rust code parses the
value back.

## Tests

- New unit test `now_rfc3339_matches_stored_format`.
- `cargo test --all-targets`: 97 passed, 0 failed, 1 ignored (the live
Ollama benchmark).
- `cargo clippy --all-targets -- -D warnings` and `cargo fmt --check`
clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Review and feedback records now use consistent UTC timestamps,
including the `+00:00` offset.
* Newly created review records follow the same timestamp format, helping
keep their dates consistent and correctly ordered alongside previously
stored records.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
@kleinbem
kleinbem merged commit d64ae93 into main Nov 17, 2026
6 checks passed
@kleinbem
kleinbem deleted the web-config-0-2 branch November 17, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant