Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76334

Improve dev workflow ergonomics for additional tools

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform

    Description

      Right now, we have a lot of tools that need to run as part of the development process but devs forget about until it fails in evergreen. If we can improve this, it will reduce workflow interrupts.

      One idea is pre commit checks for dev workflow.
      If we could have "easy to setup" & fast pre commit hooks that run on commit or on patch build submission we could save devs time from failing CI tasks like "generate matrix suites", "pylinters", "eslint", etc.

      An alternative/additional thing we can do is implement the SCons checks for resmoke.
      So if a dev makes some changes that puts resmoke in an "illegal" state, resmoke will "fail fast" & with a clear message.
      The precommit hook could just run the "resmoke check" before allowing the dev to commit.
      It was also suggested to add a new build target, which may be be used to automatically bring resmoke into a "valid" state.

      Attachments

        Activity

          People

            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: