Skip to content

enhancement: comment-on-unready-assigned-issue should tell the user what to do next #321

@captainsafia

Description

@captainsafia

Summary

When oz-agent is assigned to an issue that is not labeled ready-to-spec or ready-to-implement, the current workflow posts a message that explains the situation but offers no guidance on what the user should do:

This issue is assigned to me, but it is not labeled ready-to-spec or ready-to-implement, so there is no work to do yet.

Then oz-agent removes itself as an assignee. The user is left with an unassigned issue and no actionable next step.

Reproduction scenario

  1. A contributor or maintainer assigns oz-agent to an issue that hasn't been labeled yet
  2. oz-agent posts the above message and removes itself
  3. The user has no idea:
    • Who can add the necessary label (maintainers only)
    • Which of ready-to-spec vs ready-to-implement is appropriate
    • Whether they should ask a maintainer to add the label, or wait

Impact

This is especially confusing for new contributors to a repo using oz-for-oss, who may be trying to ask Oz to start working on an issue. They assigned oz-agent hoping to trigger something, but instead they get a terse message with no clear path forward.

Expected behavior

The message should:

  1. Explain which label is needed and who can add it (maintainers)
  2. Link to the CONTRIBUTING.md guide
  3. Optionally suggest posting a comment asking a maintainer to label the issue if the contributor believes it's ready

Example:

This issue is assigned to me, but it is not labeled ready-to-spec or ready-to-implement, so I don't have a task to start yet.

To get me working on this issue:

  • Ask a maintainer to add ready-to-spec (if this needs a product/tech spec first), or
  • Ask a maintainer to add ready-to-implement (if the approach is clear and ready for code)

See the contribution guide for more details on how readiness is decided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workflowGitHub workflows, Python automation, or Oz integrationenhancementNew feature or requestrepro:highThe report looks highly reproducible from the available informationtriagedInitial Oz triage has been completed for this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions