Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] Completed and canceled progress states are not treated as terminal

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

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start at progress_type_request and inspect how TestStatus.progress_step() and the stored TestStatus values are compared. Run the regression tests mentioned in the issue, and consider the work done when updates after both completed and canceled are rejected while the progress trail remains unchanged.

Written by the indexing model from the issue text.

Description

Description

progress_type_request does not correctly reject progress updates after a test has reached completed or canceled.

TestStatus.progress_step() returns an integer progress index, but the returned integer was compared directly against TestStatus.completed and TestStatus.canceled enum symbols.

As a result, terminal states could be incorrectly treated as active progress states.

Expected behavior

If the latest progress status is completed or canceled, a subsequent progress update should be rejected and the progress trail should remain unchanged.

Actual behavior

The terminal-state guard was bypassed, allowing additional progress entries after completed or canceled.

Reproduction

Regression tests demonstrate that:

  • completed -> completed was accepted
  • canceled -> completed was accepted

Fix

Compare the stored TestStatus enum directly against the terminal enum values, while retaining progress_step() for numeric progress ordering.

Tests

Regression tests cover both completed and canceled terminal states.

Dominant language
Python
Stars
30
Forks
85
Avg merge
5d 10h
Merged PRs (30d)
21

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 CCExtractor/sample-platform

All issues in CCExtractor/sample-platform

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.