The CLI call to invalidate a session does nothing if the app is distributable:
This CLI call ultimately results in an invalidate call to DistributableImmutableSession, which does nothing:
The CLI operation fetches the session from the manager by id:
The DistributableSessionManager only allows an Immutable session to be returned here:
The DistributableSessionManager only lets you get a session you can invalidate if you call getSession by the HttpServerExchange, which a CLI command can't do.
So can the DistributableSessionManager be fixed and improved to allow invalidation on the session it hands out by the Id so the CLI command can function?