OpenFn / OpenFn/lightning

Sometimes limits prevent changes, sometimes they prevent saving

Open
#4,210 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion needs detail
Dominant language
Elixir
Stars
296
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
50

Description

This requires more investigation:

  • Sometimes, we disable buttons with messages that say stuff like: "you can't perform this action because you don't have credits/permissions/etc."
  • Sometimes, we throw validation errors on save with messages that say stuff like: "you can't save this workflow because it's not in a valid state"

The second thing happens, notably, when you attempt to enable a workflow and later press save — if you're past your limit when you click save you get an error. We could disable the enabled switch instead.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or entry points. Start by tracing the workflow enable action and the later save validation, then compare how credit or permission limits are handled in each path. Done means the project has an agreed, consistent behavior for preventing the change or rejecting the save.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.