The clients API lists discovered devices, counts them, lets an operator acknowledge them and prunes stale ones #146
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#146
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
ClientsController.List(src/dotnet/src/Ninlil.Web/Controllers/ClientsController.cs:91-149) filters only by favorite, presence and creation time. There is no origin filter and no acknowledge action.What changes
ClientsController.Listandsummary(ClientsController.cs:163): addoriginandacknowledgedquery parameters and adiscovered(unacknowledged) count in the summary model.POST api/clients/{id}/acknowledge(clients:write), shaped likepauseatClientsController.cs:502.Ninlil.Dns.Server.ClientIdentitydeletes unacknowledged discovered clients whose newestLastSeenUtcis older thanClientPresenceOptions.DiscoveredDeviceRetention(default 30 days; zero keeps them forever). Acknowledged rows and rows of any other origin are never swept. Update ENVIRONMENT.md.src/dotnet/src/Ninlil.Web/Examples/.Acceptance
src/dotnet/tests/Ninlil.Web.Tests,List_WithOriginDiscovered_ReturnsOnlyDiscoveredClients(shared host; finds its own rows, never assumes counts).dotnet test src/dotnet/tests/Ninlil.Web.Tests,dotnet test src/dotnet/tests/Ninlil.Dns.Server.ClientIdentity.Tests.Source
audit-feature-parity.md§2A #10.Owner decision 2026-10-31: "delete after 30 days unseen, configurable" (Q-PN-4).