ci: fix make not found in node alpine containers#10
Closed
Copilot wants to merge 2 commits intoconfig-driven-rules-enginefrom
Closed
ci: fix make not found in node alpine containers#10Copilot wants to merge 2 commits intoconfig-driven-rules-enginefrom
Copilot wants to merge 2 commits intoconfig-driven-rules-enginefrom
Conversation
Replaces hardcoded if/else label logic in getLabels() with a
declarative RULES array and HANDLERS object pattern.
- RULES: array of {header, contains/endswith, label, handler, fallback}
- HANDLERS: named functions receiving (message, baseLabel) for dynamic sublabeling
- Fallback rules only fire when no other rules matched
- Added Makefile for containerized testing (node:20-alpine via Podman)
- 19 new tests (38 total), all passing
- Lint clean (0 errors)
- Updated README with config-driven documentation
- Fixed npm start: node app.js instead of node .
Closes #1
Copilot
AI
changed the title
[WIP] [#1] Refactor config-driven rules engine
ci: fix make not found in node alpine containers
Mar 18, 2026
23accde to
ee1ce47
Compare
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.
The CI workflow failed on
node:*-alpineimages becausemakeis not included in the alpine base image, causing allmaketargets to fail immediately after checkout.apk add --no-cache makestep before anymakeinvocations in.github/workflows/node.js.yml💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.