Total active sessions count is incorrect in the Users section
Categories
(Enterprise Products :: Console, defect)
Tracking
(Not tracked)
People
(Reporter: sbadau, Assigned: julienw)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Found in
Affected versions
Tested platforms
- Affected platforms: Windows 11 x64, Ubuntu 24.04 and macOS 26
Preconditions
- A Company admin is logged into the Console.
- Multiple users (authenticated and unauthenticated) are created on different operating systems.
Steps to reproduce
- Log into the Console
- Go to the Users section and check the Total active sessions for Operating system and version sessions.
- In the Users section, also observe the Total active sessions for Firefox versions as well.
Expected result
- Total active sessions should correctly reflect the actual number of active sessions.
Actual result
- The Total active sessions for Operating System and Version sessions shows 3, even though the actual active sessions are higher (3, 1, 1, 1).
- Total active sessions for Firefox versions shows 3 when in fact there are 3 on 148.0a1 and 3 on 147.0a1.
Regression range
- this is not a regression.
| Assignee | ||
Comment 1•8 months ago
|
||
I think that what's happening is that the "total" is the number of active users while the lines are the number of active sessions.
I agree this is confusing with the current wording.
Let's wait for Matt to decide what to do exactly here!
| Assignee | ||
Comment 2•8 months ago
|
||
I got some feedback from Matt and will try to implement that.
| Assignee | ||
Updated•8 months ago
|
| Assignee | ||
Comment 3•8 months ago
|
||
Fixed by https://github.com/mozilla/enterprise-console-frontend/commit/a3b667fd821e47577cb21fcec54c2d18fed07af5. The problem was that the total only showed "signed in" users, but the rows showed "signed in and out" users (that is the users that are active on the platform). Now the total also shows the "signed in and out" users.
Also https://github.com/mozilla/enterprise-console-frontend/commit/f150bc84e4e4c42f829331e799099b72658edfdb changed some other values: now the top left box has different values displayed, and the tables may have "unknown" values if any.
Please tell me if you see anything else!
| Reporter | ||
Comment 4•8 months ago
|
||
Julien, I verified this using the https://console-gcp-eu.enterfox.eu console.
I noticed that although the total number of signed-in and signed-out users is 21, only 17 users appear in the Operating system and version sessions and Firefox versions tables.
After reviewing the profiles of all signed-in and signed-out users, I found that 5 out of the 21 users have N/A values for both device and browser. Is this expected? Does this indicate that these users have never logged into Firefox Enterprise? Should users with N/A values be included in these tables?
Additionally, if I add the 17 users shown in the tables to the 5 users with no device or browser data, the total does not match the overall number of signed-in and signed-out users. Is this discrepancy expected? - here is a screenshot for the console at the time of my testing.
| Assignee | ||
Comment 5•8 months ago
|
||
I think the latest code isn't yet deployed in console-gcp-eu.enterfox.eu, I should have been clearer about that. I've no control and visibility about when the code is deployed there. I think only Florian can do it and he's away for holidays until Jan 6 now, so let's wait until then to verify this bug...
| Reporter | ||
Comment 6•7 months ago
|
||
Looked again in the console, and there are still discrepancies between the OS and Firefox versions displayed in the upper tables and those shown in the users’ Devices & Browsers section.
For example, when reviewing the Devices & Browsers section across all users, I see 7 users with Windows_NT 10.0, but in the Operating System and Version – Sessions table, I only see 6 (counted from both signed in and signed out users). Similarly, for Firefox versions, I counted 3 users on Firefox 147.0a1 in the Devices & Browsers section, whereas the Firefox Version table shows only 1.
@Florian, are the latest fixes deployed on console-gcp-eu.enterfox.eu? Are these discrepancies expected?
Comment 7•6 months ago
|
||
Comment 8•6 months ago
|
||
Verified fixed on the 149.0a1 version (Build ID:20260221191449) during Alpha test run 1 on macOS Tahoe 26.3 and Ubuntu 24.04.3 (Noble Numbat)
Comment 9•6 months ago
|
||
Re-opening because the WIN11 user count from Users> Operating system and version sessions (2), does not match when comparing with the count (3) of OS systems as shown on individual users profiles.
https://prod.fx-enterprise.prod.webservices.mozgcp.net/users/41beba03-243c-4730-ad17-f8f716f799eb
https://prod.fx-enterprise.prod.webservices.mozgcp.net/users/1c659a2b-a033-4f16-a274-f2f4c3c94fb5
https://prod.fx-enterprise.prod.webservices.mozgcp.net/users/fadbad5c-a58a-4692-a338-399642060197
For some reason, one of these user's OS registers as a macOS 26 (Tahoe) instead which has 5 verified users but shows 6 active session.
Updated•6 months ago
|
Comment 10•6 months ago
|
||
Apologies for the confusion I am closing this bug again as verified fixed since total session count has no discrepancies in either stage on prod consoles. The previous comments inquiring into the discrepancy between User table and user profile data fits better in https://bugzilla.mozilla.org/show_bug.cgi?id=2011716#c6, so I re-opened that one.
Updated•6 months ago
|
Description
•