Skip to content

Show who asked Tangent to run a pipeline - #3114

Draft
Mbeaulne wants to merge 8 commits into
MB/share-imported-project-pipelinesfrom
MB/show-tangent-run-requester
Draft

Mbeaulne wants to merge 8 commits into
MB/share-imported-project-pipelinesfrom
MB/show-tangent-run-requester

Conversation

@Mbeaulne

@Mbeaulne Mbeaulne commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Intent

Show who asked Tangent to run a pipeline in a shared project.

Current behavior

Run details can say a Tangent agent submitted a run. They do not display the person who asked, and the chat’s /run shortcut does not record that person.

What changes

When a Tangent run includes the requested_by annotation, its details and source tooltip say “Submitted by [person] via Tangent.” For /run, the project records the requester when the chat sender matches its signed-in account. Older runtimes or unidentified senders keep the usual source label. The existing All Runs annotation filter works with the same value.

How to test

  1. With the updated chat runtime, open one project in two signed-in browser profiles. Use /pipelines to find a saved pipeline’s ID.
  2. Enter /run <id> in each profile. Open the two runs and expand Run Info. Each byline should show the email from the profile that requested that run. The execution account still appears under Created by.
  3. In All Runs, filter by the annotation requested_by and one of the emails. Verify that person’s run is returned.
  4. Open an older Tangent run with no requester. It should still show the original source label.

All 56 focused tests and type checking passed at this PR’s head. The tests cover overlapping requests, older runtimes, and chat senders who differ from the signed-in account.

In a local browser with both UI stacks, Run Info showed Matt’s email for a tagged run, kept the execution account under Created by, and showed the usual agent label for an older run. In All Runs, searching for Matt’s email and then John’s email against a local SQLite database returned only the matching run each time. Both searches excluded the untagged run. Type checking and the full test suite passed with #3115 on current master dependencies (5,742 passed, two existing todos).

Two independent browser profiles also sent the chat command at the same time for one saved pipeline. Each outgoing submission contained the email of the person who typed it. The local check intercepted both submissions before execution.

Related Issue and Pull requests

Stacked on #3113. TangleML/tangent-shell#237 supplies the sender of the browser command. TangleML/tangent-shell#211 carries the original request for hosted agents.

Distributed Stack

Feature: Tangent project collaboration

Coordinate with

Depends on

Type of Change

  • New feature

Line Breakdown

Category Added Removed
Production code 58 14
Tests 83 8
Total 141 22

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

The byline uses the existing run source row.

Additional Comments

Hosted agent submissions must supply the same annotation for their requester to appear.

@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: MB/show-tangent-run-requester/149dcde

This branch has not been deployed

No deployments
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