Skip to content

[WIP] Fix backend live E2E test failure#657

Draft
Copilot wants to merge 2 commits intopreviewfrom
copilot/fix-backend-live-e2e-test
Draft

[WIP] Fix backend live E2E test failure#657
Copilot wants to merge 2 commits intopreviewfrom
copilot/fix-backend-live-e2e-test

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 18, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>[2026-04-18] Hourly Live Test Failed 🚨</issue_title>
<issue_description>## 🚨 Live E2E Test Failure Report

Workflow: official-e2e-action
Run ID: 24599002000
Run Number: 102
Triggered By: workflow_dispatch
Execution Time (UTC): 2026-04-18
Targets: Backend, Cv, Frontend


📋 Target Status Matrix

Target Status Duration Failed Assertions Failed Requests
Frontend ✅ success 45.70s 0 0
Backend ❌ failure 11.78s 1 0
CV ✅ success 3.84s 0 0

📊 Newman Result Highlights

Frontend

📊 Frontend Newman Test Results

Test Execution Summary

Metric Value
Collection arolariu.ro
Total Requests 36
Failed Requests 0 ✅
Success Rate 100.00%
Total Assertions 508
Failed Assertions 0 ✅
Assertion Success Rate 100.00%
Total Duration 45.70s

⏱️ Performance Metrics

Metric Value
Response Time (Min) 305ms
Response Time (Avg) 1230ms
Response Time (Max) 1768ms

Backend

📊 Backend Newman Test Results

Test Execution Summary

Metric Value
Collection api.arolariu.ro
Total Requests 45
Failed Requests 0 ✅
Success Rate 100.00%
Total Assertions 355
Failed Assertions 1
Assertion Success Rate 99.72%
Total Duration 11.78s

⏱️ Performance Metrics

Metric Value
Response Time (Min) 156ms
Response Time (Avg) 239ms
Response Time (Max) 839ms

CV

📊 Cv Newman Test Results

Test Execution Summary

Metric Value
Collection cv.arolariu.ro
Total Requests 11
Failed Requests 0 ✅
Success Rate 100.00%
Total Assertions 42
Failed Assertions 0 ✅
Assertion Success Rate 100.00%
Total Duration 3.84s

⏱️ Performance Metrics

Metric Value
Response Time (Min) 111ms
Response Time (Avg) 324ms
Response Time (Max) 1389ms

🔬 Failure Analysis

Frontend Breakdown

  • Client errors (4xx): 4
  • Server errors (5xx): 0
  • Timeouts: 0
  • Assertion failures: 0
  • Other: 0

Backend Breakdown

  • Client errors (4xx): 4
  • Server errors (5xx): 1
  • Timeouts: 0
  • Assertion failures: 0
  • Other: 0

CV Breakdown

  • Client errors (4xx): 1
  • Server errors (5xx): 0
  • Timeouts: 0
  • Assertion failures: 0
  • Other: 0

🏥 Backend Health Snapshot

{
  "status": "Healthy",
  "totalDuration": "00:00:01.4086758",
  "entries": {
    "mssql": {
      "data": {},
      "duration": "00:00:01.3886165",
      "status": "Healthy",
      "tags": [
        "db",
        "sql"
      ]
    },
    "blob-storage": {
      "data": {},
      "duration": "00:00:00.9405111",
      "status": "Healthy",
      "tags": [
        "storage"
      ]
    },
    "exp": {
      "data": {},
      "duration": "00:00:00.3916224",
      "status": "Healthy",
      "tags": [
        "config"
      ]
    }
  }
}

📝 Assertion Summaries

newman-backend-summary.md

Failed Assertions (backend)

  1. AssertionError Unknown assertion
    expected 500 to equal 404
    in "38 - Get Non-existent Invoice (404)"

newman-cv-summary.md

Failed Assertions (cv)

No failed assertions.

newman-frontend-summary.md

Failed Assertions (frontend)

No failed assertions.


📄 Log Tails

Frontend

┌─────────────────────────┬──────────────────────┬─────────────────────┐
│                         │             executed │              failed │
├─────────────────────────┼──────────────────────┼─────────────────────┤
│              iterations │                    1 │                   0 │
├─────────────────────────┼──────────────────────┼─────────────────────┤
│                requests │                   36 │                   0 │
├─────────────────────────┼──────────────────────┼─────────────────────┤
│            test-scripts │                   72 │                   0 │
├─────────────────────────┼──────────────────────┼─────────────────────┤
│      prerequest-scripts │                   36 │                   0 │
├─────────────────────────┼──────────────────────┼─────────────────────┤
│              assertions │                  508 │                   0 │
├─────────────────────────┴──────────────────────┴─────────────────────┤
│ total run duration: 45.7s                                            │
├──────────────────────────────────────────────────────────────────────┤
│ total data received: 6.6MB (approx)                                  │
├──────────────────────────────────────────────────────────────────────┤
│ average response time: 1229ms [min: 305ms, max: 1768ms, s.d.: 466ms] │
└──────────────────────────────────────────────────────────────────────┘

Backend

┌─────────────────────────┬─────────────────────┬────────────────────┐
│                         │            executed │             failed │
├─────────────────────────┼─────────────────────┼────────────────────┤
│              iterations │                   1 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│                requests │                  45 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│            test-scripts │                  65 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│      prerequest-scripts │                  45 │                  0 │
├─────────────────────────┼─────────────────────┼────────────────────┤
│              assertions │                 355 │                  1 │
├─────────────────────────┴─────────────────────┴────────────────────┤
│ total run duration: 11.7s                                          │
├────────────────────────────────────────────────────────────────────┤
│ total data received: 77.35kB (approx)                              │
├────────────────────────────────────────────────────────────────────┤
│ average response time: 239ms [min: 156ms, max: 839ms, s.d.: 108ms] │
└────────────────────────────────────────────────────────────────────┘

CV

┌─────────────────────────┬─────────────────────┬─────────────────────┐
│                         │            executed │              failed │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│              iterations │                   1 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│                requests │                  11 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│            test-scripts │                  20 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│      prerequest-scripts │                  11 │                   0 │
├─────────────────────────┼─────────────────────┼─────────────────────┤
│              assertions │                  42 │                   0 │
├─────────────────────────┴─────────────────────┴─────────────────────┤
│ total run duration: 3.8s                                            │
├─────────────────────────────────────────────────────────────────────┤
│ total data received: 278.86kB (approx)                              │
├─────────────────────────────────────────────────────────────────────┤
│ average response time: 323ms [min: 111ms, max: 1389ms, s.d.: 363ms] │
└─────────────────────────────────────────────────────────────────────┘

📦 Artifacts


🔍 Suggested Next Steps

  1. Prioritize targets in failure or unknown state from the status matrix.
  2. Validate backend health first; infrastructure failures can cascade into all targets.
  3. Compare failed assertions with historical flaky routes before escalating.
  4. Re-run the workflow with the same targets to confirm deterministic failure.
  5. Reproduce locally using node scripts/test-e2e.ts <target> and matching environment profile.
    </issue_description>

<agent_instructions>Understand why this failure happened and create a PR to address this.</agent_instructions>

Comments on the Issue (you are @copilot in this section)

Copilot AI linked an issue Apr 18, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/arolariu/arolariu.ro/sessions/0c696621-ae25-4c67-9d0d-b579183ea5ae

Co-authored-by: arolariu <56928070+arolariu@users.noreply.github.com>
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.

[2026-04-18] Hourly Live Test Failed 🚨

2 participants