instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
vespa-engine__vespa__36099
vespa-engine/vespa
36,099
defect
9237d23e48d977c9d30301cee3ce7eb1338c24e8
64cb5119229313eafe8b9152c408bea3613839c1
Add tenant as field in ClusterCapacity
Want this to be able to specify tenant when preprovisioning hosts
diff --git a/flags/src/main/java/com/yahoo/vespa/flags/custom/ClusterCapacity.java b/flags/src/main/java/com/yahoo/vespa/flags/custom/ClusterCapacity.java index 78100ccb9bb..566f4330d30 100644 --- a/flags/src/main/java/com/yahoo/vespa/flags/custom/ClusterCapacity.java +++ b/flags/src/main/java/com/yahoo/vespa/flags/cus...
1
1
1
[{"id": "G0", "claim": "ClusterCapacity should validate that either both cloudAccount and tenant are set, or neither.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vespa-engine__vespa__36147
vespa-engine/vespa
36,147
defect
142ff20dc533da678d120a585f7aeb52cea1749a
e3d1175e2a9cabaf5ae2c6cfed1c8b4dceafb80d
Add jdisc.http.latency metric
- Collect from MetricAggregatingRequestLog - Use one metric both for failure and success - Add a consistent set of dimensions including status code - Remove the non-standard named serverTotalSuccessfulResponseLatency and serverTotalFailedResponseLatency
diff --git a/container-disc/src/main/java/com/yahoo/container/jdisc/state/StateHandler.java b/container-disc/src/main/java/com/yahoo/container/jdisc/state/StateHandler.java index 9c340f86bd6..205c97c5e1b 100644 --- a/container-disc/src/main/java/com/yahoo/container/jdisc/state/StateHandler.java +++ b/container-disc/src...
3
3
0
[{"id": "G0", "claim": "Sampling the latency metric per request in MetricAggregatingRequestLog likely hurts throughput, so it should follow the same cached-context pattern as the existing response metrics.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
vespa-engine__vespa__36192
vespa-engine/vespa
36,192
defect
eb79b754f111d02a6bfb5be4b709b74cdb27f0c5
2206057a70e794c6c03744ace04f2cbcac47e641
Johsol/select parser same element short form
1. Adds feature parity test cases for sameElement that are not implemented yet. 2. Adds test case for sameElement shorthand. 3. Fixes sameElement shorthand when input to sameElement is not an operator. The parity bugs not addressed in this PR are disabled.
diff --git a/container-search/src/main/java/com/yahoo/search/query/SelectParser.java b/container-search/src/main/java/com/yahoo/search/query/SelectParser.java index 3cd92d73e2b..3a333bf96bf 100644 --- a/container-search/src/main/java/com/yahoo/search/query/SelectParser.java +++ b/container-search/src/main/java/com/yaho...
2
1
0
[{"id": "G0", "claim": "isOperator() allocates a new Set.of(...) on every invocation and duplicates the operator list separately from buildOperator()/constants, adding avoidable per-parse overhead and risking drift; make a single private static final Set<String> OPERATOR_KEYS and reuse it.", "category": "maintainabilit...
null
vespa-engine__vespa__36259
vespa-engine/vespa
36,259
defect
9cb8bf1713ffba4cbefbab47a790d57df74823d5
09a1a5ec719ee94a4fd2fad2b07bcf150fc7fb97
Moved sidecar images to config-provisioning to expose it for cloud image promotion
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner. In addition, adds utility method to get sidecar image reference by repository.
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/xml/ContainerModelBuilder.java b/config-model/src/main/java/com/yahoo/vespa/model/container/xml/ContainerModelBuilder.java index 5fcf2608ac6..d3e0c06d084 100644 --- a/config-model/src/main/java/com/yahoo/vespa/model/container/xml/ContainerModelBuil...
4
2
1
[{"id": "G0", "claim": "ContainerModelBuilder eagerly loads sidecar images in its constructor instead of only when Triton is used, so every instantiation pays the I/O cost and can fail if the resource is missing; consider lazy-loading SidecarImages.", "category": "design", "verdict": "supported", "priority": "P1", "sco...
null
vespa-engine__vespa__36287
vespa-engine/vespa
36,287
defect
bc6aa3c5f58bb32bf5d6ccae7741dc658e3851e6
ae8a4bc72e258628f5a1998decdfed7532cab06b
Add HostRegistryMaintainer
Find hosts in host registry that should have been removed. For now just logs any such hosts, so this manintainer should be a no-op
diff --git a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java b/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java index fcb9e77af7f..4a995a1392f 100644 --- a/configserver/src/main/java/com/yahoo/vespa/config/server/ApplicationRepository.java +++ b/con...
1
1
1
[{"id": "G0", "claim": "The staleness filter is trivially false: for any host h in a tenant's host registry, getApplicationIdForHostname(h) resolves across all tenants and returns non-null for that host, so the filter never selects anything and removeStaleHostRegistryEntries never finds stale entries.", "category": "co...
null
vespa-engine__vespa__36365
vespa-engine/vespa
36,365
defect
3d9c698d3e790cd871baa161ae0689abd76275e8
fa6a6691db38aa8a02ab0877c2d3395cf7647ea8
Add Elasticsearch to Vespa query translator
Translates ES query DSL to Vespa query items. Implements issue #16872. Supported query types: - match → WordItem - term → WordItem - range → RangeItem (gte/gt/lte/lt) - bool → AndItem/OrItem/NotItem (must/should/must_not) I confirm that this contribution is made under the terms of the license found in the ro...
diff --git a/container-search/src/main/java/com/yahoo/search/querytransform/ElasticsearchQueryTransformer.java b/container-search/src/main/java/com/yahoo/search/querytransform/ElasticsearchQueryTransformer.java new file mode 100644 index 00000000000..414de73b80d --- /dev/null +++ b/container-search/src/main/java/com/ya...
2
2
2
[{"id": "G0", "claim": "The added ElasticsearchQueryTransformerTest.java file still has no content, so the new transformer ships with no tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The search method swallows every exception from parsing/transl...
null
vespa-engine__vespa__36377
vespa-engine/vespa
36,377
defect
de605d94650f58ba48d794c599e3388c22831b5b
6828a842d9edea36d0a731382a5a027fa4491fe2
Handle empty query stems safely in query side stemming
Implements issue #33540. This PR handles empty-stem query terms in query-side stemming with a narrow scope. Changes: - Keep phrase and non-text operator behavior unchanged. - Safely drop empty-stem terms only in query-side AND/WeakAND contexts when at least one sibling term remains. - Do not allow the whole qu...
diff --git a/container-search/src/main/java/com/yahoo/prelude/querytransform/StemmingSearcher.java b/container-search/src/main/java/com/yahoo/prelude/querytransform/StemmingSearcher.java index d050a71732b..e9ef09048b7 100644 --- a/container-search/src/main/java/com/yahoo/prelude/querytransform/StemmingSearcher.java +++...
2
2
0
[{"id": "G0", "claim": "mayDropTerm should contain its drop conditions inline instead of delegating to a separate shouldDropTerm helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "maybeDropTerm should be simplified by passing item.getParent(...
null
vespa-engine__vespa__36389
vespa-engine/vespa
36,389
defect
e9d744b862a60f1636cde14b06cbfdc49f43db90
355b180d806fbec09b52c9cdf91c02823ab87175
Remove restart for internal redeployment when local LLM config is unchanged
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner. Previous logic always triggered restart when local LLM component is present in previ...
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/RestartOnDeployForLocalLLMValidator.java b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/RestartOnDeployForLocalLLMValidator.java index fac7ca132b6..be8e15b867b 100644 --- a/config-model/src/main...
2
1
0
[{"id": "G0", "claim": "findClustersWithLocalLLMs() now calls findLocalLLMComponents(cluster) only to test emptiness, which builds a full component map for every container cluster on every deploy validation instead of using an anyMatch-based presence check that short-circuits.", "category": "performance", "verdict": "u...
null
vespa-engine__vespa__36391
vespa-engine/vespa
36,391
defect
8b8aeb3a5d3d78688519bd23969c6952e895768b
b59e824873c2f164becff410a9fc6f8f18ed441d
Add max-document-size element under <document-api> in services.xml
## Summary - New optional `<max-document-size>` element under `<document-api>` in `services.xml`, with the same syntax as the content cluster's `max-document-size` (e.g. `100Mb`). Parsed via `BinaryUnit`, range-checked to 1–2048 MiB. - When set, overrides `maxDocumentOperationRequestSizeMib` which was previously only...
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/application/validation/MaxDocumentSizeValidator.java b/config-model/src/main/java/com/yahoo/vespa/model/application/validation/MaxDocumentSizeValidator.java new file mode 100644 index 00000000000..83fa270b1d5 --- /dev/null +++ b/config-model/src/main/java/co...
4
2
1
[{"id": "G0", "claim": "The test suite always includes <document-api><max-document-size>, so a test is requested that omits it while setting a smaller content-cluster <tuning><max-document-size> and asserts no new warning is produced (or that warning-on-default is asserted explicitly).", "category": "testing", "verdict...
null
vespa-engine__vespa__36564
vespa-engine/vespa
36,564
defect
13a0a704e2efc6018f5ccfd444878bbdced8113c
8d02d9f95e18dda89208f20196e503635d604aeb
Add `fields` to select queries
Let users specify fields to return, like: ```json { "select": { "fields": ["id", "title"], "where": true } } ``` - AI has been used to write some of the code in this PR. 🤖
diff --git a/container-search/abi-spec.json b/container-search/abi-spec.json index 3d25c473a45..1db9dee6611 100644 --- a/container-search/abi-spec.json +++ b/container-search/abi-spec.json @@ -5921,6 +5921,8 @@ "public void setWhereString(java.lang.String)", "public java.lang.String getWhereString()", ...
3
2
2
[{"id": "G0", "claim": "Select.setFieldsString only adds parsed fields to the existing presentation summary-field set without clearing it, so updating select.fields (or setting it to empty/\"[]\") will not remove previously configured summary fields, leaving stale fields to be returned; the comment asks to overwrite th...
null
vespa-engine__vespa__36580
vespa-engine/vespa
36,580
defect
dcf4899fcb2b288684c7d51b2d101148660f12fc
9a96389b8ce6e14aedf8fc07a87393fae8992508
feat: add <prepend> config to OpenAI embedder
## Summary - Adds `<prepend>` element to the OpenAI embedder for task-specific prefixes (`<query>`/`<document>`), matching existing support in HuggingFace and GGUF embedders. - Extracts shared utilities to remove duplicated prepend logic: - `TextPrepender` (model-integration) — runtime prefix application, used by Hu...
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/component/EmbedderPrependConfig.java b/config-model/src/main/java/com/yahoo/vespa/model/container/component/EmbedderPrependConfig.java new file mode 100644 index 00000000000..0ff987df6c4 --- /dev/null +++ b/config-model/src/main/java/com/yahoo/vesp...
1
1
1
[{"id": "G0", "claim": "The new prepend support in OpenAIEmbedder isn't covered by unit tests; OpenAIEmbedderTest should be extended to configure prependQuery/prependDocument and assert the recorded request body contains the correctly prefixed inputs for QUERY vs DOCUMENT contexts, including the case where only prepend...
null
vfarcic__dot-agent-deck__31
vfarcic/dot-agent-deck
31
defect
bc6bbff33a5b5caa0ed9a1a296b810610923e9b3
ab9059eda79bf7602f05d694fdfdb2fd950d696b
feat(prd-30): add OpenCode agent support
## Summary - Add OpenCode as the first non-Claude agent monitored by the dashboard, with full event lifecycle support - Implement `--agent opencode` CLI flag on `hook` and `hooks install/uninstall` subcommands - Create JS plugin installer that sets up automatic event forwarding from OpenCode to the dashboard ## Relate...
diff --git a/README.md b/README.md index 391de7fbb..c86b8d163 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A terminal dashboard for monitoring and controlling multiple AI coding agent ses - **Keyboard-driven interface** — vim-style navigation with single-key actions - **Auto-installed hooks** — one comman...
3
3
2
[{"id": "G0", "claim": "Use execFileSync instead of execSync in the Node.js plugin template to avoid shell interpolation, which breaks on paths with spaces or special characters and risks injection if path handling changes.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
vfarcic__dot-agent-deck__33
vfarcic/dot-agent-deck
33
defect
781c2aa1da88402f12e05db11506a101885ed3e1
d2b06983f6232c4c01e2d76d55bcbf07a74d02e0
feat: add directory picker filtering
## Description - add a `/`-triggered filter mode with wrap-around directory navigation and better Esc semantics - clear filter state whenever users enter or exit directories and render an inline filter input row with contextual footer text - update the README shortcut table and archive PRD #25 now that the feature is c...
diff --git a/README.md b/README.md index c86b8d163..651d1a4d7 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,9 @@ dot-agent-deck hooks install --agent opencode # OpenCode # 4. Launch the dashboard dot-agent-deck + +# 5. See all the shortcuts +? ``` ## Installation @@ -161,7 +164,11 @@ Cards also display:...
5
5
2
[{"id": "G0", "claim": "The README's `?` line sits inside a bash code block, so copy/paste users would run `?` in a shell instead of learning it is an in-app keypress; the suggested wording is `# 5. Once the dashboard is open, press ? to see all the shortcuts`.", "category": "documentation", "verdict": "supported", "pr...
null
vfarcic__dot-agent-deck__36
vfarcic/dot-agent-deck
36
defect
6259378bd9a967a0148f5f49229984888a79e4ad
ad726de3e00ff5eef8ed9dcaeea3e7761cf2a9c3
feat(prd-18): permission prompt control from dashboard
## Description Adds the ability to respond to agent permission prompts (e.g., "Run bash command? yes/no") directly from the dashboard without switching panes. When an agent requests permission, the session card displays the tool name and details with a highlighted border, and users press `y` to allow or `n` to deny. ...
diff --git a/changelog.d/18.feature.md b/changelog.d/18.feature.md new file mode 100644 index 000000000..95ce2b360 --- /dev/null +++ b/changelog.d/18.feature.md @@ -0,0 +1,7 @@ +## Permission Prompt Control from Dashboard + +Respond to agent permission prompts directly from the dashboard without switching panes. Previo...
6
4
1
[{"id": "G0", "claim": "Responder map entries are never removed when the 600s timeout fires or the channel drops, so a long-running daemon accumulates stale entries.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The JSON permission response should ...
null
vfarcic__dot-ai-controller__14
vfarcic/dot-ai-controller
14
defect
17142dfe0a34c1823ddf03f2a7b745e36e9614f2
0f709dd67e2357e51173505b56916067ae6e28c9
feat: Add owner reference resolution for Job/CronJob rate limiting
## Summary - Implements owner reference resolution for rate limiting to fix alert spam from CronJob pods - For Pods owned by Jobs/CronJobs, the rate limit key now uses the ultimate owner name instead of the pod name - Ensures all pods from the same CronJob share a single rate limit bucket ## Related Issues Closes #13 ...
diff --git a/internal/controller/remediationpolicy_controller.go b/internal/controller/remediationpolicy_controller.go index cbebae7..1205167 100644 --- a/internal/controller/remediationpolicy_controller.go +++ b/internal/controller/remediationpolicy_controller.go @@ -30,6 +30,7 @@ import ( "sync" "time" + batchv...
1
1
1
[{"id": "G0", "claim": "The controller lacks +kubebuilder:rbac permissions for Jobs and CronJobs even though resolveOwnerForRateLimiting fetches them with r.Get(), which will cause permission denied errors at runtime.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vfarcic__dot-ai-controller__3
vfarcic/dot-ai-controller
3
defect
1e867c221f6df14fbadfd62ce179a109e0232b33
097199453b0d68814dc0fd5f7eeb71afe155bd85
Add Slack Block Kit Support to Eliminate Command Truncation
## Summary - Migrated Slack notifications from legacy attachments to modern Block Kit format - Eliminated 200-character command truncation - full kubectl commands now displayed in code blocks - Added colored vertical bars using hex color codes for status indication ## Key Changes ### Problem Solved Slack notificatio...
diff --git a/IMPLEMENTATION_COMPLETE.md b/IMPLEMENTATION_COMPLETE.md new file mode 100644 index 0000000..2b59dad --- /dev/null +++ b/IMPLEMENTATION_COMPLETE.md @@ -0,0 +1,249 @@ +# ✅ Slack Block Kit Implementation - COMPLETE + +## Status: READY FOR DEPLOYMENT + +All implementation and testing complete. The controller i...
11
11
3
[{"id": "G0", "claim": "Fenced code blocks in IMPLEMENTATION_COMPLETE.md and PR_DESCRIPTION.md lack language identifiers, which breaks syntax highlighting and violates markdown best practices; add language identifiers.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
vfarcic__dot-ai-controller__33
vfarcic/dot-ai-controller
33
defect
d4e7592a54a6e7ff3106a22a8ffad592f83c659a
70ea5ceada8911ee85fa03757253ae10effa5124
fix(resourcesync): use _cluster namespace for cluster-scoped resources and populate lastError
## Summary - Fix cluster-scoped resources (Nodes, ClusterRoles, etc.) sending empty namespace to MCP by using `_cluster` as the namespace - Fix `lastError` field not being populated in ResourceSyncConfig status when debounce buffer sync fails - Add error tracking to debounce buffer with `recordError`/`clearError` meth...
diff --git a/internal/controller/resourcesync_controller.go b/internal/controller/resourcesync_controller.go index 5d4a017..f59a8e1 100644 --- a/internal/controller/resourcesync_controller.go +++ b/internal/controller/resourcesync_controller.go @@ -58,8 +58,8 @@ const ( // ResourceData contains the data extracted from...
2
2
1
[{"id": "G0", "claim": "updateSyncErrorCount and updateStatus both fetch a fresh copy and update the status independently, so if they run concurrently during rapid reconcile cycles one update could overwrite the other due to optimistic concurrency; consolidate the status updates or add retry-on-conflict handling.", "ca...
null
vfarcic__dot-ai-controller__47
vfarcic/dot-ai-controller
47
defect
09cf1ac7f2593ad30438f31288ebfc5561f68c8c
b3c6ddd24ced757fd6ab1c8d923eddd97a367815
feat: add Phase status field to GitKnowledgeSource
## Summary - Adds `Phase` field (`Syncing`, `Synced`, `Error`) to GitKnowledgeSource status, visible in `kubectl get gks` output - Persists `Phase = "Syncing"` immediately when reconciliation starts, before the actual clone/ingest, so users get instant feedback - Sets `Phase = "Error"` on all error paths (auth, clone, ...
diff --git a/api/v1alpha1/gitknowledgesource_types.go b/api/v1alpha1/gitknowledgesource_types.go index 17b6494..420f77c 100644 --- a/api/v1alpha1/gitknowledgesource_types.go +++ b/api/v1alpha1/gitknowledgesource_types.go @@ -92,6 +92,10 @@ type GitKnowledgeSourceStatus struct { // +optional Active bool `json:"activ...
4
3
1
[{"id": "G0", "claim": "The Phase doc comment lists \"Pending\" as a valid phase value, but the controller never sets Pending; remove it from the doc comment (and the matching CRD YAML description) or add logic that sets it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
vfarcic__dot-ai-controller__51
vfarcic/dot-ai-controller
51
defect
39b6a1b80232b6291011922bbd69c42fe33e9a4c
d298e409fd02151d8189487f3cf677a32c3ecffd
feat: occurrence threshold filter for RemediationPolicy
## Summary Adds `minOccurrences` and `occurrenceWindowSeconds` fields to `RemediationPolicy` so transient single-occurrence failures can be filtered out before triggering remediation. This closes a gap where the *first* matching event always fires an MCP call (and notifications), even for self-healing blips like probe...
diff --git a/api/v1alpha1/remediationpolicy_types.go b/api/v1alpha1/remediationpolicy_types.go index 76092a9..d22d0ba 100644 --- a/api/v1alpha1/remediationpolicy_types.go +++ b/api/v1alpha1/remediationpolicy_types.go @@ -46,6 +46,24 @@ type EventSelector struct { // +kubebuilder:validation:Enum=low;medium;high // +...
6
6
6
[{"id": "G0", "claim": "The selector-level MinOccurrences and OccurrenceWindowSeconds fields are plain ints, so the controller cannot distinguish unset from an explicit 0 and the resolver treats zero as inherit-from-policy, contradicting the field documentation claiming these fields override the policy defaults; make t...
null
vgmstream__vgmstream__170
vgmstream/vgmstream
170
defect
e12e87fc78aa5632d4ece9cdc8143dc0fd3220c5
d85bca24aef02664054763a7765e6ee6f5a882e0
Makefiles, etc
- Add HCA key - (dev) Update Makefiles, docs, etc
diff --git a/Makefile b/Makefile index 0f8388367..cb81a3a00 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,55 @@ -.PHONY: buildfullrelease buildrelease mingw_test mingw_winamp mingw_xmplay sourceball mingwbin +############################### +# vgmstream makefile +############################### -buildfullrelease: c...
1
1
1
[{"id": "G0", "claim": "In the libatrac9 dlltool command added by the pull request, the first `-d` switch should be a capital `-D` (it takes the .dll, not the .def).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vgrazi__JavaConcurrentAnimatedReboot__15
vgrazi/JavaConcurrentAnimatedReboot
15
defect
1cc86fbff54c3a17ef4d739df11d95c424c434c0
51d0f3c3cc004a75e1c306f28fc24db8ee69577c
Fix Maven build
The Maven build was slightly odd & failing OOTB on Java 21 - I think it wasn't picking up the compiler plugin properly. Also, IntelliJ has Junit 4 on the build path by default, so some old spurious JUnit 4 imports were OK in an IDE build, but failed in a Maven build.
diff --git a/pom.xml b/pom.xml index 7c0f39a..bc46ffb 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,13 @@ <version>0.0.1-SNAPSHOT</version> <name>java-concurrent-animated-reboot</name> <description>java-concurrent-animated-reboot</description> + <properties> + <project.build.sourceEncoding>UT...
2
2
0
[{"id": "G0", "claim": "The maven-compiler-plugin version added by this PR should be bumped from 3.8.0 to the latest 3.13.0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The junit.version property added by this PR should be the latest 5.11.3 i...
null
viaduct-ai__kustomize-sops__211
viaduct-ai/kustomize-sops
211
defect
9895763a2a03a281140492c174da6154c633e3e4
28a295dc562a6ca32d28e724e7c5aec165b69b4e
feat: added binaryFiles option
I ran into the issue that I cannot encrypt a binary file and import that as file secret. With this patch it is possible. Generated secrets use data instead of stringdata. Using the base64 encoded data attributes allow the use of encrypted binary files to be used. This is a followup PR to https://github.com/via...
diff --git a/ksops.go b/ksops.go index af54ece..067d9dd 100644 --- a/ksops.go +++ b/ksops.go @@ -10,6 +10,7 @@ package main import ( "bytes" + "encoding/base64" "fmt" "io/ioutil" "os" @@ -29,14 +30,16 @@ type kubernetesSecret struct { Kind string `json:"kind" yaml:"kind"` Metadata type...
2
2
0
[{"id": "G0", "claim": "Add a legacy (Legacy From Binary File) test case alongside the new KRM binary-file test case in ksops_test.go.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a README section about the binaryFiles functionality, placed above ...
null
vibrantlabsai__ragas__2077
vibrantlabsai/ragas
2,077
defect
40eafca1cbc9a8a20a161666c28091df8b03df9c
301d9c7fbdca0a9c4fb03a7d573d42ac6def5e25
Feature: improve relationship builders for better async and reduced memory utilization
- CosineSimilarityBuilder now uses a sharded/chunked similarity calculation to significantly reduce memory requirements - CosineSimilarityBuilder and JaccardSimilarityBuilder now leverage generate_execution_plan to support async iteration over tasks (for potential future multithreading or improved concurrency) - Adde...
diff --git a/docs/howtos/applications/singlehop_testset_gen.md b/docs/howtos/applications/singlehop_testset_gen.md index 2358a950f7..2b77a83b75 100644 --- a/docs/howtos/applications/singlehop_testset_gen.md +++ b/docs/howtos/applications/singlehop_testset_gen.md @@ -211,70 +211,70 @@ Output <td>Wut do I do if my...
4
3
3
[{"id": "G0", "claim": "The type check CI failed on this pull request; please run `make type` locally to verify the issue.", "category": "correctness", "verdict": "opposed", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "The extra `block_size` parameter changes `_find_similar_embedding_pairs`'s method si...
null
vibrantlabsai__ragas__2191
vibrantlabsai/ragas
2,191
defect
da7c854c0310e821bbe1598a9b0f3d03d94c36e6
7ef106771681e8d81bd1205442c6170610ad2cb4
feat: Refactor LLM structure and add InstructorLLM
1. Migrates LLM class That's it. No cascading mess.
diff --git a/ragas/src/ragas/experimental/__init__.py b/ragas/src/ragas/experimental/__init__.py index 59ee618978..4e164ac2a6 100644 --- a/ragas/src/ragas/experimental/__init__.py +++ b/ragas/src/ragas/experimental/__init__.py @@ -12,7 +12,6 @@ __version__ = "unknown" from .dataset import Dataset -from .llm...
1
1
0
[{"id": "G0", "claim": "The TypeVar `T` imported and exported from ragas.llms should be given a more explicit name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vibrantlabsai__ragas__2219
vibrantlabsai/ragas
2,219
defect
1e7dcb84f5b15078f1baf526fd05834b394f37d8
361f271c35bbb1c70b7694c111cf7b357df9073b
Move Utils / Exceptions module to main package and update imports
Summary Moved Utils / Exceptions from experimental to main ragas package Updated import statements throughout the codebase to reflect new location Maintained backward compatibility for existing users
diff --git a/src/ragas/exceptions.py b/src/ragas/exceptions.py index 75688760a5..7b65f3e17e 100644 --- a/src/ragas/exceptions.py +++ b/src/ragas/exceptions.py @@ -49,3 +49,76 @@ class UploadException(RagasException): def __init__(self, status_code: int, message: str): self.status_code = status_code ...
3
3
0
[{"id": "G0", "claim": "The test_async_to_sync_return_types test should also check that the returned dict is equal to the expected value, not only that it is a dict.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The string and uuid imports inside creat...
null
vibrantlabsai__ragas__2221
vibrantlabsai/ragas
2,221
defect
1e7dcb84f5b15078f1baf526fd05834b394f37d8
6a8db09e8e3b5aec69c82d4f963255ec6e7567b5
Feature/chrf score
# CHRF Score Metric Using sacrebleu ## Issue Link / Problem Description This PR introduces a new `ChrfScore` metric based on `sacrebleu.corpus_chrf` for evaluating the similarity between a generated response and a reference. CHRF is better suited for morphologically rich languages and provides a character-level F-...
diff --git a/docs/concepts/metrics/available_metrics/traditional.md b/docs/concepts/metrics/available_metrics/traditional.md index 00dd53d15c..9f0a67ad6e 100644 --- a/docs/concepts/metrics/available_metrics/traditional.md +++ b/docs/concepts/metrics/available_metrics/traditional.md @@ -125,3 +125,29 @@ Output ``` 1.0...
4
4
3
[{"id": "G0", "claim": "CHRF should operate on the entire text as character n-grams rather than splitting reference and response into sentences at \". \".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `language` field is not used anywhere and s...
null
vibrantlabsai__ragas__2294
vibrantlabsai/ragas
2,294
defect
7fad8036b8ee21a5ea3410624e903b8a3e52f1f2
82e832cef35aeacb4f595c46e886b7f6caab500c
Fix/asyncio
## Issue Link / Problem Description <!-- Link to related issue or describe the problem this PR solves --> - Fixes #1819 ## Changes Made <!-- Describe what you changed and why --> - Added `aevaluate()` function - Added `allow_nest_asyncio` parameter in `evaluate()` function - Added tests - Added docs - Updat...
diff --git a/docs/getstarted/evals.md b/docs/getstarted/evals.md index c29c03bece..3edb5af53d 100644 --- a/docs/getstarted/evals.md +++ b/docs/getstarted/evals.md @@ -141,6 +141,20 @@ results = evaluate(eval_dataset, metrics=[metric]) results ``` +!!! tip "Async Usage" + For production async applications, use `a...
1
1
0
[{"id": "G0", "claim": "The aevaluate() reference and async usage content should be listed separately (on its own page) rather than alongside evaluate() in docs/references/evaluate.md.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vibrantlabsai__ragas__2320
vibrantlabsai/ragas
2,320
defect
45fc465679ea41f31ab621415eb954ecb073c212
f0e56a95d3cc13354c1912df2fc822f3ea80d54d
feat: Add save/load functionality and improved repr for LLM-based metrics
## Summary This PR adds persistence capabilities and better string representations for LLM-based metrics, making them easier to save, share, and debug. ## Changes ### 1. Save/Load Functionality - Added `save()` and `load()` methods to `SimpleLLMMetric` and its subclasses (`DiscreteMetric`, `NumericMetric`, `RankingM...
diff --git a/.claude/commands/create-pr.md b/.claude/commands/create-pr.md new file mode 100644 index 0000000000..0e4ce18d8c --- /dev/null +++ b/.claude/commands/create-pr.md @@ -0,0 +1,30 @@ +<!-- +WHITELIST_AFTER_APPROVAL: +- Bash(git push:*) +- Bash(gh pr create:*) +--> + +Please create a pull request with the chang...
2
2
2
[{"id": "G0", "claim": "DiscreteMetric.load can be improved to validate against cross-type loading by checking the saved metric_type against cls.__name__ before deserializing, raising a clear ValueError when they differ, per the suggested block.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
vibrantlabsai__ragas__2354
vibrantlabsai/ragas
2,354
defect
8b190e16b49b2e3f4d31af70426536fb59beec6f
36e3e1ee3aebe803e041608bba2b90a34f2d7737
feat: add bypass_n option to LangchainLLMWrapper for n-completion control
When using some openai-compatible thinking models at that time, it was found that centain errors would occur. 2025-10-10 11:22:45,625 - ragas.executor - ERROR - Exception raised in Job[3]: BadRequestError(Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'Reasoning model does not support n > 1, log...
diff --git a/src/ragas/llms/base.py b/src/ragas/llms/base.py index 8e39cb582e..e3f5a1f109 100644 --- a/src/ragas/llms/base.py +++ b/src/ragas/llms/base.py @@ -149,6 +149,7 @@ def __init__( is_finished_parser: t.Optional[t.Callable[[LLMResult], bool]] = None, cache: t.Optional[CacheInterface] = None, ...
3
3
2
[{"id": "G0", "claim": "The added condition is syntactically invalid (`&&` alongside `and`), so the module fails to parse; use `if is_multiple_completion_supported(self.langchain_llm) and not self.bypass_n:`.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
vibrantlabsai__ragas__2374
vibrantlabsai/ragas
2,374
defect
f31c365e9dac4bd7ed445bbedd541428227c7901
f740388efb0cde183e6dd70b33b5db5696e512fc
feat: add quickstart cmd with templates to run
## Changes Made <!-- Describe what you changed and why --> - new cli command for quickstart templates - supported templates: rag_eval, agent_evals, benchmark_llm, prompt_evals and workflow_eval | Template | Name | Description | |---|---|---| | rag_eval | RAG Evaluation | Evaluate a RAG system with custom metric...
diff --git a/README.md b/README.md index 37226e2a99..e13b5bdc42 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,28 @@ pip install git+https://github.com/explodinggradients/ragas ## :fire: Quickstart +### Clone a Complete Example Project + +The fastest way to get started is to use the `ragas quickstart` command...
2
2
0
[{"id": "G0", "claim": "The quickstart command requires the ragas-examples package to be installed; the reviewer suggests it would be better to pull the templates from GitHub instead, avoiding that install.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
vibrantlabsai__ragas__2389
vibrantlabsai/ragas
2,389
defect
58f20a6aeb44274a58c5353b07c14a153aea396a
c7987dd475a6b1d656c12ff55eaf2d7b4b9e8729
feat: add metadata fields for synthetic data traceability
## Issue Link / Problem Description - Fixes #2385 - Testset generator not preserving persona and scenario metadata - Improves synthetic data generation traceability by adding metadata fields to track query generation parameters - Currently there's no way to trace which persona, style, and length settings were used f...
diff --git a/src/ragas/dataset_schema.py b/src/ragas/dataset_schema.py index f6651e92e1..47d4754932 100644 --- a/src/ragas/dataset_schema.py +++ b/src/ragas/dataset_schema.py @@ -75,6 +75,12 @@ class SingleTurnSample(BaseSample): The reference answer for the query. rubric : Optional[Dict[str, str]] ...
2
2
1
[{"id": "G0", "claim": "Tests should be added to verify the new metadata fields (persona_name, query_style, query_length) the PR introduces.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider making similar metadata changes for MultiHop as well.", ...
null
vibrantlabsai__ragas__2526
vibrantlabsai/ragas
2,526
defect
2dd64aa9a40cc813b11a7dc758f460c5a5e425b0
dd76ec26e7c942f8b2cbd132820f46ad43e699bc
feat: add generate_with_chunks for pre-chunked documents
Add support for users who want to use their own chunking strategy instead of relying on Ragas's internal HeadlineSplitter. Changes: - Add default_transforms_for_prechunked() without splitter - Add generate_with_chunks() method accepting Documents or strings - Add unit tests for the new functionality ## Issue L...
diff --git a/src/ragas/testset/synthesizers/generate.py b/src/ragas/testset/synthesizers/generate.py index 8846c3dce5..eedffec627 100644 --- a/src/ragas/testset/synthesizers/generate.py +++ b/src/ragas/testset/synthesizers/generate.py @@ -24,7 +24,12 @@ from ragas.testset.synthesizers import default_query_distribution...
5
5
2
[{"id": "G0", "claim": "The pull request should add documentation about generate_with_chunks under docs/howtos/.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "generate_with_chunks should filter out chunks with empty page_content, as the LlamaInde...
null
vibrantlabsai__ragas__2567
vibrantlabsai/ragas
2,567
defect
b928239d3c03956acb9e911be60f9ae81298a11e
09a134e4727d4b60aa35b07e6a130fe7d2ddb67c
perf: optimize average precision algorithm
## Issue Link / Problem Description <!-- Link to related issue or describe the problem this PR solves --> - Optimize `_calculate_average_precision` from O(n²) to O(n) using cumulative sum. ## Changes Made <!-- Describe what you changed and why --> - Replace nested `sum(verdict_list[:i+1])` with incremental `cums...
diff --git a/src/ragas/metrics/_context_precision.py b/src/ragas/metrics/_context_precision.py index ea68dc8205..782cd5eb29 100644 --- a/src/ragas/metrics/_context_precision.py +++ b/src/ragas/metrics/_context_precision.py @@ -115,14 +115,15 @@ def _calculate_average_precision( ) -> float: score = np.nan ...
1
1
1
[{"id": "G0", "claim": "Please also add tests for the average precision optimization before merging.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
vicharanashala__vibe__414
vicharanashala/vibe
414
defect
88fe7d87a98f15a2d772728acc1db0a21e2b975c
1a62ec05f10f645dfc263de977a9c5fa79307716
feat: added tests for invite controller
<!-- Description --> <!-- Mention any related issues here. Use the following sytax: Closes #ISSUE-NUMBER -->
diff --git a/backend/.gitignore b/backend/.gitignore index 72b1fe7e3..f1d62cbb0 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -69,6 +69,7 @@ node_modules/ .dataconnect # Sentry Config File -.sentryclirc - +. +tsconfig.tsbuildinfo +client/ build/ \ No newline at end of file diff --git a/backend/src/mo...
2
1
1
[{"id": "G0", "claim": "The invite controller tests should cover seven more scenarios: accepting an invite twice, accepting a cancelled invite, accepting as an unregistered (Firebase) user, returned accepted invites after signup, already-enrolled messaging, role in enrollment matching the invite's role, and multiple in...
null
vicinaehq__vicinae__1187
vicinaehq/vicinae
1,187
defect
f2576d7f129941210f5578be7d335a3553e6a4db
5ccbc5b8f72e2876678e6e6e465f890d5719ab94
Feat/revamp shortcut keys
- Refactor shortcut rendering so shortcut semantics live in C++ and the UI only renders structured display tokens. - Apply the new shortcut badge styling everywhere shortcut hints appear, including action panels, footer actions, keybind settings, and recorder previews. - Update alias badges to match the new visual la...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 263c171902..c058e25bd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,10 @@ include(GNUInstallDirs) include(Git) include(Utils) +if (BUILD_TESTS) + enable_testing() +endif() + # Viciane build configuration options option(BUILD_TESTS "Build test s...
3
3
0
[{"id": "G0", "claim": "Move the NAMED_SHORTCUT_MAP definition and the parseKeyboardShortcut implementation out of the header action-model.hpp into a cpp file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use a single vicinae-server-tests executable th...
null
vicinaehq__vicinae__922
vicinaehq/vicinae
922
defect
987512e90a6d53181cdc1b5d04aef3edd801ec28
0b10f7c42cd122398f88d306a04a34d4709ae1e6
feat(emoji): add skin tone configuration
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Selectable emoji skin-tone preference; copy/paste actions use the chosen tone. * Improved emoji detection and handling for complex sequences (ZWJ, flags, keycaps, variation selectors). * **Re...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2492ee5228..78ef1d800f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,9 @@ endif() if (BUILD_TESTS) set(SCRIPTCOMMAND_BUILD_TESTS ON CACHE BOOL "Build script-command tests" FORCE) endif() + add_subdirectory("./lib/script-command") +add_subdirectory(...
21
10
0
[{"id": "G0", "claim": "The `all` target in lib/emoji/Makefile should be declared `.PHONY` to prevent conflicts with a file named \"all\" in the directory.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `.PHONY` declaration under the `install` t...
null
vict0rsch__faenet__1
vict0rsch/faenet
1
defect
d9b1539df0b0f1119bde5fbbd538989342824039
633f4bad328b3e93bb93ea6b98f4e3b97264c0cf
Simplification
- Remove pooling - Remove graph_rewiring - Remove edge embed type - Remove some mp_type - Remove att heads - Remove positional embeddings - Keep the rest - Check that tests work ok
diff --git a/faenet/model.py b/faenet/model.py index 8d0fb74..b693435 100644 --- a/faenet/model.py +++ b/faenet/model.py @@ -5,18 +5,16 @@ from typing import Optional, Dict import torch -from e3nn.o3 import spherical_harmonics from torch import nn from torch.nn import Embedding, Linear -from torch_geometric.nn im...
1
1
0
[{"id": "G0", "claim": "The reviewer would rather not keep references to the sfarinet mp_type: it should either disappear or be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
vict0rsch__faenet__3
vict0rsch/faenet
3
defect
f49158a874f74949a34758a60fd6821ebb0fc6f4
1815d296041320f587ce066fff9c3a875490e0cd
Refactor
Improve package: - documentation - requirement of data.Data object - add a preprocessing function for FAENet, to make sure that it applies on any input type. - adapt pytests - reduce dependencies to data attributes
diff --git a/README.md b/README.md index 79c5721..a165c49 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ # FAENet: Frame Averaging Equivariant GNN for Materials modeling -This repository contains an implementation of the paper *FAENet: Frame Averaging Equivariant GNN for Materials modeling*, accepted a...
3
1
1
[{"id": "G0", "claim": "The `preprocess` function should be an argument of `model_forward` rather than an attribute of the model, because the current implementation forces the user to apply `preprocess` on every forward instead of giving them the choice at each forward.", "category": "design", "verdict": "supported", "...
null
video-dev__hls.js__4825
video-dev/hls.js
4,825
defect
8f1384e34d35c7dd2f11ad51bf6a94ae6d62a471
bb5b3e7d71df64c3bb6c9f7c9430fa737fad467c
Improve bandwidth estimation and adaptive switching
### This PR will... Improve bandwidth estimation and adaptive switching with smaller segments and higher TTFB ### Why is this Pull Request needed? Estimating time-to-first-byte exclusive from the time used to estimate bandwidth, allows us to more accurately predict the time it takes to load segments, especially th...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index d5bfe0dd049..8fbb92e14c3 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -219,6 +219,16 @@ export interface BufferFlushingData { type: SourceBufferName | null; } +// Warning: (a...
19
7
4
[{"id": "G0", "claim": "Averaging request latency (TTFB) into the bandwidth estimate will fail with #3988's preload hint fetching, where TTFB is not correlated with latency but with request start time relative to index updates and part duration; an approach that does not require this averaging is preferred.", "category...
null
video-dev__hls.js__4885
video-dev/hls.js
4,885
defect
c2d23096c32169d465adf4beed2ea866f9f966fa
b5a57d4a0a41cc160794e29446d8e40582c77fc5
Fix handling of negative composition timestamps
### This PR will... Fix handling of negative composition timestamps in MPEG-2 TS remuxing. Remove loading of "partial" segments. If MSE doesn't append the full segment duration this is likely an issue with the media. This avoids loop loading. Reloading of ejected media is still covered by the fragment tracker. #...
diff --git a/src/remux/mp4-generator.ts b/src/remux/mp4-generator.ts index 42819b615ca..b4b3ff953d0 100644 --- a/src/remux/mp4-generator.ts +++ b/src/remux/mp4-generator.ts @@ -1084,7 +1084,7 @@ class MP4 { offset += 8 + arraylen; array.set( [ - 0x00, // version 0 + 0x01, // version 1 to ...
1
1
1
[{"id": "G0", "claim": "Per CMAF, only the video track's trun boxes should use version 1 (signed composition offsets, to allow reordering I/P/B frames) — audio tracks should stay version 0 — and the offsets recorded should make the composition time match the first media sample decode time.", "category": "correctness", ...
null
video-dev__hls.js__6018
video-dev/hls.js
6,018
defect
195090684623e4dfc6f67ce5ea58cb7c638b978e
7338df34773b89e376914dbbc21e67b7dd071424
Adding AES-256 and AES-256-CTR encryption methods
### Description Adding AES-256 and AES-256-CTR encryption methods (full segment, as AES-128) ### Context Need stronger encryption scheme than AES-128 for CCTV scenario, in the short-mid term. See more context & informal addendum to rfc8216 at : https://mailarchive.ietf.org/arch/msg/hls-interest/RZBgatOvI4W0M0J...
diff --git a/src/controller/base-stream-controller.ts b/src/controller/base-stream-controller.ts index 8f02017d537..e28fb262419 100644 --- a/src/controller/base-stream-controller.ts +++ b/src/controller/base-stream-controller.ts @@ -7,6 +7,10 @@ import { ErrorDetails, ErrorTypes } from '../errors'; import { ChunkMetad...
2
1
1
[{"id": "G0", "claim": "The inner `if (this.method === 'AES-128' && !this.iv)` check in level-key.ts was redundant with the enclosing method check.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "softwareDecrypt is expected to return null when ...
null
video-dev__hls.js__6395
video-dev/hls.js
6,395
defect
e5ed8e1ce710dad6b50d3ab053d8f57a3ad902af
6ee73902f8ada60a2210be0dce6de2651d2d1069
Bugfix: use part details to construct CMCD data when available
### This PR will... Resolves #6388 ### Why is this Pull Request needed? CMCD data is improperly constructed for part requests. ### Are there any points in the code the reviewer needs to double check? ### Resolves issues: #6388 ### Checklist - [x] changes have been done against master branch, and PR ...
diff --git a/src/controller/cmcd-controller.ts b/src/controller/cmcd-controller.ts index 5b342a4477c..eef5d52e3c8 100644 --- a/src/controller/cmcd-controller.ts +++ b/src/controller/cmcd-controller.ts @@ -9,7 +9,7 @@ import type { CmcdEncodeOptions } from '@svta/common-media-library/cmcd/CmcdEnco import { uuid } from ...
3
3
1
[{"id": "G0", "claim": "getNextPart should match the part's own index and fragment sn in the list and then return partList[i + 1], because part.index resets to 0 on the next sn, so matching p.index === part.index + 1 finds the wrong part.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
video-dev__hls.js__6640
video-dev/hls.js
6,640
defect
714a83fae67c32706eca72f45912a4e268e2ec89
eb136b2226e40024e6855e22628266e4f7fec018
Parse multiple pssh from "encrypted" init data and fix Widevine key I…
### This PR will... Parse multiple pssh from "encrypted" init data and fix Widevine key ID extraction for playlist match ### Why is this Pull Request needed? With Widevine, HLS.js generates key sessions and license requests using key IDs from pssh data found in playlist KEY URIs or "encrypted" events - whichever i...
diff --git a/src/controller/eme-controller.ts b/src/controller/eme-controller.ts index ee3a358cc8b..42e38500e21 100644 --- a/src/controller/eme-controller.ts +++ b/src/controller/eme-controller.ts @@ -14,8 +14,6 @@ import { keySystemFormatToKeySystemDomain, KeySystemIds, keySystemIdToKeySystemDomain, -} from '...
5
3
1
[{"id": "G0", "claim": "Use find() instead of filter(...)[0] to pick the single Widevine pssh entry in eme-controller.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider signaling somehow when a pssh box was invalid and was therefore dropped ...
null
video-dev__hls.js__6946
video-dev/hls.js
6,946
defect
e346300dc54adc763184204b3b6135c8e860483c
929649aef2ce579c68b0690b7b89249087870cd4
fix: assumptions in multi-drm cases where only playready is available for playback.
### This PR will... Clean up some assumptions on key request logic in multi-drm scenarios, particularly around PlayReady usage. ### Why is this Pull Request needed? There were ### Are there any points in the code the reviewer needs to double check? Everything was localized to `EmeController::onMediaEncry...
diff --git a/src/controller/eme-controller.ts b/src/controller/eme-controller.ts index b181c513177..584730d678b 100644 --- a/src/controller/eme-controller.ts +++ b/src/controller/eme-controller.ts @@ -525,7 +525,7 @@ class EMEController extends Logger implements ComponentAPI { return this.attemptKeySystemAccess(ke...
3
2
1
[{"id": "G0", "claim": "The pssh handling presumptuously assumes the first (0th) pssh key system will work in multi-DRM scenarios and ties pssh handling to Widevine license-server availability alone, when the key system could be Widevine, PlayReady, or both.", "category": "correctness", "verdict": "supported", "priorit...
null
video-dev__hls.js__7030
video-dev/hls.js
7,030
defect
dbae5bf55b8ca35237bd829b4c3183b2cfc58e6b
967c86df3fe81807d561cac5e321306af5ca4f38
Interstitials live start, buffering, and manager fixes and docs update
### This PR will... - InterstitialsManager changes: - Add `interstitialPlayer` - Remove `bufferingPlayer`, `waitingIndex`, and `playout` properties - Replace `seekTo` method with `currentTime` setter - Update docs - Fix and cover expected playback state in interstitial event callbacks (where currentTime i...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index c58edc7b1a9..e750348b04e 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -2143,6 +2143,8 @@ export class HlsAssetPlayer { // (undocumented) resumeBuffering(): void; // (u...
4
3
2
[{"id": "G0", "claim": "The docs should not present `playout` as the suggested way to read timing in the examples; timing relative to the playing item would be easier to read from `playingAssetPlayer` (with `playout` documented but not proposed).", "category": "documentation", "verdict": "supported", "priority": "P1", ...
null
video-dev__hls.js__7049
video-dev/hls.js
7,049
defect
0cd55b85f1b90cf66cf61723a9304e794e978608
87bb536d8fa0afc75ecdae9496e4d0f906da379d
Reset asset lists after Interstitial has played
### This PR will... - Reset asset lists after Interstitial has played, unless the interstitial supplements primary. - Reset errors when seeking back over interstitial start - Fix gaps in interstital-controller `bufferedPos` and interstitial manager timeline `bufferedEnd` alignment with playback position - Fix seeki...
diff --git a/src/controller/interstitials-controller.ts b/src/controller/interstitials-controller.ts index d60ca681597..3608dc8b8b0 100644 --- a/src/controller/interstitials-controller.ts +++ b/src/controller/interstitials-controller.ts @@ -396,8 +396,9 @@ export default class InterstitialsController const pla...
2
2
1
[{"id": "G0", "claim": "The newly added block guarding on !isInterstitial(playingItem) && this.media && !this.media.seeking contains only a commented-out call, does nothing, and should be removed unless it is intentionally inert.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intro...
null
video-dev__hls.js__7050
video-dev/hls.js
7,050
defect
0cd55b85f1b90cf66cf61723a9304e794e978608
7d655d0f0a288cecea5528444bc436bb115aad90
fix: support check persistent-license to remove the mediakeysession
### This PR will... It will check if the session type is `persistent-license` and then make the decision to execute `mediakeySession.remove`. ### Why is this Pull Request needed? I mentioned the issue here: https://github.com/video-dev/hls.js/issues/6806 We have found the issue on the Samsung and Comc...
diff --git a/src/controller/eme-controller.ts b/src/controller/eme-controller.ts index 7a4e3b5d77b..df4e20f9941 100644 --- a/src/controller/eme-controller.ts +++ b/src/controller/eme-controller.ts @@ -12,6 +12,7 @@ import { Logger } from '../utils/logger'; import { getKeySystemsForConfig, getSupportedMediaKeySys...
3
2
1
[{"id": "G0", "claim": "The new isPersistentSessionType gate is too blunt: whether to remove a persistent media key session should depend on the reason or context (e.g. a config flag like disableMediaKeySessionRemove, a callback receiving the key session context and removal reason, or the EME message event type), since...
null
video-dev__hls.js__7211
video-dev/hls.js
7,211
defect
f3cd9c830f7684b6783444f163e6d0e6f5a12cc4
fda0197457ea05413a2b0ab1d5473017c3a16173
Feature/enable synchronizing live start position with program boundary feature 7209
### This PR will... - Add HLS Config => `startOnSegmentBoundary` to synchronize start time with main video segment start time - Ensure playback start is more stable by aligning start position with segment boundary(ies) to decrease likelihood of buffering soon after video starts ### Why is this Pull Request needed...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index cef61beaeb1..af5a26c94a4 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -1889,7 +1889,7 @@ export class FragmentTracker implements ComponentAPI { // (undocumented) fragBuffer...
5
5
3
[{"id": "G0", "claim": "Reverse the editor/prettier formatting-only changes (e.g. in logMuxedErr) that are not part of the contributed functional changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Drop the separate `seekedToStartPos` flag a...
null
video-dev__hls.js__7577
video-dev/hls.js
7,577
defect
f63d1b6234ccc01986eebeddb726de1799e6ed88
1d61810883ae79c3fd753ad0ffb37fc0f0de5436
fixed issue with seeking backward leading to stalling OR elevated buffering
### This PR will fix issue where buffering may be elevated after seeking backwards before buffered range. ### Why is this Pull Request needed? Because we want to mitigate buffering and stalling. ### Are there any points in the code the reviewer needs to double check? Ensure updates to the state backwardSeek in ...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index 6fbeb757a1e..4428a115a2d 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -384,6 +384,8 @@ export class BaseStreamController extends TaskLoop implements NetworkComponentAP // (undoc...
3
2
2
[{"id": "G0", "claim": "If backwardSeek state is added, it should stay true until seeking completes, because resetLoadingState can be called within onMediaSeeking (too soon) or not at all, leaving backwardSeek true long after playback resumed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
video-dev__hls.js__7683
video-dev/hls.js
7,683
defect
3a7a432c23bb73a50009c8ce5ffbfe33f0fbfa4a
1f6f2f85b74300fda314447f0d192c19ab3ccbda
fix: handle page restoration from bfcache in Safari
### This PR will... This PR fixes an issue where video playback fails to resume after navigating back and forth between pages in Safari. The problem manifests as buffer append errors when reinitializing the player after a page navigation. ### Why is this Pull Request needed? The issue affects users who navigate aw...
diff --git a/src/controller/buffer-controller.ts b/src/controller/buffer-controller.ts index 5dd02c127e8..834d7756bab 100755 --- a/src/controller/buffer-controller.ts +++ b/src/controller/buffer-controller.ts @@ -120,6 +120,10 @@ export default class BufferController extends Logger implements ComponentAPI { [null,...
2
2
1
[{"id": "G2", "claim": "The `.bind(this)` on `_handleSafariMediaSourceClose` is unnecessary because it is an arrow function property that is always invoked with the current class instance context.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "T...
null
video-dev__hls.js__7701
video-dev/hls.js
7,701
defect
da8574f9c29cbaa19c890640775d141fabec903f
6bee859fd401724450aeea2cc856c92e3aa5ea2f
Verify byte-range responses
### This PR will... Verify that responses from byte-range requests match the requested length. ### Why is this Pull Request needed? Servers can ignore range headers and return the entire resource or an incorrect range. In this case, the client should at least log a warning. (#6191) ### Are there any points in t...
diff --git a/src/controller/base-stream-controller.ts b/src/controller/base-stream-controller.ts index cb6c865ac74..bbd83e194d2 100644 --- a/src/controller/base-stream-controller.ts +++ b/src/controller/base-stream-controller.ts @@ -576,7 +576,7 @@ export default class BaseStreamController if ('payload' in d...
1
1
0
[{"id": "G0", "claim": "The range-string logging duplicated across part and frag in base-stream-controller.ts can be moved to the shared byteRange tuple, e.g. byteRange.join('-') ('' or 'start-end'), instead of separate byteRangeStartOffset/byteRangeEndOffset checks.", "category": "maintainability", "verdict": "support...
null
video-dev__hls.js__7702
video-dev/hls.js
7,702
defect
e1a424fe4fc490d342f286a4467065974dec7891
a82467eceb3f79d95102a288e31e73f1b742232d
Handle `MEDIA_SOURCE_REQUIRES_RESET` with adaptation and reset
### This PR will... - Handle `MEDIA_SOURCE_REQUIRES_RESET` with variant switch, switch to SDR, and reset media source error action and flags - Add media error event logging for timing comparison to SourceBuffer "error" and MediaSource "closed" and "ended" events (related #7116) ### Why is this Pull Request needed?...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index fc5ef6372f5..9da753ccddc 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -1246,6 +1246,8 @@ export const enum ErrorActionFlags { // (undocumented) None = 0, // (undocumen...
3
2
2
[{"id": "G0", "claim": "The added condition `level.audioCodec !== levelCandidate.audioCodec` may have adverse effects because audioCodec may be undefined in some cases, even though it fixes findVideoCodecAlternate.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
video-dev__hls.js__7752
video-dev/hls.js
7,752
defect
33e9e1aa52ba220f02cd1a69d7f7f62f361858c5
d0f9424491cb01e20b7045734d5226f54897a2b1
fix: correct computeInitPts rollover condition causing segment 0 loop
### This PR will... Fix a bug introduced in #7537 in `computeInitPts()` that caused segment 0 to be fetched in an infinite loop (Firefox). ### Why is this Pull Request needed? `computeInitPts()` was introduced in #7537 to handle PTS rollover in long-running live streams. When the 90kHz PTS counter exceeds 2^33...
diff --git a/src/remux/mp4-remuxer.ts b/src/remux/mp4-remuxer.ts index 465d94fdfc0..c373ee32fb2 100644 --- a/src/remux/mp4-remuxer.ts +++ b/src/remux/mp4-remuxer.ts @@ -39,6 +39,7 @@ const MAX_SILENT_FRAME_DURATION = 10 * 1000; // 10 seconds const AAC_SAMPLES_PER_FRAME = 1024; const MPEG_AUDIO_SAMPLE_PER_FRAME = 1152...
1
1
1
[{"id": "G0", "claim": "Replacing the rollover condition `timestamp < offset + timescale` with `timestamp < 0` may regress the original fix: when offset has exceeded ~26.5 hours and PTS has looped back, normalizePts does nothing and initPTS would never be rolled forward to apply correctly to earlier segments.", "catego...
null
video-dev__hls.js__7797
video-dev/hls.js
7,797
defect
b52527a68e28e113a9acea2154be709f568348b5
d059276326caa70d7a5cc17f72a3bcf4778983c6
Prevent loop-loading of segments with dropped appends
### This PR will... Prevent loop-loading of segments that do not change SourceBuffer buffered time ranges - Move `detectEvictedFragments` to `detectPartialFragments` (all work performed after async yield to sb "updated" instead of some sync and some async) - Move @alchemyyy's fix for `isEndListAppended` (#7754) to r...
diff --git a/api-extractor/report/hls.js.api.md b/api-extractor/report/hls.js.api.md index c8f4938daec..ed448c24bc6 100644 --- a/api-extractor/report/hls.js.api.md +++ b/api-extractor/report/hls.js.api.md @@ -1785,7 +1785,7 @@ export interface FragBufferedData { // (undocumented) frag: Fragment; // (undo...
3
2
0
[{"id": "G0", "claim": "The trackNames.some() callback never returns a value, so addAsGap(frag) is called once per qualifying track instead of stopping at the first, making redundant removeFragment/fragBuffered calls and obscuring the intent; the reviewer asks that the callback return true after addAsGap (or use forEac...
null
videojs__video.js__3472
videojs/video.js
3,472
defect
fc72fb90e7661594c0ea090e0e1e9838f8ec9486
bf016425a3e89101b2ca538320ee34a986663f4a
Refactoring chapters button handling and fixing several issues
## Description - Refactored `ChaptersButton`, broke logic into several methods. - Fixed the issues in #3447 about in some browsers tracks have an empty `cues` array instead of null. Now we always subscribe to `load` event, and force an `update`. Also, track changes are handled, so chapters track can now be changed at r...
diff --git a/src/css/components/menu/_menu.scss b/src/css/components/menu/_menu.scss index 543fa00de0..4d75864921 100644 --- a/src/css/components/menu/_menu.scss +++ b/src/css/components/menu/_menu.scss @@ -34,8 +34,8 @@ text-transform: lowercase; } -.vjs-menu li:focus, -.vjs-menu li:hover { +.vjs-menu li.vjs-men...
11
6
2
[{"id": "G0", "claim": "The chapters handling could be improved by implementing 'cueadded' and 'cueremoved' events so that ChaptersButton could listen to them and update automatically.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `.vjs-menu li....
null
videojs__video.js__4010
videojs/video.js
4,010
defect
5bde16a1bc907b387f1c589db3adc479f00d6bde
5ce11e0978675e3e666fcb746a34ee7270131c42
feat: getTech now accepts `TitleCase` or `camelCase`
## Description `getTech` now works with `TitleCase` and `camelCase` tech names Fixes #3986 ## Specific Changes proposed * update techOptions to look for `TitleCase`/`camelCase` options * remove all possible `toTitleCase` calls from player.js * remove deprecated usage of Tech as Component * add a unit test to v...
diff --git a/src/js/player.js b/src/js/player.js index 1da0876ea4..60ba81f4f3 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -806,14 +806,17 @@ class Player extends Component { this.unloadTech_(); } + const titleTechName = toTitleCase(techName); + const camelTechName = techName.charAt(0).to...
2
1
1
[{"id": "G0", "claim": "Confirm whether `assign` handles `undefined` values, since the newly added `assign(techOptions, this.options_[titleTechName])` call can pass undefined.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code should throw an err...
null
videojs__video.js__4027
videojs/video.js
4,027
defect
04f23c1a626d0a09ee54da080659277fe197bdb2
868fb56eee5f91aad6c234a7fe9f317af1544f5b
fix: localize aria-labels
Fix #2728
diff --git a/lang/en.json b/lang/en.json index 5d4fcd44d6..ec54f3a13e 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1,4 +1,6 @@ { + "audio player": "audio player", + "video player": "video player", "Play": "Play", "Pause": "Pause", "Replay": "Replay", @@ -9,6 +11,7 @@ "LIVE": "LIVE", "Loaded": "Loa...
3
3
0
[{"id": "G0", "claim": "The menu-button aria-labels could re-use the existing 'Captions'/'Chapters' localization keys instead of creating new near-duplicate '* Menu' items.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new lowercase entries added to...
null
videojs__video.js__4088
videojs/video.js
4,088
defect
7ab52d1a59f088a31dc7c145931594c43f5fb913
626637df47da7846d3eb64abb613830667fc57d9
fix: make mergeOptions behave the same across browsers
## Description `Object.keys()` will error on IE11 instead of default to an empty array, this will make sure that `videojs.mergeOptions()` has the same behavior across browsers. ## Specific Changes proposed Made a `keys()` function that defaults to `[]` when given an non-object. ## Requirements Checklist - [ ] ...
diff --git a/src/js/utils/obj.js b/src/js/utils/obj.js index a6896e2712..28bf087ed0 100644 --- a/src/js/utils/obj.js +++ b/src/js/utils/obj.js @@ -30,6 +30,10 @@ */ const toString = Object.prototype.toString; +const keys = function(object) { + return isObject(object) ? Object.keys(object) : []; +}; + /** * Arr...
1
1
0
[{"id": "G0", "claim": "The new keys helper in src/js/utils/obj.js should get the same JSDoc documentation as in PR #4090.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
videojs__video.js__4208
videojs/video.js
4,208
defect
0fd7aad850d278ba766d7680f307a1e1297bd25a
7cae9035d027440898775cd8344592f7455686d6
fix: removeCue with native/same cues
## Description This PR fixes two issues: 1. If you add two of the same cues to the cues list they will both be removed by one call to `removeCue` 2. If you create an add a native cue to the cues list. You cannot use the native cue to remove the cue that was added to the cue list. ## Requirements Checklist - [x] ...
diff --git a/src/js/tracks/text-track.js b/src/js/tracks/text-track.js index 03a051ffd3..43ab15c34b 100644 --- a/src/js/tracks/text-track.js +++ b/src/js/tracks/text-track.js @@ -355,6 +355,7 @@ class TextTrack extends Track { // make sure that `id` is copied over cue.id = originalCue.id; + cue.ori...
1
1
0
[{"id": "G0", "claim": "Use `break` instead of `return` to exit the removal loop once the matching cue is removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
videojs__video.js__4660
videojs/video.js
4,660
defect
e8511a5799c5c828c3c6a406b3c30b9d800a5cfe
905329b10bdeeb5ce73d5e2694edf3751d75d7ee
feat: sourceset
## Description For a long time there has been talk about knowing when a source has changed via a `sourcechange` event. I think I finally got the implementation right here, but i'm sure that I missed some scenarios. > Note: Currently this will not work for IE < 11 because MutationObserver is not supported. I am...
diff --git a/src/js/player.js b/src/js/player.js index 50d0fbe618..1c1bc00c0f 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -312,6 +312,34 @@ class Player extends Component { // Run base component initializing with new options super(null, options, ready); + // we don't want a source change for ...
10
8
2
[{"id": "G0", "claim": "The MutationObserver-based source-change detection should be replaced with an approach that is more portable across browsers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The initial source set should fire the event rather than ...
null
videojs__video.js__5052
videojs/video.js
5,052
defect
0a20d65c04dca032d89d2a05fd9345ef575ea8c4
cecae3d246e11492822831938c9461b18819be93
feat: show mute toggle button if the tech supports muting volume
## Description Proposed solution for videojs/video.js#4478 Currently, VideoJS combines volume control with muted support, and these actions aren't actually the same. Muting/unmuting volume work independently from the volume control. For example, iOS doesn't support controlling volume programmatically but allows mut...
diff --git a/src/css/components/_volume.scss b/src/css/components/_volume.scss index abaeed1650..9056d02c6f 100644 --- a/src/css/components/_volume.scss +++ b/src/css/components/_volume.scss @@ -84,6 +84,9 @@ @include transition(width 0.1s); } + &.vjs-mute-supported { + width: 4em; + } } ...
4
4
3
[{"id": "G0", "claim": "The combined volume/mute checking helper should be split into two methods, one doing volume checking (used by the volume control) and one doing mute checking (used by the mute toggle).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
videojs__video.js__5238
videojs/video.js
5,238
defect
59ab3237c3e03380e4f7b8870bdcab756ebe3e85
e31f81c61b30168dad78661ef61e70d64f966f28
Extend the constructColor function to handle 6 digit hex codes
## Description When providing the TextTrackDisplay component with track settings overrides, currently colour codes with only three digits are supported. I would like to make this more flexible by also allowing six digit hex codes. CC @arski ## Specific Changes proposed Updates the TextTrackDisplay component's ...
diff --git a/src/js/tracks/text-track-display.js b/src/js/tracks/text-track-display.js index 73239ca713..ba81970c42 100644 --- a/src/js/tracks/text-track-display.js +++ b/src/js/tracks/text-track-display.js @@ -24,22 +24,33 @@ const fontMap = { * Construct an rgba color from a given hex color code. * * @param {nu...
2
2
1
[{"id": "G0", "claim": "Unit tests should be added to verify that both color formats (3-digit and 6-digit hex) work, so a future merge in the same area cannot silently break this change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new switch stat...
null
videojs__video.js__5601
videojs/video.js
5,601
defect
ab740bcf097adb26d852d638d7221b8ffa14c95a
34ab529a1a9e2a6b024c347c3ca3563c9e737d6d
test: slight refactor to support rollup
In order to start building our tests with rollup we have to make various changes, mostly due to the fact that rollup cannot override imports. See the comments below for more information. Includes changes from #5621
diff --git a/package-lock.json b/package-lock.json index ef2f977b5e..ef7f9d4d12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5495,16 +5495,6 @@ "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==", "dev": true }, - "fill-keys"...
3
2
0
[{"id": "G0", "claim": "It would be interesting to see if rollup-plugin-stub works here instead of the hand-rolled browser override function, and if it does, remove this code from the pull request.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The brows...
null
videojs__video.js__5621
videojs/video.js
5,621
defect
34ab529a1a9e2a6b024c347c3ca3563c9e737d6d
90c7f809618bf2894cf86b6b05d992c60518ca19
tests: rollup tests instead of browserify
Move the tests off of rollup completely. Previously we were overriding an import. In es5 that was OK, but in es6 that is not possible, since it is a const. Any tests that override a const where changed to use `rollup-plugin-stub`. Based on #5601
diff --git a/package-lock.json b/package-lock.json index ef7f9d4d12..1c73a9a4ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1409,6 +1409,12 @@ "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", "dev": true }, + "async-array-reduce": { + "version": "0.2.1", + "resolved": "ht...
2
1
1
[{"id": "G0", "claim": "Deleting test/globals-shim.js removes setup the file did besides introducing globals - notably the es5-shim/es6-shim imports that some tests depend on for a good ES6 environment - so the PR needs a replacement that keeps the shims.", "category": "testing", "verdict": "supported", "priority": "P1...
null
videojs__video.js__5880
videojs/video.js
5,880
defect
6e173b017f507ead6fcc294c768110dc8323f0c9
2e7981c9b1fe438ecc6804cf1affe458d3a56b53
perf: Fix memory leaks in safari, edge, and ie
## Description * These where caused because we were not always able to clean up `resize` on the `ResizeManager`s iframe contentWindow after * Native tracks on safari do not have an `off` so we have to remove our event listeners manually. Fixes #5878
diff --git a/src/js/resize-manager.js b/src/js/resize-manager.js index d27b21233e..ab7018ae29 100644 --- a/src/js/resize-manager.js +++ b/src/js/resize-manager.js @@ -71,7 +71,18 @@ class ResizeManager extends Component { return; } - Events.on(this.el_.contentWindow, 'resize', this.debounce...
2
1
1
[{"id": "G0", "claim": "The ResizeManager dispose should keep the loadListener cleanup around, since it is still possible that dispose happens before the loadListener is triggered.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "This change causes th...
null
videojs__video.js__6080
videojs/video.js
6,080
defect
b9fbd0bbaa7099678ba21ac35e7a0bbd7cf6147c
380e728534f0eb0a7aad25327e9b1769773d6a8e
chore: use the new `any` event function
## Description Use the new `any` event function where it makes sense.
diff --git a/src/js/player.js b/src/js/player.js index 32f393336a..fcbb69e3d7 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -1528,20 +1528,19 @@ class Player extends Component { // if the `sourceset` `src` was an empty string // wait for a `loadstart` to update the cache to `currentSrc`. ...
1
1
0
[{"id": "G0", "claim": "With the new `.any` usage the comment's claim that 'this function will be called again' may no longer hold, so the comment should be updated to say that `handleTechSourceset` will be called again and reset the cache.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope...
null
videojs__video.js__6099
videojs/video.js
6,099
defect
93a6bbd3419f7ddfd259636fd2eb1a287051004b
c359ac272725c79f89cde4c8628a865f17ff045b
feat: add isDisposed method to components
## Description Usually, when we need to check if a component (or player) has been disposed, we check if its element exists: ```js if (player.el()) { // Do something... } ``` It would be clearer if we had a method for that: ```js if (!player.isDisposed()) { // Do something... } ``` ## Specific C...
diff --git a/docs/guides/player-workflows.md b/docs/guides/player-workflows.md index f4dcfa54f2..491cf9ef2a 100644 --- a/docs/guides/player-workflows.md +++ b/docs/guides/player-workflows.md @@ -54,6 +54,10 @@ Additionally, these actions are recursively applied to _all_ the player's child > **Note**: Do _not_ remove...
1
1
1
[{"id": "G0", "claim": "dispose() should check at the top of the function and return early if isDisposed_ is already true.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
videojs__video.js__6103
videojs/video.js
6,103
defect
b9fbd0bbaa7099678ba21ac35e7a0bbd7cf6147c
32cd08fadee3818506f207af74f785b62de0ad1d
perf: Use weakmap for dom data
## Description Use a weakmap so that we don't have to do the listener removal dance anymore on dispose.
diff --git a/src/js/component.js b/src/js/component.js index f2c9fb77c1..e583e96b84 100644 --- a/src/js/component.js +++ b/src/js/component.js @@ -7,7 +7,6 @@ import window from 'global/window'; import evented from './mixins/evented'; import stateful from './mixins/stateful'; import * as Dom from './utils/dom.js'; -...
4
2
2
[{"id": "G0", "claim": "The WeakMap operations the PR uses may exceed IE11's basic support, so their IE11 compatibility should be double-checked.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Component.dispose should explicitly empty out the elemen...
null
videojs__video.js__6588
videojs/video.js
6,588
defect
8f930c5857e10974b4578e489c63bf7fb322a236
50dbf4655cdc1e5d3d7d6347793c5ec458938df5
fix(text-tracks): set withCredentials on XHR if crossOrigin='use-credentials'
Fixes #6587
diff --git a/src/js/tracks/text-track.js b/src/js/tracks/text-track.js index fe96496719..f7093538a4 100644 --- a/src/js/tracks/text-track.js +++ b/src/js/tracks/text-track.js @@ -80,6 +80,12 @@ const loadTrack = function(src, track) { opts.cors = crossOrigin; } + const withCredentials = track.tech_.crossOrig...
1
1
1
[{"id": "G0", "claim": "A test should be written for this specific case — that XHR requests get withCredentials set when crossOrigin is 'use-credentials'.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
videojs__video.js__6627
videojs/video.js
6,627
defect
a4ea1f9657e1f36471e20225526d0460e77f8b40
1e65236f64327ec8bd8a64f196365c309bf4e529
Feat: Add named requestAnimationFrame to prevent performance issues
Not sure if we want to fix it like this, but I think this is a problem that we are going to keep having. Related #6621 Fixes: #5937 Issue originally found and explained by @meikidd, see: #5937 (comment) This PR fixes a regression introduced in 7.7.0 by this PR: #6155 This PR is based on the fix by @DispatchCo...
diff --git a/src/js/component.js b/src/js/component.js index 35ac4acbe3..8dbf247790 100644 --- a/src/js/component.js +++ b/src/js/component.js @@ -13,6 +13,8 @@ import * as Guid from './utils/guid.js'; import {toTitleCase, toLowerCase} from './utils/string-cases.js'; import mergeOptions from './utils/merge-options.js...
3
1
0
[{"id": "G0", "claim": "Defining the Set sham class inline in the Component constructor creates a class on every component creation, which probably isn't ideal, and it should be moved into its own file even if this pull request is not merged.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "s...
null
videojs__video.js__6891
videojs/video.js
6,891
defect
5e173b0f93e32dbb89856eecc5b3adcf2bfaeed8
b6c356d2942b3025b4acf0be0418738da9731a1b
feat: trigger languagechange event on a language change
## Description This change will trigger `languagechange` event each time `player.language()` is used as a setter. Also, `Component` will call `handleLanguageChange` method to manage the localization behavior.
diff --git a/src/js/clickable-component.js b/src/js/clickable-component.js index db37cb09e6..38e6b72bac 100644 --- a/src/js/clickable-component.js +++ b/src/js/clickable-component.js @@ -177,6 +177,18 @@ class ClickableComponent extends Component { this.off('keydown', this.handleKeyDown); } + /** + * Handl...
11
10
3
[{"id": "G0", "claim": "controlText() already null-checks before proceeding, so handleLanguagechange can probably just call it unconditionally instead of guarding on this.controlText_.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The language_...
null
videojs__video.js__6982
videojs/video.js
6,982
defect
5a13e90574a014edadb9f932a6038c4bcd733a8d
1cb11cb6b02f01ad5279c7d58c6daabb929bb70b
fix: better evented validation and error messages
Our current error messages and validation are not enough as some errors can still seek through. I improved our error handling and reporting in many places and will make code comments to show why a change was made below. Originally this was a part of #6967
diff --git a/src/js/mixins/evented.js b/src/js/mixins/evented.js index 92b1568605..a2b3b1eae7 100644 --- a/src/js/mixins/evented.js +++ b/src/js/mixins/evented.js @@ -9,6 +9,26 @@ import * as Fn from '../utils/fn'; import * as Obj from '../utils/obj'; import EventTarget from '../event-target'; +const objName = (obj...
2
1
0
[{"id": "G0", "claim": "The jsdoc for the evented validator helpers (validateTarget, validateEventType, validateListener and normalizeListenArgs) needs to be updated to document the new obj and fnName parameters.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2...
null
videojs__video.js__6984
videojs/video.js
6,984
defect
5a13e90574a014edadb9f932a6038c4bcd733a8d
a4d71b30e789230fe9fe14322257aff5a2af9aa6
fix: prevent dispose error and text track duplicate listeners
## Description Noticed an error when disposing a player with text tracks on and was able to replicate it on our standard simple demo by turning on throttling to 6x in chrome and disposing the player with the default text track on. I also noticed that we do two other things: 1. It's possible to configure the player su...
diff --git a/src/js/tracks/text-track.js b/src/js/tracks/text-track.js index f7093538a4..782869d98f 100644 --- a/src/js/tracks/text-track.js +++ b/src/js/tracks/text-track.js @@ -184,7 +184,10 @@ class TextTrack extends Track { const activeCues = new TextTrackCueList(this.activeCues_); let changed = false; ...
2
2
0
[{"id": "G0", "claim": "The mode setter should return early when the new mode equals the current mode, so `modechange` is not triggered when a track goes from `disabled` to `disabled` again.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dispose...
null
videojs__video.js__7190
videojs/video.js
7,190
defect
a7cbb2a948b835b8936f05d2258a337cfdf4f71e
12ea586b4ab82624a94f70cb4f87a0f35041e931
feat: Add normalizeAutoplay option to treat autoplay: true as autoplay: "play"
## Description This PR adds a new option to treat `autoplay: true` the same as `autoplay: 'play'`. In general we want video.js to handle as much of the autoplay logic itself as possible, since the browser's treatment of the video element's `autoplay` attribute is less predictable. For now the default option value is `...
diff --git a/src/js/player.js b/src/js/player.js index e3bc66f5c7..9ad13e9b89 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -1125,9 +1125,13 @@ class Player extends Component { // Turn off API access because we're loading a new tech that might load asynchronously this.isReady_ = false; - // if ...
3
3
2
[{"id": "G0", "claim": "The `value === true && this.options_.normalizeAutoplay` check should be combined into the earlier valid-string `if` on line 3681 so the duplicated lines below are not repeated.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`norma...
null
videojs__video.js__7218
videojs/video.js
7,218
defect
b4ad93a10e47dcdd1b187d69c05e875aa5f93739
93a7046771394c8984b3b3f18bc86ff9db7786dc
feat: Add option to use full window mode instead of using tech's fullscreen
## Description iPhone's native fullscreen isn't always desirable as you can't overlay controls or anything else. Adds an option to prefer "full window" mode over the video el's fullscreen. ## Specific Changes proposed If the `preferFullWindow` option is set to true, on a browser that does not support the proper fu...
diff --git a/docs/guides/options.md b/docs/guides/options.md index 1a5832d7aa..f5ba79908f 100644 --- a/docs/guides/options.md +++ b/docs/guides/options.md @@ -38,6 +38,7 @@ * [options](#options) * [playbackRates](#playbackrates) * [plugins](#plugins) + * [preferFullWindow](#preferfullwindow) * [responsiv...
2
1
0
[{"id": "G0", "claim": "An option that forces full window mode might also be useful, in addition to the new preferFullWindow option.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The final player.dispose() line in the new 'full window can be preferred t...
null
videojs__video.js__7228
videojs/video.js
7,228
defect
90f3e39b3314d716e0df3092051a426f9d478b62
78ad488cc5a10cd792ce1d6c26ef79a3bb19f62f
feat(player): Add playbackRates() method
Adds a new playbackRates() method that takes an Array of numbers representing the rates that are wanted to show up in the playback rates menu. When new rates are given, a rateschange event will trigger, which will be used by the PlaybackRatesMenuButton to update itself. An empty array will hide the menu. No value...
diff --git a/src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js b/src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js index 083779384b..8116f5b38f 100644 --- a/src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js +++ b/src/js/control-bar/playback-rate-menu/playback-rate-menu...
4
3
0
[{"id": "G0", "claim": "The reviewer asks whether something should be logged in the error cases where playbackRates() silently ignores a non-array or an array containing non-numbers.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The event name 'rateschang...
null
videojs__video.js__7299
videojs/video.js
7,299
defect
a8a5e02cbaab766698b72e5078dc0396fb2a1c24
d70bfe9caa0821eac1c482e6f6d6bfea8a9d726d
fix: properly return promise from requestFullscreen and exitFullscreen
In addition to mapping the promise to the executor's resolve, and reject methods, we should also catch the error in the promise chain that's created inside exitFullscreenHelper_. Fixes #7298.
diff --git a/src/js/player.js b/src/js/player.js index 92cc1bf46e..786ed68633 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -2928,7 +2928,8 @@ class Player extends Component { if (promise) { promise.then(offHandler, offHandler); - return promise; + // map the promise to...
1
1
0
[{"id": "G0", "claim": "The requestFullscreen promise should also be fixed the same way the exitFullscreen promise was.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
videojs__video.js__7330
videojs/video.js
7,330
defect
bba6e179252f38925e1c7341791b65ecb24378cf
e2c961ab20319ca0732d5b435fe0ed305e0f3713
feat(time-ranges): make iteratable if Symbol.iterator exists
This allows us to call `Array.from()` on TimeRange objects created by Video.js. For example: ```js var input = [[0, 10], [20, 30]]; var timeRangeObj = videojs.createTimeRanges(input); var output = Array.from(timeRangeObj); assert.deepEqual(input, output, "they're the same!"); ```
diff --git a/src/js/utils/time-ranges.js b/src/js/utils/time-ranges.js index 392e0de617..0627eae45d 100644 --- a/src/js/utils/time-ranges.js +++ b/src/js/utils/time-ranges.js @@ -2,6 +2,7 @@ * @file time-ranges.js * @module time-ranges */ +import window from 'global/window'; /** * Returns the time for the sp...
1
1
1
[{"id": "G0", "claim": "The pull request's new Symbol.iterator support should have a test added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
videojs__video.js__7349
videojs/video.js
7,349
defect
ad9546cad867b68f1f25e82c93d40cd8f6d3baf5
6df6da716950b5dbace215920d0f2c0a7a42702a
feat(hooks): Error hooks
Adding `beforeerror` and `error` hooks that make it easier to know when errors occurred on all players and allows intercepting and modifying errors.
diff --git a/docs/guides/hooks.md b/docs/guides/hooks.md index 5aad3e1c54..e79058c493 100644 --- a/docs/guides/hooks.md +++ b/docs/guides/hooks.md @@ -9,15 +9,19 @@ Hooks exist so that users can globally hook into certain Video.js lifecycle mome * [Example](#example) * [setup](#setup) * [Example](#example-...
2
1
0
[{"id": "G0", "claim": "The sentence describing the `error` argument in the beforeerror docs is garbled and should be rewritten as suggested.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error-hook dispatch should pass `err` instead of `play...
null
videojs__video.js__7527
videojs/video.js
7,527
defect
6c67c3084b485ae158debba9ee4aeebde65640cf
df5302b09c98bf3a47209ae81880d88e185b2afa
fix: don't always use fastSeek when available.
We were always setting `scrubbing(true)` on mouse down. This means, that we'd use `fastSeek` even when seeking while clicking, rather than only when scrubbing. The main fix involves knowing in `handleMouseMove` whether we were called directly as a `mousemove` handler or whether it was called from `handleMouseDow...
diff --git a/src/js/control-bar/progress-control/seek-bar.js b/src/js/control-bar/progress-control/seek-bar.js index 73c5711cba..8151c91725 100644 --- a/src/js/control-bar/progress-control/seek-bar.js +++ b/src/js/control-bar/progress-control/seek-bar.js @@ -256,7 +256,6 @@ class SeekBar extends Slider { // Stop...
3
3
1
[{"id": "G0", "claim": "It would be worth adding a TODO for splitting the seeking logic out of the mouse move handler and calling it separately from the mousedown/touchstart path.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A test should be a...
null
videojs__video.js__7611
videojs/video.js
7,611
defect
eeda26fbf773b82583d8505799a49caa44aa1942
c8a95cc01a98764ca03ab0d3bf89e02d2bd912aa
feat: Add text button, and component options
## Description Makes it a little easier to add ad hoc components, particularly buttons. Most significant change is a class to allow buttons that display their control text without having to add styles to unset the default styles. Also allows class(es) and control text to be included as component options for simplicity...
diff --git a/docs/guides/components.md b/docs/guides/components.md index 2105a55f00..cd4c4cd741 100644 --- a/docs/guides/components.md +++ b/docs/guides/components.md @@ -63,9 +63,10 @@ console.log(button.el()); The above code will output ```html -<div class="video-js"> - <div class="vjs-button">Button</div> -</di...
2
2
1
[{"id": "G0", "claim": "The `width: unset` used for `.vjs-visible-text` is not supported in IE11, and the reviewer asks whether the PR was tested there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "gkatsev wonders whether `this.addClass(options.cl...
null
videojs__video.js__7629
videojs/video.js
7,629
defect
eeda26fbf773b82583d8505799a49caa44aa1942
224e650452fadda7451d89c076f5df09e0486f10
feat: Add audioPosterMode option
## Description Adds audioPosterMode option that is false by default. Turning the audioPosterMode on will enable the Poster Viewer experience by hiding the video element and persistently displaying the poster image. If no poster is defined, the video player will be black.
diff --git a/src/css/components/_poster.scss b/src/css/components/_poster.scss index 31ec5a8466..d92d9a6c5b 100644 --- a/src/css/components/_poster.scss +++ b/src/css/components/_poster.scss @@ -30,3 +30,8 @@ .vjs-using-native-controls .vjs-poster { display: none; } + +// Don't hide the poster when audio-poster-mo...
8
7
1
[{"id": "G0", "claim": "The audioPosterMode default should be set in Player.prototype.options_ at the bottom of player.js instead of being unconditionally assigned to options.audioPosterMode in the init function, which overwrites any caller-supplied value.", "category": "design", "verdict": "supported", "priority": "P1...
null
videojs__video.js__7708
videojs/video.js
7,708
defect
eeda26fbf773b82583d8505799a49caa44aa1942
d94c2d3456077ac80011df38172d81ebff970b49
chore: Update preset env, drop IE11 and older browser support
## Description This duplicates all changes in #7482 and updates them to be consistent with the browserslist specified in [videojs/babel-config](https://github.com/videojs/babel-config/blob/main/es.js#L6-L19), as well as fixes a few problems caused by the removal of ES5 transpiling. **NOTE:** Merge with `BREAKING CH...
diff --git a/.babelrc b/.babelrc index 1cf6cd6743..52eff0f097 100644 --- a/.babelrc +++ b/.babelrc @@ -3,6 +3,19 @@ [ "@babel/preset-env", { + "targets": [ + "last 3 major versions", + "Firefox ESR", + "Chrome >= 53", + "not dead", + "not ie 11", + ...
3
2
1
[{"id": "G0", "claim": "The accidental modification of docs/examples/shared/example-captions.vtt (cues left with missing end timestamps) should not have been checked in and should be reverted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The depre...
null
videojs__video.js__7722
videojs/video.js
7,722
defect
9cec1de915ab74815dae78a3413667ace317cbab
5172487869542fcb56a8f49c9f3f1265ed671729
feat: Player can be replaced with original el after dispose()
## Description Adds an option to replace player with a clone of the original element on dispose, which has been asked for several times. ## Specific Changes proposed * Component accepts an options object. If provided, the component element will be replaced by the element provided at `options.restoreEl`. * Player ...
diff --git a/package-lock.json b/package-lock.json index 72e9386021..388d5640c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2114,9 +2114,9 @@ } }, "big-integer": { - "version": "1.6.48", - "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz", - "in...
2
1
1
[{"id": "G0", "claim": "Re-using the restoreEl option to store the clone element might be a bit unexpected (explicitly non-blocking design concern).", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The restoreEl cloning line should be covered by tests in t...
null
videojs__video.js__8113
videojs/video.js
8,113
defect
b306ce614e70e6d3305348d1b69e1434031d73ef
514d4b0ae8e556400e87ae0b3e8d7bb34cbc7ada
feat: Add document picture-in-picture support
## Description Implements [Document Picture in Picture API](https://developer.chrome.com/docs/web-platform/document-picture-in-picture/), fixes #8108 Preview at https://deploy-preview-8113--videojs-preview.netlify.app/sandbox/docpip.html ## Specific Changes proposed Adds a `enableDocumentPictureInPicture` playe...
diff --git a/index.html b/index.html index 9a5cbe77d5..108f3c33d6 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,7 @@ <h2>Navigation</h2> <li><a href="sandbox/quality-levels.html">QualityLevels Demo</a></li> <li><a href="sandbox/autoplay-tests.html">Autoplay Tests</a></li> <li><a href="sandbox/noU...
6
6
2
[{"id": "G0", "claim": "Fix the 'Docuemnt' typo in the sandbox page text so it reads 'Document Picture-in-Picture'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The picture-in-picture toggle's JSDoc should also mention the new documentPiP option...
null
videojs__video.js__8130
videojs/video.js
8,130
defect
2c7eea889a9e4d0cd535f14cfb8a7322717b30c5
98b509b6f2aaf7edd8ede276344ed445e3c0123c
fix: Remove img el when there's no poster source
## Description If there is no poster source, an img el can't be present as it would be invalid. ## Specific Changes proposed Use a div (again) as the top level element of the PosterImage, to keep position in the DOM. Insert/remove the picture/img els when a poster source is set/unset. Fixes #8122 ## Requirem...
diff --git a/src/js/poster-image.js b/src/js/poster-image.js index 2e9057a632..7819d5e26c 100644 --- a/src/js/poster-image.js +++ b/src/js/poster-image.js @@ -46,23 +46,9 @@ class PosterImage extends ClickableComponent { * The element that gets created. */ createEl() { - const el = Dom.createEl( -...
2
2
2
[{"id": "G0", "claim": "setSrc() throws when someone tries to set a src and the img element is not present.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The DOM-creation and removal logic should move from update() into setSrc() so that either upda...
null
videojs__video.js__8142
videojs/video.js
8,142
defect
2c7eea889a9e4d0cd535f14cfb8a7322717b30c5
fc09aa7e2413928a32b6539df2e3bfde4a19b66b
fix: replay button broken for native playback
## Description During native playback in Safari (desktop or iOS) if the user reaches the end of content in fullscreen, the replay button will no longer function with a single click. Meaning, the button will work and change state to `playing` however the video does not restart. It seems to be an issue with the content ...
diff --git a/src/js/control-bar/play-toggle.js b/src/js/control-bar/play-toggle.js index 8c79393068..1470dc15fe 100644 --- a/src/js/control-bar/play-toggle.js +++ b/src/js/control-bar/play-toggle.js @@ -58,6 +58,12 @@ class PlayToggle extends Button { */ handleClick(event) { if (this.player_.paused()) { + ...
2
2
2
[{"id": "G0", "claim": "The native-replay workaround should be implemented in player.play() rather than in the play toggle's handleClick, since the programmatic play method would also fail in the same way.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`...
null
videojs__video.js__8158
videojs/video.js
8,158
defect
2c7eea889a9e4d0cd535f14cfb8a7322717b30c5
be681fd8b912353c2317ecb118eebda949b74c51
fix(dom): handle slotted parent transform position
## Description `getPointerPosition` for IOS is not handling slot elements and nested web components due to the following: 1. `item.parentNode` will stop at the first web component and any transform applied on the outer component won't be part of the calculation and `translate.x` will be wrong. 2. `item.parentN...
diff --git a/src/js/utils/dom.js b/src/js/utils/dom.js index d86700f6ec..265d446c4e 100644 --- a/src/js/utils/dom.js +++ b/src/js/utils/dom.js @@ -578,7 +578,15 @@ export function getPointerPosition(el, event) { translated.y += values[13]; } - item = item.parentNode; + if (item.assignedSlot ...
1
1
1
[{"id": "G0", "claim": "The slotted-parent transform handling needs a test of some kind to ensure code coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
videojs__video.js__8487
videojs/video.js
8,487
defect
d535e163da3f1df5d87f7f7a1a2e8ff628361afb
fb83d87d9ddc9ee60dc985aa588ec785a8f23ed0
fix(player): reset CSS classes at player.reset
## Description Allows CSS classes to be reset when `player.reset` is called, so that the player is close to its initial state. ## Specific Changes proposed - remove `vjs-playing` - add `vjs-paused` ## Requirements Checklist - [ ] Feature implemented / Bug fixed - [ ] If necessary, more likely in a featur...
diff --git a/src/js/player.js b/src/js/player.js index e872644b9d..d698300403 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -3599,6 +3599,11 @@ class Player extends Component { if (this.tech_) { this.tech_.clearTracks('text'); } + + this.removeClass('vjs-playing'); + this.removeClass('v...
1
1
1
[{"id": "G0", "claim": "player.reset() should not remove the 'vjs-has-started' class, since the player should still be in a started state after a reset and removing it could be a breaking change.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
videojs__video.js__8564
videojs/video.js
8,564
defect
6fe68e5dad6853d8f0eaf45534873607c1b32277
42f9c73eaca5d3e2e71a80b0aff6f0087b03a02f
feat: improved error interface
## Description Changes to the `MediaError` class so we can expect a `metadata` property on this class, as well as creating a list of error types. ## Specific Changes proposed - Update of the MediaError class so jsdoc generates TS types for error types, as well as adding a new `metadata` property so we can give...
diff --git a/package-lock.json b/package-lock.json index 263c39af55..3fadc8b9d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1851,7 +1851,7 @@ "abbrev": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", - "integrity": "sha1-kbR5JYinc4wl813W9j...
3
3
1
[{"id": "G0", "claim": "The error type values in videojs.Errors should use a `*-error` format (dash-sidx-container-error, segment-unsupported-media-format, segment-switch-error etc. currently lack the `-error` suffix).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1"...
null
videojs__video.js__8716
videojs/video.js
8,716
defect
cb76a24bd5869094f00aa8e4b02333720dce17a4
ab9660203535e49e062e21e4729c73e09bf1c545
refactor: use URL API
## Description Replaces some now unnecessary fallbacks with the standard `URL` API. `parseUrl` new returns an actual `URL` instead of a `URL`-like object. Updates tests slightly: `getAbsoluteURL()` to match `URL`'s behaviour with trailing slashes, and use a `URL` object in the cross origin tests. Adds a test for `...
diff --git a/src/js/utils/url.js b/src/js/utils/url.js index 2d288550ae..2967bfde02 100644 --- a/src/js/utils/url.js +++ b/src/js/utils/url.js @@ -5,80 +5,18 @@ import document from 'global/document'; import window from 'global/window'; -/** - * @typedef {Object} url:URLObject - * - * @property {string} protocol - ...
1
1
0
[{"id": "G0", "claim": "The description of the first isCrossOrigin assertion should be corrected from 'http://google.com from https://google.com is not cross origin' to describe the https URL actually being tested, as in the suggested 'https://google.com is not cross origin'.", "category": "documentation", "verdict": "...
null
videojs__video.js__8881
videojs/video.js
8,881
defect
b1dee925b27d3710e861360e5011d3ffee3b80d6
413330b2ae7be1ec8f1464d67af5ad06f7958225
fix: Don't request fullscreen from document PIP window
## Description Double clicking the document pip window requests fullscreen but this fails. The gesture on the pip window can't initiate fullscreen. Fixes #8877 ## Specific Changes proposed Change the default double click action to just exit pip. This is the same behaviour as before without the error, as requestFu...
diff --git a/src/js/player.js b/src/js/player.js index ddffa5bdca..4ce04fdf45 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -2003,7 +2003,8 @@ class Player extends Component { } /** - * Handle a double-click on the media element to enter/exit fullscreen + * Handle a double-click on the media eleme...
1
1
0
[{"id": "G0", "claim": "Remove the double space in the comment so it reads '// be null in regular picture in picture.'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
vidhanio__hypertext__99
vidhanio/hypertext
99
defect
cac3fb6ef090b9a03083d10ee42bb0ebe985937a
83a280886aef0b7a44d2332d290fd488891683a8
alpinejs feature
Provides a feature set for [AlpineJs](https://alpinejs.dev/) attributes. Provides tests for every attribute type. Please look at the note in the tests about `input` inconsistency. It would be nice to be able to support the [shorthand syntax](https://alpinejs.dev/directives/on#shorthand-syntax) as well, but I d...
diff --git a/hypertext/Cargo.toml b/hypertext/Cargo.toml index 30ad977..22e2a3c 100644 --- a/hypertext/Cargo.toml +++ b/hypertext/Cargo.toml @@ -45,3 +45,5 @@ actix = ["alloc", "dep:actix-web"] poem = ["alloc", "dep:poem"] htmx = [] + +alpine-js = [] diff --git a/hypertext/src/alpine_js.rs b/hypertext/src/alpine_js...
2
2
2
[{"id": "G0", "claim": "The maud test cases for the void `input` element (`x-model=\"search\"`, `x-ref=\"content\"`) use `{}` instead of `;`, so the element renders with a `</input>` end tag instead of auto-closing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
vidstige__jadb__135
vidstige/jadb
135
defect
0fe4484380d8a094a027cc64d179fe0e4ff0ec0f
4b70484103ee4b1d6f665e2ceb558fca8c6532cc
filter not allowed characters out of the adb protocol
and also put every argument in quotes. Not only space characters need quoting, also &(){}~ and many more.
diff --git a/src/se/vidstige/jadb/managers/Bash.java b/src/se/vidstige/jadb/managers/Bash.java index 34fddbb..6675c77 100644 --- a/src/se/vidstige/jadb/managers/Bash.java +++ b/src/se/vidstige/jadb/managers/Bash.java @@ -1,14 +1,17 @@ package se.vidstige.jadb.managers; +import java.nio.charset.StandardCharsets; + p...
3
2
1
[{"id": "G0", "claim": "The Bash.quote change should instead let characters like \"⾀\" pass — the function is for quoting bash expressions, and the added ASCII-only filter incorrectly rejects valid characters (it should pass Bash.quote(\"⾀\")).", "category": "correctness", "verdict": "supported", "priority": "P1", "sco...
null
vidstige__jadb__94
vidstige/jadb
94
defect
bad9f11441789380ed4a5f95ae18f0163f07402b
3db1b31a0c4f5e74503cf43bbdcf1d1dc51b8ab5
Cleanup
Various fixes based on Sonar/IDEA inspection/own findings. 45c67ba contains fix that replaces #86.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8bc1118..3ac9266 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing # ## Why contributing? ## -The original author and all users of this library are very greatful for your contribution +The original author and all users of this librar...
3
1
0
[{"id": "G0", "claim": "The refactoring of getTransport() and getState() dropped the transport.verifyResponse() call after sending the host command, which should break a test.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Keep the getMode(File) funct...
null
vifm__vifm__1121
vifm/vifm
1,121
defect
8498446ea5067e34cfbd312014b6600cc406d2d4
824ea0608b48552c4c4f80ee2b2ffe3333cd44eb
Misc fixes: loadcustom crash, chmod undo, cleanup and minor updates
-> Fixes a segfault in `vifm.menus.loadcustom()` by validating item types (Closes #1102) How test it? 1. Create file `~/.config/vifm/plugins/test-customview/init.lua` with content: ``` local function TestCustomView(info) local items = {} local ok = vifm.menus.loadcustom({ title = 'test items',...
diff --git a/.gitignore b/.gitignore index a33e433c7..14d531f2d 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,6 @@ # windows specific src/*.exe src/*.res + +# ctags +tags diff --git a/TODO b/TODO index 045b371ff..bce47eb9a 100644 --- a/TODO +++ b/TODO @@ -16,9 +16,7 @@ Basic things: Documentation: * St...
12
11
4
[{"id": "G0", "claim": "The new documentation sections added by this pull request are not referenced in the table of contents at the top of vifm-app.txt.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `tags` entry added to .gitignore is not ge...
null
vifm__vifm__307
vifm/vifm
307
defect
abe623bb1bd618eaf66ea7181476281a7942064b
5fee14f4da337e3d7915cedc52517c25cfc58d76
Add support for arbitrary exps in statusline
The syntax is: `%{...}`. E.g. `%{&sort}` evaluates to the value of the `sort` option. Resolves https://github.com/vifm/vifm/issues/304
diff --git a/ChangeLog b/ChangeLog index d1690aa6a7..28076405f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,10 @@ Fixed possible crash on `:highlight clear {pattern}` and highlights not being updated. + Added support for arbitrary expressions in 'statusline': '%{...}'. + e.g. '%{&sort}' evaluates to the val...
4
4
2
[{"id": "G0", "claim": "data/vim/doc/app/vifm-app.txt also needs to be updated with the new %{<expr>} statusline macro, like the man page was.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the no-matching-closing-bracket case, setting ok = 0 w...
null
vigetlabs__microcosm__12
vigetlabs/microcosm
12
defect
8e3c5e8fc82f771686c8ce55176b7a7dfda843ad
7cc76dfc1cccd1dda4e0bf60bbe24a35d7eadec0
Plugins
I needed to run environment specific behavior before an app is run. I did this by adding a simple, queued, plugin system and a start() method that will wait for plugins to finish before booting an app. The other big breaking change here is that application state is not calculated until `start` is called. In addition t...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ef84fec..1b50ed32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +### 4.0.0 + +- Added concept of plugins. Plugins provide a way to layer on + additional functionality. This has specifically been added so that + environment specific behavio...
1
1
0
[{"id": "G0", "claim": "The test code could be written with babel-era syntax — arrow functions like `() =>` and shorthand method signatures like `register(app, options, next)` — instead of verbose `function` expressions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
vigetlabs__microcosm__176
vigetlabs/microcosm
176
defect
d16e13ed8c7693c65dbb90bf57935bc03b01e2a4
fb7d3308eedc894cf4918ee6f04e670ea71fc7be
Make send directly available to Presenter
This allows the method to be accessed from the `Presenter` directly. Basically so we can do pass the `send` method from a presenter to other classes or functions in the setup method: ```js class MySocketyPresenter extends Presenter { setup(repo) { this.sockets = { chat: new IntentSocket(`graph...
diff --git a/src/addons/presenter.js b/src/addons/presenter.js index 7b9f3cd6..6f330f94 100644 --- a/src/addons/presenter.js +++ b/src/addons/presenter.js @@ -19,6 +19,54 @@ function wrappedRender () { */ class Presenter extends React.Component { + static contextTypes = { + send : React.PropTypes.func + } + +...
1
1
1
[{"id": "G0", "claim": "The static contextTypes/childContextTypes added to Presenter are a problem because IE10 does not forward statics to inherited classes (so context is not transferred when you extend Presenter), and send should be provided without relying on context in Presenter.", "category": "design", "verdict":...
null
vigetlabs__microcosm__18
vigetlabs/microcosm
18
defect
a4a28a685295302da3cc589dfdfc269ddbad939b
f3f35791ff229a011336fc3c2517256fba28157a
Dev 6.1.0
`Microcosm.pull` lets you quickly retrieve nested keys
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6164798a..fa812356 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +### 6.1.0 + +- `Microcosm::pull` can now accept an array of keys for the first + argument. This will traverse the nested keys of state to calculate value. + ### 6.0.0 6.0....
1
1
0
[{"id": "G0", "claim": "In the new getIn helper, obj is aliased to a second name val that is then reassigned in the loop — the reviewer asks why that name reassignment is there.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null