• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

screwdriver-cd / queue-service / #248
87%
master: 87%

Build:
Build:
LAST BUILD BRANCH: fix/blockedby-link
DEFAULT BRANCH: master
Ran 26 Dec 2025 05:57AM UTC
Jobs 1
Files 24
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Dec 2025 05:47AM UTC coverage: 87.344% (-0.03%) from 87.376%
#248

Pull #82

screwdriver

ppaul
fix: remove blockedBy.toString() and require('cjson')

This commit fixes two critical bugs causing build validation and cleanup failures:

1. ValidationError: "value" must be an object
   - blockedBy was being converted from array [142288] to string "142288"
   - This caused executor-base validation to fail for both start and stop jobs
   - Fixed by removing .toString() calls in scheduler.js lines 496 and 766

2. Lua script error: nonexistent global variable 'require'
   - stopBuild.lua had require("cjson") which is not needed
   - cjson is available globally in Redis Lua environment
   - Removed the require statement

Impact:
- Start jobs now pass validation and execute properly
- Stop jobs now run and clean up Redis keys (running_job_*, buildConfigs)
- Builds show correct "Blocked by" messages with build IDs
- No more stuck builds blocking other builds indefinitely

Tests: All 470 tests passing
Pull Request #82: fix: remove blockedBy.toString() and require('cjson')

334 of 410 branches covered (81.46%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

1067 of 1194 relevant lines covered (89.36%)

27.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #248.1 26 Dec 2025 05:57AM UTC 24
87.34
Source Files on build #248
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #82
  • PR Base - master (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc