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

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

Build:
Build:
LAST BUILD BRANCH: fix/blockedby-link
DEFAULT BRANCH: master
Repo Added 11 Mar 2020 05:43PM UTC
Files 24
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

LAST BUILD ON BRANCH fix/lua-fix
branch: fix/lua-fix
CHANGE BRANCH
x
Reset
  • fix/lua-fix
  • feat-upgrade-nodejs
  • feat/lock-improvements
  • feat/update-queue-max-paload
  • fix/blockedby-link
  • master
  • yk634-patch-1

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

Relevant lines Covered
Build:
Build:
1194 RELEVANT LINES 1067 COVERED LINES
27.17 HITS PER LINE
Source Files on fix/lua-fix
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#248 fix/lua-fix 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 stri... Pull #82 26 Dec 2025 05:57AM UTC ppaul screwdriver
87.34
See All Builds (252)
  • Repo on GitHub
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