Updated product group parser to include tech leads and Security & compliance group.#33849
Merged
Conversation
Member
Author
|
@coderabbitai full review |
Contributor
✅ Actions performedFull review triggered. |
Contributor
WalkthroughDependency versions were bumped for the eng-metrics action. The markdown parser gained stricter validation, added tech lead extraction, introduced a “security-compliance” group, and centralized username parsing. Tests were expanded and updated to cover new groups, stricter errors, and username patterns. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Caller
participant Parser
participant Logger
Caller->>Parser: parseProductGroups(markdown)
Parser->>Parser: validate required sections (incl. security-compliance)
alt missing section/row or empty usernames
Parser->>Logger: error("Section/row missing or empty")
Parser-->>Caller: throw Error
else valid structure
loop for each group section
Parser->>Parser: extract Tech Lead via extractUsernamesFromCell
Parser->>Logger: info("Tech lead(s) found")
Parser->>Parser: extract Developers via extractUsernamesFromCell
Parser->>Parser: assign usernames to group and engineering (TLs duplicated)
end
Parser-->>Caller: return parsed groups map
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45–75 minutes Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (2)
.github/actions/eng-metrics/package-lock.jsonis excluded by!**/package-lock.json.github/actions/eng-metrics/yarn.lockis excluded by!**/yarn.lock,!**/*.lock
📒 Files selected for processing (3)
.github/actions/eng-metrics/package.json(1 hunks).github/actions/eng-metrics/src/markdown-parser.js(6 hunks).github/actions/eng-metrics/test/markdown-parser.test.js(9 hunks)
sharon-fdm
approved these changes
Oct 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: Resolves #33848
Verified by running the GitHub Action:
Checklist for submitter
This is not a product change. Only an update to gathering engineering metrics.
Summary by CodeRabbit