OpenFn / OpenFn/apollo

Only put an emoji in a step name if the user asked for one

Open Beginner friendly
#682 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5
Forks
10
Avg merge
2d 20h
Merged PRs (30d)
17

Description

We are keeping emojis allowed in step names. Someone who wants one should be able to have it, and if they ask for one we should give it to them.

What we would rather avoid is Apollo adding them to names nobody asked for. A user typing an emoji is a choice they made. The AI decorating a generated workflow spreads them around for no benefit, and makes the conflict in OpenFn/lightning#5156 more likely to be hit by someone who never opted into it.

The rule the model sees is built in describe_rule in services/name_rules.py, so this is a wording change rather than validation. Something like telling it to write the name the user asked for and not to decorate it. We should not strip emojis after the fact, because we cannot tell one the user asked for from one the model invented.

Worth checking against the workflow_chat acceptance tests, since they are the only way to see whether a prompt change actually moved the model.

Related: OpenFn/lightning#5156, OpenFn/apollo#446.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in services/name_rules.py at describe_rule and review the wording that guides generated step names. Update the rule so user-provided emojis remain allowed while unrequested emojis are not added, then run the workflow_chat acceptance tests to verify the prompt change affects generated names.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.