Skip to content

Conversation

@crisecheverria
Copy link
Owner

Improving go badges and cleaning console logs

@github-actions
Copy link

Backend Test Coverage Report

Coverage after merging feature/improve-badges into main will be
23.98%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/config
   index.ts60.56%66.67%100%42.11%103, 115, 49, 53, 58–60, 60, 60, 63, 63, 63, 63–64, 68–70, 73, 73–74, 77, 83, 87, 90, 92–93, 93, 96
src/db
   index.ts0%0%0%0%1, 11, 11, 11, 14, 17, 19, 2, 22–23, 26–27, 30–31, 4–6, 8, 8, 8
src/middleware
   auth.ts57.14%20%100%63.64%34–35, 46, 46, 46–47, 52, 52–53, 61, 68–69
   errorHandler.ts0%0%0%0%10–11, 13, 13, 3
src/models
   Badge.ts100%100%100%100%
   Certificate.ts100%100%100%100%
   Challenge.ts81.25%0%100%85.71%101, 92, 94
   Concept.ts100%100%100%100%
   Submission.ts100%100%100%100%
   Tutorial.ts0%100%100%0%1, 36, 47, 54, 81–82, 84
   User.ts100%100%100%100%
   index.ts75%100%50%100%
src/routes
   aiAssistance.ts0%0%0%0%11–13, 16, 16, 16, 16, 16–17, 2, 21–22, 22–23, 27, 3, 36–37, 37, 4, 42, 45–46, 48, 48, 5, 54–55, 60, 66–67, 7, 71, 8
   auth.ts0%0%0%0%1, 107, 107, 107–108, 11, 114–115, 117, 119, 12, 134–135, 135–136, 14, 14, 140, 147, 15, 150, 152, 152–153, 162, 165, 165, 165, 165–167, 167, 167, 170, 170–172, 176, 179, 18, 190, 192–193, 193–194, 194, 196, 196, 2, 20, 204, 206, 206, 212–215, 217, 227–228, 232, 3, 35–36, 36–37, 4, 41, 48, 5, 51, 53, 53–54, 6, 63, 66, 66, 66, 66–68, 68, 68, 71, 71–73, 77, 8, 80, 92, 92, 92–93, 95–96, 96–97, 97, 99, 99
   certificates.ts0%0%0%0%1, 100, 102, 102, 109, 113–116, 119, 124, 124–125, 128, 13, 130–131, 133, 133, 139, 14–15, 18, 2, 20, 22–23, 25, 25, 3, 32, 36–39, 4, 41, 41–42, 46, 51, 51–52, 59, 6, 61, 61–62, 68, 68, 68, 71–73, 77, 77–78, 87, 9, 91, 94, 99
   challenges.ts49.34%43.55%27.27%53.21%101, 103, 103, 103, 103–104, 107, 107, 107, 107–108, 113, 113, 113, 113–114, 118–119, 119–120, 122, 122, 122–123, 126, 132, 135–136, 136–137, 146, 152–153, 156, 156–157, 161–163, 163–164, 173–175, 178, 178, 178, 178–179, 181–182, 184, 184, 184, 187, 191, 191–192, 197, 202, 202–203, 207–208, 211, 211–212, 222, 228–229, 231, 231, 263, 265, 268, 270, 270, 270, 270–271, 347–348, 354–356, 367–368, 374–375, 381–382, 385–386, 389–390, 392, 398–399, 399, 399–400, 405, 407, 407, 96–99
   dashboard.ts0%0%0%0%1, 100–102, 104, 104–106, 109–110, 113, 115, 117, 12, 124, 126–127, 132, 14–16, 16–17, 2, 22, 27, 3, 30–31, 34, 37, 37, 37–39, 4, 43, 45, 45, 48, 48, 53, 53, 53–54, 6, 61, 61–63, 67, 69, 71, 83, 87–88, 9, 90–91, 97
   health.ts0%100%0%0%1, 3, 5–6, 9
   leaderboard.ts0%0%0%0%1, 100, 11, 11, 11–12, 12, 12–14, 14, 14, 17–18, 18, 18, 18, 18, 2, 21–22, 25, 29, 3, 33–34, 37, 5, 75–76, 79, 8, 81, 9, 92–93, 95, 95
   learning.ts0%0%0%0%1, 107–108, 108, 108–110, 113, 120, 120, 125, 125, 127, 127, 127–129, 129–130, 136, 138–139, 144–146, 149, 151–152, 152–153, 157, 164–165, 173, 173–174, 178, 178–179, 181–182, 182–183, 189, 194–195, 199, 2, 24, 28, 28–29, 3, 31–32, 37, 37, 37, 4, 40, 43, 47–48, 5, 50, 52, 52, 52<

1 similar comment
@github-actions
Copy link

Backend Test Coverage Report

Coverage after merging feature/improve-badges into main will be
23.98%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/config
   index.ts60.56%66.67%100%42.11%103, 115, 49, 53, 58–60, 60, 60, 63, 63, 63, 63–64, 68–70, 73, 73–74, 77, 83, 87, 90, 92–93, 93, 96
src/db
   index.ts0%0%0%0%1, 11, 11, 11, 14, 17, 19, 2, 22–23, 26–27, 30–31, 4–6, 8, 8, 8
src/middleware
   auth.ts57.14%20%100%63.64%34–35, 46, 46, 46–47, 52, 52–53, 61, 68–69
   errorHandler.ts0%0%0%0%10–11, 13, 13, 3
src/models
   Badge.ts100%100%100%100%
   Certificate.ts100%100%100%100%
   Challenge.ts81.25%0%100%85.71%101, 92, 94
   Concept.ts100%100%100%100%
   Submission.ts100%100%100%100%
   Tutorial.ts0%100%100%0%1, 36, 47, 54, 81–82, 84
   User.ts100%100%100%100%
   index.ts75%100%50%100%
src/routes
   aiAssistance.ts0%0%0%0%11–13, 16, 16, 16, 16, 16–17, 2, 21–22, 22–23, 27, 3, 36–37, 37, 4, 42, 45–46, 48, 48, 5, 54–55, 60, 66–67, 7, 71, 8
   auth.ts0%0%0%0%1, 107, 107, 107–108, 11, 114–115, 117, 119, 12, 134–135, 135–136, 14, 14, 140, 147, 15, 150, 152, 152–153, 162, 165, 165, 165, 165–167, 167, 167, 170, 170–172, 176, 179, 18, 190, 192–193, 193–194, 194, 196, 196, 2, 20, 204, 206, 206, 212–215, 217, 227–228, 232, 3, 35–36, 36–37, 4, 41, 48, 5, 51, 53, 53–54, 6, 63, 66, 66, 66, 66–68, 68, 68, 71, 71–73, 77, 8, 80, 92, 92, 92–93, 95–96, 96–97, 97, 99, 99
   certificates.ts0%0%0%0%1, 100, 102, 102, 109, 113–116, 119, 124, 124–125, 128, 13, 130–131, 133, 133, 139, 14–15, 18, 2, 20, 22–23, 25, 25, 3, 32, 36–39, 4, 41, 41–42, 46, 51, 51–52, 59, 6, 61, 61–62, 68, 68, 68, 71–73, 77, 77–78, 87, 9, 91, 94, 99
   challenges.ts49.34%43.55%27.27%53.21%101, 103, 103, 103, 103–104, 107, 107, 107, 107–108, 113, 113, 113, 113–114, 118–119, 119–120, 122, 122, 122–123, 126, 132, 135–136, 136–137, 146, 152–153, 156, 156–157, 161–163, 163–164, 173–175, 178, 178, 178, 178–179, 181–182, 184, 184, 184, 187, 191, 191–192, 197, 202, 202–203, 207–208, 211, 211–212, 222, 228–229, 231, 231, 263, 265, 268, 270, 270, 270, 270–271, 347–348, 354–356, 367–368, 374–375, 381–382, 385–386, 389–390, 392, 398–399, 399, 399–400, 405, 407, 407, 96–99
   dashboard.ts0%0%0%0%1, 100–102, 104, 104–106, 109–110, 113, 115, 117, 12, 124, 126–127, 132, 14–16, 16–17, 2, 22, 27, 3, 30–31, 34, 37, 37, 37–39, 4, 43, 45, 45, 48, 48, 53, 53, 53–54, 6, 61, 61–63, 67, 69, 71, 83, 87–88, 9, 90–91, 97
   health.ts0%100%0%0%1, 3, 5–6, 9
   leaderboard.ts0%0%0%0%1, 100, 11, 11, 11–12, 12, 12–14, 14, 14, 17–18, 18, 18, 18, 18, 2, 21–22, 25, 29, 3, 33–34, 37, 5, 75–76, 79, 8, 81, 9, 92–93, 95, 95
   learning.ts0%0%0%0%1, 107–108, 108, 108–110, 113, 120, 120, 125, 125, 127, 127, 127–129, 129–130, 136, 138–139, 144–146, 149, 151–152, 152–153, 157, 164–165, 173, 173–174, 178, 178–179, 181–182, 182–183, 189, 194–195, 199, 2, 24, 28, 28–29, 3, 31–32, 37, 37, 37, 4, 40, 43, 47–48, 5, 50, 52, 52, 52<

@crisecheverria crisecheverria merged commit c7ff763 into main Dec 20, 2025
6 checks passed
@crisecheverria crisecheverria deleted the feature/improve-badges branch December 20, 2025 17:57
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.

2 participants