Repository navigation
Add resumable <Git.Push /> to REPL entries
#937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0bfccd0
34e713e
49ce39a
549aed8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -99,9 +99,10 @@ if (isCredentialHelperMode(process.argv.slice(2))) { | |||
| () => useDenoWorkflowHost(HELPER), | ||||
| useMachineSessions(), | ||||
| // What this host selects for a REPL command, and what it installs for | ||||
| // one. The selection is the issue capability an entry runs with; Node | ||||
| // and Bun supply neither half. | ||||
| { select: selectReplEntryHost, install: () => useCompiledRepl(HELPER) }, | ||||
| // one. The selection is the capability an entry runs with — its | ||||
| // checkouts, its local Git, its publications and its issues; Node and Bun | ||||
| // supply neither half. | ||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant comment — restates what the code does.
Suggested change
|
||||
| { select: () => selectReplEntryHost(HELPER), install: () => useCompiledRepl() }, | ||||
| ); | ||||
| }); | ||||
| } | ||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -118,9 +118,10 @@ if (isCredentialHelperMode(process.argv.slice(2))) { | |||||
| () => useDenoWorkflowHost(HELPER), | ||||||
| useMachineSessions(), | ||||||
| // What this host selects for a REPL command, and what it installs for | ||||||
| // one. The selection is the issue capability an entry runs with; Node | ||||||
| // and Bun supply neither half. | ||||||
| { select: selectReplEntryHost, install: () => useDenoRepl(HELPER) }, | ||||||
| // one. The selection is the capability an entry runs with — its | ||||||
| // checkouts, its local Git, its publications and its issues; Node and Bun | ||||||
| // supply neither half. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant comment — restates what the code does.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant comment — restates what the code does.
Suggested change
|
||||||
| { select: () => selectReplEntryHost(HELPER), install: () => useDenoRepl() }, | ||||||
| ); | ||||||
| }); | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1324,8 +1324,15 @@ function* start( | |||||
| // what a host attaches is copied by value before anything installs: | ||||||
| // an entry that got one afterwards would be running under a capability | ||||||
| // the execution never admitted. | ||||||
| // | ||||||
| // Yielded in this task, after the Agent attachment above and before the | ||||||
| // execution below, so what the capability registers for the execution — | ||||||
| // the initialization its own private state is created by — belongs to | ||||||
| // the entry rather than to a scope that has already closed. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant comment — restates what the code does.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Redundant comment — restates what the code does.
Suggested change
|
||||||
| const owned = | ||||||
| entryInstallation === undefined ? [] : [entryInstallation(entryOwner(execution.id, key))]; | ||||||
| entryInstallation === undefined | ||||||
| ? [] | ||||||
| : [yield* entryInstallation(entryOwner(execution.id, key))]; | ||||||
| // This entry's own selection, offered in the scope this execution runs | ||||||
| // in. Every entry installs it again: core reads the final contextual | ||||||
| // answer once per execution, and a chain assembled in a scope that has | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Redundant comment — restates what the code does.