The Bug Lifecycle: From Discovery to Retest and Closure
A bug is not finished when someone reports it.
It is not even finished when a developer says:
Fixed
A defect should move through a clear process from discovery to verified resolution.
That process is the bug lifecycle.
A practical lifecycle may look like:
Discovery → Reporting → Triage → Assignment → Fix → Retest → Regression → Closure
Real projects may also use statuses such as:
- Needs Information;
- Duplicate;
- Cannot Reproduce;
- Reopened;
- Deferred;
- Won’t Fix.
The purpose is not to create as many statuses as possible.
The purpose is to make the current state of every defect clear.
At any point, the team should be able to answer:
What is wrong, who owns the next action, what happens next, and has the fix actually been verified?
For the fundamentals of defect documentation, see How to Write a Good Bug Report.
Bug Lifecycle vs Bug Status
These concepts are related but different.
The bug lifecycle is the complete journey of a defect.
A bug status describes its current position in that journey.
For example:
Lifecycle stage: Verification
Current status: Ready for Retest
Different teams may use different status names.
That is fine.
Consistency matters more than terminology.
A useful rule is:
Every status should represent a meaningful change in responsibility or next action.
If two statuses mean almost the same thing operationally, the workflow may be unnecessarily complicated.
Why a Defined Bug Lifecycle Matters
Without a clear workflow, defects easily become stuck.
For example:
- QA reports a problem.
- Development implements a fix.
- The ticket is marked Fixed.
- Nobody retests it.
- The issue silently reaches release.
Or:
- QA retests a defect.
- The problem still occurs.
- The ticket is reopened.
- Nobody knows who owns the next action.
A defined bug lifecycle creates traceability from:
discovery → verified resolution
and helps prevent defects from disappearing between QA, development, and release management.
1. Discover and Confirm the Bug
The lifecycle begins when someone identifies behavior that may be incorrect.
A bug may be discovered during:
- functional testing;
- exploratory testing;
- regression testing;
- browser testing;
- mobile testing;
- production monitoring.
It may also be reported by:
- users;
- clients;
- support teams.
Before creating a defect, QA should normally confirm that the behavior is reasonably reproducible and genuinely conflicts with the expected product behavior.
A Surprising Result Is Not Automatically a Bug
Sometimes the product behaves differently from what the tester expected because:
- requirements changed;
- behavior is intentional;
- scope was misunderstood.
Before reporting, ask:
- What should happen?
- What actually happens?
- Is the expected behavior documented?
- Does the issue reproduce?
The goal is not to prove the tester is right.
The goal is to establish a clear difference between:
expected behavior
and:
actual behavior
For deeper guidance, see Expected Result vs Actual Result.
Reproduce the Issue
Try to find the shortest reliable sequence that causes the defect.
Example:
- Log in as Manager.
- Open Contacts.
- Filter by Status.
- Sort by Last Communication.
- Clear the filter.
If the problem consistently appears at Step 5, that information is highly valuable.
For a dedicated framework, see How to Write Clear Steps to Reproduce a Bug.
Record the Environment
A bug may depend on:
- browser;
- device;
- environment;
- account;
- user role;
- test data.
Example:
Environment: Staging
Browser: Safari
Device: iPhone
Role: Customer
Without this context, development may be unable to reproduce the issue.
Record Reproduction Frequency When Useful
Not every bug happens consistently.
Examples:
5/5 attempts
or:
2/10 attempts
Intermittent defects can still be important, especially if they affect:
- payment;
- authentication;
- customer data;
- critical workflows.
Do not dismiss a bug simply because it does not reproduce every time.
2. Report and Review the Defect
Once the problem is sufficiently confirmed, create the defect record.
A useful bug report normally contains:
- concise title;
- environment;
- preconditions;
- reproduction steps;
- expected result;
- actual result;
- supporting evidence.
For a reusable structure, see Bug Report Template.
Write a Specific Title
Weak:
Filter problem
Better:
Contact Status filter returns no results after clearing search
The title should make the issue recognizable in a bug list without requiring the reader to open the full ticket.
Separate Expected and Actual Results
A good defect report clearly shows the difference between what should happen and what actually happens.
Example:
Expected Result:
The selected customer should be removed.
Actual Result:
The customer remains visible after Delete completes.
This reduces ambiguity during investigation and retesting.
Add Evidence Where It Helps
Useful evidence may include:
- screenshot;
- short video;
- console message;
- relevant logs.
Evidence should support the report.
It should not replace clear reproduction steps.
Initial Review
After reporting, the issue should be reviewed.
Typical questions include:
- Is the report understandable?
- Can the issue be reproduced?
- Is it actually a defect?
- Is it already reported?
The result may be:
- Confirmed;
- Needs Information;
- Duplicate;
- Cannot Reproduce.
Needs Information
Use this status when the next person cannot proceed without additional details.
Examples:
- missing environment;
- unclear steps;
- unknown account;
- missing test data.
Once the missing information is supplied, the issue should return to active review.
Duplicate
A duplicate means the same underlying problem is already being tracked.
Do not simply discard the second report.
It may contain useful additional evidence such as:
- another browser;
- another role;
- another reproduction path.
Link that information to the primary defect.
Cannot Reproduce
This means the problem could not currently be reproduced under the tested conditions.
It does not automatically mean:
The tester was wrong.
For intermittent defects, review:
- environment;
- test data;
- evidence;
- reproduction frequency.
3. Triage and Assign the Bug
Once confirmed, the defect needs a decision about impact, urgency, and ownership.
This is the triage stage.
The team may review:
- severity;
- priority;
- user impact;
- business impact;
- release impact;
- workaround.
For a deeper process, see Bug Triage Explained.
Severity and Priority
Severity describes:
How serious is the impact?
Priority describes:
How urgently should we address it?
A typical severity model may include:
- Critical;
- High;
- Medium;
- Low.
For the full distinction, see Bug Severity vs Priority.
The bug lifecycle only needs this distinction at a high level.
The purpose here is to determine what happens next.
Decide Whether the Bug Blocks Release
Some defects may prevent deployment.
Examples include:
- checkout unavailable;
- login broken;
- serious permission failure;
- data corruption;
- critical payment failure.
For a structured release-blocker framework, see Which Bugs Should Block a Website Release?.
Assign Clear Ownership
Every actionable defect should have a clear next owner.
Depending on the issue, this may be:
- frontend developer;
- backend developer;
- DevOps;
- designer;
- content editor.
Ownership answers:
Who is responsible for moving this defect forward now?
Ownership should not be treated as blame.
It is a workflow mechanism.
4. Investigate and Fix the Root Cause
The visible symptom may not reveal the underlying problem.
Example:
Symptom: Checkout total is wrong.
Possible causes:
- tax calculation;
- shipping rule;
- coupon logic;
- stale data.
Development should investigate the real cause before applying a correction.
Avoid Fixing Only the Visible Symptom
A superficial change may make one scenario appear correct while leaving the underlying problem intact.
For example:
Changing a displayed total without correcting the calculation logic may hide the issue rather than resolve it.
The objective is:
fix the cause, not only the symptom
Implement the Fix
The defect may move through statuses such as:
In Progress → Fixed
or:
In Progress → Ready for Retest
These statuses mean:
A correction has been implemented.
They do not mean:
QA has verified that the defect is resolved.
This is one of the most important distinctions in the bug lifecycle.
Fixed vs Closed
Keep this explicit:
Fixed: Development believes the correction has been implemented.
Closed: QA or another responsible verifier confirms that the defect is resolved.
Therefore:
Fixed does not automatically mean Closed.
Document Relevant Fix Information
Depending on the project, useful information may include:
- implementation note;
- build/version;
- related change;
- affected components.
This can help QA determine the appropriate regression scope.
Verify the Correct Build
Before retesting, confirm that QA is testing the build containing the fix.
Check:
- correct version deployed;
- environment available;
- required data present.
Testing the wrong build can waste significant time and create incorrect conclusions.
For broader environment planning, see How to Choose a Website Test Environment.
5. Retest the Original Defect
Retesting means executing the original defect scenario again after the correction is available.
Where practical, use the same:
- steps;
- environment;
- test data;
- user role;
- relevant state.
The main question is:
Does the original failure still occur?
Example Retest
Original defect:
Viewer can edit another user’s record.
Retest:
- Log in as Viewer.
- Open the same protected record.
- Attempt to edit it.
- Attempt to save.
Expected after the fix:
The action is denied according to the permission rules.
Reproduce the Real Failure Condition
Do not simplify the retest so much that it no longer represents the original issue.
If the defect occurred only after:
Filter → Sort → Clear
then testing only:
Open Page → Clear
does not verify the actual defect.
Retest the real failure path.
What Happens if Retest Fails?
If the original defect still occurs, the issue should normally be reopened.
Typical status:
Reopened
Record:
- retest environment;
- current behavior;
- updated evidence.
Then ownership returns to development or investigation.
Reopen the Existing Defect When Appropriate
If the original problem remains unresolved, reopening the existing ticket usually preserves better history than creating a new issue.
Create a new defect when the fix introduced a different problem.
Same Bug vs New Regression
Example:
Original issue:
Viewer can edit records.
After the fix:
Viewer can no longer edit records.
But now:
Manager cannot edit records either.
The original defect may be fixed.
The Manager issue is a new regression.
Track the two appropriately.
6. Run Targeted Regression and Decide Closure
A successful retest proves:
the original scenario now works
It does not prove:
nothing else was broken by the fix
That is why targeted regression matters.
Retest Related Functionality
Ask:
What else could this change affect?
Search Fix
Consider:
- search;
- filters;
- sorting;
- pagination.
Checkout Fix
Consider:
- pricing;
- coupons;
- payment;
- order creation.
Authentication Fix
Consider:
- login;
- logout;
- protected pages;
- password reset.
Regression scope should be based on change impact and risk.
Retest and Regression Are Different
This distinction is important.
Retest:
Verify that the original defect has been fixed.
Regression:
Verify that related functionality still works after the change.
A defect should not necessarily be closed after only one successful retest if the change has meaningful regression risk.
Close the Bug Only After Verification
A bug should normally be closed only when the agreed verification criteria have been met.
Typically:
- original issue no longer reproduces;
- required regression passes;
- correct build is verified.
The status may then change to:
- Closed;
- Verified.
Deferred Bugs
Some valid defects may intentionally be postponed.
Typical reasons:
- low impact;
- limited release risk;
- upcoming redesign;
- higher-priority work.
A deferred bug should remain visible.
Deferred does not mean resolved.
Won’t Fix
Sometimes a team decides that a valid issue will not be corrected.
Possible reasons include:
- negligible impact;
- obsolete functionality;
- cost disproportionate to risk.
Document the reason.
A Won’t Fix decision should be intentional and traceable.
Known Issues at Release
Some defects may remain open when a release is approved.
These become known issues.
A known issue should normally include:
- impact;
- severity;
- workaround;
- owner;
- future plan.
For deeper guidance, see How to Handle Known Issues Before Launch.
Do Not Close Bugs to Improve Release Statistics
A bug tracker should reflect reality.
Do not move defects to Closed simply because a deadline is approaching.
If an issue is accepted for release, mark it appropriately rather than pretending it was resolved.
Open defects directly influence release readiness.
For the broader framework, see What Is Release Readiness?.
7. Feed Important Bugs Back Into QA
The bug lifecycle should not end with administrative closure.
Important defects should improve future QA.
If a defect was:
- severe;
- recurring;
- found in production;
consider converting it into a permanent regression scenario.
Example
Production defect:
Coupon disappears after customer logs in during checkout.
Future regression scenario:
Verify coupon persists or revalidates correctly after login.
This helps prevent recurrence.
Production Regressions
A previously resolved problem may return because of:
- later code changes;
- configuration changes;
- dependency updates.
That is a regression.
Important production regressions should feed back into the QA process.
For the broader workflow, see How to Track Regression Issues After Launch.
A Simple Bug Status Workflow
Many website QA teams do not need a complicated state machine.
A practical workflow may be:
| Status | Meaning |
|---|---|
| New | Defect reported |
| Confirmed | Issue validated |
| In Progress | Fix being developed |
| Ready for Retest | Fix available for QA |
| Reopened | Retest failed |
| Closed | Fix verified |
| Duplicate | Already tracked |
| Deferred | Valid but postponed |
This is often enough.
Avoid Overcomplicated Status Workflows
A sequence such as:
New → Reviewed → Accepted → Approved → Assigned → Development Ready → Development Started
may add administration without improving clarity.
Every status should answer at least one of these:
- Who owns the issue now?
- What is the next action?
- Has the state materially changed?
If not, the status may be unnecessary.
Bug Lifecycle Example
Imagine QA discovers that checkout fails when a valid coupon is applied.
Discovery
QA finds the issue during checkout testing.
Reporting
A defect is created with:
- clear title;
- reproduction steps;
- expected result;
- actual result;
- evidence.
Triage
The issue is classified as High because checkout is affected.
Assignment
The backend developer receives ownership.
Investigation and Fix
The coupon calculation logic is corrected.
The ticket moves to:
Ready for Retest
Retest
QA repeats the original coupon checkout scenario.
The original failure no longer occurs.
Regression
QA also tests:
- checkout without a coupon;
- another valid coupon;
- final order total;
- order creation.
Closure
All required checks pass.
The defect is marked:
Closed
This is the bug lifecycle in practice.
Bug Lifecycle Checklist
Discover and Confirm
- Unexpected behavior identified.
- Expected behavior checked.
- Reproduction attempted.
- Environment recorded.
- Frequency recorded where useful.
Report
- Clear title added.
- Steps documented.
- Expected result recorded.
- Actual result recorded.
- Evidence attached where useful.
Triage
- Defect confirmed.
- Duplicate checked.
- Severity assessed.
- Priority assessed.
- Release impact reviewed.
- Owner assigned.
Investigate and Fix
- Root cause investigated.
- Correction implemented.
- Relevant fix information recorded.
- Correct build deployed.
Retest
- Original defect scenario repeated.
- Correct role/data/environment used.
- Failed fix reopened if necessary.
Regression
- Related functionality identified.
- Change impact considered.
- Required regression completed.
Closure
- Original issue verified.
- Regression passed.
- Status reflects reality.
- Deferred / Won’t Fix / Known Issue documented correctly.
Learning
- Serious or recurring defects added to regression coverage where appropriate.
- Production escapes fed back into QA planning.
Common Bug Lifecycle Mistakes
Closing the Bug When Development Says “Fixed”
Development completion is not QA verification.
Retest first.
Reporting Without Clear Reproduction Steps
A vague ticket slows investigation.
Make the path to the failure clear.
Confusing Severity and Priority
Severity describes impact.
Priority describes urgency.
They are related, but not identical.
Skipping Regression After the Fix
The original problem may disappear while another workflow breaks.
Retest related functionality.
Creating a New Ticket Every Time Retest Fails
If the same defect remains unresolved, reopening the original issue normally provides cleaner history.
Leaving Defects Without Owners
Every actionable bug should have a clear next owner.
Otherwise defects easily become stuck.
Forgetting Deferred Issues
Deferred does not mean fixed.
Keep postponed defects visible.
Treating Closure as the End of Learning
Important defects should influence:
- regression coverage;
- test cases;
- future release planning.
A Practical Bug Lifecycle Workflow
For most website QA teams, this process is enough:
Step 1 — Discover
Confirm that the behavior may be incorrect.
Step 2 — Reproduce
Identify the shortest reliable failure path.
Step 3 — Report
Create a clear defect record with evidence.
Step 4 — Triage and Assign
Assess impact, urgency, release risk, and ownership.
Step 5 — Investigate and Fix
Correct the underlying cause.
Step 6 — Retest
Repeat the original failure scenario.
Step 7 — Run Targeted Regression
Verify related functionality.
Step 8 — Reopen or Close
Base the final status on actual verification.
Build the Bug Lifecycle Into the Wider QA Process
Defect management should connect directly to the overall QA workflow:
Testing → Bug Discovery → Reporting → Triage → Fix → Retest → Regression → Release Readiness
This keeps defect handling connected to product quality and release risk instead of treating tickets as isolated administrative records.
For the broader end-to-end workflow, see The Website Quality Assurance Process.
For teams that need structured defect tracking, retesting, regression coverage, evidence and release-readiness workflows, Qualavo QA Professional provides a broader website QA framework.
Final Thoughts
The bug lifecycle provides a clear path from:
discovery
to:
verified resolution
A useful process should ensure that every defect is:
confirmed → reported → triaged → assigned → fixed → retested → regression-checked → closed
The most important distinction is:
Fixed does not automatically mean Closed.
Development can implement a correction.
QA still needs to verify that:
- the original problem no longer occurs;
- related functionality still works;
- the correct build was tested.
And when an important defect is found, the lifecycle should create one more output:
better future test coverage
That is what turns defect tracking from ticket administration into a genuine QA feedback loop.
