Skip to content

Distracting configmaps in hotel-reservation #882

Closed

Description

@Saadmrp1038

During agent runs failure-admin-geo / failure-admin-rate configmaps are a major red herring and can distract the agent on more subtle faults. Ideally these should not be present on runs where they are not needed.

Activity

  1. tianyin commented on Jun 9, 2026

    @tianyin
    Contributor

    This sounds like a feature, not a bug?

  2. Saadmrp1038 commented on Jun 9, 2026

    @Saadmrp1038
    CollaboratorAuthor

    These configmaps contain fault injection scripts. Stuff like:

    • Revoking the readWrite role from the admin user on geo-db (revoke-admin-geo-mongo.sh)
    • Dropping the admin user entirely (remove-admin-mongo.sh)

    When the agent sees these it has to go and check if these faults are actually active. After testing when it sees they are not active it moves on. But the agent did have to spend time and pollute the context testing these.

  3. tianyin commented on Jun 9, 2026

    @tianyin
    Contributor

    :-B

  4. yimingsu01 commented on Jun 11, 2026

    @yimingsu01
    Collaborator

    Wait, but it sounds ok to keep them? If the agent is able recover from it then it sounds fine to me

  5. yimingsu01 commented on Jun 11, 2026

    @yimingsu01
    Collaborator

    We are basically testing whether they can tell if the real incident is caused by those scripts or not. Unless we are testing the agent on the problem that uses those scripts, I feel like we can keep them.

  6. Saadmrp1038 commented on Jun 11, 2026

    @Saadmrp1038
    CollaboratorAuthor

    Unless we are testing the agent on the problem that uses those scripts, I feel like we can keep them.

    In that case, we will only need to hide them when the related faults are run.

    We are basically testing whether they can tell if the real incident is caused by those scripts or not.

    Sure. Although I would like to note that for subtler faults these scripts can take up a lot of time for the agent to reason about. In the run where the agent went down this rabbit hole, it took 15 minutes from discovering the scripts to coming to the decision that the real fault is not related to these scripts after testing.

  7. yimingsu01 commented on Jun 12, 2026

    @yimingsu01
    Collaborator

    Sure. Although I would like to note that for subtler faults these scripts can take up a lot of time for the agent to reason about. In the run where the agent went down this rabbit hole, it took 15 minutes from discovering the scripts to coming to the decision that the real fault is not related to these scripts after testing.

    I think the agent also takes a lot of time to investigate our noises like this, so it sounds good to me.

  8. Saadmrp1038 commented on Jun 12, 2026

    @Saadmrp1038
    CollaboratorAuthor

    @yimingsu01 gotcha. I will just push a fix for the faults directly related to those configmaps then.

  9. added
    enhancement
    on Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions