Cover the untested mail server and report surfaces
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend, testing-qa
Research direction
Start with the TLS report views in services/email/mta/views.py and their tls_report_list.html and tls_report_detail.html templates, then inspect the server entry points in services/email/msa/server.py, services/email/mta/server.py, and msa/management/commands/mta.py. Run the existing test suite to learn its conventions, then cover the listed task, model, parser, handler, and no-current-org branches. Done means tests reach the named production paths and pass.
Written by the indexing model from the issue text.
Description
Four untested areas run in production without a test that reaches them. They are one theme, so they are filed together, not as six separate issues.
Deferred findings from the getting started page work. testJoe reported four untested areas during the sweep, and builderJoe hit two of them again.
The findings are:
side quest: services/email/mta/views.py:135-171 TLS report list/detail views and their templates tls_report_list.html, tls_report_detail.html (0%). Outside the diff; untested in the mta selection. [services/email/mta]
side quest: services/email/msa/server.py:85-147 and services/email/mta/server.py:3-88 server entry points, plus msa/management/commands/mta.py. Outside the diff; untested. [services/email/msa, services/email/mta]
side quest: services/email/msa/tasks.py:264-265,344-358; services/email/mta/models.py:222-231,280,295,402; mta/parser.py:29,37-38; mta/handlers.py:114-129. Outside the diff; untested branches. [services/email/msa, services/email/mta]
side quest: services/email/dashboard/context_processors.py:8 no-current-org branch. Outside the diff; not covered by this selection, may be hit by public-page tests elsewhere. [services/email/dashboard]
- Repo: codingjoe/relay
- Work reference: branch
codingjoe-getting-started-page,git diff origin/main...HEAD, flagged by testJoe during the sweep of that pull request. - Why it is deferred: none of it is in that diff. The repo also states that the test suite is planned rather than complete, so these gaps are known backlog and not new regressions.
What to do: cover the TLS report views and the server entry points first. They run in production without a test that reaches them. The task and parser branches come next.
- Dominant language
- Python
- Stars
- 4
- Forks
- 0
- Avg merge
- 2h 40m
- Merged PRs (30d)
- 163
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codingjoe/relay
-
enhancement real sec
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
codingjoe/relay#410 · 1 comment ·
Maintainers usually reply within 1 day
-
bug side quest
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
bug side quest
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug side quest
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
side quest test
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
UKGovernmentBEIS/optstop#10 ·
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pollen-robotics/reachy_mini#1508 ·
Maintainers usually reply within 1 day
-
[BUG] `cloud-keys.env` values retain enclosing quotes causing 401 Unauthorized, and missing utf-8 encoding crashes on WindowsPossibly taken @divyanshu07-code claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
open-jarvis/OpenJarvis#1192 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sylvainmetayer/homelab#851 ·
Maintainers usually reply within 1 day