Skip to content

Comments

feat(semaphore): add Get Pipeline component#3161

Open
Manideepchopperla wants to merge 1 commit intosuperplanehq:mainfrom
Manideepchopperla:feat/semaphore-get-pipeline
Open

feat(semaphore): add Get Pipeline component#3161
Manideepchopperla wants to merge 1 commit intosuperplanehq:mainfrom
Manideepchopperla:feat/semaphore-get-pipeline

Conversation

@Manideepchopperla
Copy link
Contributor

Summary

Closes #2827

Add a new Semaphore Get Pipeline component that fetches a pipeline by ID and returns its full state, result, workflow ID, timestamps,
and metadata.

Changes

  • Backend: GetPipelineRaw() client method returning map[string]any for full API field coverage
  • Component: get_pipeline.go with Setup validation and Execute logic
  • Tests: 5 tests covering setup validation and execution (success + error)
  • Example: example_output_get_pipeline.json with proper {type, timestamp, data} envelope
  • Frontend: Typed mapper with PipelineData interface, timestamp formatting, details tab (Pipeline Name, ID, Workflow ID, State,
    Result, timestamps, Pipeline File, Error)
  • Registry: buildActionStateRegistry("retrieved") for event state mapping
  • Docs: Auto-generated docs/components/Semaphore.mdx

Demo

Screen.Recording.2026-02-18.152651.1.mp4

Test plan

  • 5/5 Go tests pass
  • Go build passes
  • Docs auto-generated and committed
  • Frontend JS formatted

Add a new Semaphore Get Pipeline component that fetches a pipeline by ID
and returns its full state, result, workflow ID, timestamps, and metadata.

- Add GetPipelineRaw() client method returning map[string]any for full field coverage
- Add get_pipeline.go component with Setup validation and Execute logic
- Add get_pipeline_test.go with 5 tests (setup + execute)
- Add example_output_get_pipeline.json with pipeline data envelope
- Add frontend mapper with typed PipelineData, timestamp formatting, details tab
- Register component in semaphore.go, frontend index.ts with buildActionStateRegistry
- Generate updated docs/components/Semaphore.mdx

Signed-off-by: Manideep Chopperla <chopperlamanideep1029@gmail.com>
Signed-off-by: Manideep <chopperlamanideep1029@gmail.com>
@cursor
Copy link

cursor bot commented Feb 18, 2026

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

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

@Manideepchopperla
Copy link
Contributor Author

Hey @AleksandarCole , can you check the PR.

1 similar comment
@Manideepchopperla
Copy link
Contributor Author

Hey @AleksandarCole , can you check the PR.

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.

[Semaphore] Get Pipeline

1 participant