Skip to content

Distinguish complete but unpublishable features from incomplete drafts #2666

Open
@ddbeck

Description

@ddbeck

Summary

In a few places, we've dealt with a compat key but can't publish feature data for one reason or another. We should consider adapting tools (like stats.ts) or our overall workflow (e.g., add a unpublished directory with different semantics) to give us a more accurate look at which parts of the platform we've addressed.

Background

Prompted by this comment:

Can we put this in drafts instead, and update our scripts to count keys in drafts as handled? (But excluding auto-updated spec drafts, I think.)

Originally posted by @foolip in #2566 (review)

Problem

The current /features/drafts folder mingles feature data in two different conditions:

  • Feature data that is incomplete (chiefly, the generated features computed from specifications)
  • Feature data that is complete, but blocked by non-feature description work (e.g., upstream data quality issues or schema changes)

This means it's difficult to find keys that are unmapped and use them to describe new/unfinished features.

Examples

Here are some cases where this has come up:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttools and infrastructureProject internal tooling, such as linters, GitHub Actions, or repo settings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions