diff mbox series

runqueue: Fix pending_hash_index not including taskname

Message ID 20260821204901.48802-1-chris.laplante@agilent.com
State New
Headers show
Series runqueue: Fix pending_hash_index not including taskname | expand

Commit Message

chris.laplante@agilent.com Aug. 21, 2026, 8:49 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

The intention was probably not to use the literal string, "taskname"

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Richard Purdie Aug. 21, 2026, 9:29 p.m. UTC | #1
On Fri, 2026-08-21 at 16:49 -0400, Chris Laplante via
lists.openembedded.org wrote:
> From: Chris Laplante <chris.laplante@agilent.com>
> 
> The intention was probably not to use the literal string, "taskname"
> 
> Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
> ---
>  lib/bb/runqueue.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
> index a4689e134..544081053 100644
> --- a/lib/bb/runqueue.py
> +++ b/lib/bb/runqueue.py
> @@ -84,7 +84,7 @@ def pending_hash_index(tid, rqdata):
>      (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
>      pn = rqdata.dataCaches[mc].pkg_fn[taskfn]
>      h = rqdata.runtaskentries[tid].unihash
> -    return pn + ":" + "taskname" + h
> +    return pn + ":" + taskname + h
>  
>  class RunQueueStats:
>      """

Yes, that looks like a fun bug. Was that breaking multiconfig?

Cheers,

Richard
diff mbox series

Patch

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index a4689e134..544081053 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -84,7 +84,7 @@  def pending_hash_index(tid, rqdata):
     (mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
     pn = rqdata.dataCaches[mc].pkg_fn[taskfn]
     h = rqdata.runtaskentries[tid].unihash
-    return pn + ":" + "taskname" + h
+    return pn + ":" + taskname + h
 
 class RunQueueStats:
     """