Skip to content

feat(admin)!: use core's blueprint and path services; drop the search analytics route (slice 3) - #15

Closed
zumbrunn wants to merge 2 commits into
feat/plugin-services-slice2from
feat/plugin-services-slice3
Closed

zumbrunn wants to merge 2 commits into
feat/plugin-services-slice2from
feat/plugin-services-slice3

Conversation

@zumbrunn

@zumbrunn zumbrunn commented Nov 5, 2026

Copy link
Copy Markdown
Member

Slice 3 of the @dune/plugin-api extraction (duneorg/dune#64). Stacked on #14 (slice 2); base is that branch. Draft until #12, #13, #14 and core 0.36 are out.

  • Pages route uses services.blueprints (resolve, has, validate) instead of importing the validator and reading engine.blueprints.
  • resolveDataDir(config) (3 sites) becomes services.paths.dataDir.
  • Removes GET /admin/api/search/analytics: it summarised search-analytics.jsonl, which nothing ever wrote, so it always returned an empty summary. The route manifest is regenerated (the large manifest.gen.ts diff is renumbering).

Tests and deno task check pass (237) against unreleased core 0.36 (scratch workspace). Not mergeable until @dune/core is bumped to ^0.36.0.

🤖 Generated with Claude Code

zumbrunn and others added 2 commits November 4, 2026 21:42
…e 3)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Nothing ever wrote search-analytics.jsonl, so it always returned an empty summary.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@zumbrunn

Copy link
Copy Markdown
Member Author

Landed in 4.0.0 as part of #26 (one squash of the whole stack: its intermediate commits only type-check against the final contract). Verified against the published @dune/core 0.36.0 and @dune/testing 2.0.0.

@zumbrunn zumbrunn closed this Nov 10, 2026
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