testing
17 posts tagged testing, newest first.
Posts
One unquoted attribute skips the whole tag: PathConverter and B64 in pymdown-extensions
Raw HTML such as <img src="a.png" width=100> kept its src as written in pymdown-extensions, a Python library of Markdown extensions: PathConverter did not rewrite it…
Config media type used as artifact type: FilterArtifactType in oras-go
A copy that used opts.FilterArtifactType(regexp.MustCompile("sbom")) skipped a referrer whose artifactType was application/vnd.example.sbom.v1, and "empty" copied it.
Strings and numbers rejected as sources: TypedArray.from in goja
Uint8Array.from("123") threw in goja, a JavaScript engine in Go: TypeError: Value is not an object: 123. Node returns Uint8Array(3) [ 1, 2, 3 ].
A method that never read exec: RegExp.prototype.test in goja
RegExp.prototype.test in goja, a JavaScript engine in Go, never read exec. A plain object with exec threw, and a replaced exec was ignored.
A nil exec was called: generic RegExp replace and split in goja
An empty object as this made RegExp.prototype[Symbol.replace] panic with a nil pointer in goja, a JavaScript engine in Go.
An undefined exec threw: RegExp match, search and global replace in goja
Setting exec to undefined on a regexp made match, search and a global replace throw in goja, a JavaScript engine in Go.
A length nothing checked: Array.from on array-likes in goja
In goja, a JavaScript engine in Go, Array.from({length: 232}) did not return in any practical time. Node throws RangeError: Invalid array length.
Run start reported as run end: LastRunStartedAt in gocron
With WithIntervalFromCompletion(), Job.LastRunStartedAt() returned the time the last run ended. gocron is a job scheduler for Go.
A one-value filter failed: VALUE_IN on list requests in Flyte
A Flyte ListActions request with a VALUE_IN filter and one value failed with an internal error. With two values it returned rows. Flyte orchestrates ML pipelines.
Terminated pods that hold their names: PodSet replacement in AIBrix
A PodSet in AIBrix, a control plane for serving LLMs on Kubernetes, never replaced a pod that ended Failed or Succeeded.
An unset strategy that nothing defaulted: RayClusterFleet in AIBrix
A RayClusterFleet in AIBrix, a control plane for serving LLMs on Kubernetes, never created a RayClusterReplicaSet when its strategy was unset.
Counter rules keyed with a suffix the parser drops: runtime metrics in AIBrix
The runtime sidecar in AIBrix, a control plane for serving LLMs on Kubernetes, copies engine metrics to aibrix: names.
An environment override kept the source it was meant to replace in OME
OME could replace an environment variable's text and leave its old source attached.
A refactor dropped the webhook and controller: BenchmarkJob restored in OME
On OME's main branch, creating a BenchmarkJob failed at admission. If it had passed, nothing would have reconciled it.
The duplicate guard that never recorded a path
I found a set under // avoid duplicates that nothing wrote to.
CreateUser echoed the request, not the record: a stored-limits fix in AIBrix
Calling POST /CreateUser again for an existing user returned the limits from the request, not the ones in the store.
Reading git output with -z, and the test that could not run on Windows
oh-my-openagent prints a [FILE CHANGES SUMMARY] block after a task finishes. It lists modified, created and deleted files with their line counts.