Skip to content

Bulk-backfill _summary on pre-existing components (app-context) #140

Description

@taylortom

Follow-up to #138 / PR #139.

_summary is computed at write time, so components get a summary the next time they are edited. Components that predate the feature stay empty until then.

Add an app-context operation that walks every existing component, recomputes _summary via ContentModule.computeSummary, and writes it back in bulk — to light up the back-catalogue without requiring an edit per component. This can't be a migration: migrations run during boot with only a raw db handle, and summary computation needs the resolved per-component schema (module must be ready).

Likely shape: a ContentModule.reindexSummaries() method triggered by a bin/ script or an authenticated admin endpoint (write:content/super). Not blocking the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions