[COMPASS-5036] Ensure unique log ids Created: 25/Aug/21  Updated: 29/Oct/23  Resolved: 22/Sep/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.29.4

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-5031 Create compass-logging helper package... Closed
Epic Link: COMPASS-4361
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Lutz

 Description   

We add a script to the Compass codebase that is similar to the server’s errorcodes.py file. It searches the codebase for mongoLogId() calls, verifies that they are unique and follow the specified format, and suggests the next unused log id value.



 Comments   
Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036 (#2464)

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: electron-13-same-keytar-node-14
https://github.com/mongodb-js/compass/commit/15edebfed7744ba7831c4f00681b83e6abc24bf2

Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036 (#2464)

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: COMPASS-5047-matrix
https://github.com/mongodb-js/compass/commit/15edebfed7744ba7831c4f00681b83e6abc24bf2

Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036 (#2464)

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: compass-5048-bundle-compass-plugins-with-webpack
https://github.com/mongodb-js/compass/commit/15edebfed7744ba7831c4f00681b83e6abc24bf2

Comment by Githook User [ 22/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036 (#2464)

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: main
https://github.com/mongodb-js/compass/commit/15edebfed7744ba7831c4f00681b83e6abc24bf2

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: 5036-dev
https://github.com/mongodb-js/compass/commit/839e1153ebf78a8cc7551a3758508db4d1fb17b1

Comment by Githook User [ 21/Sep/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(scripts): add a check-logids script COMPASS-5036

Add a script that verifies that log ids are unique and
that they follow the standard format, and that provides
the next available log id.
Branch: 5036-dev
https://github.com/mongodb-js/compass/commit/09a429aff3d4520c768926b11370bd0a45e39900

Generated at Wed Feb 07 22:38:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.