Skip to content

Starlark call checking for every runtime: lore phase scripts, star extensions and the rest #1195

Description

@David-Noble-at-work

Area

Product

What

star lint starlark checks only the calls a script makes through plan, the way lore's phase scripts call providers: the plan provider's own methods, the graph namespace plan.<namespace>.<method>, and promoted providers such as ui (cmd/star/provider/lint/starlint/resolver.go on develop, read 2026-11-06). A call made straight on any other provider is not checked. Star extensions are written that way, with file.find, config.get and lint.*, and so is the linter's own script, lint-starlark.star. A call there to a method that does not exist passes every gate, which is the failure #721 found in lore's packages.

This feature extends the check to every provider a Starlark file can reach, for each kind of script: lore's phase scripts, star's extensions, and any other runtime that runs Starlark, each against the surface that runtime offers.

Evidence of completion

Before this issue closes, a comment on it shows star lint starlark refusing a star extension that calls a method its provider does not have, and passing every extension on develop.

Plan and design documents

Kind Document
Plan Not yet opened
Related #721, the task that built the plan.* check; #837, the lint provider

Activity

  1. changed the title [-]star lint starlark checks every provider call a script makes, not only plan.*[/-] [+]Starlark call checking for every runtime: lore phase scripts, star extensions and the rest[/+] on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions