Jobs menu: a failed job's reason can end with two full stops

Open Beginner friendly
#638 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
php
Domain
frontend

Research direction

The jobs menu's failure text is built by a wrapper that appends a closing full stop to the reason. Find that wrapper by searching the PHP sources for the 'Failed ·' label, and check whether it skips appending when the reason already ends with a stop. Add a test case where the reason ends with '.' and confirm the output has a single stop. Done when the menu shows one full stop for such reasons and existing tests still pass.

Written by the indexing model from the issue text.

Description

type/bug when/later

In the jobs menu, a failed job's reason ends with two full stops when the reason is a sentence of its own: "Failed · The directory index can't be used: This Teme has no key to check the directory's signature with, so it reads nothing from the directory.."

Expected: one full stop. The wrapper that adds the closing stop leaves out a reason that already ends with one.

🤖 Generated with Claude Code

Dominant language
PHP
Stars
1
Forks
1
Avg merge
1h 40m
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from temecms/teme

All issues in temecms/teme

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.