Skip to content

Add test to check new error codes are not duplicates  #16364

Closed

Description

@simo5

Error codes are only useful if the uniquely identify an error point in the code.
Currently there is no test that verifies new PRs are not introducing duplicate codes, and we rely on reviewers to catch duplicates.
This should be done by a test not by a human, it's a wte of time and it is super-error prone.

Activity

  1. sosiouxme commented on Sep 15, 2017

    @sosiouxme
    Member

    To be clear, are you talking about errors in general in the product, or specifically in diagnostics?

    I mean, I think it would be nice to have unique error codes in the rest of the product too...

  2. openshift-bot commented on Feb 20, 2018

    @openshift-bot
    Contributor

    Issues go stale after 90d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle stale

  3. added
    lifecycle/stale
    on Feb 20, 2018
  4. openshift-bot commented on Mar 22, 2018

    @openshift-bot
    Contributor

    Stale issues rot after 30d of inactivity.

    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.
    Exclude this issue from closing by commenting /lifecycle frozen.

    If this issue is safe to close now please do so with /close.

    /lifecycle rotten
    /remove-lifecycle stale

  5. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Mar 22, 2018
  6. openshift-bot commented on Apr 21, 2018

    @openshift-bot
    Contributor

    Rotten issues close after 30d of inactivity.

    Reopen the issue by commenting /reopen.
    Mark the issue as fresh by commenting /remove-lifecycle rotten.
    Exclude this issue from closing again by commenting /lifecycle frozen.

    /close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component/diagnosticslifecycle/rottenpriority/P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions