Skip to content

Conversation

@devroy10
Copy link
Contributor

@devroy10 devroy10 commented Feb 9, 2026

Description

Closes #2821

This PR adds the Rootly Create Event action so SuperPlane workflows can post timeline notes/annotations to Rootly incidents. The action targets Rootly’s incident events endpoint and supports optional visibility (internal/external) while keeping defaults consistent with Rootly.

Video Demo

rootly-create-event.mp4

Backend Implementation

  • Added rootly.createEvent action with incidentId, event, and optional visibility validation in setup.
  • Implemented Rootly client support for POST /incidents/{id}/events with JSON:API request/response structs for incident events.
  • Emits rootly.incident.event on success with id, event, visibility, occurred_at, and created_at.
  • Added example output fixture and unit tests covering success and error paths.

Frontend Implementation

  • Added Rootly Create Event mapper to render execution details and metadata for incident ID and visibility.
  • Introduced IncidentEvent type and details formatter to display event content, visibility, and timestamps.
  • Registered the new mapper and event state registry for consistent execution state handling.
  • Reuses Rootly icon and color patterns to match existing integration styling.

Documentation

  • Auto-generated component documentation via relevant make command

Checklist

  • Tests (existing + new component) pass
  • Code compiles without errors
  • Signed-off commits
  • Example output JSON (if required)
  • Updated component documentation
  • Attached video of component working

Signed-off-by: devroy10 <roychinwuba@gmail.com>
@cursor
Copy link

cursor bot commented Feb 9, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on February 12.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@devroy10

This comment was marked as resolved.

@AleksandarCole AleksandarCole added the pr:stage-1/3 Needs to pass basic review. label Feb 9, 2026
@AleksandarCole AleksandarCole self-requested a review February 9, 2026 15:29
@AleksandarCole AleksandarCole added the bounty This issue has a bounty open label Feb 9, 2026
@devroy10
Copy link
Contributor Author

@AleksandarCole Video demo added, ready for review

@AleksandarCole AleksandarCole added pr:stage-3/3 Ready for full, in-depth, review and removed pr:stage-1/3 Needs to pass basic review. labels Feb 10, 2026
@AleksandarCole
Copy link
Collaborator

@devroy10 tested it - works great. No major changes needed so I will kick off code review right away.

minor thing: If you get the chance, please remove "Occurred at" from details tab and put "Created at" at the top.

Copy link
Collaborator

@forestileao forestileao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thank you for the PR. Just added one comment. The rest looks really good :)

devroy10 and others added 3 commits February 10, 2026 20:23
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
@forestileao forestileao changed the title feat: Add Rootly Create Event action feat: Add roothly.createEvent component Feb 10, 2026
@forestileao forestileao changed the title feat: Add roothly.createEvent component feat: Add rootly.createEvent component Feb 10, 2026
@forestileao forestileao self-requested a review February 10, 2026 20:09
Copy link
Collaborator

@forestileao forestileao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devroy10 All Good :)
Reach @AleksandarCole to get your bounty!
Thanks for contributing with SuperPlane!

@forestileao forestileao merged commit cf7728a into superplanehq:main Feb 10, 2026
3 checks passed
@AleksandarCole
Copy link
Collaborator

@devroy10 bounty paid via BountyHub

@devroy10 devroy10 deleted the feat/rootly-create-event branch February 10, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bounty This issue has a bounty open pr:stage-3/3 Ready for full, in-depth, review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Rootly] Create Event

3 participants