Skip to content

Add a smoke-test task to generated fedify init apps #898

Description

@dahlia

Why

fedify init creates runnable apps, but generated projects do not have a standard local smoke-test command. A small generated task that starts the app and verifies a local actor lookup would help new users and would give contributors a clearer way to validate scaffold changes.

Scope

Add a smoke-test task to generated projects from @fedify/init. The task should be practical across supported package managers and should check the generated actor endpoint with fedify lookup or an equivalent local request.

This will likely touch task generation in packages/init/src/action/, framework descriptions in packages/init/src/webframeworks/, and tests under packages/init/src/test/. Keep the first version focused on generated apps that can run locally without external services.

Suggested checks

Run mise run check-each init. Then run focused mise test:init cases for at least one Deno template and one Node.js or Bun template.

Activity

  1. updated Effort High and Priority Low on Jun 30, 2026
  2. Palcimer commented on Aug 1, 2026

    @Palcimer
    Contributor

    I would like to work on this issue. Does it mean to add the command to "tasks" or "scripts"?

  3. dahlia commented on Aug 1, 2026

    @dahlia
    MemberAuthor

    @Palcimer Yeah, exactly! For Deno projects, deno.json should have a test task. Otherwise, package.json should have a test script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Fields

Priority

Low

Effort

High

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions