Recued
Menu
← Back to recipes

Propose Linear work for GitHub Actions failure

by recued-core v4 25 views

Use “Propose Linear work for GitHub Actions failure” in Recued. Scheduled detection half of the GitHub Actions to Linear exception handoff loop.

Complete workflow

Use CI Failure Handoff Loop - GitHub + Linear in Recued for github actions, exception, work tracking, and closed loop. It includes 1 ready-to-run workflow and 2 related packs in one install.

You are viewing one recipe in this workflow. Installing it opens the complete pack so its other recipes and background automations arrive together.

Propose Linear work for GitHub Actions failure
This recipe Background automation

Use “Propose Linear work for GitHub Actions failure” in Recued. Scheduled detection half of the GitHub Actions to Linear exception handoff loop.

githublineargithub-actionsci
by recued-core pinned v4
View pack details, dependencies, and permissions →
How it works 45 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Data fetch
▼ existing_proposals core.storage.shared.list
List storage shared
▼
Process (44 steps)
■ existing_proposals_family filter
Filter by condition
■ configured_repo trim
Trim whitespace from setting repo
■ github_repo_parts split
Split configured repo into parts
■ configured_status trim
Trim whitespace from setting workflow status
■ configured_branch trim
Trim whitespace from setting branch
■ configured_event trim
Trim whitespace from setting event
■ configured_created_filter trim
Trim whitespace from setting created query override
■ negative_lookback_hours math
Calculate 0 minus setting lookback hours
■ lookback_since date_add
Add negative lookback hours hours to
■ lookback_created_filter template
Generate text from a template
■ has_created_filter_override compare
Check if configured created filter has data
■ created_filter ternary
Apply ternary
◆ runs_raw recued-core.github-pack.workflow_run.search
Search workflow run on github pack
■ workflow_runs default
Apply default
■ run_search_rows slice
Take a subset of
■ failed_run_rows filter
Filter by condition
■ non_pr_failed_run_rows filter
Filter by condition
■ include_pr_runs compare
Check if setting include pull request runs equals true
■ eligible_failed_run_rows ternary
Apply ternary
■ existing_run_ids map
Extract from each item
■ unhandled_run_rows filter
Filter by condition
■ candidate_rows slice
Take a subset of
■ candidate_count count
Count items in unhandled run rows
■ has_candidate compare
Check if candidate rows has data
■ defaults defaults
Apply defaults
■ defaults_2 defaults
Apply defaults
■ has_run_id compare
Check if run id is greater than 0
■ has_repo compare
Check if configured repo has data
■ skip_proposal any
Check if any of the conditions are true
◆ jobs_raw recued-core.github-pack.workflow_run.job.search
Search workflow run job on github pack
skip: step.skip_proposal equal true
■ jobs default
Apply default
■ failed_jobs filter
Filter by condition
■ failed_job_rows slice
Take a subset of
■ failed_job_names map
Extract from each item
■ failed_job_count count
Count items in failed jobs
■ default_linear_title template
Generate text from a template
skip: step.skip_proposal equal true
■ default_linear_description template
Generate text from a template
skip: step.skip_proposal equal true
■ proposal_key template
Generate text from a template
skip: step.skip_proposal equal true
■ now date_add
Add 0 minutes to
◆ write_proposal core.storage.shared.write
Write storage shared
skip: step.skip_proposal equal true
■ notify_enabled compare
Check if setting notify owner equals true
■ should_notify all
Check if all conditions are true
◆ send_owner_notification core.notification.send
Send notification
skip: step.should_notify not_equal true
■ summary to_summary
Format results as a summary card
▼
Output
summary summary
Settings 17 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

repo setting =
event setting =
branch setting =
channels setting = [object Object]
row limit setting = 25
notify owner setting = true
linear team id setting =
lookback hours setting = 24
linear priority setting = 2
linear state id setting =
workflow status setting = failure
exception reason setting = needs_recued_closure_state
failed job limit setting = 5
linear project id setting =
linear assignee id setting =
created query override setting =
include pull request runs setting = false

Uses (5 operations)

Shared store List storage shared core.storage.shared.list
Pack operation Search workflow run on github pack recued-core.github-pack.workflow_run.search
Pack operation Search workflow run job on github pack recued-core.github-pack.workflow_run.job.search
Shared store Write storage shared core.storage.shared.write
Notifications Send notification core.notification.send

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Send notificationsRead your Github connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

What it's allowed to do

Read Shared store core.storage.shared.list read-only
Write Shared store core.storage.shared.write external change
Read Notifications core.notification.send external change

2 more aren't listed here. You'll see them at install.

Data it touches

SurfacesShared storeNotifications
Warehousedata.shared

About

Tags

githublinear githubgithub-actionslinearcifailureexceptionproposaldeveloper-workflowwork-trackingclosed-looppack:github-linear-ci-failure-handoff

Details

45 steps 17 configurable settings recipe_id: linear-ci-failure-proposal-github