workspace: track workdir observation state

This commit is contained in:
2026-07-12 12:32:24 +09:00
parent 3009bb4ad9
commit 52cccc7f2f
8 changed files with 257 additions and 183 deletions
@@ -108,7 +108,7 @@
<th>Selector</th>
<th>Commit</th>
<th>Status</th>
<th>Policy</th>
<th>Cleanliness</th>
<th>Action</th>
</tr>
</thead>
@@ -121,10 +121,7 @@
<td>{selectorLabel(workdir)}</td>
<td><code>{commitLabel(workdir)}</code></td>
<td>{workdir.status}</td>
<td>
<span>{workdir.dirty_state_policy}</span>
<small>{workdir.cleanup_policy}</small>
</td>
<td>{workdir.cleanliness ?? 'unknown'}</td>
<td>
{#if cleanup}
<button