Frontmatter
| id | 7828 |
| title | Use crypto.randomUUID() for windowId generation |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Nov 20, 2025, 9:49 PM |
| updatedAt | Nov 20, 2025, 9:54 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7828 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 20, 2025, 9:54 PM |
In
src/worker/Manager.mjs, thewindowIdis currently generated usingnew Date().getTime(). This can be improved by usingcrypto.randomUUID(), providing a more robust unique identifier.Proposed Change: Update the
windowIdconfig inNeo.worker.Managerto prefercrypto.randomUUID(). Update the JSDoc type definition to reflect thatwindowIdnow is aString.Files to Modify:
src/worker/Manager.mjs