enforce error_codes.yml number space discipline

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • SP Prioritized List, Programmability 2025-10-13
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some newer codes have started coming in with very high values.
      The next number in the sequence is 467 right now, but people have started skipping past that and adding error codes in the millions. I think there might be some confusion about those error codes and the number spaces for assert and log ids based on ticket numbers.

      We should add some comments to error_codes.yml about the expectations.

      Possibly add some assertions into the generate_error_codes.py generator to set to catch large gaps in the number space as they appear. Add some number space schema sections to the top of the yml file to inform the generator what is allowed below.

      See what we can do about possibly renumbering the appx 10 huge codes that have slipped in. It's possible that renumbering them won't break anything.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: