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
Azure__k8s-deploy__420
Azure/k8s-deploy
420
defect
6fd713ca6ae2f97e5e009d3ec595c81949e183bf
5aa176bc6afa47c8da393117f30d525eba5465ca
Make namespace input optional
Made namespace input optional in the deployment logic. If no namespace is provided, the system relies on the namespace defined in the manifests or defaults to the default namespace as handled by kubectl. This ensures flexibility and respects manifest configurations. This PR addresses #320 and fixes issue #319. Thanks f...
diff --git a/.github/workflows/run-integration-tests-namespace-optional.yml b/.github/workflows/run-integration-tests-namespace-optional.yml new file mode 100644 index 000000000..57f3ae9fe --- /dev/null +++ b/.github/workflows/run-integration-tests-namespace-optional.yml @@ -0,0 +1,113 @@ +name: Minikube Integration Te...
5
3
0
[{"id": "G0", "claim": "The new workflow file should state which existing workflow it was inspired from, or otherwise make clear whether it is all new code.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A use case should be documented for the rec...
null
Azure__k8s-deploy__51
Azure/k8s-deploy
51
defect
b4bc3003e8878932339caafeb4814127d69ef395
39291f5e194e16c9f817319f944e3fa0af947f99
Refined some details.
Changes made - 1. Services which will not be routed will be created before the buffer time. 2. Cleaner buffer time log message. 3. Removed cleanup function used during reject. 4. Updated readme
diff --git a/__tests__/blue-green-helper.test.ts b/__tests__/blue-green-helper.test.ts index 5a74da87c..7728b2145 100644 --- a/__tests__/blue-green-helper.test.ts +++ b/__tests__/blue-green-helper.test.ts @@ -131,7 +131,6 @@ test("blueGreenReject - routes servcies to old deployment and deletes new deploy expect(kubeC...
8
4
0
[{"id": "G0", "claim": "The buffer-time log lines should use string interpolation (template literals) instead of string concatenation.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new list of routed services should be named routedServiceEn...
null
Azure__kubernetes-kms__102
Azure/kubernetes-kms
102
defect
1372c906a8c9219f994549694a9c70147d858dc6
35076d199bc94ab6d83fb66c0d34ce827a0b0183
fix: handles key vault name with double quotes.
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com> <!-- Thank you for helping KMS Plugin for Key Vault with a pull request! --> **Reason for Change**: <!-- What does this PR improve or fix in KMS Plugin for Key Vault? Why is it needed? --> Removes double quotes from keyvault name. **I...
diff --git a/docs/manual-install.md b/docs/manual-install.md index 2d2854f6..03f34496 100644 --- a/docs/manual-install.md +++ b/docs/manual-install.md @@ -73,7 +73,7 @@ This guide demonstrates steps required to enable the KMS Plugin for Key Vault in imagePullPolicy: IfNotPresent args: - --l...
1
1
1
[{"id": "G0", "claim": "The quote-trimming should also be applied to keyName and keyVersion, and whitespace should be handled too, via a shared sanitize helper that trims quotes and trims space.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__kubernetes-kms__104
Azure/kubernetes-kms
104
defect
3012412996cbe6987345db88818cdc1c1d054e7c
6e36bcaf7b38297ce3326949d2b140ad6a4fb8c0
Metrics
<!-- Thank you for helping KMS Plugin for Key Vault with a pull request! --> **Reason for Change**: <!-- What does this PR improve or fix in KMS Plugin for Key Vault? Why is it needed? --> Adds otel instrumentation for custom metrics. Following custom metrics are added ``` kms_request ``` **Issue Fixed**: <...
diff --git a/cmd/server/main.go b/cmd/server/main.go index 6531536f..331d8c1f 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -16,6 +16,7 @@ import ( "syscall" "time" + "github.com/Azure/kubernetes-kms/pkg/metrics" "github.com/Azure/kubernetes-kms/pkg/plugin" "github.com/Azure/kubernetes-kms/pkg/u...
14
14
1
[{"id": "G0", "claim": "The four separate encrypt/decrypt count and error metrics should be replaced with a single total_request metric carrying status (error/success) and operation (encrypt/decrypt) labels, per Prometheus naming and label best practices.", "category": "design", "verdict": "supported", "priority": "P2"...
null
Azure__secrets-store-csi-driver-provider-azure__123
Azure/secrets-store-csi-driver-provider-azure
123
defect
2777e0869036e40a8d4f218be8fc5dcd889cb80d
7a38cbb14db1886a41ae1e3d62034a0d7f06081e
Allow multiple certificates in pfx pdu for pkcs12
**What this PR does / why we need it**: Using `pkcs12.Decode` allows only one certificate and key in the pfxData. Having more than one certificate will result in [error](https://github.com/golang/crypto/blob/master/pkcs12/pkcs12.go#L226-L229). For multiple certificates and key we can use `pkcs12.ToPEM`. **Which is...
diff --git a/pkg/azure/provider.go b/pkg/azure/provider.go index f2b5f0a75..7032c3102 100644 --- a/pkg/azure/provider.go +++ b/pkg/azure/provider.go @@ -17,8 +17,9 @@ import ( "regexp" "strings" - log "github.com/sirupsen/logrus" "golang.org/x/crypto/pkcs12" + + log "github.com/sirupsen/logrus" "golang.org/x/...
6
3
0
[{"id": "G0", "claim": "The fmt.Println debug output in the decodePKCS12 test loop should be removed unless it is needed for debugging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conditional getCert and getKey parameters of decodePKCS12,...
null
Azure__secrets-store-csi-driver-provider-azure__21
Azure/secrets-store-csi-driver-provider-azure
21
defect
b4196d9e1e1bffc87279aac0029ee5aa4d50eabc
077a212d04dc708c52cbaab176e870f175952550
Expose CloudName for Sovereign Clouds
Attempts to fix #5 . I am trying to parse the cloudname and set the environment in Provider struct instead of passing around and parsing the cloudname. If there are disadvantages to this, will go back to how it was.
diff --git a/README.md b/README.md index 99b565870..b2e38f2da 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ The Azure Key Vault Provider offers two modes for accessing a Key Vault instance parameters: usePodIdentity: "false" # [OPTIONAL for Azure] if not provided, will default to "fal...
8
8
1
[{"id": "G0", "claim": "The README cloudName parameter row should list the allowed cloud names (AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The log.Infof(\"cloudname ...
null
Azure__secrets-store-csi-driver-provider-azure__470
Azure/secrets-store-csi-driver-provider-azure
470
defect
6470ab67efdcec4a4956ac02a0805d936603a28f
b9a86acf85639129212193876e5f68ddb8afd90c
feat: add support for RSA-HSM and EC-HSM keys
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com> <!-- Thank you for helping Azure Key Vault Provider for Secrets Store CSI Driver with a pull request! Please make sure you read the [contributing guidelines](https://github.com/Azure/secrets-store-csi-driver-provider-azure#contributing). --> **Reason for ...
diff --git a/pkg/provider/provider.go b/pkg/provider/provider.go index 9671fa45e..7c1654b95 100644 --- a/pkg/provider/provider.go +++ b/pkg/provider/provider.go @@ -343,7 +343,7 @@ func (p *Provider) GetKeyVaultObjectContent(ctx context.Context, kvObject KeyVau version := getObjectVersion(*keybundle.Key.Kid) // f...
1
1
1
[{"id": "G0", "claim": "The new e2e tests for RSA-HSM and EC-HSM keys should check the contents of the mounted key (in both tests) rather than only reading it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Azure__secrets-store-csi-driver-provider-azure__489
Azure/secrets-store-csi-driver-provider-azure
489
defect
dead8131a48c69a29867b72ec2ae38a59a701646
9a1170d80d9afb2d44a906668475108e88a19fc9
feat: implements upgrade test
<!-- Thank you for helping Azure Key Vault Provider for Secrets Store CSI Driver with a pull request! Please make sure you read the [contributing guidelines](https://github.com/Azure/secrets-store-csi-driver-provider-azure#contributing). --> **Reason for Change**: <!-- What does this PR improve or fix in Azure Key ...
diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index 598b5c050..ece57061f 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -11,6 +11,7 @@ import ( "github.com/Azure/secrets-store-csi-driver-provider-azure/test/e2e/framework/helm" "github.com/Azure/secrets-store-csi-d...
8
7
0
[{"id": "G0", "claim": "The dumpLogs() call should not be moved ahead of the deferred cleanup in AfterSuite, since the defer already runs at function return.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The config check in helm.Upgrade reports...
null
Azure__terraform-provider-alz__157
Azure/terraform-provider-alz
157
defect
256f341f13d2f65b6034d33a82488a7352a1df44
cf0d480afaa978a325d6373f7d70e327b6ddd335
feat: override assignpermissions for policy definitions
Allows the caller to correct the assignPermissions metadata property on policy definition parameters. This allows us to correctly determine the policy role assignments in the case where policies have not been authored correctlty.
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ffd793..0373e23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,26 +20,27 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - uses: actions/setup-g...
1
1
0
[{"id": "G0", "claim": "The new attribute and input names should have an underscore between assign and permissions (e.g. override_policy_definition_parameter_assign_permissions_set) rather than assignpermissions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Azure__terraform-provider-alz__208
Azure/terraform-provider-alz
208
defect
67c3319c521a6bb8c81311a809cf620548c154b6
8b3ad9e268911e5cb3277188742c9fbdd953a4c2
feat: add cache support for built-in policy definitions
This PR replaces #207 to enable CI/CD checks with required secrets. Original PR by @app/copilot-swe-agent --- The latest `alzlib` exposes a `cache` package for built-in policy/policy-set definitions, removing the need to fetch them from Azure on every Configure. This wires it into the provider. ### Provider schema ...
diff --git a/docs/index.md b/docs/index.md index ed21980..342bf9c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -78,6 +78,25 @@ Within the library are the following types of asserts: For more information please visit the [library documentation site](https://azure.github.io/Azure-Landing-Zones-Library/). +## Bu...
1
1
1
[{"id": "G0", "claim": "saveCacheFile uses os.Rename, which on Windows typically fails when the destination file already exists, so cache_file_save_enabled would break on the second run; asks for cross-platform overwrite handling and a unit test calling saveCacheFile twice.", "category": "correctness", "verdict": "supp...
null
BA-CalderonMorales__terminal-jarvis__90
BA-CalderonMorales/terminal-jarvis
90
defect
640e82fbddb88bc5b3d3cf850c0a7d14fa4c6ffb
1df3476e212624e9551da5d95cd61743beb8de11
fix(security): address PR #77 review feedback
## Summary Addresses the remaining actionable Copilot review feedback tracked by #80 after re-auditing current `develop`. Already verified as fixed on `develop` before this patch: - README and CHANGELOG tool-count drift - ADK UI version constant - `tj-fast.sh` and `tj-local.sh` shebang portability - stale cargo-audit...
diff --git a/src/security/credential_encryption.rs b/src/security/credential_encryption.rs index 7787bfd7..dd883fe6 100644 --- a/src/security/credential_encryption.rs +++ b/src/security/credential_encryption.rs @@ -254,15 +254,12 @@ impl CredentialEncryption { .map_err(|e| anyhow!("Encryption failed: {:?}"...
1
1
1
[{"id": "G0", "claim": "CodeQL flags a hard-coded cryptographic value used as a key in the new regression test test_cached_key_fails_fast_when_existing_store_is_corrupt, and the hard-coded key material should be removed.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BNYMellon__CodeKatas__24
BNYMellon/CodeKatas
24
defect
5145a40c70a363e0d8c9e1760d31f0ad729203fa
17cb70cad5c5376882b45d337217a868f2aecc8c
Add java-lambda-kata-solutions module
Signed-off-by: Sirisha Pratha <sirisha.pratha@bnymellon.com>
diff --git a/.github/workflows/solutions.yml b/.github/workflows/solutions.yml index 57ba15f3..eaa77c11 100644 --- a/.github/workflows/solutions.yml +++ b/.github/workflows/solutions.yml @@ -34,6 +34,6 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Maven - run: mvn -pl do...
3
3
0
[{"id": "G0", "claim": "Please remove the stale TODO comment in the supplier test of FunctionalInterfaceTest (the task is already done via a constructor reference).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please remove the extra blank lin...
null
BNYMellon__CodeKatas__65
BNYMellon/CodeKatas
65
defect
3a1ad56e11ce64f4c37169a02d2a5a36c40bc6b1
1fb6c5a1dc8e5363d2b87ba077f3f50493f280c2
PIT code kata
Signed-off-by: Alexander Goldberg <alexander.goldberg@bnymellon.com>
diff --git a/.github/workflows/solutions.yml b/.github/workflows/solutions.yml index f96862d8..3c49072b 100644 --- a/.github/workflows/solutions.yml +++ b/.github/workflows/solutions.yml @@ -43,6 +43,6 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Maven - run: mvn -pl co...
1
1
0
[{"id": "G0", "claim": "The new pom files declare eclipse-collections-api twice, so the duplicate dependency should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BOINC__boinc__4378
BOINC/boinc
4,378
defect
82e8eb98a638befb160ea6e2f76c61e0cf3570c3
fe2156a57c9a2afae448039744c7608f08b390b3
[Webassembly] Compile boinc client as webassembly
Compile boinc client as webassembly Start to implement #3086
diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml new file mode 100644 index 00000000000..0251d74121c --- /dev/null +++ b/.github/workflows/wasm.yml @@ -0,0 +1,85 @@ +name: Webassembly +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + schedule: + - cron: '10 12...
9
7
0
[{"id": "G0", "claim": "The webassembly client starts but crashes almost immediately, so the PR cannot be accepted in its current state: the application should start and run without errors.", "category": "correctness", "verdict": "uncertain", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The wasm wor...
null
BOINC__boinc__6667
BOINC/boinc
6,667
defect
8b4856b8d2350562c68d4fc3d4812f628a80765d
3858a5d4d82df72a2a3cdc143e824846f20a5ab3
Server: change the way miscellaneous host info is stored in DB
This info includes: - the client version# - a list of GPUs: type, model, RAM, driver version, OpenCL version - Virtualbox version; whether HW VM acceleration exists and is enabled - Docker info version, docker or podman WSL distro and boinc-buda-runner version - config info: whether WSL and/or Docker are disabled ...
diff --git a/db/boinc_db.cpp b/db/boinc_db.cpp index d2ab00e19ba..7cccafc1e56 100644 --- a/db/boinc_db.cpp +++ b/db/boinc_db.cpp @@ -23,6 +23,8 @@ #include <unistd.h> #include <cmath> +using std::string; + // For machines with finite() defined in ieeefp.h #if HAVE_IEEEFP_H #include <ieeefp.h> @@ -35,8 +37,6 @@ ...
24
6
3
[{"id": "G0", "claim": "The new comment says the JSON is stored in a new field host.host_info, but the field used throughout the code is host.misc, which could confuse future developers; update the comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
BOINC__boinc__6815
BOINC/boinc
6,815
defect
d38d695c696fe4ec346388e840fe675f3ea555fc
4348e992d07b95cfbca6238c8175bf991bd5d850
Add vboxwrapper/vbox_common:is_version_newer test
<!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds a unit test for vboxwrapper’s version comparison (VBOX_BASE::is_virtualbox_version_newer) and wires vboxwrapper tests into the unit test builds across platforms. Improves test coverage for VirtualBox version handling. - **New Features*...
diff --git a/tests/executeUnitTests.sh b/tests/executeUnitTests.sh index 837c514996a..ba98556ed69 100755 --- a/tests/executeUnitTests.sh +++ b/tests/executeUnitTests.sh @@ -76,9 +76,9 @@ make if [ $? -ne 0 ]; then cd ../..; exit 1; fi if [[ "$OSTYPE" == "darwin"* ]]; then - MODULES="lib" + MODULES="lib vboxwr...
6
3
3
[{"id": "G0", "claim": "The new vboxwrapper sample <ClCompile> entries in win_build/unittests.vcxproj are placed outside any <ItemGroup>, which makes the project XML invalid and prevents these sources from being included in the build; wrap them in an <ItemGroup>.", "category": "correctness", "verdict": "supported", "pr...
null
BOINC__boinc__6818
BOINC/boinc
6,818
defect
9ecb1b80956f86549f8301578bb24b3a1c0ada7c
8d6e0f8390c18b524c0273c2f909379cf287a2c0
web: various small fixes
- fix PHP warnings - show GPU info more clearly - show message if BUDA desc.json missing Fixes #6817 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Improves host and BUDA pages with clearer GPU details, a corrected RSS handler for subscribed threads, and a visible message when ap...
diff --git a/html/inc/host.inc b/html/inc/host.inc index 1d51309eef1..bdcdd3b2396 100644 --- a/html/inc/host.inc +++ b/html/inc/host.inc @@ -269,12 +269,14 @@ function host_nresults($host) { function vbox_desc($misc) { if (empty($misc->vbox)) return '---'; $v = $misc->vbox; - return sprintf( - 'Vir...
4
2
1
[{"id": "G0", "claim": "In vbox_desc(), using empty() instead of isset() for $v->hw_accel and $v->hw_accel_enabled suppresses the 'HW acceleration: no' and 'Enabled: no' lines when the values are false/0; isset() should be used so the disabled state is still displayed.", "category": "correctness", "verdict": "supported...
null
BRO3886__rem__43
BRO3886/rem
43
defect
569569cea55fd5713bb38018587989419003603b
14cd2a1af65cdd5463b7e34be1e569a3bbd7e69f
Add native reminder tags
## What changed - Added native ReminderKit hashtag support through `go-eventkit` - Removed the old singular tag flags from `rem` - Kept bulk tag entry through `--tags`, `--add-tags`, and `--remove-tags` - Added title hashtag parsing in `rem` only - Updated interactive add/update flows and output formatting to include t...
diff --git a/.gitignore b/.gitignore index b83d240..7127ceb 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ website/public/ website/resources/ .hugo_build.lock journals +.claude/worktrees/ diff --git a/AGENTS.md b/AGENTS.md new file mode 120000 index 0000000..681311e --- /dev/null +++ b/AGENTS.md @@ -0,0 +1...
2
2
1
[{"id": "G0", "claim": "In UpdateReminder's \"tags\" branch, a nil slice from mergeTagUpdates/mergeTags is stored as a pointer to a nil slice, which may not be interpreted by go-eventkit the same as clearing tags, unlike the explicit empty slices used for alarms/recurrence; the comment asks to normalize it to an explic...
null
BUPT-GAMMA__OpenHGNN__180
BUPT-GAMMA/OpenHGNN
180
defect
cec5b9594674cbb00055d20b0d4682c1e77ac4c6
341127029eaeafde38249f3d3cbc4f4cd1b48525
add end2end pytest [test_run.py] && rename kgcn --epoch_iter -> --max_epoch
## Description <!-- Brief description. Refer to the related issues if existed. It'll be great if relevant reviewers can be assigned as well.--> add end2end pytest [test_run.py] && rename kgcn --epoch_iter -> --max_epoch ## Checklist Please feel free to remove inapplicable items for your PR. - [x] Changes are co...
diff --git a/main.py b/main.py index 7aba2069..17c07321 100644 --- a/main.py +++ b/main.py @@ -21,4 +21,4 @@ experiment = Experiment(model=args.model, dataset=args.dataset, task=args.task, gpu=args.gpu, use_best_config=args.use_best_config, load_from_pretrained=args.load_from_pretraine...
2
1
1
[{"id": "G0", "claim": "The pull request's change to main.py (dropping the newline at end of file) seems unnecessary.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "After the modification, KGCN training can only go for 1 step and AUC can't meet ...
null
BUPT-OS__RROS__35
BUPT-OS/RROS
35
defect
5fce01b3f2e8fe10f1bafe9679626243df695f0a
cd7ccb935f85b7849c59efe6576d41ac16824993
rros: stax: add stax and corresponding driver to test
The stage exclusion lock (stax) is a mechanism designed to serialize access to a shared resource between threads operating in different execution stages. It allows multiple threads within the same stage to share ownership of the lock, ensuring exclusive access to the guarded resource by either in-band or out-of-band th...
diff --git a/kernel/rros/drivers/hectic.rs b/kernel/rros/drivers/hectic.rs new file mode 100644 index 0000000000000..1f6d9af4e007d --- /dev/null +++ b/kernel/rros/drivers/hectic.rs @@ -0,0 +1,216 @@ +use core::{cell::UnsafeCell, result::Result::Err}; + +use alloc::sync::{Arc, Weak}; + +use crate::{ + file::{rros_ope...
7
6
1
[{"id": "G0", "claim": "Use a local variable rather than putting the helper call on the left of `==` in `waitqueue_active` — it looks strange.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Refactor `WaitQueueHead`'s `new` and `init`: use `Pin` ...
null
BUPT-OS__RROS__44
BUPT-OS/RROS
44
defect
3441f0219bbcb444e457f13335b7a2a8e8575447
3a9ce34a59b239cae9a6de8077246ddf352d1486
rust: hectic driver: complete `hectic` 's file operation
As described in #43 , it is essential to complete the `hectic` driver. And I have implemented the file operations of the `hectic` driver in the RROS in this `PR`.
diff --git a/kernel/rros/arch/arm64/fptest.rs b/kernel/rros/arch/arm64/fptest.rs new file mode 100644 index 0000000000000..533fb47a0c323 --- /dev/null +++ b/kernel/rros/arch/arm64/fptest.rs @@ -0,0 +1,39 @@ +use crate::arch::arm64::uapi::fptest::{RROS_ARM64_FPSIMD, RROS_ARM64_SVE}; + +extern "C" { + fn rust_helper_s...
8
8
0
[{"id": "G0", "claim": "The newly added empty file kernel/rros/arch/arm64/uapi/Makefile may not be necessary.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new num_online_cpus wrapper calls rust_helper_num_online_cpus through unsafe without...
null
BVLC__caffe__1313
BVLC/caffe
1,313
defect
1718903c1a27e4f734ca5e64d00c9e932f182de8
e7c52d893251b07002b54bc6576d85bc11df4e47
Reshape single input batches for inputs of varying dimension
To feed inputs of varying dimension, the DATA layer reshapes its prefetch and top blobs when the batch size is 1. This is useful for models of variable input size, such as fully convolutional models. By the grace of #594 this is a simple change. - [x] simplify to reshape always (there's no cost) - [x] make compatible ...
diff --git a/include/caffe/data_layers.hpp b/include/caffe/data_layers.hpp index 34b9b30aa3e..3bda671cdbd 100644 --- a/include/caffe/data_layers.hpp +++ b/include/caffe/data_layers.hpp @@ -89,6 +89,8 @@ class DataLayer : public BasePrefetchingDataLayer<Dtype> { virtual ~DataLayer(); virtual void DataLayerSetUp(co...
10
2
2
[{"id": "G0", "claim": "Use `const Datum& datum = iter_->value;` instead of copying the datum.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`DecodeDatum(&datum)` should be added in case the datum was encoded.", "category": "correctness", "verd...
null
BVLC__caffe__1654
BVLC/caffe
1,654
defect
9b3b44092720cba9bd9ec5c5f6249d434770989c
a9a1cac02094d5204dd581e32c408d77f976df37
Add missing value support to SoftmaxLossLayer
This PR adds an option, `missing_value`, which allows some specified label to indicate that loss should not be computed at the corresponding location. This creates an issue for normalization. To match the existing normalization, we should normalize by the number of labels actually present. However, this means that the...
diff --git a/include/caffe/loss_layers.hpp b/include/caffe/loss_layers.hpp index 13b108afd2d..8f8f7a523de 100644 --- a/include/caffe/loss_layers.hpp +++ b/include/caffe/loss_layers.hpp @@ -758,6 +758,13 @@ class SoftmaxWithLossLayer : public LossLayer<Dtype> { vector<Blob<Dtype>*> softmax_bottom_vec_; /// top vec...
7
5
3
[{"id": "G0", "claim": "Reading the optional missing_value/has_missing_value proto parameters without a guard is unsafe because the fields are optional and have no explicit default value.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The missing-va...
null
BVLC__caffe__1977
BVLC/caffe
1,977
defect
b9aa166526cdfec7dcb83fd6fce342cd8c6c3153
05d2bc405cbb781f29d4bfd0c748143bbe328bfb
Decouple the computational batch size and minibatch size by accumulating gradients
Accumulate gradients across batches through the `iter_size` solver field. With this setting `batch_size: 16` with `iter_size: 1` and `batch_size: 4` with `iter_size: 4` are equivalent. `master` edition of #1663. - [x] deduplicate solver logic: done by #2518 - [x] ~~adjust `local_rate` and `local_decay` according to `i...
diff --git a/include/caffe/test/test_gradient_check_util.hpp b/include/caffe/test/test_gradient_check_util.hpp index 22937711b58..cc5dcbad0ee 100644 --- a/include/caffe/test/test_gradient_check_util.hpp +++ b/include/caffe/test/test_gradient_check_util.hpp @@ -80,11 +80,14 @@ void GradientChecker<Dtype>::CheckGradientS...
4
3
3
[{"id": "G0", "claim": "Dividing the learning rate by iter_size at update time does not work correctly: the division should be applied before accumulating parameter decays (equivalently, local_decay should be multiplied by iter_size) so weight decay is not silently scaled down.", "category": "correctness", "verdict": "...
null
BVLC__caffe__2095
BVLC/caffe
2,095
defect
77ab8f649f78844dfbbd7d91e984428c637df499
13bfe688f8aa7a3c0a4de5d5700278e2e99bad25
Added param skip_propagate_down to LayerParameter
Added `skip_propagate_down` parameter as discussed with @jeffdonahue in #2054. The parameter can be specified either 0 or N times, where N is the number of bottom blobs. if `skip_propagate_down[i] == True` then nothing will be backpropagated to `bottom[i]`. If `force_backward` is specified, then `skip_propagate_down` ...
diff --git a/include/caffe/net.hpp b/include/caffe/net.hpp index 075afebc9b0..b495e11a10b 100644 --- a/include/caffe/net.hpp +++ b/include/caffe/net.hpp @@ -192,7 +192,8 @@ class Net { /// @brief Append a new bottom blob to the net. int AppendBottom(const NetParameter& param, const int layer_id, ...
8
8
3
[{"id": "G0", "claim": "AppendBottom should read skip_propagate (later propagate_down) from layer_param itself instead of taking it as a new input parameter, with its signature left unchanged (leaving the duplicate-bottom check in Net::Init is fine).", "category": "design", "verdict": "supported", "priority": "P1", "sc...
null
BVLC__caffe__2523
BVLC/caffe
2,523
defect
b12c17104cd3446b876346ea8342ecec8551fab4
9ccbb6168f1a41de8e3911f3248a446a130759dd
Separate dependencies for configurable installation
Addresses #1738. The PR benefited earlier attempts by @cypof (#2402) and @kloudkl (#1074). Options provided include USE_OPENCV, USE_LMDB, USE_LEVELDB, USE_HDF5, USE_SNAPPY, with both make and CMake flags available. This allows selecting which IO libraries to build with. Wherever possible functions that would behave inc...
diff --git a/.travis.yml b/.travis.yml index 955aa8c3ba2..f3126fce3a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,10 +2,10 @@ # one using CMake, and one using make. env: matrix: - - WITH_CUDA=false WITH_CMAKE=false - - WITH_CUDA=false WITH_CMAKE=true - - WITH_CUDA=true WITH_CMAKE=false - - WITH_CU...
17
13
8
[{"id": "G0", "claim": "Fix the typo in the new Snappy summary condition, which checks USE-SNAPPY instead of USE_SNAPPY.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Don't use add_definitions for the USE_* switches; use caffe_config.h to carry the...
null
BVLC__caffe__2836
BVLC/caffe
2,836
defect
e4aed047a2203bbc1f5bd36ed90bb7d9882b2e11
551168861b443a0bc5c73e2a37860d679b1a9814
Snapshot model weights/solver state to HDF5 files
This pull request enables Caffe to snapshot model weights and solver states to HDF5 files and makes this format the default. This format provides a number of advantages: - It obeys weight-sharing, only snapshotting one copy of each of the parameters in the network. The old snapshotting method would save redundant copie...
diff --git a/include/caffe/net.hpp b/include/caffe/net.hpp index 5665df1edf2..dfd2e556a2b 100644 --- a/include/caffe/net.hpp +++ b/include/caffe/net.hpp @@ -98,8 +98,12 @@ class Net { */ void CopyTrainedLayersFrom(const NetParameter& param); void CopyTrainedLayersFrom(const string trained_filename); + void C...
3
3
3
[{"id": "G0", "claim": "kMaxBlobAxes should be changed from INT_MAX to 32 unless/until it becomes possible to serialize blobs with more dimensions than that.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the weight sharing tests do not cover save ...
null
BVLC__caffe__2867
BVLC/caffe
2,867
defect
d4aa5fe9b3bdc630695c80880474c5277bdaaef7
39227371117c701655e38a3d49ee00fdbb8df491
RMSprop clean up and rebase
Rebased and adapted RMSprop implementation #1890 to the new solver interface #2518 and #1977. The original author is @erogol. Pulled against master instead of dev. The RMSprop solver is based on G. Hinton's lecture (http://www.cs.toronto.edu/~tijmen/csc321/slides/lecture_slides_lec6.pdf). Param gradients are divided b...
diff --git a/examples/mnist/lenet_solver_rmsprop.prototxt b/examples/mnist/lenet_solver_rmsprop.prototxt new file mode 100644 index 00000000000..0aedd596630 --- /dev/null +++ b/examples/mnist/lenet_solver_rmsprop.prototxt @@ -0,0 +1,27 @@ +# The train/test net protocol buffer definition +net: "examples/mnist/lenet_trai...
3
3
0
[{"id": "G0", "claim": "The bare numeric arguments passed to the least-squares/snapshot test calls (e.g. the 0. RMS decay) should be declared as named constants (e.g. const Dtype kRMSDecay = 0) like the other args to make the meaning clear.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco...
null
BVLC__caffe__2918
BVLC/caffe
2,918
defect
bb0a90e8aabb0e1ffd5732439591814d10d7fd45
cca6a5c8227e4f287ddff709e75687109cc6456b
Adam solver
Carried on Adam solver (originally #2856) for merge. I completed the tests and rebased it to latest master. Authorship belongs to @PatWie, and is preserved in git commit. Original message in #2856 : > This commit implements the Adam solver by Kingma et. al for CPU and GPU. All solver parameters are defined in the c...
diff --git a/examples/mnist/lenet_solver_adam.prototxt b/examples/mnist/lenet_solver_adam.prototxt new file mode 100644 index 00000000000..d22c5718f3f --- /dev/null +++ b/examples/mnist/lenet_solver_adam.prototxt @@ -0,0 +1,26 @@ +# The train/test net protocol buffer definition +# this follows "ADAM: A METHOD FOR STOCH...
2
2
0
[{"id": "G0", "claim": "The newly added Adam solver should cite the ADAM paper in a doxygen-formatted comment in solver.hpp (tutorial sections and references for other solvers deferred to a follow-up).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
BVLC__caffe__3229
BVLC/caffe
3,229
defect
8c8e832e71985ba89dcb7c8a60697322c54b5f5b
de226966839bfc664cafb0b8148b401c20c5752c
Yet another batch normalization PR
This PR squashes together #1965 and #3161 to make sure that proper credit is given. The final functionality is much more like #3161: we ultimately decided that the scale/shift could be implemented as a separate layer (and should hence get its own PR) and the data shuffling, if it gets merged, should also be done as a ...
diff --git a/examples/cifar10/cifar10_full_sigmoid_solver.prototxt b/examples/cifar10/cifar10_full_sigmoid_solver.prototxt new file mode 100644 index 00000000000..7dd3ecb9d8e --- /dev/null +++ b/examples/cifar10/cifar10_full_sigmoid_solver.prototxt @@ -0,0 +1,28 @@ +# reduce learning rate after 120 epochs (60000 iters)...
13
6
4
[{"id": "G0", "claim": "The BN example prototxts do not work as written because the BN layer's parameters were taken from #1965, and examples that do not converge should not be merged as-is.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "BatchNorm d...
null
BVLC__caffe__3612
BVLC/caffe
3,612
defect
eac9dd8145cb4b2a831046e1ddc024f8b865a2f9
45678d1dae7e8b1c7dd75a2aebf8592fbad72240
Tied weights with transpose flag for InnerProduct layer
I wanted to train an autoencoder where the deocder uses the tranpose of the encoder's weight matrix. This is first discussed in [#670](https://github.com/BVLC/caffe/issues/670) and followed up in [#1211 (comment)](https://github.com/BVLC/caffe/issues/1211#issuecomment-58031848). But it seemed this wasn't resolved. I fo...
diff --git a/include/caffe/layers/inner_product_layer.hpp b/include/caffe/layers/inner_product_layer.hpp index 250576a4817..18d0d6192eb 100644 --- a/include/caffe/layers/inner_product_layer.hpp +++ b/include/caffe/layers/inner_product_layer.hpp @@ -44,6 +44,7 @@ class InnerProductLayer : public Layer<Dtype> { int N_...
6
5
3
[{"id": "G0", "claim": "Remove the extra two-space indent the pull request added to the caffe_gpu_gemm call in Forward_gpu.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the blank lines the pull request added around the caffe_cpu_gemm ca...
null
BVLC__caffe__4630
BVLC/caffe
4,630
defect
4ba654f5c88c36ee8ba53964b7faf25c6d7010b4
450694fcc5108d193931766eff0c935e32dd5b41
Made load_hd5 check blob dims by default, instead of reshaping.
### Reason: Reshaping by default, as done by the `load_hd5` function can cause problems. I my case I was: 1. loading weights to a training net with `solver.net.load_hdf5(model_fn)` 2. Copying to solver with `solver.test_nets[0].share_with(solver.net)` 3. Getting the following error: `F0825 01:06:18.144207 21739 net.c...
diff --git a/include/caffe/util/hdf5.hpp b/include/caffe/util/hdf5.hpp index ce568c5eb0d..71549c1cc02 100644 --- a/include/caffe/util/hdf5.hpp +++ b/include/caffe/util/hdf5.hpp @@ -13,12 +13,12 @@ namespace caffe { template <typename Dtype> void hdf5_load_nd_dataset_helper( hid_t file_id, const char* dataset_nam...
1
1
0
[{"id": "G0", "claim": "The misspelling \"missmatch\" in the new hdf5 shape-mismatch error message should be corrected to \"mismatch\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BVLC__caffe__6123
BVLC/caffe
6,123
defect
7e970675c41f897a05fe1a944d754bd899fbff0e
0eb0b70873022f6f3f10710a404f53ce187567f6
"weights" added to solver parameters, "snapshot_prefix" field default initialization
This pull request implements parts 1&2 of feature request #6110. "weights" parameter is added to SolverParameters class. It has quite the same meaning as "--weights" command line parameter of caffe executable and is used if "--weights" command line parameter is not specified. It makes it possible to specify initial ...
diff --git a/src/caffe/proto/caffe.proto b/src/caffe/proto/caffe.proto index c96966b589d..e001c57d899 100644 --- a/src/caffe/proto/caffe.proto +++ b/src/caffe/proto/caffe.proto @@ -98,7 +98,7 @@ message NetParameter { // NOTE // Update the next available ID when you add a new SolverParameter field. // -// SolverPara...
1
1
0
[{"id": "G0", "claim": "The new `weights` solver parameter should be a `repeated` field (while optionally still accepting comma-separated values) instead of a single comma-separated `optional` string, so several models can be listed as separate entries and long absolute paths stay unchaotic.", "category": "design", "ve...
null
BYVoid__OpenCC__1082
BYVoid/OpenCC
1,082
defect
8af3fc7c00c00843cfad8876deaad33b1dbd5d52
07dfe2d91cea4463a665db5c915e3e26ea23075d
Build and test OpenCC with Bazel on Windows
`bazel build //:opencc` and the test suite were broken on Windows due to POSIX-only APIs, Unix-specific runfiles path discovery, and missing C++17 flags for MSVC. Additionally, a `cmd.exe` quote-stripping bug caused `CommandLineConvertTest` to fail in CMake builds on Windows. ## CI - Added `windows-latest` to the Baze...
diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 000000000..12450ce56 --- /dev/null +++ b/.bazelrc @@ -0,0 +1,3 @@ +# Enable C++17 for MSVC on Windows +build:windows --cxxopt=/std:c++17 +build:windows --host_cxxopt=/std:c++17 diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index e0abc6...
1
1
1
[{"id": "G0", "claim": "The new build:windows entries in .bazelrc are never applied because the workflow runs plain bazel build/test and Bazel's --enable_platform_specific_config defaults to false, so the /std:c++17 flags may not reach MSVC and the Windows CI job can still compile with the wrong language standard.", "c...
null
BYVoid__OpenCC__1130
BYVoid/OpenCC
1,130
defect
da77f94d57c1332dcc0950428bde4edd7b462097
28dfb5e98a65c167057e5fc9cf039defda1cf321
Add measured CLI timings and richer benchmark variants
Extend the benchmark binary to compare compiled ocd2 configs against temporary text-json variants without duplicating committed config files. The benchmark runner now rewrites config dictionaries to text inputs on the fly, registers grouped in-process and command-line benchmark families, and prints grouped console outp...
diff --git a/src/benchmark/CMakeLists.txt b/src/benchmark/CMakeLists.txt index 507b2282f..3c43e4c1d 100644 --- a/src/benchmark/CMakeLists.txt +++ b/src/benchmark/CMakeLists.txt @@ -1,5 +1,6 @@ add_executable(performance Performance.cpp) target_link_libraries(performance benchmark libopencc) +add_dependencies(performa...
3
3
3
[{"id": "G0", "claim": "OpenccBinaryPath hardcodes .../src/tools/opencc.exe although multi-config Windows generators emit opencc under a configuration subdirectory, so the BM_CommandLine* benchmarks fail to launch opencc there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
BYVoid__OpenCC__1131
BYVoid/OpenCC
1,131
defect
da77f94d57c1332dcc0950428bde4edd7b462097
19d84242624fe57a0a5604dee3e112ce35ce28d0
Validate dictionary file contents before allocation to prevent DOS and OOB reads
- [x] Fix `WriteMalformedBinaryDict` in `BinaryDictTest.cpp`: write `keyBuffer.size()` / `valueBuffer.size()` bytes to disk, not `keyTotalLength` / `valueTotalLength` - [x] Fix `WriteMalformedFile` in `SerializedValuesTest.cpp`: write `valueBuffer.size()` bytes to disk, not `valueTotalLength` - [x] Build and run all 17...
diff --git a/src/BinaryDict.cpp b/src/BinaryDict.cpp index 9302932d7..25cbb0819 100644 --- a/src/BinaryDict.cpp +++ b/src/BinaryDict.cpp @@ -89,6 +89,9 @@ BinaryDictPtr BinaryDict::NewFromFile(FILE* fp) { if (unitsRead != 1) { throw InvalidFormat("Invalid OpenCC binary dictionary (keyTotalLength)"); } + if ...
2
2
2
[{"id": "G0", "claim": "WriteMalformedBinaryDict writes keyTotalLength and valueTotalLength bytes directly from keyBuffer.data()/valueBuffer.data() without checking the actual buffer sizes, so the huge-length tests can read far past the string storage and may segfault or attempt to write massive files in test setup.", ...
null
BYVoid__OpenCC__1135
BYVoid/OpenCC
1,135
defect
970722345f04c9df2a61317f2dffde85ed2295a0
c8baae7f7e6e8857e1ac79ea0333056e900d0431
feat(jieba): load merged ocd2 dictionaries in plugin
Teach the Jieba plugin to load a merged ocd2 dictionary via dict_path while keeping the text-dictionary path as a fallback. Wire merged dictionary generation into CMake and Bazel, update the plugin configs to point at jieba_merged.ocd2, add the supporting cppjieba preload hooks, and cover the ocd2 path with integrat...
diff --git a/plugins/jieba/BUILD.bazel b/plugins/jieba/BUILD.bazel index 3d94bd04c..1145fc2e3 100644 --- a/plugins/jieba/BUILD.bazel +++ b/plugins/jieba/BUILD.bazel @@ -9,7 +9,10 @@ filegroup( filegroup( name = "resources", - srcs = ["//plugins/jieba/deps/cppjieba:dict"], + srcs = [ + "//plugins/ji...
6
5
5
[{"id": "G0", "claim": "CreateJiebaSegmentation resolves and validates idfPath/stopWordsPath but then constructs opencc::JiebaSegmentation with only dictPath/modelPath, so configurations where idf.utf8 and stop_words.utf8 are only discoverable via the plugin's configDir/OPENCC_DATA_DIR fallbacks will now fail at runtim...
null
BYVoid__OpenCC__1139
BYVoid/OpenCC
1,139
defect
9af927b1879c6f8743d0fdd764938c75749c7b72
d3bce0175771795b1d78b172691bed9998219746
Add `--segmentation` and `--inspect` modes for conversion pipeline diagnostics
* Add segmentation/inspect output mode to OpenCC CLI and library * Fix segmentation-only path and ConvertLineByLine EOF loop Originally from https://github.com/frankslin/OpenCC/pull/28
diff --git a/README.md b/README.md index e0ad4dbf0..b96191c53 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,43 @@ int main() { * `opencc --help` * `opencc_dict --help` +#### Segmentation and Inspection Modes + +OpenCC CLI supports two diagnostic modes that output JSON instead of converted text: + +**`--segm...
1
1
1
[{"id": "G0", "claim": "Adding `#include \"ConversionInspection.hpp\"` to Converter.hpp makes the header a required dependency of `:converter` without declaring ConversionInspection.hpp in any BUILD.bazel hdrs/srcs, so Bazel targets like //src:converter and //src/tools:command_line will hit undeclared-include failures ...
null
BabylonJS__Babylon.js__17822
BabylonJS/Babylon.js
17,822
defect
480c2fdd71c3066120b0d7bf58900029482af137
0d5269eea412c34a419c135c90aec175e9aa62cc
Viz test fixes
This makes 2 changes to the visualization test harness: 1. Fixes playground code `export` find/replace to work for `export var` not just `export default` and `export const`. Also replaces all `export` statements now instead of only replacing the first one. 1. Enables Havok physics in viz tests. These changes are n...
diff --git a/packages/tools/babylonServer/public/empty.html b/packages/tools/babylonServer/public/empty.html index b526bd17b870..6b939007d184 100644 --- a/packages/tools/babylonServer/public/empty.html +++ b/packages/tools/babylonServer/public/empty.html @@ -43,6 +43,7 @@ <script src="cannon.js"></script> ...
2
2
0
[{"id": "G0", "claim": "The try/catch around the HavokPhysics() init should be removed (or made to fail the tests) rather than silently swallowing initialization errors.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The repeated `(window as any)` c...
null
BabylonJS__Babylon.js__17891
BabylonJS/Babylon.js
17,891
defect
cdd2c7c1d77da55cf95ecfaf51c4bc6175502dc6
d05e8b83426309c6a73f4f9b1d60ee431bea2916
[GeospatialCamera] Simplify handedness calculation
Rather than needing to explicitly swap yaw based on handedness in various places throughout the geospatialcamera calculations, I am consolidating the handedness notion into the computation of local basis. This means that any time a localbasis is created, east is pointing to geographic east (positive Y when righthanded,...
diff --git a/packages/dev/core/src/Cameras/geospatialCamera.ts b/packages/dev/core/src/Cameras/geospatialCamera.ts index 6ed59b2af670..5577a720fccf 100644 --- a/packages/dev/core/src/Cameras/geospatialCamera.ts +++ b/packages/dev/core/src/Cameras/geospatialCamera.ts @@ -1,5 +1,5 @@ import { GeospatialCameraInputsManag...
2
2
2
[{"id": "G0", "claim": "Making the exported ComputeLocalBasisToRefs require a new useRightHandedSystem parameter is a breaking change for downstream deep-importers; make it optional with a default (or add an overload) to preserve the previous call shape.", "category": "design", "verdict": "supported", "priority": "P1",...
null
BabylonJS__Babylon.js__17951
BabylonJS/Babylon.js
17,951
defect
a6a7b84f27233a0ee5b22e093c237cf1afa237f4
454679b9dd8d1cceaa9746d145b0652e998d6018
Fix some issues in the audio V2 code
8 small bug fixes in the audio code 1) Remove a callback on dispose in `audioBug.ts` 2) Fix time calculation in `spatialWebAudioUpdaterComponent.ts` 3) Fix checking the state in pause of `webSudioStaticSound.ts` 4) Avoid triggering the onEndedObservable callbacks twice if stop is triggered in `webaudioStreamingSound.t...
diff --git a/packages/dev/core/src/AudioV2/abstractAudio/audioBus.ts b/packages/dev/core/src/AudioV2/abstractAudio/audioBus.ts index 5ea49b9838b1..31a705058dbf 100644 --- a/packages/dev/core/src/AudioV2/abstractAudio/audioBus.ts +++ b/packages/dev/core/src/AudioV2/abstractAudio/audioBus.ts @@ -100,6 +100,9 @@ export ab...
4
3
1
[{"id": "G0", "claim": "The spatial updater's throttling logic updates `_lastUpdateTime` on every animation frame even when `skipUpdate` is true, so for any `minUpdateTime` larger than a frame (~16ms) updates can be skipped indefinitely; `_lastUpdateTime` should only be updated when an update is actually performed (or ...
null
BabylonJS__Babylon.js__17971
BabylonJS/Babylon.js
17,971
defect
e4a19b9569dbd2a8e4c3fce5f5dc237f24fb2b88
dd2e3ddecb22b99b874085c79a1b06f40ee5f421
Viewer: Fix async timing bugs with SSAO
SSAO takes 1 or more frames to become ready. We recently exposed an `isReady()` function on the SSAO pipeline (see https://github.com/BabylonJS/Babylon.js/pull/17958), and in this PR we now use this to wait until the pipeline is ready before attaching it to the camera. Without this, SSAO can fail sporadically, especial...
diff --git a/packages/tools/viewer-configurator/src/components/babylonViewer/viewer.tsx b/packages/tools/viewer-configurator/src/components/babylonViewer/viewer.tsx index a7c7bfbd59a0..ac6cb4e72bcc 100644 --- a/packages/tools/viewer-configurator/src/components/babylonViewer/viewer.tsx +++ b/packages/tools/viewer-config...
8
5
4
[{"id": "G0", "claim": "Adding the `viewerready` listener inside the `ref` callback can register multiple listeners across re-renders and has no cleanup; consider `{ once: true }` or moving it to a `useEffect` that removes the listener.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "intr...
null
BabylonJS__Babylon.js__17986
BabylonJS/Babylon.js
17,986
defect
05d57ded4471e1222d01c76415ec69b936a5170f
38aa2482017033f7bc500f67067e481a32c3870e
Viewer: Enable test for IBL shadows
Now that the last of the [known issues](https://github.com/BabylonJS/Babylon.js/pull/17976) with IBL shadows + WebGPU is fixed, enabling the IBL shadows test for the Viewer. This is not a visual test that actually compares screenshots at this point, it only looks for WebGPU errors in the console, which so far have alwa...
diff --git a/packages/tools/viewer/test/viewer.test.ts b/packages/tools/viewer/test/viewer.test.ts index bfa46b6bfe6a..6033c1854514 100644 --- a/packages/tools/viewer/test/viewer.test.ts +++ b/packages/tools/viewer/test/viewer.test.ts @@ -242,22 +242,21 @@ test('environment="auto"', async ({ page }) => { expect(is...
1
1
0
[{"id": "G0", "claim": "The comment in the re-enabled shadow-quality=\"high\" test should read \"there are no unhandled page errors or console errors\" instead of \"there are now unhandled page errors or console errors\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BabylonJS__Babylon.js__18002
BabylonJS/Babylon.js
18,002
defect
bf8e2ba0ef092d72f125ed4d64898e28336f8b10
f4022f18787f779aa6be5e549568697c566dca7e
Geo math helpers
Creates initial file structure with types/functions/tests. The implementation in this change is otherwise minimal. Overall goal is to set this up for tree shaking. Functions will be named exports and can be imported as needed. Parameters should have no dependency on specific classes, only using types/interfaces.
diff --git a/packages/dev/core/src/Maths/index.ts b/packages/dev/core/src/Maths/index.ts index 8e1da9f11a86..7ce77729bbc5 100644 --- a/packages/dev/core/src/Maths/index.ts +++ b/packages/dev/core/src/Maths/index.ts @@ -9,3 +9,4 @@ export * from "./halton2DSequence"; export * from "./math.vector.functions"; export * ...
2
2
0
[{"id": "G0", "claim": "Latitude and longitude are typically represented in degrees rather than radians, questioning the radians-based convention of the new ILatLonLike API.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment for alt in ILatLo...
null
BabylonJS__Babylon.js__18003
BabylonJS/Babylon.js
18,003
defect
8471421d30820dde5c9bb963000e5bb8ef7b4bb8
8f3835e446ccb362771cc9852a667f4f9dc9f26f
Integrate WebRequest with Web Audio Engine v2
The Audio Engine v2 has no dependency on other core components. this was intentional. However, it does have the downside of not being able to modify network requests using the same known mechanism used in other Babylon components. Instead of integrating tools, which is a large dependency, I decided to integrate WebReq...
diff --git a/packages/dev/core/src/AudioV2/audioUtils.ts b/packages/dev/core/src/AudioV2/audioUtils.ts index 380216b1e7f1..ed1f63bb0295 100644 --- a/packages/dev/core/src/AudioV2/audioUtils.ts +++ b/packages/dev/core/src/AudioV2/audioUtils.ts @@ -1,4 +1,6 @@ import type { Nullable } from "../types"; +import { Logger }...
5
4
2
[{"id": "G0", "claim": "The non-null assertion `options.headers!` in FetchAsync's XHR fallback is only safe because the loop condition uses `options.headers ?? {}`, which is error-prone; consider using `options.headers?.[key]` or restructuring the loop (e.g. `const callerHeaders = options.headers ?? {}`) to eliminate t...
null
BabylonJS__Babylon.js__18039
BabylonJS/Babylon.js
18,039
defect
793bdaef269f5b7b0d8b3ba0c48b45b772acfdd3
98532276ee0f0433e787c807cac85e1df77c8a96
fix: gltf export dropping animations on meshless nodes in right-handed scenes
Root TransformNodes with identity transforms and no geometry were being removed as "noop" nodes during export, even when targeted by animation groups. This caused animations to silently disappear in right-handed scenes (where these nodes don't carry a handedness-conversion transform). Skip noop removal for any ro...
diff --git a/packages/dev/serializers/src/glTF/2.0/glTFExporter.ts b/packages/dev/serializers/src/glTF/2.0/glTFExporter.ts index 83bb1f62b0b3..755be86358dd 100644 --- a/packages/dev/serializers/src/glTF/2.0/glTFExporter.ts +++ b/packages/dev/serializers/src/glTF/2.0/glTFExporter.ts @@ -874,8 +874,26 @@ export class GLT...
3
2
1
[{"id": "G0", "claim": "The regression test is brittle because it assumes the exported nodes array has exactly one entry and the animated node is index 0; it should instead assert that a node named animTarget exists and target its computed index.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope":...
null
BabylonJS__Babylon.js__18086
BabylonJS/Babylon.js
18,086
defect
19aefaed358f04653ad67373421e0e1f0a456f91
6011418812ebcda9acf23c77e4a7a47baa98e37d
Playground: Try fixing problems with playground loading
Some people (myself included) have noticed that sometimes we get stuck on the (full screen) global loading page when loading a PG. We have to refresh the page for it to work. Other times, the editor displays correctly, with the correct code, but the render view displays the default PG view (a sphere + a plane). We have...
diff --git a/packages/tools/playground/src/components/rendererComponent.tsx b/packages/tools/playground/src/components/rendererComponent.tsx index 3568f742814c..c82ad5cd4da6 100644 --- a/packages/tools/playground/src/components/rendererComponent.tsx +++ b/packages/tools/playground/src/components/rendererComponent.tsx @...
6
4
1
[{"id": "G0", "claim": "`id.replace(/%23/g, \"#\")` does not mutate the string, so this pre-existing Safari workaround has no effect and `%23` remains in the snippet id; the result should be assigned back to `id` (or the id decoded up-front) before building the request URL.", "category": "correctness", "verdict": "oppo...
null
BabylonJS__Babylon.js__18102
BabylonJS/Babylon.js
18,102
defect
e5bfb071f56748553e005e19cd38abb346a364fd
8816f2f28741967bd25e5c935aff106c5b1f3398
glTF loading: Fix loading base64 data uri
See https://forum.babylonjs.com/t/no-rendering-glb-with-images-on-chrome-146/62763/12
diff --git a/packages/dev/loaders/src/glTF/2.0/glTFLoader.ts b/packages/dev/loaders/src/glTF/2.0/glTFLoader.ts index 1ecc1e44652f..fdb340aacbf5 100644 --- a/packages/dev/loaders/src/glTF/2.0/glTFLoader.ts +++ b/packages/dev/loaders/src/glTF/2.0/glTFLoader.ts @@ -2579,7 +2579,7 @@ export class GLTFLoader implements IGLT...
2
2
1
[{"id": "G0", "claim": "When `useGltfTextureNames` is enabled, `babylonTexture.name` can still end up being set to `image.uri` (which may be a very large base64 string), largely defeating the intent of avoiding base64 URIs; the same `!IsBase64DataUrl(image.uri)` gating (or the computed name) should be applied when deri...
null
BabylonJS__Babylon.js__18137
BabylonJS/Babylon.js
18,137
defect
74c5d70ccde7d83799c83035eb5cf5f200441a88
446f79472ff8dbde9ab575916ad843b988871392
Preserve Float64 precision for instance buffer floating origin offset
## Problem When using `mesh.createInstance()` with Large World Rendering (LWR) enabled, instances at large coordinates exhibit jittering and incorrect positioning, while regular (non-instanced) meshes render correctly. See forum post: https://forum.babylonjs.com/t/uselargeworldrendering-instance-mesh-loss-of-prec...
diff --git a/packages/dev/core/src/Meshes/mesh.ts b/packages/dev/core/src/Meshes/mesh.ts index c5f1fa06591b..fa8fb84b2bf2 100644 --- a/packages/dev/core/src/Meshes/mesh.ts +++ b/packages/dev/core/src/Meshes/mesh.ts @@ -2275,10 +2275,12 @@ export class Mesh extends AbstractMesh implements IGetSetVerticesData { ...
4
2
2
[{"id": "G0", "claim": "PerformanceConfigurator.SetMatrixPrecision(true) in beforeEach mutates global state for the whole Jest process without being restored in afterEach, which can make other unit tests order-dependent; prefer useHighPrecisionMatrix or save/restore MatrixUse64Bits.", "category": "testing", "verdict": ...
null
BabylonJS__Babylon.js__18138
BabylonJS/Babylon.js
18,138
defect
74c5d70ccde7d83799c83035eb5cf5f200441a88
abf4613a5242bf0ab0da12e2424fd988fbe45a65
Viewer: Fix environment bug and IBL irradiance direction bug
This addresses two bugs I ran into today: 1. Viewer was sharing a single set of locks and AbortControllers for both lighting and skybox, though they can be set independently. This means if they both get set back to back, the second one being set will cancel the first one. The fix is to have two separate locks and Abor...
diff --git a/packages/dev/core/src/Materials/materialHelper.functions.ts b/packages/dev/core/src/Materials/materialHelper.functions.ts index c949e770be57..70195ab448b5 100644 --- a/packages/dev/core/src/Materials/materialHelper.functions.ts +++ b/packages/dev/core/src/Materials/materialHelper.functions.ts @@ -830,6 +83...
3
2
0
[{"id": "G0", "claim": "Fix the \"Thew viewer is being disposed.\" typo in the AbortError message of all dispose-time aborts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a regression test that fires two environment updates in quick succes...
null
BabylonJS__Babylon.js__18143
BabylonJS/Babylon.js
18,143
defect
807f61045b5ebe16b4335be9c2b3104d92b9a9c6
152864095498ebc90ad8108d848a32c0bdc532e0
[XR] Allow switching pointer selection controller during session
## Description Resolves #15345 Currently, `preferredHandedness` on `WebXRControllerPointerSelection` is only evaluated when a controller **initializes**. Users can switch hands by clicking (unless `disableSwitchOnClick` is true), but there is **no public API** to programmatically switch the active pointer hand during...
diff --git a/packages/dev/core/src/XR/features/WebXRControllerPointerSelection.ts b/packages/dev/core/src/XR/features/WebXRControllerPointerSelection.ts index f5a8836a23e2..3335dead5e5e 100644 --- a/packages/dev/core/src/XR/features/WebXRControllerPointerSelection.ts +++ b/packages/dev/core/src/XR/features/WebXRControl...
6
5
4
[{"id": "G0", "claim": "setAttachedController updates preferredHandedness even when no matching controller is found and the method returns false, giving the method a side effect despite signaling no change; update preferredHandedness only when targetUniqueId is found and differs from the currently attached controller, ...
null
BabylonJS__Babylon.js__18144
BabylonJS/Babylon.js
18,144
defect
807f61045b5ebe16b4335be9c2b3104d92b9a9c6
1ae6b486e6079546815355eaa9eae2c5cfb04636
Support LoadScript in module-type workers
Workers with `type: "module"` cannot use `importScripts`, so this falls back to `import` to allow use of NullEngine (specifically, loading compressed glbs which triggers this LoadScript call) in module workers Fixes https://forum.babylonjs.com/t/cannot-load-gltf-model-in-a-module-type-web-worker-due-to-importscripts...
diff --git a/packages/dev/core/src/Misc/tools.ts b/packages/dev/core/src/Misc/tools.ts index f44134a29fce..6c31df74b757 100644 --- a/packages/dev/core/src/Misc/tools.ts +++ b/packages/dev/core/src/Misc/tools.ts @@ -622,7 +622,18 @@ export class Tools { onSuccess(); } ...
4
3
2
[{"id": "G0", "claim": "The fallback should avoid `new Function()` because it is essentially eval() and will be blocked under strict CSP policies; a plain dynamic `import(scriptUrl)` is already dynamic and needs no indirection.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
BabylonJS__Babylon.js__18153
BabylonJS/Babylon.js
18,153
defect
f92fee61253e29997d12507efa832540288feef7
9b61054aae32068d40ffc73b0b5399ef0466092f
fix: properly report errors when loading invalid HDR texture files
Fixes #18151 ## Problem Using an invalid or corrupted HDR file causes PBR/environment materials to fail silently — nothing renders correctly for environment/reflection, with zero errors or warnings in the browser console. ## Root Cause Two separate bugs in the texture loading pipeline swallow parse errors: ### Bug...
diff --git a/packages/dev/core/src/Engines/Extensions/engine.rawTexture.ts b/packages/dev/core/src/Engines/Extensions/engine.rawTexture.ts index 291cd9243857..427128478ebd 100644 --- a/packages/dev/core/src/Engines/Extensions/engine.rawTexture.ts +++ b/packages/dev/core/src/Engines/Extensions/engine.rawTexture.ts @@ -4...
1
1
1
[{"id": "G0", "claim": "A test should be added for the new HDR error-reporting behaviour this pull request introduces.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BabylonJS__Babylon.js__18154
BabylonJS/Babylon.js
18,154
defect
f92fee61253e29997d12507efa832540288feef7
d8255fed4b5915c362f5767ec226c121b58f6e9d
Fix parabolic ray distance calculation in XR teleportation
## Bug Fix: Parabolic Ray Distance Calculation Fixes #10591 ### Problem The XR teleportation parabolic ray's distance calculation was **not computing distances correctly**. This can be considered a bug — the `parabolicCheckRadius` property was documented as *"the distance from the user to the inspection point"*, but...
diff --git a/packages/dev/core/src/XR/features/WebXRControllerTeleportation.ts b/packages/dev/core/src/XR/features/WebXRControllerTeleportation.ts index 62f9d8790454..05d66f4603f8 100644 --- a/packages/dev/core/src/XR/features/WebXRControllerTeleportation.ts +++ b/packages/dev/core/src/XR/features/WebXRControllerTelepo...
4
3
0
[{"id": "G0", "claim": "The floor hit distance can still exceed `parabolicCheckRadius` by a large margin at shallow upward angles because the ray originates above the floor, so if the intent is that `parabolicCheckRadius` is the max user-to-landing distance this math does not enforce it; consider deriving the forward o...
null
BabylonJS__Babylon.js__18167
BabylonJS/Babylon.js
18,167
defect
ff7cf2ea8cce8cfc00a15ffff478ea5026c39942
5d63cba90dc7cedad7066615d5f0b635223a5473
Scene isReady: check that custom render targets are ready
`scene.customRenderTargets` were not tested for readiness in `isReady`. Note that I had to update 3 scissor visualization tests because they assumed the render target is bound when `onBeforeRenderObservable` is triggered, which is not the case when `ObjectRenderer._checkReadiness` runs.
diff --git a/packages/dev/core/src/scene.ts b/packages/dev/core/src/scene.ts index 2c4f11d12c04..273faf438cdb 100644 --- a/packages/dev/core/src/scene.ts +++ b/packages/dev/core/src/scene.ts @@ -2463,6 +2463,13 @@ export class Scene implements IAnimatable, IClipPlanesHolder, IAssetContainer { isRea...
2
2
2
[{"id": "G0", "claim": "Calling rtt.isReadyForRendering() from Scene.isReady() can trigger RTT/ObjectRenderer observables as a side effect of a readiness check (with the RT possibly unbound), so a side-effect-free readiness check should be added or the firing of observables during Scene.isReady() should be clearly docu...
null
BabylonJS__Babylon.js__18171
BabylonJS/Babylon.js
18,171
defect
ff7cf2ea8cce8cfc00a15ffff478ea5026c39942
5a41f736b3e79d9d2399a65799d07273e94729c6
Tests now use the snippet loader as well
The babylon server is already ported, now the vis-tests as well.
diff --git a/packages/tools/tests/package.json b/packages/tools/tests/package.json index 9999ece3b283..3d63c202d5b9 100644 --- a/packages/tools/tests/package.json +++ b/packages/tools/tests/package.json @@ -25,6 +25,7 @@ "@dev/materials": "^1.0.0", "@dev/serializers": "^1.0.0", "@dev/shared...
3
2
2
[{"id": "G0", "claim": "preloadSnippetCode's playgroundId normalization will corrupt IDs that already include a revision but don't start with \"#\" (e.g. \"ABC123#1\" becomes \"ABC123#1#0\"); it should strip an optional leading \"#\" and append \"#0\" only when no revision separator is present.", "category": "correctne...
null
BabylonJS__Babylon.js__18190
BabylonJS/Babylon.js
18,190
defect
c00bc52636c1908da91b8a874d48ebe652e90a85
a9c43e4ac390c7ed1e3cefc194e06271acd30ba3
Viewer: Introduce Sonda for bundle analysis
This PR brings in [Sonda](https://www.sonda.dev/) for bundle analysis on Viewer. It's a newish tool, but it is very good. This is just a first step. Next steps will be: 1. Investigate new solutions for code coverage size reports to replace that existing part of the Viewer analysis tooling. 2. Include the report in PR...
diff --git a/.gitignore b/.gitignore index a626d11956e9..e76870585150 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,7 @@ packages/public/@babylonjs/smart-filters-blocks/src # Smart Filters Editor files packages/tools/smartFiltersEditor/www/scripts/** -packages/tools/smartFiltersEditor/www/index.html \ No...
5
1
0
[{"id": "G0", "claim": "The inline node -e one-liner that opens the report in the analyze script is not the best cross-platform way and is hard to read; an mjs script in the scripts folder would be better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
BabylonJS__Babylon.js__18206
BabylonJS/Babylon.js
18,206
defect
71417892514adb8ef81720ad870f08546020aff0
bbbb2531fc0ce4960d564a0d5b13f6b38ef080da
Make CDN port configurable
CDN port is hardcoded to 1337 in our tools, so even if you can change its location, playground for example will always try to get it from 1337. This makes complicated to test multiple features in parallel, as you can't serve multiple CDNs simultaneously. This PR makes the CDN configurable, so you can do this to for ...
diff --git a/packages/dev/buildTools/src/webpackTools.ts b/packages/dev/buildTools/src/webpackTools.ts index 2adcdbf96dee..01cc6b0b3c3f 100644 --- a/packages/dev/buildTools/src/webpackTools.ts +++ b/packages/dev/buildTools/src/webpackTools.ts @@ -4,6 +4,7 @@ import transformer from "./pathTransform.js"; import type { ...
6
2
1
[{"id": "G0", "claim": "In viewer.test.ts, process.env.VIEWER_PORT is treated as the replacement text for \":<port>\" but is typically numeric, so VIEWER_PORT=1342 produces an invalid URL missing the colon; normalize the ports or use the URL API instead of a string replace.", "category": "correctness", "verdict": "unce...
null
BabylonJS__Babylon.js__18213
BabylonJS/Babylon.js
18,213
defect
0bcdcae81188ec4898b9e2680d4a2bdb78186aaf
660da7ac1d8266ebd551e358b655e94317ea822b
Flow Graph Editor: Audio blocks using Audio V2 (Phase 2 — PR 4)
## Summary Adds 7 new FlowGraph blocks for audio control using the **Audio V2** API (`AbstractSound`, `StaticSound`, `StreamingSound`, `SoundState`). The legacy V1 `Sound` class is not used. ## New Blocks ### Execution Blocks (Audio Actions) - **FlowGraphPlaySoundBlock** — plays a sound with configurable volume, sta...
diff --git a/packages/dev/core/src/FlowGraph/Blocks/Data/Audio/flowGraphGetSoundVolumeBlock.ts b/packages/dev/core/src/FlowGraph/Blocks/Data/Audio/flowGraphGetSoundVolumeBlock.ts new file mode 100644 index 000000000000..a98133b4d711 --- /dev/null +++ b/packages/dev/core/src/FlowGraph/Blocks/Data/Audio/flowGraphGetSound...
5
3
1
[{"id": "G0", "claim": "PauseSound pauses in any non-paused state (including Stopped/FailedToStart/Stopping) and resume() can leave the sound in an incorrect state making IsSoundPlaying report true when nothing is playing; it should only pause when Starting/Started, only resume when Paused, and otherwise no-op or repor...
null
BabylonJS__Babylon.js__18220
BabylonJS/Babylon.js
18,220
defect
2b9674c45c701cfb413e8ed8d4d6122f47a03a6e
a52fda6cd244de6b1f299afc2c9e36e92aa68cc0
WebGPU: Add async render pipeline pre-warming API
## Description Adds `createRenderPipelineAsync()` on `WebGPUEngine` — a new public API that leverages the WebGPU `device.createRenderPipelineAsync()` spec method to pre-compile render pipelines asynchronously before they are needed at draw time. ### Why this design? We explored several approaches before arriving at ...
diff --git a/packages/dev/core/src/Engines/WebGPU/webgpuCacheRenderPipeline.ts b/packages/dev/core/src/Engines/WebGPU/webgpuCacheRenderPipeline.ts index 7a899025088c..f97cd992f625 100644 --- a/packages/dev/core/src/Engines/WebGPU/webgpuCacheRenderPipeline.ts +++ b/packages/dev/core/src/Engines/WebGPU/webgpuCacheRenderP...
6
6
3
[{"id": "G0", "claim": "createRenderPipelineAsync mutates the shared _cacheRenderPipeline state (formats, buffers, depth/cull/stencil/blend) but never restores it, which can leave the cache out-of-sync with the engine's tracked state and affect subsequent rendering and pipeline lookups; the reviewer asks to save and re...
null
BabylonJS__Babylon.js__18235
BabylonJS/Babylon.js
18,235
defect
8353c8a48b123650af46200b7bd5026f9cf15365
42bace135dd3c20ed77fe29d51c67561dff9883a
SelectionOutlineLayer: Fix clearSelection crash with instanced meshes
## Summary - addSelection calls registerInstancedBuffer('instanceSelectionId') on the source mesh, but only adds the instance to _selection - clearSelection iterates _selection — cleans up the instance but never touches the source - The source retains a stale instanceSelectionId key in instancedBuffers with delete...
diff --git a/packages/dev/core/src/Layers/thinSelectionOutlineLayer.ts b/packages/dev/core/src/Layers/thinSelectionOutlineLayer.ts index 0b99025d73ed..e61505496290 100644 --- a/packages/dev/core/src/Layers/thinSelectionOutlineLayer.ts +++ b/packages/dev/core/src/Layers/thinSelectionOutlineLayer.ts @@ -93,6 +93,7 @@ exp...
3
3
3
[{"id": "G0", "claim": "The new source-mesh cleanup in clearSelection only deletes the instanceSelectionId key from instancedBuffers, so per-pass VBOs, vertex buffers, VAOs and _userInstancedBuffersStorage data/strides/sizes on source meshes leak GPU resources until the mesh is re-selected or disposed; the cleanup shou...
null
BabylonJS__Babylon.js__18239
BabylonJS/Babylon.js
18,239
defect
8353c8a48b123650af46200b7bd5026f9cf15365
2c00e97f181466d870ee34530d7b33d9de8b0664
CubeTexture: preserve irradianceTexture when cloning CubeTexture
## Description When cloning a CubeTexture (or a PBRMaterial using one as reflectionTexture), the irradianceTexture is lost from **both** the original and the cloned material. ### Root Cause irradianceTexture is stored on the InternalTexture (`_texture._irradianceTexture`), which is shared between the source and clon...
diff --git a/packages/dev/core/src/Materials/Textures/cubeTexture.ts b/packages/dev/core/src/Materials/Textures/cubeTexture.ts index 05b305371bcb..a7b972b0ffb8 100644 --- a/packages/dev/core/src/Materials/Textures/cubeTexture.ts +++ b/packages/dev/core/src/Materials/Textures/cubeTexture.ts @@ -576,6 +576,13 @@ export c...
3
3
0
[{"id": "G0", "claim": "The test should import and use InternalTextureSource.RenderTarget (and InternalTextureSource.Unknown) instead of the hard-coded magic numbers 11 and 0.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Vitest file re...
null
BabylonJS__Babylon.js__18240
BabylonJS/Babylon.js
18,240
defect
8353c8a48b123650af46200b7bd5026f9cf15365
2998c72c7ad264d9db5542976485fc30a30b9ca1
[Loaders] Fix transmission effect lost after MergeMeshes with MultiMaterial
## Description The `TransmissionHelper` in the `KHR_materials_transmission` glTF extension did not handle `MultiMaterial` (created by `Mesh.MergeMeshes` with `multiMultiMaterials=true`). When meshes with transmission were merged, the transparency effect was lost because the helper incorrectly classified the merged m...
diff --git a/packages/dev/loaders/src/glTF/2.0/Extensions/KHR_materials_transmission.ts b/packages/dev/loaders/src/glTF/2.0/Extensions/KHR_materials_transmission.ts index 4dd452c731b2..f1cd78a87830 100644 --- a/packages/dev/loaders/src/glTF/2.0/Extensions/KHR_materials_transmission.ts +++ b/packages/dev/loaders/src/glT...
3
3
2
[{"id": "G0", "claim": "The early return in _onMeshMaterialChanged for non-matching, non-MultiMaterial materials can leave a mesh in the wrong cache (e.g. a previously transmissive mesh switched to an unsupported material stays in _transparentMeshesCache), so it should be removed and reclassification run to keep the ca...
null
BabylonJS__Babylon.js__18243
BabylonJS/Babylon.js
18,243
defect
8353c8a48b123650af46200b7bd5026f9cf15365
41299d8c468ee2bc324b20a4682ad8e864f733fd
[Mesh] Fix: consolidate submeshes by material in MergeMeshes with multiMaterials
## Description When `Mesh.MergeMeshes` is called with `multiMultiMaterials=true`, each source mesh produced a separate `SubMesh` even when multiple source meshes shared the same material. This resulted in **N draw calls** (one per source mesh) instead of **M draw calls** (one per distinct material). For example, merg...
diff --git a/packages/dev/core/src/Meshes/mesh.ts b/packages/dev/core/src/Meshes/mesh.ts index 92764e749288..cf7a679e6986 100644 --- a/packages/dev/core/src/Meshes/mesh.ts +++ b/packages/dev/core/src/Meshes/mesh.ts @@ -5137,6 +5137,9 @@ export class Mesh extends AbstractMesh implements IGetSetVerticesData { } ...
3
3
3
[{"id": "G0", "claim": "The new test file imports PBRMaterial and Vector3 without using them, which fails TypeScript compilation with noUnusedLocals enabled; remove the unused imports.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Sorting meshes by...
null
BabylonJS__Babylon.js__18244
BabylonJS/Babylon.js
18,244
defect
8353c8a48b123650af46200b7bd5026f9cf15365
c36d2741161821ccd116cd003a84abb28900adfc
fix(greasedLine): do not dispose shared EmptyColorsTexture on material dispose
## Description Fixes a bug where creating a `GreasedLine` with `materialType: 2` (`MATERIAL_TYPE_SIMPLE`), disposing it, and creating a new one resulted in the second line being invisible. **Forum report:** https://forum.babylonjs.com/t/63082 **Playground repro:** https://playground.babylonjs.com/#H1LRZ3#801 ## Root...
diff --git a/packages/dev/core/src/Materials/GreasedLine/greasedLineSimpleMaterial.ts b/packages/dev/core/src/Materials/GreasedLine/greasedLineSimpleMaterial.ts index f76d0728a687..2ccb8081e22d 100644 --- a/packages/dev/core/src/Materials/GreasedLine/greasedLineSimpleMaterial.ts +++ b/packages/dev/core/src/Materials/Gr...
2
2
2
[{"id": "G0", "claim": "The guard assumes the shared EmptyColorsTexture is cleaned up at engine-dispose time, but PrepareEmptyColorsTexture creates the RawTexture with a Scene, so scene.dispose() will dispose it while GreasedLineMaterialDefaults.EmptyColorsTexture still points to the disposed instance, reintroducing th...
null
BabylonJS__Babylon.js__18245
BabylonJS/Babylon.js
18,245
defect
8353c8a48b123650af46200b7bd5026f9cf15365
456d30d82dc551343e784604cd22ac98cf22226f
fix: defer depth renderer creation in SelectionOutlineLayer until needed
## Problem `SelectionOutlineLayer` doubles the number of draw calls even when no meshes are selected ([forum report](https://forum.babylonjs.com/t/selectionoutlinelayer-doubles-the-number-of-draw-calls-despite-having-no-selection/63084)). ## Root Cause The `SelectionOutlineLayer` constructor eagerly called `sc...
diff --git a/packages/dev/core/src/Layers/selectionOutlineLayer.ts b/packages/dev/core/src/Layers/selectionOutlineLayer.ts index 871a19f21518..5d09a2cc94dd 100644 --- a/packages/dev/core/src/Layers/selectionOutlineLayer.ts +++ b/packages/dev/core/src/Layers/selectionOutlineLayer.ts @@ -155,8 +155,6 @@ export class Sele...
1
1
0
[{"id": "G0", "claim": "The second test's name claims the depth renderer is created \"when selections are added and rendered\", but the test never triggers a render nor asserts that scene._depthRenderer becomes defined; rename the test to match what it asserts, or actually render the scene and assert the depth renderer...
null
BabylonJS__Babylon.js__18266
BabylonJS/Babylon.js
18,266
defect
8353c8a48b123650af46200b7bd5026f9cf15365
c4c140909c1073039e535f53f4bcbcda0b642209
fix: align DepthRenderer readiness check with rendering logic
## Problem `DepthRenderer.customIsReadyFunction` checks `isReady()` for all submeshes, but `DepthRenderer.isReady()` returns `false` for materials with `disableDepthWrite`. The actual `renderSubMesh` function skips those submeshes entirely. This mismatch causes `scene.whenReadyAsync()` to never resolve when any mesh i...
diff --git a/packages/dev/core/src/Rendering/depthRenderer.ts b/packages/dev/core/src/Rendering/depthRenderer.ts index 751fc001e3a9..df0bb2b1af7c 100644 --- a/packages/dev/core/src/Rendering/depthRenderer.ts +++ b/packages/dev/core/src/Rendering/depthRenderer.ts @@ -200,6 +200,14 @@ export class DepthRenderer { ...
2
2
0
[{"id": "G0", "claim": "The `DepthRenderer` import in the new test file is unused and should be removed to avoid unused-symbol build/typecheck failures in stricter configurations.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second test's ...
null
BabylonJS__Babylon.js__18271
BabylonJS/Babylon.js
18,271
defect
e1bd9d22d5a443b1adf4b6c658441dc4d390357c
713c4c4d91d4aae5afb9702463eecd8b9166f582
Inspector: CLI integration in Playground
~Draft for now and probably will wait to talk with @RaananW about some Playground mcp experiments he was doing.~ Chatted with @RaananW and we believe this is all makes sense for tools where the state only lives in the web app (like Playground). For tools like NME, it might make more sense to have the source-of-truth s...
diff --git a/packages/dev/inspector-v2/src/cli/bridge.ts b/packages/dev/inspector-v2/src/cli/bridge.ts index 477f2e8a1c51..5b0bc4dde547 100644 --- a/packages/dev/inspector-v2/src/cli/bridge.ts +++ b/packages/dev/inspector-v2/src/cli/bridge.ts @@ -124,7 +124,8 @@ export async function StartBridge(config: IBridgeConfig):...
6
4
1
[{"id": "G0", "claim": "In `save-playground`, if `onSavedObservable` fires before `errorObserver` is initialized, calling `errorObserver.remove()` from `savedObserver` or the timeout callback would throw a ReferenceError (TDZ); the reviewer asks to declare both observers with `let` initialized to null or register `erro...
null
BabylonJS__Babylon.js__18273
BabylonJS/Babylon.js
18,273
defect
b429e77705ab0533fed8742a4866727680e8c0ef
97ba6f245be7a29baeae8be861c306bc2b48160a
Lottie: fix keyframe boundary and null layer opacity
Fixes three timing/rendering bugs in the Lottie player: ### Keyframe final-frame evaluation The four animation evaluators (`_updatePosition`, `_updateRotation`, `_updateScale`, `_updateOpacity`) used `frame > lastKeyframe.time` to clamp to the final value, which skipped the exact final frame. Changed to `frame >...
diff --git a/packages/dev/lottiePlayer/src/nodes/controlNode.ts b/packages/dev/lottiePlayer/src/nodes/controlNode.ts index cfd82cdcf6f7..72bf59bfd7d6 100644 --- a/packages/dev/lottiePlayer/src/nodes/controlNode.ts +++ b/packages/dev/lottiePlayer/src/nodes/controlNode.ts @@ -19,6 +19,7 @@ export class ControlNode extend...
3
3
2
[{"id": "G0", "claim": "The null-layer opacity bypass returns only the node's local opacity, dropping opacity from ancestors above the null layer, so it should skip only the null layer's own opacity and still multiply by the null layer's parent's opacity.", "category": "correctness", "verdict": "supported", "priority":...
null
BabylonJS__Babylon.js__18282
BabylonJS/Babylon.js
18,282
defect
09a07676b501d24a5bb6fbe8eb1f2fba2245034f
45f381e469e35cad31d9526e784b28b2778c60a6
Lottie: Fix crashes on animated vector and path properties
## Summary Fixes crashes when rectangle size/position, path bezier data, or scalar properties (like rounded-corner radius) are animated (`a === 1`) by introducing shared property helpers that correctly read keyframe data instead of casting `k` directly to static types. ## Problem The bounding box and sprite pa...
diff --git a/packages/dev/lottiePlayer/src/maths/boundingBox.ts b/packages/dev/lottiePlayer/src/maths/boundingBox.ts index b3563e7100f4..383d988422d3 100644 --- a/packages/dev/lottiePlayer/src/maths/boundingBox.ts +++ b/packages/dev/lottiePlayer/src/maths/boundingBox.ts @@ -1,5 +1,4 @@ import { - type RawBezier, ...
4
4
1
[{"id": "G0", "claim": "The early return in GetPathVertices when bezier data is missing leaves boxCorners at Infinity/-Infinity, so GetShapesBoundingBox returns width/height as -Infinity and offsets as NaN, which can break sprite packing/layout downstream; it asks to ensure a finite (zero-size) default box in that case...
null
BabylonJS__Babylon.js__18287
BabylonJS/Babylon.js
18,287
defect
9ae4ee693897765da23f5d074b62b369cf9e6919
a21ce0c8d34e4fd33ea9133cf025ae0fe6b36888
Fix loader and gltfSerializer integration tests
Integration tests don't run in the CI, and have become quite broken. This PR is an effort to get them back into working order. Some of it is purely test changes related to moving from puppeteer to playwright and other test tool or build related changes, and some of it is updating tests based on the code they are testin...
diff --git a/packages/dev/loaders/test/integration/babylon.sceneLoader.test.ts b/packages/dev/loaders/test/integration/babylon.sceneLoader.test.ts index 96a9de8a0af6..ddef4edd9703 100644 --- a/packages/dev/loaders/test/integration/babylon.sceneLoader.test.ts +++ b/packages/dev/loaders/test/integration/babylon.sceneLoad...
1
1
1
[{"id": "G0", "claim": "soundCount is read immediately when ImportMeshAsync resolves, but Sound only registers with mainSoundTrack in its async _onReadyToPlay callback, so soundCollection.length and onEndedObservable may be 0/null even when audio is enabled, making the test flaky; consider polling until the sounds are ...
null
BabylonJS__Babylon.js__18291
BabylonJS/Babylon.js
18,291
defect
5b48f659e3bc4055d6ac2b9b1ff7188534668d8b
22101dbb97490901f7b771405ed464d7bc0333ff
feat(animations): opt-in to inherit _originalValue from active animations
## Description When a new animation starts on a property that is already being animated by another active animation, `RuntimeAnimation._getOriginalValues` snapshots the current (mid-animation) value instead of the true rest/default value. This causes properties — especially morph target influence — to permanently stic...
diff --git a/packages/dev/core/src/Animations/animation.ts b/packages/dev/core/src/Animations/animation.ts index 556079407cbf..e132b44646b3 100644 --- a/packages/dev/core/src/Animations/animation.ts +++ b/packages/dev/core/src/Animations/animation.ts @@ -108,6 +108,15 @@ export class Animation { */ public s...
2
2
1
[{"id": "G0", "claim": "The new unit tests write to engine._deltaTime, a protected member of AbstractEngine, which won't compile in TypeScript; the tests should advance animation time via a supported mechanism such as scene.useConstantAnimationDeltaTime = true instead of mutating engine internals.", "category": "correc...
null
BabylonJS__Babylon.js__18306
BabylonJS/Babylon.js
18,306
defect
5b48f659e3bc4055d6ac2b9b1ff7188534668d8b
fc38b3dbf9a9833293a8dc645d7e79a5757f82cb
Optimizations for LUT readback
Motivation is to do all the conversion up front, then any follow up sampling is cheaper.
diff --git a/packages/dev/addons/src/atmosphere/diffuseSkyIrradianceLut.ts b/packages/dev/addons/src/atmosphere/diffuseSkyIrradianceLut.ts index 7ded43cd2414..ca7569f7fb17 100644 --- a/packages/dev/addons/src/atmosphere/diffuseSkyIrradianceLut.ts +++ b/packages/dev/addons/src/atmosphere/diffuseSkyIrradianceLut.ts @@ -4...
3
3
3
[{"id": "G0", "claim": "Sample2DRgbaToRef no longer applies the documented divide-by-255 default normalization when normalizeFunc is omitted, changing behavior for existing callers; the previous default should be restored with an explicit opt-out (e.g. null) for no normalization, and the doc comment updated.", "categor...
null
BabylonJS__Babylon.js__18312
BabylonJS/Babylon.js
18,312
defect
06df5ecdda4ce1c065ab6f9c5dd591e034e1a698
7846c27bfc828940124c70c3fd731f1a8c26e63c
Inspector CLI: Don't auto connect by default
This change makes it so that by default, the user needs to explicitly click the CLI connection button in the Inspector toolbar before the browser side tries to establish a WebSocket connection with the CLI bridge on the node side. From an API standpoint, when explicitly calling `StartInspectable` you can now pass an `a...
diff --git a/.github/instructions/fluent.instructions.md b/.github/instructions/fluent.instructions.md index 2d9d903b87f7..6033a977d933 100644 --- a/.github/instructions/fluent.instructions.md +++ b/.github/instructions/fluent.instructions.md @@ -34,6 +34,47 @@ const useStyles = makeStyles({ Use `tokens.spacingVert...
5
5
3
[{"id": "G0", "claim": "The test that toggles `registry.isEnabled = true` triggers a real WebSocket connection attempt because `WebSocket` is not mocked, which can make the test fail or flap, throw, or cause external side effects; stub `globalThis.WebSocket` (or otherwise mock the connection layer) before enabling the ...
null
BabylonJS__Babylon.js__18322
BabylonJS/Babylon.js
18,322
defect
11f7f0525e57d10b96f9493b1dadff18fbcec43f
0419aad582d86523639b8e6ff84ab73e66070a72
Refactor node interpolation into reusable static methods and add decomposeWorldMatrixAtFrame
Refactors the per-property interpolation logic in Node (_updatePosition, _updateRotation, _updateScale, _updateOpacity) into two shared static methods (_interpolateVector2AtFrame, _interpolateScalarAtFrame), and adds a new public decomposeWorldMatrixAtFrame method for evaluating a node's world matrix at an arbitrary fr...
diff --git a/packages/dev/lottiePlayer/src/nodes/node.ts b/packages/dev/lottiePlayer/src/nodes/node.ts index 9b9e81e64384..0aa4dd3dfcd0 100644 --- a/packages/dev/lottiePlayer/src/nodes/node.ts +++ b/packages/dev/lottiePlayer/src/nodes/node.ts @@ -300,123 +300,179 @@ export class Node { return isUpdated || isPa...
4
4
3
[{"id": "G0", "claim": "For a typical fade-in (first keyframe s=0, next s>0, non-hold) _getRasterizationFrame picks the later keyframe's time t1 instead of the earliest frame where opacity becomes non-zero, potentially rasterizing at an incorrectly late frame; it should detect the first segment where opacity transition...
null
BabylonJS__BabylonNative__1091
BabylonJS/BabylonNative
1,091
defect
d106dbe02fa9a1f6c0ef46025ff578b88752e960
74f4a8c2651c258916f128ef54d2fdd51159bcdb
MSAA parameter exposed to users
Default is no MSAA unless set in the `WindowConfiguration` or updated later with `UpdateMSAA`. Desktop playground and ValidationTests app MSAA set to 4.
diff --git a/Apps/Playground/UWP/App.cpp b/Apps/Playground/UWP/App.cpp index 0d66044311..be6f3b8c7b 100644 --- a/Apps/Playground/UWP/App.cpp +++ b/Apps/Playground/UWP/App.cpp @@ -354,6 +354,7 @@ void App::RestartRuntime(Windows::Foundation::Rect bounds) graphicsConfig.Window = window; graphicsConfig.Width = w...
2
2
1
[{"id": "G0", "claim": "The new MSAASamples parameter should use uint8_t (not unsigned char) and the sample-count parameters of UpdateMSAA/SetMSAA should be named `value` rather than the PascalCase `MSAASamples`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
BabylonJS__BabylonNative__127
BabylonJS/BabylonNative
127
defect
4fa70a32d52b8e251983d4424551341e0ac22698
d475c865ac788cc28c5ac50c49573481abe60260
Device context in main thread
thread init and run split in 2 functions. It's not possible to hook a MetalLayer in a thread other than the main thread.
diff --git a/Library/Source/RuntimeAndroid.cpp b/Library/Source/RuntimeAndroid.cpp index 5c605a794d..c0412bd03a 100644 --- a/Library/Source/RuntimeAndroid.cpp +++ b/Library/Source/RuntimeAndroid.cpp @@ -16,8 +16,13 @@ namespace Babylon // android stub } - void RuntimeImpl::ThreadProcedure() + void...
1
1
1
[{"id": "G0", "claim": "The way the pull request at S1 splits thread initialization and run (with the APPLE-conditional thread setup in RuntimeImpl) is not the right way to fix the problem, and the reviewer wants to discuss it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BabylonJS__BabylonNative__1287
BabylonJS/BabylonNative
1,287
defect
1456d20aa082848720fd3fd08e9c47f0fc85bddf
007d4336baaa412282bc11c6b5476a1906798e55
Disable validation tests failing only on D3D12
Three validation tests for scissors are failing on D3D12 due to mip-maps being created but not populated by bgfx. See https://github.com/BabylonJS/BabylonNative/issues/1265. While we are waiting for the fix in bgfx, we want to disable these tests on D3D12. This change adds a key to the validation tests config.json n...
diff --git a/Apps/Playground/Android/app/CMakeLists.txt b/Apps/Playground/Android/app/CMakeLists.txt index 1c16356c38..0623113412 100644 --- a/Apps/Playground/Android/app/CMakeLists.txt +++ b/Apps/Playground/Android/app/CMakeLists.txt @@ -33,8 +33,14 @@ set(BABYLON_NATIVE_PLAYGROUND_DIR "${CMAKE_CURRENT_LIST_DIR}/../.....
7
7
0
[{"id": "G0", "claim": "The new GraphicsApiInfo class is exposed on all platforms, but maybe it should only be exposed on the platforms running the validation tests in CI, i.e. Win32 only.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since a new API is...
null
BabylonJS__BabylonNative__1327
BabylonJS/BabylonNative
1,327
defect
95240a59f2e1483d4c4b92b329b84ff333f0de84
88f341f19b0004ab792877340853c53280e962fc
Static engine allocator
When shutting down the engine while having some textures, it's possible for NativeEngine to be disposed before the textures. In this lambda: https://github.com/BabylonJS/BabylonNative/blob/95240a59f2e1483d4c4b92b329b84ff333f0de84/Plugins/NativeEngine/Source/NativeEngine.cpp#L216 The imageContainer has still a re...
diff --git a/Core/Graphics/InternalInclude/Babylon/Graphics/DeviceContext.h b/Core/Graphics/InternalInclude/Babylon/Graphics/DeviceContext.h index 90c6c928e7..69bfb22026 100644 --- a/Core/Graphics/InternalInclude/Babylon/Graphics/DeviceContext.h +++ b/Core/Graphics/InternalInclude/Babylon/Graphics/DeviceContext.h @@ -1...
1
1
1
[{"id": "G0", "claim": "Keep the static allocator member private and add an accessor returning `bx::AllocatorI&` instead of exposing the `bx::DefaultAllocator` type as a public member (public members should be UpperCamelCase).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BabylonJS__BabylonNative__1402
BabylonJS/BabylonNative
1,402
defect
fdcd2f9b5d33d4ead64d42e2280c57f8ae4f2c3f
d4ad18781d65205f7f7d461bcf66c415b4b6ef53
Shader Cache
This PR keeps GLSlang/SPIRV and makes the ShaderCache optional. - At runtime, compute hash from Vertex/Fragment shaders and compare with existing cache. Store it if not found. - Ability to load/save cache to an uncompressed stream (optional) - ShaderCache is a singleton that will be used in NativeEngine if Cache is...
diff --git a/Apps/Playground/Win32/App.cpp b/Apps/Playground/Win32/App.cpp index d9920d8567..c28b663642 100644 --- a/Apps/Playground/Win32/App.cpp +++ b/Apps/Playground/Win32/App.cpp @@ -25,6 +25,7 @@ #include <Babylon/Polyfills/Window.h> #include <Babylon/Polyfills/XMLHttpRequest.h> #include <Babylon/Polyfills/Canv...
6
4
1
[{"id": "G0", "claim": "It would be good for the future to allow users to easily remove the dependency on GLSLANG and SPIRV using a CMake flag or something, and it is unclear why the performance difference between using and not using the shader cache is not bigger.", "category": "design", "verdict": "uncertain", "prior...
null
BabylonJS__BabylonNative__146
BabylonJS/BabylonNative
146
defect
8cb0748967b0b238e40ade934a86fbbe5bb79b05
b54a8dca08dfa67d152699eb141e8aa9d563bb72
Minimal change to get Chakra consistently shutting down properly
Contains some...questionable options. Not sure if this should be checked in or not, but it's probably worth discussing at least. There are fixes in here for three separate problems that were causing Chakra to either fail to shut down or to shut down improperly. I'll call each of the problems/fixes out in comments and e...
diff --git a/Library/Dependencies/napi/source/env_chakra.cc b/Library/Dependencies/napi/source/env_chakra.cc index eaf6c3c307..f7294d707f 100644 --- a/Library/Dependencies/napi/source/env_chakra.cc +++ b/Library/Dependencies/napi/source/env_chakra.cc @@ -60,11 +60,9 @@ namespace Babylon ~napi_env_local() ...
2
2
0
[{"id": "G0", "claim": "The BgfxStatus global state holder used to guard ProgramData destruction is an undesirable design; prefer keeping a list of registered ProgramData (register in ctor, unregister in dtor) whose bgfx handles are freed when bgfx::shutdown runs, letting the JS engine free ProgramData whenever it need...
null
BabylonJS__BabylonNative__1542
BabylonJS/BabylonNative
1,542
defect
c27ac0485ceeb4e69d00778f6da130ef074b3ba2
980fcc52bb9f4e0afcdb906f6c827adab2b7895b
Linux/OpenGL CI Visualization Tests
Running on Linux Desktop needs OpenGL 46 and ES disabled. xvfb needs ES enabled. Problematic scenes have comments in `config.json`. Upcoming PR(s) to address test scene issues.
diff --git a/.github/jobs/linux.yml b/.github/jobs/linux.yml index 7edf8d613c..4ecc86ba09 100644 --- a/.github/jobs/linux.yml +++ b/.github/jobs/linux.yml @@ -30,33 +30,25 @@ jobs: ninja -C build displayName: 'Build X11' -# - script: | -# export DISPLAY=:99 -# Xvfb :99 -screen 0 1...
2
1
0
[{"id": "G0", "claim": "The FlipImage call is in a weird place and should be moved above the releaseFn definition, in both spots.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Linux version may still render as fast as possible without waiti...
null
BabylonJS__BabylonNative__1559
BabylonJS/BabylonNative
1,559
defect
100af5fc021c46ce188bc13d3871d45abf892261
654407ca1f9ac63e1a1905e11e59ba2166ce2b45
Enable sanitizers for macOS, Linux, Windows
Enable Address sanitizer as pointed by https://github.com/BabylonJS/BabylonNative/issues/1557 - Add macOS, Windows and Linux sanitizer builds - up ndk to v28 - misc build fixes - fix reported memory leaks and bugs Memleaks + CI issue : https://github.com/BabylonJS/BabylonNative/issues/1575
diff --git a/.github/jobs/android.yml b/.github/jobs/android.yml index c2f9e8f7b0..6c7d59c7e2 100644 --- a/.github/jobs/android.yml +++ b/.github/jobs/android.yml @@ -9,7 +9,10 @@ jobs: timeoutInMinutes: 45 pool: vmImage: ${{ parameters.vmImage }} - + + variables: + SANITIZER_FLAG: ${{ co...
3
2
2
[{"id": "G0", "claim": "Reassigning stackElements to a fresh std::vector in Clear() may not safely clear the heap-allocated internal members and may introduce a leak.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G4", "claim": "The reviewer asks whether the chang...
null
BabylonJS__BabylonNative__1564
BabylonJS/BabylonNative
1,564
defect
19da7ed321e375a6a42afe2895b720b8b7774bbe
2ca20761f50034ef0ee19c8a4ad84f76edb52bac
NativeEncoding: Use ArrayBufferView input and return Blob
This PR brings NativeEncoding up to speed with the changes in [BabylonJS #17365](https://github.com/BabylonJS/Babylon.js/pull/17365). It also updates the unit tests accordingly. - Expect input[0] to be an ArrayBufferView, not necessarily a Uint8Array - Include Blob in BabylonNative build - Return Blob from EncodeI...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6207323079..9edd23ac40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,8 +36,9 @@ FetchContent_Declare(ios-cmake GIT_REPOSITORY https://github.com/leetal/ios-cmake.git GIT_TAG 4.5.0) FetchContent_Declare(JsRuntimeHost - GIT_REPOSITORY https://gith...
3
3
1
[{"id": "G0", "claim": "The JsRuntimeHost pin in CMakeLists.txt should be updated after JsRuntimeHost PR #120 instead of pointing at the personal-fork commit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For consistency with the changed return...
null
BabylonJS__BabylonNative__1566
BabylonJS/BabylonNative
1,566
defect
b36caadb64bd4e76deedb699ca1511121c620d99
d13de459d28f258d4c0eeb55c90a4a596440a791
Graphics device and external texture updates
This change includes new support for specifying back buffer resources, enhanced depth/stencil format control, and expanded external texture APIs to better handle multi-layered textures and platform-specific details. - Add ability to specify the back buffer depth stencil format, including the ability to not use one ...
diff --git a/Core/Graphics/Include/RendererType/D3D11/Babylon/Graphics/RendererType.h b/Core/Graphics/Include/RendererType/D3D11/Babylon/Graphics/RendererType.h index 6bf9e1ef30..668724151b 100644 --- a/Core/Graphics/Include/RendererType/D3D11/Babylon/Graphics/RendererType.h +++ b/Core/Graphics/Include/RendererType/D3D...
4
4
1
[{"id": "G0", "claim": "The Update method signatures are inconsistent across platform implementations - OpenGL, D3D12 and Metal return bool without a layerIndex parameter - and should match the D3D11 implementation and the shared interface: void Update(Graphics::TextureT, std::optional<Graphics::TextureFormatT>, std::o...
null
BabylonJS__BabylonNative__1579
BabylonJS/BabylonNative
1,579
defect
0690ca8f6c319bd21dc8536aa0f1837986376dc9
ff3eba0559031cb31b385a91b5ba3d5c1ff9b5a3
Add EXCLUDE_FROM_ALL to most fetch content dependencies
This will make the CMake install target grab only the header and libs from BabylonNative and JsRuntimeHost and exclude install headers/libs from dependencies. Also includes improvements to the CI for testing the install targets.
diff --git a/.github/jobs/test_install_ios.yml b/.github/jobs/test_install_ios.yml index 72ab03ca06..bcf5529d45 100644 --- a/.github/jobs/test_install_ios.yml +++ b/.github/jobs/test_install_ios.yml @@ -5,7 +5,7 @@ parameters: jobs: - job: ${{ parameters.name }} - condition: and(succeeded(), eq(variables['Buil...
5
5
4
[{"id": "G0", "claim": "The new D3D11 external texture test uses std::cout and std::endl without including <iostream>, which will cause a compilation error.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The install test should link `webp` instead o...
null
BabylonJS__BabylonNative__1637
BabylonJS/BabylonNative
1,637
defect
3ccba7a6f741705ce611819aefacbbb8062393e7
3a32dc0be720d5773f424d4f5ec555630fa1ad2b
Fix sub-vec4 uniform heap-buffer-overflow (SetInt)
## Summary `NativeEngine::SetInt` passed only 1 float to `Program::SetUniform`, but bgfx always reads 16 bytes (vec4) from uniform data via `UniformBuffer::write`. This caused a heap-buffer-overflow detected by AddressSanitizer. ## Changes **Bug fix:** - **NativeEngine.cpp**: `SetInt` now creates a `float[4]`...
diff --git a/Apps/UnitTests/CMakeLists.txt b/Apps/UnitTests/CMakeLists.txt index b748e8b786..71e89fdefa 100644 --- a/Apps/UnitTests/CMakeLists.txt +++ b/Apps/UnitTests/CMakeLists.txt @@ -20,6 +20,7 @@ set(SOURCES "Source/Tests.ExternalTexture.cpp" "Source/Tests.JavaScript.cpp" "Source/Tests.ShaderCache.c...
4
2
0
[{"id": "G0", "claim": "value.Data is assigned from the full incoming span without being truncated to the clamped elementLength, so with the new size assert callers that provide more elements than the shader declares (common for array setters) will trip the assert even though runtime behavior would otherwise safely ign...
null
BabylonJS__BabylonNative__1666
BabylonJS/BabylonNative
1,666
defect
ff2e970b15581b2b8a52091081d595a1e145446b
ab61e055044aaa95f8c5fe8d517dcf14430dbb50
Apps/ModuleLoadTest: add boot-time module load regression test
[Created by Copilot on behalf of @bghgary] Adds a new `Apps/ModuleLoadTest` harness that asserts BabylonNative does not load unexpected native modules on boot. Motivating case: catching regressions like `dbghelp.dll` being introduced (currently loaded by bx's `DbgHelpSymbolResolve` static initializer). ### How...
diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 4cf7688a6e..54bd726625 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -67,6 +67,12 @@ jobs: ulimit -c unlimited xvfb-run ./UnitTests + - name: Module Load Test...
4
4
2
[{"id": "G0", "claim": "The macOS workflow runs ModuleLoadTest even when enable-sanitizers is true, so sanitizer runtime dylibs would show up as new modules and likely cause spurious failures; the test should be skipped when sanitizers are enabled (as the Win32 workflow already does) or the sanitizer runtime modules ex...
null
BabylonJS__BabylonNative__1670
BabylonJS/BabylonNative
1,670
defect
fb416e346ac0fd0e8fcce8a6361ce09ce31b575f
fc140f8e8eb857b3474d9c24bc951b0db89813bd
Write shaderCache.bin next to the executable instead of CWD
## Problem `ShaderCache.SaveAndLoad` writes `shaderCache.bin` to the current working directory: ```cpp static const char* shaderCacheFileName = "shaderCache.bin"; std::ofstream stream(shaderCacheFileName, std::ios::binary); ``` When `UnitTests.exe` is launched from anywhere that isn't the build output direc...
diff --git a/Apps/UnitTests/Source/Tests.ShaderCache.cpp b/Apps/UnitTests/Source/Tests.ShaderCache.cpp index cf1c3d8be7..9040eaf82e 100644 --- a/Apps/UnitTests/Source/Tests.ShaderCache.cpp +++ b/Apps/UnitTests/Source/Tests.ShaderCache.cpp @@ -10,6 +10,7 @@ #include <chrono> #include <cstdlib> +#include <filesystem>...
4
4
2
[{"id": "G0", "claim": "The fixed filename in the shared temp directory can collide and race when multiple UnitTests instances or parallel shards run on the same machine, causing flaky Save/Load or cleanup of another process' file; the test should generate a unique per-run filename in temp_directory_path().", "category...
null
BabylonJS__BabylonNative__185
BabylonJS/BabylonNative
185
defect
d9cd631b785cb2684717ef069bfc08cc1c3291bc
7979b19b0e1bda2617eb22e9ab05efd49d64137d
X11port
PR for X11 port. Should also work with other kernels. Remaining work needed for GLSL compiler but this PR is enough for getting a compiled binary and test portability features. - I didn't commit my hacky changes in GLSL compiler - Needs Clang 8 or 9 ![image](https://user-images.githubusercontent.com/1312968/7723...
diff --git a/Apps/Playground/CMakeLists.txt b/Apps/Playground/CMakeLists.txt index 2288b5ecd2..2dae3b266c 100644 --- a/Apps/Playground/CMakeLists.txt +++ b/Apps/Playground/CMakeLists.txt @@ -47,6 +47,10 @@ elseif(WINDOWS_STORE) set(RESOURCE_FILES ${BABYLON_NATIVE_DEPENDENCIES}) +elseif(UNIX AND NOT APPL...
6
5
1
[{"id": "G0", "claim": "Converting a file path to a URL is still not technically correct because it does not encode characters not supported by URLs (e.g. spaces, unicode chars); the suggested change is to build the URL as \"file:///\" plus the path's generic string, and perhaps add encode/decode helpers in UrlLib.", "...
null
BabylonJS__BabylonNative__191
BabylonJS/BabylonNative
191
defect
345d5bbffc8245f41d4fbd23efc13c0161b15244
f9eee8dff4eaa9eecc5ac4ae4a6f2d8f2efd9c14
Disassociate AppRuntime from JsRuntime
Following up on initialization paradigm conversation, removed inheritance relationship from between AppRuntime and JsRuntime and adapted several plugins to (at least loosely) follow the new paradigm of requiring initialization on the correct thread.
diff --git a/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp b/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp index 86043d9e6b..ebeff17b8d 100644 --- a/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp +++ b/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp @@ -85,15...
1
1
0
[{"id": "G0", "claim": "The window/engine initialization Dispatch call in Android surfaceCreated could be merged with the Dispatch call at the beginning (console initialization) into a single Dispatch.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
BabylonJS__BabylonNative__201
BabylonJS/BabylonNative
201
defect
0a52bec0750bf06961db976b35ce428774374579
c2ae82c88a1b0d30263fba8527c6683067a9de9a
Adding calls to DeinitializeGraphics to Playground apps
I tried to add these calls in the right places, but it also seems like the existing deinitialization code was only partially done, so I tried to flesh it out where it seemed like it was missing as part of this change as well. I tested on Android, MacOS, Win32, and UWP. I haven't been able to get the iOS playground app ...
diff --git a/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp b/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp index b66b645ecf..1b07ffb5b0 100644 --- a/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp +++ b/Apps/Playground/Android/app/src/main/cpp/BabylonNativeJNI.cpp @@ -51,6 ...
2
2
0
[{"id": "G0", "claim": "RestartRuntimeAsync in Apps/Playground/UWP/App.cpp should just call Uninitialize instead of duplicating the reset/DeinitializeGraphics teardown code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The m_inputBuffer.reset(...
null
BabylonJS__BabylonNative__208
BabylonJS/BabylonNative
208
defect
e2a39405185933fd9a7e211b59734d65059c7c07
8e64bba6c98ca05afce4612e3e35e8b18bc1f778
Validation tests
Here is a batch of 4tests that work. Run the ValidationTests project and your error code should be 0. - Resulting images are saved (toggled by a JS variable) to help debugging - As before, if too many pixels are different, an image with highlighted difference is saved in working directory - I've put some comments f...
diff --git a/Apps/ValidationTests/CMakeLists.txt b/Apps/ValidationTests/CMakeLists.txt index 6db0717b59..f328af7cf2 100644 --- a/Apps/ValidationTests/CMakeLists.txt +++ b/Apps/ValidationTests/CMakeLists.txt @@ -8,7 +8,8 @@ set(BABYLONSCRIPTS "../BabylonScripts/babylonjs.materials.js") set(SCRIPTS - "Scripts/...
5
5
3
[{"id": "G0", "claim": "bimg::imageParse can return nullptr (e.g. for a 404 HTML page) and the task relies on the error handler below to catch the failure; the reviewers question whether that happens and suggest checking for nullptr explicitly, since FlipY, GenerateMips and CreateTextureFromImage do not test for null."...
null
BabylonJS__BabylonNative__226
BabylonJS/BabylonNative
226
defect
e2976380056eee39bd6b70c0106152d542249500
4a086a93af9e259443c6ee778ddeceb82577c2d5
Replace curl implementations with new library UrlLib
This includes some of the changes from this [PR](https://github.com/BabylonJS/BabylonNative/pull/190) for Android support. - Remove `curl` and `openssl` submodules - Add new library `UrlLib` with platform specific implementations of `UrlRequest` - Support `app:` scheme which redirects to loading resources from a...
diff --git a/.gitmodules b/.gitmodules index a4c142eb0c..fef337dcd1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,9 +10,6 @@ [submodule "SPIRV-Cross"] path = Dependencies/SPIRV-Cross url = https://github.com/KhronosGroup/SPIRV-Cross -[submodule "curl"] - path = Dependencies/curl - url = https://github.com/curl...
11
7
0
[{"id": "G0", "claim": "The manually defined JNI interop functions carry separate forward declarations that serve no purpose and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ArSession_create argument change should be con...
null
BabylonJS__BabylonNative__244
BabylonJS/BabylonNative
244
defect
2f9185c325e3e7d103b0dd79af7d02953076d5c4
44a8ee8b4485db058416837281f1c85961643069
Enable validation tests on CI for Win32
Run the tests provided in config.json and fails the build when image difference threshold is reached. I successfully failed it by setting threshold to 0.
diff --git a/Apps/ValidationTests/Win32/App.cpp b/Apps/ValidationTests/Win32/App.cpp index 3354b77ec3..6ecf076529 100644 --- a/Apps/ValidationTests/Win32/App.cpp +++ b/Apps/ValidationTests/Win32/App.cpp @@ -11,7 +11,7 @@ #include <filesystem> #include <algorithm> -bool doExit = false; +volatile bool doExit = false;...
2
1
0
[{"id": "G0", "claim": "The doExit variable should be declared in TestUtils.h instead of awkwardly in Win32/App.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Busy-waiting on a while loop over a boolean is a poor pattern and some kind of bl...
null
BabylonJS__BabylonNative__269
BabylonJS/BabylonNative
269
defect
5f4eade667933897a4139c3e7f7c1b0920250840
b46f5560da5d602854ff70f42f51e19b24ae54a7
warning as error
Disable warnings for 3rd party dependencies. Warning as error with pedantic and extra warnings - [x] The repo for base-n is my own fork. I'll change it to the original one once my PR is merged.
diff --git a/.gitmodules b/.gitmodules index fef337dcd1..9112ace440 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "base-n"] path = Dependencies/base-n - url = https://github.com/azawadzki/base-n + url = https://github.com/CedricGuillemet/base-n [submodule "arcana.cpp"] path = Dependencies/...
3
2
1
[{"id": "G0", "claim": "Warnings should be enabled (as errors) for the xr dependency rather than disabled, since it is BabylonNative's own code.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The catch clause should catch the exception by const refe...
null
BabylonJS__BabylonNative__345
BabylonJS/BabylonNative
345
defect
f14dc6a2dd72defeb94306c778a1b554ce3caa38
0ab3f4fec57665d735d6852cd144a0a3ffbf59d9
Native graphics
Preliminary mechanism for splitting out graphics into its own component in order to be able to handle more complicated situations such as off-thread rendering, multiple engines, and even (potentially) multiple JavaScript environments. Currently NOT fully-featured, but a functioning prototype within the Playground app. ...
diff --git a/Apps/Playground/CMakeLists.txt b/Apps/Playground/CMakeLists.txt index 0634b34cb2..634f0b3b60 100644 --- a/Apps/Playground/CMakeLists.txt +++ b/Apps/Playground/CMakeLists.txt @@ -11,7 +11,6 @@ set(SCRIPTS "Scripts/playground_runner.js") set(SOURCES - "Shared/InputManager.cpp" "Shared/InputMa...
5
4
1
[{"id": "G0", "claim": "The `if` guards around `unique_ptr::reset()` in the apps' Uninitialize are unnecessary; reset() should be called directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Calling `InitializeFromWindow`/`ReinitializeFromWin...
null
BabylonJS__BabylonNative__690
BabylonJS/BabylonNative
690
defect
7545751cf63a60449cb5f371bf677545fd8d1fc1
9c4388e1d195f3ef1a26b953a28d8b3d8002ebd7
Linux URL path fix
Small fixes when doing a quick test on Linux CI/Validation tests - fix escape character for URL path - update texture cache test snippet - increase LOD test tolerance Deadlock issue is still present.
diff --git a/.github/jobs/linux.yml b/.github/jobs/linux.yml index 92714eaae1..b48c313a7d 100644 --- a/.github/jobs/linux.yml +++ b/.github/jobs/linux.yml @@ -35,24 +35,26 @@ jobs: ninja displayName: 'Build X11' - #- script: | - # export DISPLAY=:99 - # Xvfb :99 -screen 0 1600x900x24 & - ...
5
5
1
[{"id": "G0", "claim": "The pointer declaration should be written `CURLU* url` (star attached to the type) instead of `CURLU *url`, in the few places styled the other way.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The runtime_error should b...
null
BabylonJS__BabylonNative__804
BabylonJS/BabylonNative
804
defect
d5b14ec96dc8c4ba63f63ebe1cdd43bcdea2549c
ee19dce4893904d2b90b251b84ba097585cac578
Integrate GoogleTest framework to Babylon Native, build for Win32
Adds the Google Test framework into Babylon Native (see #802). Creates a file, UnitTests.cpp, which will hold future Unit Tests. Currently, Unit Tests will only be built for Win32. They can be manually invoked from `BabylonNative\build\win32\Apps\UnitTests\Release` with the command `UnitTests`. Future work will invo...
diff --git a/Apps/CMakeLists.txt b/Apps/CMakeLists.txt index 6666163932..bd15976bd8 100644 --- a/Apps/CMakeLists.txt +++ b/Apps/CMakeLists.txt @@ -5,3 +5,7 @@ endif() if((WIN32 OR (UNIX AND NOT ANDROID)) AND NOT WINDOWS_STORE) # Default JS engine for platform only? add_subdirectory(ValidationTests) endif() + +if...
6
6
0
[{"id": "G0", "claim": "The googletest projects should be put in a solution folder like the other dependencies, the same way set_property(FOLDER) is used for UnitTests, so they show up under Dependencies in Visual Studio.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
BabylonJS__BabylonNative__826
BabylonJS/BabylonNative
826
defect
a0cd2ba7439f118e359d60adbc2100ba1db86422
994863ef8aa6235605513b65249fc03678c876b8
GRAPHICS_API switch for Win32/Android/Linux
Select Graphics API this way: ``` cmake .. -G "Visual Studio 16 2019" -DGRAPHICS_API=D3D12 ``` Need https://github.com/BabylonJS/BabylonNative/pull/950 to be merged before this one. Vulkan status: Current state: Playground runs and displays a green cube. Uniforms for VS are properly bound. For FS, it looks li...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 091f0d0757..d4b4d52a24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,7 @@ if (APPLE) set(CMAKE_NO_SYSTEM_FROM_IMPORTED TRUE) endif() +# Setting Platform if(ANDROID) set(BABYLON_NATIVE_PLATFORM "Android") elseif(APPLE) @@ -24,6 +25,24 @@ e...
5
4
2
[{"id": "G0", "claim": "Questions why the Graphics API deduction was promoted to the root CMakeLists.txt.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Vulkan should also be selectable on other platforms such as Android, not just Windows.", "category": "d...
null