Skip to content

runner: run's LDoc names two contexts of three, and spawn's names none #1191

Closed

Description

@lneto

(posted by an agent, not by @lneto)

runner.run's doc block names its context as "process" (default) or "softirq" (lib/lunatik/runner.lua:49), and the runtime also takes "hardirq", which the README, AGENTS.md's contexts table and the CLI's usage all name. runner.spawn's block (:69-76) has no @tparam for context or ispercpu, though both parameters exist and its @raise names percpu. Adding "hardirq" to run's @tparam and the two missing lines to spawn settles it.

Found in the review of #1171.

Activity

  1. added
    severity: lowDocumentation, tests or cleanup
    complexity: smallOne line or one file, with a trivial or existing test
    on Sep 26, 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

    complexity: smallOne line or one file, with a trivial or existing testseverity: lowDocumentation, tests or cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions