Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b2aa2f8
ADFA-7178: Stop a plugin's shell command and all it started at its ti…
davidschachterADFA Nov 17, 2026
6b5ecba
ADFA-7178: Show control characters in a plugin's Terminal command line
davidschachterADFA Nov 17, 2026
6249342
ADFA-7178: Check a plugin's Terminal command with extglob on
davidschachterADFA Nov 17, 2026
f1d9248
ADFA-7178: Group commands only where setsid runs them in place
davidschachterADFA Nov 17, 2026
8028609
ADFA-7178: Reach children a command starts as an early stop lands
davidschachterADFA Nov 17, 2026
83edad4
ADFA-7178: Use the Terminal's setsid where Android's forks
davidschachterADFA Nov 17, 2026
472652f
ADFA-7178: Say when the Terminal's setsid is used
davidschachterADFA Nov 17, 2026
e4e9e7d
ADFA-7178: Pin the cancel paths' reader threads and the grace timing
davidschachterADFA Nov 17, 2026
7647dfb
ADFA-7178: Release the child-holding tests' shells once the readers read
davidschachterADFA Nov 17, 2026
0575806
Merge branch 'stage' into fix/ADFA-7178-plugin-command-stop
davidschachterADFA Nov 23, 2026
81984ca
ADFA-7178: Check a Terminal command's syntax on stdin
davidschachterADFA Nov 23, 2026
2c12dc4
Merge origin/stage into fix/ADFA-7178-plugin-command-stop
davidschachterADFA Nov 23, 2026
0c60cc2
ADFA-7178: Move the changelog entry under 26.48
davidschachterADFA Nov 23, 2026
ef32ab8
Merge origin/stage into fix/ADFA-7178-plugin-command-stop
davidschachterADFA Nov 24, 2026
2a703d3
Merge origin/stage into fix/ADFA-7178-plugin-command-stop
davidschachterADFA Nov 24, 2026
a62c780
ADFA-7178: Free a command's slot only once it has stopped; find setsi…
davidschachterADFA Nov 24, 2026
55da837
ADFA-7178: Move the changelog entry to 26.49
davidschachterADFA Nov 25, 2026
a63b453
ADFA-7178: Check setsid again after a check that could not tell
davidschachterADFA Nov 26, 2026
45381f0
ADFA-7178: Check setsid off the command path, keep each answer, cap r…
davidschachterADFA Nov 28, 2026
d8682ed
Merge branch 'stage' into fix/ADFA-7178-plugin-command-stop
davidschachterADFA Dec 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/PLUGIN_API_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,28 @@ need a source change, a recompile, or both · `tooling` = API-stability
milestone. **[verified]** = read from the checked-in ABI dump. **[reconstructed]**
= diffed from `plugin-api/src` history (predates the dump; symbol-accurate).

### 26.49 — unreleased
- **breaking — A `ShellCommand` stops at its timeout or `cancel()`, with every process it started** _(ADFA-7178)_
A timeout used to wait for the command to exit, and a stop killed only the command's own
process, never its children. Each command now runs in a process group of its own, and a
timeout, `cancel()` or `cancelAllCommands()` stops the whole group: SIGTERM, then SIGKILL
250 ms later. `await()` returns within a second of the timeout. A stopped command frees its slot,
and `await()` returns, once the group has stopped, so after a `cancel()` too it can take up to
about 750 ms.
On Android 11, whose `setsid` always forks, the IDE uses the Terminal's `setsid` instead, if that
one runs commands in place. The IDE checks which `setsid` to use on a thread of its own, starting
with the first shell command, so a command never waits for the check and the check never counts
against its timeout. Until the check has an answer, commands get no group of their own: a stop
leaves their children running, as before. The Terminal's `setsid` is checked once it is
installed, and a check that timed out or failed to run, as on a busy device, is tried again, up to
three times.
A command that exits on its own is never reported as timed out. If a background child still
holds its output 500 ms after the command exits, the child is stopped, and `await()` returns
within about 1.5 s of the exit. A command that exits before the IDE starts reading its output
is the exception: Java drains and closes the output as it exits, so such a child is not seen.
A child whose output goes elsewhere (`server >log 2>&1 &`) is left running, as is a process
that calls `setsid` itself.

### 26.48 — unreleased
- **added — Show the IDE's own documentation from a plugin** _(ADFA-7134)_
`IdeTooltipService.showTooltip(anchorView, category, tag)` now reads the IDE's documentation
Expand Down
Loading
Loading