Skip to content

[1e] Store project summaries for the picker #434

Closed

Description

@imnasnainaec

Part of Phase 1 (#424) of the data layer plan.

InterlinearProjectSummary written on every project write, with lookups by source; the picker and getPt9ImportForSource read summaries.

Done when: the picker response size doesn't depend on analysis size.

Depends on: 1b (#431).

From the plan

Cross-book answers

Answer Today Planned Freshness Issue
Project summaries Reads every project in full Stored on every project write Stored 1e

Activity

  1. imnasnainaec commented on Oct 19, 2026

    @imnasnainaec
    ContributorAuthor

    Two things from #431:

    • Seeded projects need summaries. The perf harness writes saved projects straight into storage from Node (addSavedProject in perf/storage.ts), copying the record shape. Once project writes store a summary, seeded projects need one, or the picker won't list them. Plan: split projectStorage into a Node-safe core and a thin PAPI wrapper here, and have the seeder call the core.
    • Don't cache summaries across a view close. The dev-core perf run writes storage while the app runs. If summaries are cached in the host, drop or reload them when a view closes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions