Repository navigation
Conversation
🎩 PreviewA preview build has been created at: |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
/runshortcut does not record that person.What changes
When a Tangent run includes the
requested_byannotation, 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
/pipelinesto find a saved pipeline’s ID./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.requested_byand one of the emails. Verify that person’s run is returned.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
Line Breakdown
Checklist
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.