Skip to content

improvement(sim-trigger): change execution terminology to run#5033

Merged
icecrasher321 merged 1 commit into
stagingfrom
improvement/ui-labels
Jun 13, 2026
Merged

improvement(sim-trigger): change execution terminology to run#5033
icecrasher321 merged 1 commit into
stagingfrom
improvement/ui-labels

Conversation

@icecrasher321

Copy link
Copy Markdown
Collaborator

Summary

Sim trigger terminology from "execution" to "run"

Type of Change

  • Other: UX Improvement

Testing

N/A

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Jun 13, 2026 8:34pm

Request Review

@cursor

cursor Bot commented Jun 13, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Copy-only UX and documentation updates with no logic or API identifier changes.

Overview
Aligns Sim trigger wording with run terminology across docs, the Sim block, and trigger configuration UI.

Execution Error / Execution Success dropdown labels become Run Error / Run Success; descriptions, setup instructions, and best-practices text now say "runs" instead of "executions." Docs tab Execution Events is renamed Run Events. Internal option IDs (execution_error, execution_success) and event payloads are not changed.

Reviewed by Cursor Bugbot for commit e29887c. Configure here.

@greptile-apps

greptile-apps Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR renames user-facing "execution" terminology to "run" across the Sim trigger block, its trigger config, and the corresponding documentation. The internal option IDs (execution_error, execution_success) are correctly left unchanged, preserving backward compatibility with any persisted workflow configurations.

  • workspace-event.ts: Dropdown labels updated from "Execution Error/Success" to "Run Error/Run Success"; field descriptions for consecutive_failures, latency_threshold, latency_spike, and no_activity updated consistently.
  • sim_workspace_event.ts: Block description and bestPractices tooltip updated to use "run" language.
  • sim.mdx: Documentation list items and tab name ("Execution Events" → "Run Events") updated to match.

Confidence Score: 5/5

Safe to merge — all changes are display-only label and description text; no logic, schema, or stored-ID values were modified.

Every change is confined to user-visible strings: dropdown labels, tooltip descriptions, and documentation. The internal event IDs that drive matching logic and are persisted in stored configurations (execution_error, execution_success) are untouched, so no existing workflows can break. The update is consistent across all three files with no missed occurrences in user-facing surfaces.

No files require special attention.

Important Files Changed

Filename Overview
apps/sim/triggers/sim/workspace-event.ts Updates user-facing dropdown labels ("Execution Error/Success" → "Run Error/Run Success") and field descriptions; internal option IDs (execution_error, execution_success) are intentionally preserved to avoid breaking persisted configs.
apps/sim/blocks/blocks/sim_workspace_event.ts Renames "execution" to "run" in the block description and bestPractices tooltip text only — no structural or logic changes.
apps/docs/content/docs/en/workflows/triggers/sim.mdx Updates documentation labels and tab names to match the new "Run" terminology, consistent with the code changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Workspace Event Occurs] --> B{Event Type}
    B -->|execution_error| C["Label: Run Error\n(id unchanged)"]
    B -->|execution_success| D["Label: Run Success\n(id unchanged)"]
    B -->|workflow_deployed| E[Workflow Deployed]
    B -->|workflow_undeployed| F[Workflow Undeployed]
    B -->|alert conditions| G["consecutive_failures\nlatency_threshold\nlatency_spike\ncost_threshold\nerror_count\nno_activity"]
    C --> H[Sim Trigger Fires]
    D --> H
    E --> H
    F --> H
    G --> H
    H --> I[Downstream workflow blocks]

    style C fill:#f9f,stroke:#333
    style D fill:#f9f,stroke:#333
Loading

Reviews (1): Last reviewed commit: "improvement(sim-trigger): change executi..." | Re-trigger Greptile

@icecrasher321 icecrasher321 merged commit 7b5c776 into staging Jun 13, 2026
15 checks passed
@icecrasher321 icecrasher321 deleted the improvement/ui-labels branch June 13, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant