Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft Statement of Work - Test reliability lead #1629

Open
mhdawson opened this issue Oct 2, 2024 · 10 comments
Open

Draft Statement of Work - Test reliability lead #1629

mhdawson opened this issue Oct 2, 2024 · 10 comments

Comments

@mhdawson
Copy link
Member

mhdawson commented Oct 2, 2024

The test flakiness lead will be expected to:

  • lead a test reliability strategic initiative, rallying and supporting contributors who work to reduce flaky tests. This might include running regular test team meetings, documentation, tools, or whatever strategy works to achieve more than they can do on their own
  • build tools and improve automation that allows the project to effectively manage flaky tests to reduce their impact on the CI
  • Investigate and fix existing tests being marked as flaky in the status files

Duration

  • 6 months

Success looks like

  • maintain good test coverage
  • reduced number of tests marked as flaky in the status files
  • Running node-test-commit on the main branch will pass more often (hopefully always).
  • critical mass of contributors/collaborators dedicating time to addressing flaky tests that persists beyond the strategic initiative
@mhdawson
Copy link
Member Author

mhdawson commented Oct 2, 2024

@nodejs/tsc as discussed in the TSC meeting today a first cut at what a statement of work for a test flakiness lead might look like.

@mhdawson
Copy link
Member Author

mhdawson commented Oct 7, 2024

Adding to agenda so that we review/get feedback in a future meeting.

@joyeecheung
Copy link
Member

joyeecheung commented Oct 7, 2024

I think we should explicitly add:

Investigate and fix existing tests being marked as flaky in the status files

Success looks like
...reduced number of tests marked as flaky in the status files

Otherwise this might just optimize towards marking all the tests as flaky and let them rot in the status files, which isn't ideal.

@mhdawson
Copy link
Member Author

mhdawson commented Oct 8, 2024

@joyeecheung updated, thanks for the suggestion.

@mcollina
Copy link
Member

I think we should have a more measurable success criteria, such as:

  • a list of tests that should be fixed by the individual (mandatory list)
  • number of flaky tests fixed (they can decide)

I would structure the agreement as:

  • xxx amount at start
  • yyy amount at 50% completion
  • zzz amount at finish

Alternatively, if the person is a member of the TSC, I would put at:

daily rate of XXX * number of days worked, capped at zzz.

@joyeecheung
Copy link
Member

joyeecheung commented Oct 24, 2024

That would be assuming the list of tests doesn't change while this is happening, which is unlikely to be true. Other contributors can always alter the tests as necessary or mark tests as flaky as they see fit, or add more tests while all these are happening, and could use some eyes watching the status of the new tests or otherwise new flakes still come up and we won't be much better off. What we care about is whether the overall situation improves, while the situation isn't always static without the hired individual doing anything.

Also, identifying this list is also non-trivial work, especially when it could be challenging to triage and identify a correct list. It wouldn't be too meaningful if the list contains a lot of false positives, yet eliminating false positives can already be difficult enough.

If we want a quantitative measurement, then I think the rate of a passing node-test-commit CI on the main branch is already enough (which has been around 0% for some time).

@mhdawson
Copy link
Member Author

That would be assuming the list of tests doesn't change while this is happening, which is unlikely to be true.
I agree with that.

I also think we want somebody who will do more than just fix specific tests, helping to improve how we manage and resolve flaky tests though automation and tools is just as important as fixing specific flaky tests.

@Trott
Copy link
Member

Trott commented Nov 12, 2024

I've not been privy to this conversation so I might be missing the mark with this comment, but I think it will be more understandable and more professional-sounding if you call it a "test reliability lead" rather than a "test flakiness lead". In a formal/professional document, I wouldn't refer to "flakiness" but instead refer to "reliability" (or "unreliability").

@mhdawson mhdawson changed the title Draft Statement of Work - Test flakiness lead Draft Statement of Work - Test reliability lead Nov 12, 2024
@mhdawson
Copy link
Member Author

@Trott like that suggestion, incorporated.

@mhdawson
Copy link
Member Author

mhdawson commented Nov 18, 2024

Sent email today to the Foundation executive directory with @mcollina as our CPC rep on CC to ask what might be possible in terms of funding from the OpenJS foundation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants