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

VACMS-16409: Update project-conventions.md #16410

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ndouglas
Copy link
Contributor

Description

Closes #16409.

@ndouglas ndouglas requested a review from a team as a code owner December 13, 2023 20:02
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 13, 2023 20:03 Destroyed
READMES/postmortems.md Outdated Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved
READMES/project-conventions.md Outdated Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 13, 2023 20:30 Destroyed
READMES/automated-tests.md Outdated Show resolved Hide resolved
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 13, 2023 20:57 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 13, 2023 21:35 Destroyed
Copy link
Contributor

@JunTaoLuo JunTaoLuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm really liking the clarifications being added! Just had a few thoughts as I was reading the doc.

READMES/project-conventions.md Show resolved Hide resolved
READMES/project-conventions.md Show resolved Hide resolved

* As a reviewer, use [conventional comments](https://conventionalcomments.org/) to signal your intent, e.g. **Nitpick**, **Suggestion (non-binding)**, **Request**, etc.
* Do not make unsolicited comments on PRs that do not belong to a member of your team unless you feel it poses a clear and present danger.
* If you have a suggestion for an alternative approach, or a concern about the ticket or the approach, escalate it to your PM/DM/PO.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though: I'm a little skeptical of this requirement as it may be a little harsh. I understand we want to limit the amount of unhelpful or irrelevant comments but I don't also don't want to add more roadblocks to collaboration which can lead to more siloing of knowledge and expertise. However, there should be the expectation that if you make unsolicited comments, the PR owner is very likely or expected to dismiss or reject the comments.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to prevent interference with an engineer that is attempting to address a ticket as it is written.

In other words, if I write a ticket with ACs A, B, and C, we all prefine it and agree that it is fine, we refine it and agree it is fine, and then Engineer Dave takes this on, and then Engineer Frank from another team comes along and says "no no, you don't want to do A, B, and C, you need to do D, E, and F!"

I believe that is inappropriate. If Frank believes that the ticket or PR is taking the wrong approach, I think this is a matter that needs to involve Dave's PO, PM, DM, and TL, and Frank's PM and DM. It will (or should) result in cancelling or rewriting or re-refining a ticket. It's a big deal, in my opinion, and should be mediated.

I don't wish to prevent or inhibit collaboration. I do want to ensure that engineers have space in which to do their work without unwanted interference, especially interference on the level of requirements/definition when they're trying to work on implementation.

Perhaps I can adjust this to where we can have both? Maybe I didn't have the concept clearly defined in my mind when I wrote this. Any suggestions on how I can improve it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see, I misunderstood it as only PM/DM/POs are allowed to comment on PRs to suggest alternative approaches. How about updating the wording to this?

Suggested change
* If you have a suggestion for an alternative approach, or a concern about the ticket or the approach, escalate it to your PM/DM/PO.
* If you have a suggestion for an alternative approach, or a concern about the ticket or the approach, you must also include your PM/DM/PO in your comment and ensure they approve the modifications to the original ticket or approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some examples of what I mean:

Example 1: Possibly bad ticket.

  • Dave's ticket is changing an instruction on a form -- for a particular field.
  • Frank sees this and thinks, gee, that wording is really crappy/not clear/not inclusive/etc.
  • What's the wording in the original ticket? Well, it's exactly the wording that Dave is trying to use.
  • In other words, Dave might move forward to review and merge something bad. Not actively destructive, but not good.
  • My opinion is that Frank should raise this to product or delivery peeps in his own team before proceeding.

I don't mean that only a PM/DM can comment, but that this sort of communication needs to at least be cleared by Frank's PM/DM prior to commenting. Otherwise it just seems like interference to me, not collaboration.

Example 2: Good ticket, bad approach.

  • Dave's ticket includes some kind of algorithm, and his implementation is O(n^2) over a large number of items when it'd be trivial to do it in O(n).
  • Frank sees this and thinks, what in the
  • The ticket does not say "Do this in the least efficient way possible."
  • In other words, Dave might move forward to review and merge something bad.
  • My opinion is that Frank is free to step in and (kindly, politely) suggest a better performing approach without first raising it to PM/DM.

I'd argue that also includes "hey, you can save five LOC by doing X". Ideally, we always love to learn and welcome a tactfully-offered tweak to our technique.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that does clarify it up a lot, thanks. I wanted to make sure we continue to promote the type of discussion illustrated by Example 2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I'm still not sure if I actually conveyed it meaningfully 🙂

@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 14, 2023 13:18 Destroyed
Copy link
Contributor

@edmund-dunn edmund-dunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@va-cms-bot va-cms-bot temporarily deployed to Tugboat May 21, 2024 21:08 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat June 4, 2024 18:37 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat July 1, 2024 16:25 Destroyed
@va-cms-bot va-cms-bot temporarily deployed to Tugboat July 1, 2024 19:12 Destroyed
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

Successfully merging this pull request may close these issues.

Review and revise project-conventions.md
6 participants