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

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

Build:
Build:
LAST BUILD BRANCH: fix/blockedby-link
DEFAULT BRANCH: master
Ran 26 Dec 2025 05:57AM UTC
Files 24
Run time 0s
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.1

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 %.

1067 of 1194 relevant lines covered (89.36%)

27.17 hits per line

Source Files on job #248.1
  • 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 Build 248
  • 337a23a9 on github
  • Prev Job for on fix/lua-fix (##247.1)
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

© 2026 Coveralls, Inc