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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Unstructured-IO__unstructured-api__203 | Unstructured-IO/unstructured-api | 203 | defect | 1b2a3ffd4ba07ab33900d414bc4c9272c9495072 | c5ee6d12ac61d61c8feb79387571f6e9ce6e8c60 | feat: Return a 503 if available memory is low | Add `UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB`. When this is set, and the host available memory is below this value, we'll start returning 503. The exception is if the request originates from `10.4.x.x` or `10.5.x.x`. These are parallel mode requests for a doc already in progress (hosted api).
Also, move the `safetensors... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index bb99cd8e3..f3b39186e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.0.40-dev0
+
+* Reject traffic when we're overloaded via `UNSTRUCTURED_MEMORY_FREE_MINIMUM_MB`
+
## 0.0.39
* Fix wrong handleing on param skip_infer_table_types
diff --git a/pipeline... | 4 | 3 | 2 | [{"id": "G0", "claim": "The `-c constraints.in` constraint should also be added to requirements/test.in, not just base.in.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Getting the origin IP should follow the quota-check approach (read X-Forwar... | null |
Unstructured-IO__unstructured-api__215 | Unstructured-IO/unstructured-api | 215 | defect | 727eb6cae78c9adf976e35af4034ce0eab6cbcf7 | 6415265b6fb54dd83bfbc3064eada827f7dd4888 | fix: fix parameter renaming bug when using parallel mode | This affected `hi_res_model_name` - the api param is different than the partition param so it wasn't passed correctly. Add a unit test to catch all future cases of this. If the param is passed correctly, you can send a bogus model name and see it get rejected by unstructured-inference.
Run the following on main - yo... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8d74269bb..784e2ca1d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 0.0.42-dev0
+## 0.0.42-dev1
* Update readme for parameter `hi_res_model_name`
+* Fix a bug using `hi_res_model_name` in parallel mode
## 0.0.41
diff --git a/Makefile b/Makefile
in... | 2 | 1 | 0 | [{"id": "G0", "claim": "Consider renaming `hi_res_model_name` to `model_name` so the parameter is named consistently, since carrying two names for the same thing is confusing.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Replace the two-step copy-the... | null |
Unstructured-IO__unstructured-api__216 | Unstructured-IO/unstructured-api | 216 | defect | 91c0617910c5f6c4290c1b9ee110aa87637ea4d1 | 0e782ef0fed31a7a9db72617618cbc9d6e32a9e8 | feat: add exponential retries to parallel mode calls | Replace our parallel mode retry logic with the `backoff` library. This gives us exponential backoff, retryable error codes, etc with just a decorator, which really cleans up the code.
Changes:
* Refactor `partition_file_via_api` and move the request with backoff to `call_api`
* Add `backoff` as a dependency and `p... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ef9e73b8..168328ced 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 0.0.44-dev0
+## 0.0.44-dev1
* Bump unstructured to 0.10.14
+* Improve parallel mode retry handling
## 0.0.43
diff --git a/README.md b/README.md
index ae35b5998..9d36d3517 100644
-... | 3 | 1 | 1 | [{"id": "G0", "claim": "On a single external request hitting a 500 in parallel mode, the logs showed 13 POSTs and four \"Giving up call_api(...) after 3 tries\" messages, and the reviewer thinks that is not the right case — one POST and one giving-up should appear instead.", "category": "correctness", "verdict": "oppos... | null |
Unstructured-IO__unstructured-api__238 | Unstructured-IO/unstructured-api | 238 | defect | 96908e5b1c0ce1ce9c938fe7fbecada5b01f67b7 | 31a5e8b23f9ba5afad857f5db1ab24bd3c619285 | feat: add chunking_strategy kwarg | Add `chunking_strategy` as a kwarg for parsing and associated test.
### Testing
```
curl -X 'POST' 'http://127.0.0.1:8000/general/v0/general' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'files=@sample-docs/layout-parser-paper-fast.pdf' \
-F 'chunking_strategy=by_title' \
... | diff --git a/README.md b/README.md
index 9d36d3517..a5bca05a3 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,29 @@ curl -X 'POST'
| jq -C . | less -R
```
+
+#### Chunking Elements
+
+Set the `chunking_strategy` to chunk text into larger or smaller elements. Defaults to `None` with optional arg of `by_title`... | 2 | 1 | 0 | [{"id": "G0", "claim": "Clarify in the README chunking section that the additional parameters (multipage_sections, combine_under_n_chars, new_after_n_chars) are defaults only and not exposed via the API yet.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
Unstructured-IO__unstructured-api__246 | Unstructured-IO/unstructured-api | 246 | defect | 49fe71026e026530276bbb72f6a9df46feb6d1c2 | 8297127bf9d21ff670b0e672cea773f3a8f5b401 | feat: add `languages` kwarg | Add `languages` as a kwarg for parsing and its associated tests
Closes #233
### Testing
```
curl -X 'POST' 'http://127.0.0.1:8000/general/v0/general' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'files=@sample-docs/english-and-korean.png' \
-F 'languages=eng' \
-F 'lan... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index dc87a8c42..14e084c9b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
-## 0.0.47-dev0
+## 0.0.47-dev1
+* **Adds `languages` kwarg** `ocr_languages` will eventually be depricated and replaced by `lanugages` to specify what languages to use for OCR
* **Adds `... | 2 | 2 | 0 | [{"id": "G0", "claim": "The README's deprecation note misspells \"deprecated\" as \"depricated\"; the reviewer suggests the corrected wording via a suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should bump the version to ... | null |
Unstructured-IO__unstructured-api__249 | Unstructured-IO/unstructured-api | 249 | defect | b1a6cae9ae159c957cea644c5d0e5ba0584c16d6 | 367c0c05956ba4ca781afef463d948828673c2a9 | fix: Do not return 400 error for encrypted but readable pdfs | Fixes #236
The `pdf.is_encrypted` check is true for files with edit protections, so we were returning 400 "This file is encrypted" for files that were perfectly readable. To verify, run this branch with `make run-web-app` and submit the pdf in the linked issue.
Other changes:
* Remove filename from some error m... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index dc87a8c42..661f71ea0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 0.0.47-dev0
+## 0.0.47
* **Adds `chunking_strategy` kwarg and associated params** These params allow users to "chunk" elements into larger or smaller `CompositeElement`s
+* Fix some pd... | 2 | 2 | 0 | [{"id": "G0", "claim": "Remove the sample-docs/layout-parser-paper-password-protected.pdf file that is no longer used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The new test should use the temp file via a context manager (`with tempfile.N... | null |
Unstructured-IO__unstructured-api__273 | Unstructured-IO/unstructured-api | 273 | defect | b7738ad483fe26f36a10229dd842287f55316e5d | 1a83aaea2dadfe6603e33f40640ee754f4e6e38d | fix: handle PdfStreamError | Fixes #266
We see this error when a user sends a non pdf file, and the content type is set to pdf. We try to load it in `PdfReader`, and see warnings like this:
```
WARNING:pypdf._reader:invalid pdf header: b'\xff\xd8\xff\xe1\x9b'
WARNING:pypdf._reader:EOF marker not found
```
We just need to catch this er... | diff --git a/prepline_general/api/app.py b/prepline_general/api/app.py
index 5be5d0eb5..47867d4eb 100644
--- a/prepline_general/api/app.py
+++ b/prepline_general/api/app.py
@@ -17,9 +17,10 @@
)
# Note(austin) - This logger just dumps exceptions
-# We'd rather handle those below
+# We'd rather handle those below, so... | 2 | 2 | 1 | [{"id": "G0", "claim": "The two identical `HTTPException(status_code=400, detail=\"File does not appear to be a valid PDF\")` raises (the one on line 282 and the newly added one) should be combined into one.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
Unstructured-IO__unstructured-api__277 | Unstructured-IO/unstructured-api | 277 | defect | e5dd98a64f831ac3e16096916e608d6477483011 | ce054a01caeb78b024c30e05c2b981ae67a5db40 | Catch BadZipFile errors | ### Summary
Closes #268
### Testing
```
import requests
filename = "sample-docs/fake-text.txt"
resp = requests.post("http://localhost:8000/general/v0/general",
files={"files": (filename, open(filename, "rb"), "application/vnd.openxmlformats-officedocument.wordprocessingml.document")},
)
resp.text
... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index faf5902a5..61a90e345 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 0.0.52-dev0
+## 0.0.52-dev1
* Fix an unhandled error when a non pdf file is sent with content-type pdf
+* Fix unhandled error when a non docx file is sent with content-type docx
## ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test case like the PdfStream one that sends a sample doc with the wrong content type.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Unstructured-IO__unstructured-api__370 | Unstructured-IO/unstructured-api | 370 | defect | 023307f283103c2e3e53799d8ab5aba6448c1e6f | add5a30e51fbacef30f031e86c695627df061b6b | chore: change table extraction defaults | Change default values for table extraction - relies on [this](https://github.com/Unstructured-IO/unstructured/compare/chore/change-table-extraction-defaults?expand=1) `unstructured` PR being merged and synced.
We want to move away from `pdf_infer_table_structure` parameter, in this PR we:
- [x] set `pdf_infer_tab... | diff --git a/README.md b/README.md
index b39c29855..c58128d26 100644
--- a/README.md
+++ b/README.md
@@ -131,21 +131,6 @@ When elements are extracted from PDFs or images, it may be useful to get their b
| jq -C . | less -R
```
-#### PDF Table Extraction
-
-To extract the table structure from PDF files using the `... | 3 | 3 | 2 | [{"id": "G0", "claim": "Remove the README instruction under the 'PDF Table Extraction' heading (and possibly touch up the 'Skip Table Extraction' section).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Update the README sentence 'By default, we... | null |
Unstructured-IO__unstructured-api__373 | Unstructured-IO/unstructured-api | 373 | defect | 023307f283103c2e3e53799d8ab5aba6448c1e6f | 40705ea3c759c678b1cc2ea42fa2166cc95a3258 | fix: receive csv when `output_format=text/csv` | Issues with not receiving csv formatted answer stem from looking up `accept:` headers to derive in what format we want to send a response.
I suggest that `output_format` should be wholly in charge of this and that we get rid of raising `406` errors when there's a mismatch between accept headers and response type as ... | diff --git a/prepline_general/api/general.py b/prepline_general/api/general.py
index da66de4de..7cdf6771a 100644
--- a/prepline_general/api/general.py
+++ b/prepline_general/api/general.py
@@ -751,12 +751,6 @@ def general_partition(
files[file_index], form_params.gz_uncompressed_content_type
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The possibilities for form_params.output_format should be limited to a list of acceptable output formats using Literal (as done elsewhere in form_params.py), with the documentation updated accordingly.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},... | null |
Unstructured-IO__unstructured-api__375 | Unstructured-IO/unstructured-api | 375 | defect | 023307f283103c2e3e53799d8ab5aba6448c1e6f | d3a873235599a4b196406d28a29cdb056070b16c | refactor: fix `ocr_languages` parameter type | This PR adds support for both `list[str]` and `str` input formats for `ocr_languages` parameter (e.g. ["eng", "deu"] or "eng+deu")
### Testing
CI should pass. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 980571341..ae90ee365 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+## 0.0.65-dev0
+* Fix `ocr_languages` parameter type from `List[str]` to `str`
+
## 0.0.64
* Bump Pydantic to 2.5.x and remove it from explicit dependencies list (will be managed by fastap... | 1 | 1 | 1 | [{"id": "G0", "claim": "Changing the `ocr_languages` parameter type from List[str] to str is a breaking change; the reviewer asks whether the param can support either a string or a List.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Unstructured-IO__unstructured-api__382 | Unstructured-IO/unstructured-api | 382 | defect | d0a7f9cfd2c8e1f20086824f34f2a6c615223707 | 9a6bad19bd325df856bc6f35eff3a2b6d5fba8b1 | test: ability to accept gzip compressed files | The PR adds tests:
- unit tests comparing response between gzipped and not-gzipped files, for different content types, also for non-set ungzipped content type, and for single and multiple files in various combinations.
- simple smoke tests
To test only new unit tests:
> PYTHONPATH=. python -m pytest -v test_gener... | diff --git a/README.md b/README.md
index c4d6c27bd..44f30dc92 100644
--- a/README.md
+++ b/README.md
@@ -167,7 +167,7 @@ for PDFs and Images, which are `pdf`, `jpg` and `png`. Again, please note that t
You can specify the encoding to use to decode the text input. If no value is provided, utf-8 will be used.
```
-cu... | 4 | 3 | 0 | [{"id": "G0", "claim": "Pinning with pip-compile unexpectedly added nvidia-* and triton packages (marked \"via torch\") to requirements/base.txt; hubert asks whether they can stay or whether the cause should be investigated.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "unclear"},... | null |
Unstructured-IO__unstructured-api__399 | Unstructured-IO/unstructured-api | 399 | defect | a330ea4c012a63cfcace721b6cee5182863a519f | 741c78f707bde2a2892b8850a4b931d3d4c16364 | feat: add unique_element_ids param | Api gets the `unique_element_ids` added as a parameter, and passed into the library.
You can test with `make test`. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index a4a27314c..f6ffa5d8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
* Add support for both `list[str]` and `str` input formats for `ocr_languages` parameter
* Adds support for additional MIME types from `unstructured`
* Document the support for gzip files ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The README documentation for unique_element_ids should indicate that \"unique\" here means the IDs are random, i.e. they differ with every partition of the same file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The autho... | null |
Unstructured-IO__unstructured-api__400 | Unstructured-IO/unstructured-api | 400 | defect | 21bb99c9a00b4131ddb862d4bc6185057f3a75ed | 43f8ec3a506d0eb0abc5c138e509527f0fdeeba5 | Support for `starting_page_number` parameter when doing PDF page splitting | This PR enables the Python and JS clients to partition PDF pages independently after splitting them on their side (`split_pdf_page=True`). Splitting is also supported by API itself - this makes sense when users send their requests without using our dedicated clients.
Related to:
* https://github.com/Unstructured-I... | diff --git a/prepline_general/api/general.py b/prepline_general/api/general.py
index bac1c00be..4981e8545 100644
--- a/prepline_general/api/general.py
+++ b/prepline_general/api/general.py
@@ -32,18 +32,20 @@
from pypdf.errors import FileNotDecryptedError, PdfReadError
from starlette.datastructures import Headers
fr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The unique_element_ids pop/UUID-to-hash reassembly workaround in partition_pdf_splits is no longer needed, since unstructured now provides this.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parallel-mode uniqueness ... | null |
Unstructured-IO__unstructured-api__509 | Unstructured-IO/unstructured-api | 509 | defect | 706e600da1c2a1e8f27ce7d31d7c90e3b83e3d75 | a711e0f510b3646d6c8de9a7341acc9df10f0818 | parallelize tests | This repo doesn't have access to the self-hosted-xlarge runner for more cores, so this change will only start 2 workers | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1aed35359..c4377d439 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -75,6 +75,7 @@ jobs:
sudo apt-get install -y tesseract-ocr tesseract-ocr-kor
tesseract --version
make install-nltk-models
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The pip-compile-generated comments must not contain absolute local paths, so the lines like `-c /Users/jiajunxu/code/unstructured-api/requirements/constraints.in` need to be replaced with relative paths.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
UpCloudLtd__upcloud-go-api__101 | UpCloudLtd/upcloud-go-api | 101 | defect | 13b485edb77cc591c032628637a40415467b38f7 | c2bf9e911b07d6decfd3b8bbb3a4b9e1fe7aa177 | feat(account): Subaccount management | Implement subaccount CRUD operations and account listing. | diff --git a/upcloud/account.go b/upcloud/account.go
index 80e3f564..fd7b6b07 100644
--- a/upcloud/account.go
+++ b/upcloud/account.go
@@ -1,6 +1,12 @@
package upcloud
-import "encoding/json"
+import (
+ "encoding/json"
+)
+
+const (
+ AccountTypeSubaccount string = "sub"
+)
// Account represents an account
type... | 3 | 2 | 1 | [{"id": "G0", "claim": "AccountDetails.Type should use a dedicated enum type instead of a plain string, so that the allowed values (e.g. \"sub\") are narrowed for future developers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing GetAccount from ... | null |
UpCloudLtd__upcloud-go-api__103 | UpCloudLtd/upcloud-go-api | 103 | defect | d0a70ed69e1a4089ba5c83f97e33df8c6a822fbd | e4b6495d685869bf22d801db6fc46f82b0259418 | feat(storage): resize partition and filesystem | New service resizes the last partition of a storage and the ext3/ext4/XFS/NTFS filesystem on that partition if the partition does not extend to the end of the storage yet. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index cd8b3231..04f8cd52 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,10 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
---
+### Added
+
+- add support for resizing storage partition and filesystem
+
## [4.1.3]
... | 3 | 3 | 1 | [{"id": "G0", "claim": "Resizing should also be possible without detaching the storage, and the reviewer suggests covering that with a separate test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "On JSON unmarshal failure ResizeStorage returns the back... | null |
UpCloudLtd__upcloud-go-api__182 | UpCloudLtd/upcloud-go-api | 182 | defect | e79fb313ad66d5fd9b86c8628ca08c385bd6c689 | 3539ff4bbb03019ef258c7acaf54771c55c85b89 | feat(lbaas): private network support | Support for load balancer network objects:
https://developers.upcloud.com/1.3/17-managed-loadbalancer/#networks | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9bd783e6..45dcf461 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,5 @@
repos:
- repo: https://github.com/golangci/golangci-lint
- rev: v1.45.2
+ rev: v1.50.1
hooks:
- id: golangci-lint
diff --git a/... | 3 | 2 | 0 | [{"id": "G0", "claim": "The CHANGELOG's Deprecated section should use the Go field name `NetworkUUID` instead of the JSON field name `network_uuid`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `fmt` and `vet` Makefile targets may be unneces... | null |
UpCloudLtd__upcloud-go-api__210 | UpCloudLtd/upcloud-go-api | 210 | defect | 640df049ef595a3d2e097eee3fe91bbe30430514 | b2bc7ba477aeec37d2bef2c1925c30a37575b95e | Refactor/errors | This PR refactors how SDK handles service errors. Long story short - all methods now return `Problem` type | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4da6080f..6323d433 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,12 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
+### Changed
+- errors: all service method now return `Problem` type in case of errors
+
+### R... | 3 | 3 | 1 | [{"id": "G0", "claim": "The problem-type check in the new comparison helper should use strings.HasPrefix() instead of strings.Contains() since it would be a bit more efficient.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The helper should use url... | null |
UpCloudLtd__upcloud-go-api__385 | UpCloudLtd/upcloud-go-api | 385 | defect | eeb3dabd63078688a29be7b5224fd8e99ecddd18 | 7354133b3163d703124521bce9bb6fdbe1e18720 | feat(account): add billing summary | This PR adds billing summary support to the account service.
Follows the API /account/billing/summary/{year-month} endpoint as documented in the account section.
Notes:
- The `BillingCategory` and `BillingResourceGroup` structs handle the nested JSON structure where categories contain both a total_amount and a ... | diff --git a/upcloud/account.go b/upcloud/account.go
index 347017f7..89e0a9cf 100644
--- a/upcloud/account.go
+++ b/upcloud/account.go
@@ -187,3 +187,75 @@ func (a *AccountList) UnmarshalJSON(b []byte) error {
*a = append(*a, v.Accounts.Item...)
return nil
}
+
+// BillingSummary represents billing summary for a sp... | 3 | 2 | 1 | [{"id": "G0", "claim": "The billing summary types are missing the networks and storages billing categories (and their resource groups) that appear in real API data.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A `bandwidth` key could also appear u... | null |
UpCloudLtd__upcloud-go-api__411 | UpCloudLtd/upcloud-go-api | 411 | defect | 7e6ef9921ea6101c5a4525821b88431d5c2c1fc1 | d033ccc92e67ec3a2f0b1ef674d6a1e2dab7cd17 | feat(network): add dhcp_route_configuration | - Added dhcp_routes_configuration attributes inside the ip_network object in the network creation and modification
- Added tests for mashallng and unmarshaling the objects
- Added integration test | diff --git a/upcloud/network.go b/upcloud/network.go
index 6f4ff6c8..4c2f52fd 100644
--- a/upcloud/network.go
+++ b/upcloud/network.go
@@ -88,15 +88,27 @@ func (s *Interface) UnmarshalJSON(b []byte) error {
return nil
}
+type DHCPRoutesConfig struct {
+ EffectiveRoutesAutoPopulation EffectiveRoutesAutoPopulation `... | 2 | 2 | 0 | [{"id": "G0", "claim": "The reviewer suggests renaming the DHCPRoutesConfig type and the IPNetwork.DHCPRoutesConfig field to use the full word \"Configuration\" (DHCPRoutesConfiguration) to be more in sync with the API's dhcp_routes_configuration, while noting the current naming also works.", "category": "design", "ver... | null |
UpCloudLtd__upcloud-go-api__417 | UpCloudLtd/upcloud-go-api | 417 | defect | 3abdd0fe4ab81dc72c05f02c48898c89fb941419 | 39ae6cc8c3d81644967c6618b6fcc7028372f36e | chore(net dhcp): convert to pointer | This is needed to be able to clean dhcp filters from the terraform provider.
nil pointer array -> not specified, keep what you have
pointer to empty array -> clean the values
pointer to array -> Set the values | diff --git a/upcloud/network.go b/upcloud/network.go
index 67141408..48f22c3f 100644
--- a/upcloud/network.go
+++ b/upcloud/network.go
@@ -104,10 +104,10 @@ type DHCPRoutesConfiguration struct {
}
type EffectiveRoutesAutoPopulation struct {
- Enabled Boolean `json:"enabled"`
- ExcludeBySour... | 4 | 4 | 0 | [{"id": "G0", "claim": "Add additional modify requests to the DHCP test covering and asserting sending both nil values and empty arrays.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Add delete requests (stop the server, delete the server and storage... | null |
UpCloudLtd__upcloud-go-api__432 | UpCloudLtd/upcloud-go-api | 432 | defect | c4b0d7e6778d9bd0748e0c476649c8d2c01e1c30 | f816a97df002877c5bf69aec1f4c36b1595cf5fa | fix(lbaas): add field for clearing backend props | Alternative would be to modify `upcloud.LoadBalancerBackendProperties` to use pointer types for these two fields, but that would be a breaking change (and we use separate types for requests and responses for some resources). Thus, I would go with this workaround for now and fix the types in next major release. | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2a47a06b..2bdf5707 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,10 @@ See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
+### Fixed
+
+- load-balancer: Add workaround for clearing backend properties in `ModifyLoadBal... | 2 | 1 | 0 | [{"id": "G0", "claim": "Catch the ignored `ok` result of the `m[\"properties\"]` type assertion for robustness.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Write the Unmarshal error check as a single-line `if err := ...; err != nil` for brevity.", ... | null |
UpCloudLtd__upcloud-go-api__46 | UpCloudLtd/upcloud-go-api | 46 | defect | 8cbc8bc92222d158ea6a66deb6547c7d3840f6b4 | 64a09adcdac01b186e628341134251e5059b567c | Support fields "created" and "origin" for backup storages | Should fix #45. Let me know if any changes are needed. | diff --git a/upcloud/storage.go b/upcloud/storage.go
index 5d358443..b49d3450 100644
--- a/upcloud/storage.go
+++ b/upcloud/storage.go
@@ -1,6 +1,9 @@
package upcloud
-import "encoding/xml"
+import (
+ "encoding/xml"
+ "time"
+)
// Constants
const (
@@ -54,6 +57,9 @@ type Storage struct {
Type string `xm... | 1 | 1 | 1 | [{"id": "G0", "claim": "The marshalling of the new `Origin` and `Created` storage fields should be covered by tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
UpCloudLtd__upcloud-go-api__51 | UpCloudLtd/upcloud-go-api | 51 | defect | 278d4fc37f3708bf5ff36823750dce5887d6c639 | b4de721b30ffdb1778f2f16ec9c0c20da1ffb310 | Convert initial 3 functions to JSON API | Changes:
* Switches GetServers, CreateServer and DeleteServerAndStorages to use JSON API as opposed to the XML API.
* Adds a simple example use of the API
* Adds an Error unmarshal test | diff --git a/.travis.yml b/.travis.yml
index c24f376f..2b06e2bf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,14 @@
+branches:
+ only:
+ - master
+
language: go
go:
- - 1.7
- - 1.8
- - 1.9
+ - 1.13.x
+ - 1.14.x
+
+env:
+ - CGO_ENABLED=0
-script: travis_wait 20 go test ./... -v -parallel 10 -time... | 3 | 3 | 1 | [{"id": "G0", "claim": "The fmt.Println(string(response)) added in GetServers looks like a leftover debug statement and should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The example should stop using the IPAddresses field, since its ... | null |
UpliftGames__wally__119 | UpliftGames/wally | 119 | defect | 5317c25095a04a6630a04e7a11ef3f8b73be6ea5 | cfbd5129bdef64d443d845bd94036b8eadebeb35 | Initial implementation of --locked | Closes #5 with an implementation `--locked` for install.
| diff --git a/README.md b/README.md
index b2af9628..2406a464 100644
--- a/README.md
+++ b/README.md
@@ -74,7 +74,6 @@ Parity with:
Installs all packages.
`--locked` matches `cargo XXX --locked`, which will error if there is not an up-to-date lockfile. Intended for use on CI machines.
-(locked is a planned feature an... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `String::from_utf8(error_output).unwrap()` call should use `expect` instead, since the conversion is expected never to fail.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The function `generate_depedency_changes` is ... | null |
Usagi-org__ai-goofish-monitor__450 | Usagi-org/ai-goofish-monitor | 450 | defect | 7a69114a11cc2cfab03e4ff229477c9ccb6014f0 | 7c9d249a31ad811441b7da4acbc43e0e72d7314f | fix(ai-response-parser): 支持智谱 OpenAI 兼容网关的 reasoning_content 回退 | 发现智谱 AI 的 OpenAI 兼容网关在某些模式下会将响应内容放在 message.reasoning_content 而不是 message.content 字段中,导致解析失败。本修改添加了回退逻辑来处理这种情况,
同时保持与标准 OpenAI API 的向后兼容性。
- 更新 ai_response_parser 在 message.content 为空时回退读取 reasoning_content
- 修复了当智谱将响应内容放在 reasoning_content 字段时的解析失败问题
- 保持与标准 OpenAI API 的向后兼容性 | diff --git a/src/services/ai_response_parser.py b/src/services/ai_response_parser.py
index c8a53b60..201b0a7e 100644
--- a/src/services/ai_response_parser.py
+++ b/src/services/ai_response_parser.py
@@ -31,7 +31,15 @@ def extract_ai_response_content(response: Any) -> str:
if message is None:
raise... | 2 | 1 | 1 | [{"id": "G0", "claim": "Refactor the reasoning_content fallback from nested try/except into a loop over candidate fields (content, reasoning_content) so the logic is clearer and easier to extend to more non-standard fields.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"... | null |
Use-Tusk__fence__10 | Use-Tusk/fence | 10 | defect | d53d123fb67a6a48c184f2fc30e80e46d52b4b7e | a7a79197c4f36d93d0665d0f1686f24511584c65 | feat: support ssh commands | Resolves #9 | diff --git a/README.md b/README.md
index 864bde1..fb27754 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,7 @@ You can also think of Fence as a permission manager for your CLI coding agents.
- **Domain Allowlisting**: Configure which domains are allowed
- **Filesystem Restrictions**: Control read/write access to ... | 1 | 1 | 1 | [{"id": "G0", "claim": "SSH remote command checks only match the full remote command string, so a user can bypass allow/deny rules by chaining extra commands (e.g., `git status && rm -rf /` still matches allow `git status`); remote commands should be parsed into subcommands like local commands so each is validated.", "... | null |
Use-Tusk__fence__105 | Use-Tusk/fence | 105 | defect | fcde427529e4036763f564c11bbbb999dde1880f | 88d5da171dceceec53f3f4f827e47e26587c9442 | fix: restore Linux PTY and toolchain access for sandboxed CLIs | ### Summary
Restore Linux support for interactive CLIs like GitHub Copilot by fixing PTY setup in the sandbox and preserving user-managed runtime/toolchain roots when cross-mount paths such as `/home` are rebuilt.
### Changes
- Stop rebinding `/dev/ptmx` in Linux minimal `/dev` mode so Bubblewrap's own `devpts... | diff --git a/internal/sandbox/dangerous.go b/internal/sandbox/dangerous.go
index 1d7262d..e4007b4 100644
--- a/internal/sandbox/dangerous.go
+++ b/internal/sandbox/dangerous.go
@@ -55,6 +55,46 @@ func GetDefaultWritePaths() []string {
return paths
}
+func getDefaultUserToolingPaths(home string) []string {
+ if hom... | 1 | 1 | 0 | [{"id": "G0", "claim": "The unnecessary python3 prerequisite (skipIfCommandNotFound(t, \"python3\")) causes this cross-mount test to skip in environments where Python is absent, reducing the intended regression coverage.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
Use-Tusk__fence__113 | Use-Tusk/fence | 113 | defect | 8e3497a0fa2dbe5b25a42bf25e6b293cd9e2862d | 220e28e8fe7f5e7f951c3adf24dc6bdf943c1673 | feat: add strictDenyRead config | Add strictDenyRead option that suppresses the default readable system paths normally added when defaultDenyRead is enabled. Only paths in allowRead will be readable, giving full control over the sandbox's read visibility. Setting strictDenyRead implies defaultDenyRead.
When strictDenyRead is enabled, the resolv.conf... | diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index b735454..8ee5bda 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -149,7 +149,9 @@ type Config struct {
#### Filesystem Policy
- Reads can run in either the normal "read mostly" mode or the stricter
- `defaultDenyRead` mode.
+ `defaultDenyRead` mode. The `... | 2 | 2 | 1 | [{"id": "G0", "claim": "Merge() does not preserve the new strictDenyRead => defaultDenyRead invariant, so merged configs can become internally inconsistent unless revalidated.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "docs/configuration.md shou... | null |
Use-Tusk__fence__127 | Use-Tusk/fence | 127 | defect | ba0efc726edb8fef562d45bee5db7d2bc0993cf3 | c0754eb145fb5adc6368994ee398ad2c4aee07f5 | fix: mach-lookup/mach-register wildcard patterns were completely broken | I'm very happy about the Mach support.
However, wildcard patterns like `"com.apple.*"` or `"md.obsidian.*"` in macos.mach.lookup/register had no effect at all. Only the catch-all `"*"` worked; any glob-style wildcard silently failed to match anything.
The root cause was in `buildMachPermissionRule`: it applied `e... | diff --git a/internal/sandbox/macos.go b/internal/sandbox/macos.go
index f530754..e102bd5 100644
--- a/internal/sandbox/macos.go
+++ b/internal/sandbox/macos.go
@@ -181,7 +181,7 @@ func buildMachPermissionRule(operation, pattern string) string {
}
if strings.HasSuffix(pattern, "*") {
regex := "^" + regexp.QuoteM... | 1 | 1 | 1 | [{"id": "G0", "claim": "Wildcard Mach rules now interpolate a regex into SBPL without escaping SBPL string characters, so valid config input containing quotes or control characters can break profile generation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Use-Tusk__fence__139 | Use-Tusk/fence | 139 | defect | 7cfc40f673ee620c8caff1bb7526a6e918ee753f | 4fc467519a6db68f4083f04b4a19a5310910f310 | fix: make strict sandbox survive docker-compose services | ### Summary
Three fixes for fence-sandboxed `docker compose up` (and similar host-daemon-delegated services) on Linux. Each also cleans up a leaky abstraction that caused the underlying bug.
1. **resolv.conf overmount**: the cross-mount resolv.conf handler was emitting `--tmpfs /run` on stock Ubuntu w/ systemd-re... | diff --git a/cmd/fence/main.go b/cmd/fence/main.go
index c24e127..86d34c1 100644
--- a/cmd/fence/main.go
+++ b/cmd/fence/main.go
@@ -34,20 +34,23 @@ var (
)
var (
- debug bool
- monitor bool
- settingsPath string
- templateName string
- listTemplates bool
- cmdString string
- exposeP... | 2 | 2 | 2 | [{"id": "G0", "claim": "Writable exposed host paths are not added to the read allowlist, so `ExposeHostPath(..., true)` can still be unreadable when `defaultDenyRead` is enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ExposeHostPath should v... | null |
Use-Tusk__fence__144 | Use-Tusk/fence | 144 | defect | 2bc292f4f28f2913d73b852834ea4ad69ece6abb | f3023ac02c3049c6aec0e8a212e2491e712933a3 | golangci-lint v2 | # Fix golangci-lint tooling versioning and v2 compliance
As you requested in our discussion, I've separated out the golangci-lint updates. During testing, I found the linting setup was broken in multiple ways.
## What was wrong
The Makefile said v1, shell.nix had v2, .golangci.yml was written for v1, and thing... | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 97a2a6c..bf67149 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -53,11 +53,13 @@ jobs:
- name: Download dependencies
run: go mod download
+ - name: Install linters
+ run: make install-li... | 1 | 1 | 1 | [{"id": "G0", "claim": "Fix the Linux lint errors too, since the lint setup this PR introduces still fails on Linux even though the other platforms were addressed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Use-Tusk__fence__24 | Use-Tusk/fence | 24 | defect | cef3576076c9f5771ca4cbc150c85f3c467254f2 | 5a20328ad28f768da37e6612b8804af99f6188c6 | feat: add defaultDenyRead mode for strict filesystem isolation | ### Summary
Introduces a new `defaultDenyRead` filesystem restriction mode that inverts the default read policy. Instead of allowing all reads and selectively denying paths, this mode denies all reads by default and only permits access to essential system paths and explicitly allowed directories.
This is useful f... | diff --git a/internal/config/config.go b/internal/config/config.go
index 67076e1..f80bdce 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -37,10 +37,12 @@ type NetworkConfig struct {
// FilesystemConfig defines filesystem restrictions.
type FilesystemConfig struct {
- DenyRead []stri... | 3 | 2 | 0 | [{"id": "G0", "claim": "In defaultDenyRead mode the skip list omits `/sys` from binding even though it is listed as an essential readable path, so in strict mode `/sys` is inaccessible and can break tools that rely on sysfs; remove `/sys` from the skip list so it is bound read-only with the other default paths.", "cate... | null |
Use-Tusk__fence__33 | Use-Tusk/fence | 33 | defect | da5f61e390582af80ad72f2116eec308faf66960 | 2c0ad44e2431fb6f64c276a5b6c79dcc1e1d529a | feat: add allowExecute, wslInterop, and cross-mount bind support | ## Summary
- **`allowExecute` config option**: New permission tier granting Landlock `READ_FILE + EXECUTE` without `READ_DIR`. Tighter than `allowRead` — allows running specific binaries without exposing directory contents.
- **`wslInterop` config field**: Auto-detects WSL2 and allows `/init` (the binfmt_misc interpre... | diff --git a/docs/concepts.md b/docs/concepts.md
index dd31d73..8a2d893 100644
--- a/docs/concepts.md
+++ b/docs/concepts.md
@@ -31,10 +31,18 @@ These are separate on purpose. A typical safe default for dev servers is:
Fence is designed around "read mostly, write narrowly":
-- **Reads**: allowed by default (you ca... | 2 | 1 | 1 | [{"id": "G0", "claim": "The cross-mount bind treatment should probably also apply in defaultDenyRead mode, where /mnt/c does not exist because there is no --ro-bind / / stub and it is not in GetDefaultReadablePaths.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
Use-Tusk__fence__35 | Use-Tusk/fence | 35 | defect | 9d611ec659585471f53a6d1332c836c4a89096a1 | 5cc17bc2f2203860fd772b854046caddbb2e0a0e | feat: add config init scaffolding and shared config file writer | ### Summary
Add a first-class `fence config init` flow to bootstrap usable config files and refactor config JSON/file rendering into `internal/config` so both init and import share the same writer primitives while preserving import-specific output behavior.
Resolves #34.
### Changes
- Add `fence config init... | diff --git a/README.md b/README.md
index 34b1b76..869c4c1 100644
--- a/README.md
+++ b/README.md
@@ -93,6 +93,17 @@ Fence reads from `~/.config/fence/fence.json` by default (or `~/Library/Applicat
Use `fence --settings ./custom.json` to specify a different config.
+Create a starter config with sensible defaults:
+... | 2 | 2 | 2 | [{"id": "G0", "claim": "SSH configuration is never serialized, so any SSH rules in a config are silently lost when writing the file; add a clean SSH struct and include cfg.SSH in MarshalConfigJSON/empty checks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
Use-Tusk__fence__41 | Use-Tusk/fence | 41 | defect | 4ea39fd718b17f4b2761d76074afd14c17bb66e9 | 82752080ded0063edd17544a268d766eebd8bc60 | feat: protect dangerous files in subdirectories with depth-limited walk | ### Summary
Previously, `getMandatoryDenyPaths()` only protected dangerous files (`.bashrc`, `.zshrc`, `.git/hooks`, etc.) directly in `cwd` and `$HOME`. Dangerous files in subdirectories (like `subdir/.bashrc` or `nested-repo/.git/hooks`) were unprotected. The existing `GetMandatoryDenyPatterns()` had `**/` globs t... | diff --git a/internal/sandbox/dangerous.go b/internal/sandbox/dangerous.go
index 50cb500..b81d97a 100644
--- a/internal/sandbox/dangerous.go
+++ b/internal/sandbox/dangerous.go
@@ -1,8 +1,10 @@
package sandbox
import (
+ "io/fs"
"os"
"path/filepath"
+ "strings"
)
// DangerousFiles lists files that should be... | 1 | 1 | 1 | [{"id": "G0", "claim": "`strings.HasSuffix(rel, dd)` can false-positive on paths like `sub/not.claude/commands` matching `.claude/commands`; check for a path separator boundary before the suffix to ensure correctness.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Use-Tusk__fence__47 | Use-Tusk/fence | 47 | defect | ab0903e882a139ec8b005fe505a67841ea3adffe | 739870481cea9330f6492e5c055ada4ab96023e6 | fix: ensure sandbox TMPDIR exists before command execution | ### Summary
Fixes a runtime failure in the `code` template where tools may error out if `TMPDIR` points to `/tmp/fence` but that directory does not yet exist.
### Changes
- Add `ensureSandboxTMPDIR()` to create `/tmp/fence` with restrictive permissions before use.
- Update proxy env generation to set `TMPDIR` dyn... | diff --git a/internal/sandbox/utils.go b/internal/sandbox/utils.go
index 6a03880..615f877 100644
--- a/internal/sandbox/utils.go
+++ b/internal/sandbox/utils.go
@@ -8,6 +8,11 @@ import (
"strings"
)
+const (
+ sandboxTMPDIR = "/tmp/fence"
+ sandboxTMPDIRFallback = "/tmp"
+)
+
// ContainsGlobChars checks i... | 1 | 1 | 1 | [{"id": "G0", "claim": "Avoid following symlinks when validating /tmp/fence: use os.Lstat and reject symlinks before chmod, otherwise a malicious symlink in /tmp can cause chmod to apply to an arbitrary target.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Use-Tusk__fence__5 | Use-Tusk/fence | 5 | defect | 6c21e008c3ab2fac6ccb17edfc1db8c32c469689 | 28b009d1127a54fd36a26d9f52d1901ffe2d237f | perf: add benchmarks | Resolves #3 | diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
new file mode 100644
index 0000000..b4fc4d1
--- /dev/null
+++ b/.github/workflows/benchmark.yml
@@ -0,0 +1,243 @@
+name: Benchmarks
+
+on:
+ workflow_dispatch:
+ inputs:
+ min_runs:
+ description: "Minimum benchmark runs"
+ ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The benchmark server should enable `allow_reuse_address` because without it the port may remain in TIME_WAIT state for up to 60 seconds after stopping, causing \"Address already in use\" errors when quickly restarting the server.", "category": "correctness", "verdict": "supported", "priority": "... | null |
Use-Tusk__fence__78 | Use-Tusk/fence | 78 | defect | 4f0418efac1398db37517f22c2b970fb658b7bc7 | 558061f0db57dbc09a753ea8365c1a6ef45f8788 | fix: harden linux sandbox reverse bridge startup | ### Summary
Fix Linux sandbox helper startup so strict sandboxing can reliably expose inbound service ports. This addresses a reverse-bridge failure that was previously masked by auto-mode fallback in downstream Tusk CLI E2E tests.
### Changes
- Replace the inline Linux helper bootstrap with a more robust scri... | diff --git a/internal/sandbox/integration_linux_test.go b/internal/sandbox/integration_linux_test.go
index 7512955..c365b91 100644
--- a/internal/sandbox/integration_linux_test.go
+++ b/internal/sandbox/integration_linux_test.go
@@ -3,10 +3,15 @@
package sandbox
import (
+ "io"
+ "net"
+ "net/http"
"os"
"os/exe... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `fence_wait_for_helpers` return value is not checked, so the user command runs even when helper processes fail to start; add `|| exit 1` (or `set -e`) so the sandbox aborts instead of running with a broken bridge.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"... | null |
Use-Tusk__fence__81 | Use-Tusk/fence | 81 | defect | 611b87fc60e92e33d6a374841a43b74970692452 | c42041d7879522285358a9da8e6a032fad67d0ac | fix: use `~/.config` as the canonical macOS config path | ### Summary
Make `~/.config/fence/fence.json` the canonical config location on macOS so new configs go where users expect, while preserving reads from legacy macOS paths until a real canonical config file exists. Also tighten the docs so Linux path guidance matches `XDG_CONFIG_HOME` and library examples behave like ... | diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index e263d95..efb9104 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -71,7 +71,7 @@ type Config struct {
}
```
-- Loads from XDG config dir (`~/.config/fence/fence.json` or `~/Library/Application Support/fence/fence.json`) or custom path
+- Loads from `~/.confi... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new help text hardcodes `~/.config` for Linux even though the actual default follows `os.UserConfigDir()`/`XDG_CONFIG_HOME`, so it can document the wrong path.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Preferring t... | null |
Use-Tusk__fence__84 | Use-Tusk/fence | 84 | defect | 1e6b2d3145a6ab43c1b203de90b8a05e57a8e759 | e82cf652df97ff979d09b569315499cf451ddcba | fix: restore linux interactive PTY and runtime-dir behavior | ### Summary
Restore Linux interactive sessions so PTY-launched shells start reliably, keep job control by default, and always get a usable runtime directory. The default Linux PTY path now skips `bwrap --new-session`, relies on a targeted `ioctl(TIOCSTI)` seccomp rule, and falls back to a private `/tmp/fence-runtime... | diff --git a/cmd/fence/main.go b/cmd/fence/main.go
index cd9e869..95de22b 100644
--- a/cmd/fence/main.go
+++ b/cmd/fence/main.go
@@ -32,18 +32,19 @@ var (
)
var (
- debug bool
- monitor bool
- settingsPath string
- templateName string
- listTemplates bool
- cmdString string
- exposePorts []str... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new assignment to `cfg.ForceNewSession` can panic when `config.Load` returns nil for a missing or empty config file, so `cfg` should be guarded before the assignment.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The `mk... | null |
Use-Tusk__fence__93 | Use-Tusk/fence | 93 | defect | bd794838bf8b3f319c59806d859bf9b82ba5c05b | f82bbfc8911642ad5fe3d71cf3cc67296777156f | feat: auto-discover project configs | ### Summary
Add first-class per-project config support by auto-discovering the nearest `fence.json` when `--settings` is not provided, and add a reserved `@base` extends target so repo configs can layer on top of each developer's normal Fence config. This also moves extends resolution into `internal/config` and hard... | diff --git a/README.md b/README.md
index 85891f1..23b103b 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ fence --help
### Configuration
-Fence reads from (`~/.config/fence/fence.json`) by default. See [configuration reference](./docs/configuration.md) for more details.
+When `--settings` is not provided,... | 2 | 1 | 0 | [{"id": "G0", "claim": "Nearest-config discovery should ignore directories named `fence.json`; otherwise CLI config resolution can fail on `os.ReadFile` with \"is a directory\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The local project config... | null |
Use-Tusk__fence__99 | Use-Tusk/fence | 99 | defect | f624e5fcb7e2ddec44cd50af4fed2644e82e247b | 963f43ac507a0dedc5ca9da8e3727e2da3b2c1eb | fix: deduplicate macos seatbelt rules | ### Summary
Resolves #74 by deduplicating generated macOS Seatbelt clauses in the applied profile. The new builder preserves first-seen rule order so sandbox semantics stay stable while exact duplicate rules are dropped.
### Changes
- Add an ordered `seatbeltRuleBuilder` for macOS profile assembly
- Use it ac... | diff --git a/internal/sandbox/macos.go b/internal/sandbox/macos.go
index 61c29a5..a5c406c 100644
--- a/internal/sandbox/macos.go
+++ b/internal/sandbox/macos.go
@@ -117,6 +117,32 @@ func expandMacOSTmpPaths(paths []string) []string {
return append(paths, additions...)
}
+// seatbeltRuleBuilder preserves first-seen... | 1 | 1 | 0 | [{"id": "G0", "claim": "The variadic helper name `add` is confusing because each call represents a single Seatbelt rule (only concatenated to form the dedupe key); a name like `add(singleRule ...string)` might make that clearer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
Use-Tusk__tusk-cli__164 | Use-Tusk/tusk-cli | 164 | defect | 235eaf80259246a92b3564b4d60a92b238de1404 | 2e4755c20d82b92c78b46a20b4efdf1813e801e0 | fix: ensure PostHog events use real user ID after login in all auth paths | ### Summary
- Fix PostHog events using anonymous ID (`cli-anon-...`) even after the user is authenticated
- Forward-fix all 4 login paths to persist user identity to `cli.json`
- Add temporary backfill for existing affected users
- Refactor analytics tracker to a global singleton, removing plumbing and enabling d... | diff --git a/cmd/auth_login.go b/cmd/auth_login.go
index b4e7a18..6d1f9f5 100644
--- a/cmd/auth_login.go
+++ b/cmd/auth_login.go
@@ -7,6 +7,7 @@ import (
"github.com/charmbracelet/lipgloss"
"github.com/spf13/cobra"
+ "github.com/Use-Tusk/tusk-drift-cli/internal/analytics"
"github.com/Use-Tusk/tusk-drift-cli/int... | 2 | 2 | 2 | [{"id": "G0", "claim": "Reusing cacheAuthInfo from setup paths prints user-facing output without its context prefix and can launch an unexpected interactive org-selection TUI mid-setup; a quiet persistence variant should be used on non-login paths.", "category": "design", "verdict": "supported", "priority": "P1", "scop... | null |
Use-Tusk__tusk-cli__188 | Use-Tusk/tusk-cli | 188 | defect | 7bfba27e75d1dc05191cb9d7fcf4c97d582167bf | 0551b43483c9c5cf4d59b7cc019c25d683e59d2b | feat: add unit test retrieval commands | ### Summary
Add retrieval-only `tusk unit` commands for Tusk-generated unit test runs, and start moving existing Drift functionality under a dedicated `tusk drift` namespace.
This gives customers and agents a stable CLI entrypoint for fetching the latest run, inspecting a run, and reading individual scenarios whi... | diff --git a/cmd/drift.go b/cmd/drift.go
new file mode 100644
index 0000000..b697f71
--- /dev/null
+++ b/cmd/drift.go
@@ -0,0 +1,12 @@
+package cmd
+
+import "github.com/spf13/cobra"
+
+var driftCmd = &cobra.Command{
+ Use: "drift",
+ Short: "Tusk Drift commands",
+}
+
+func init() {
+ rootCmd.AddCommand(driftCmd)
+}... | 5 | 5 | 1 | [{"id": "G0", "claim": "Empty --run-id/--scenario-id values are treated as success because the guard returns ExactArgs(0), which is nil with no positional args, instead of an error.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Repo slug inference ... | null |
Use-Tusk__tusk-cli__193 | Use-Tusk/tusk-cli | 193 | defect | 8caa1332f05445d1102f398a620e8e07e7bb45a1 | 47c5aef6c81b546eca686964901926f4681a246d | feat: ignore numeric epoch timestamps in replay deviation comparison | ### Summary
Adds automatic detection and ignoring of numeric Unix epoch timestamps (both seconds and milliseconds) when comparing replay responses. Previously, the dynamic field matcher only recognized string-formatted timestamps (ISO 8601 like `2024-01-15T10:30:00Z`), so fields containing epoch values like `177326878... | diff --git a/internal/config/config.go b/internal/config/config.go
index 8aa10b5..3a177a4 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -79,12 +79,13 @@ type TestExecutionConfig struct {
}
type ComparisonConfig struct {
- IgnoreFields []string `koanf:"ignore_fields"`
- IgnorePatterns... | 1 | 1 | 1 | [{"id": "G0", "claim": "Require both values to be in the same epoch unit before ignoring them, because the current check also suppresses seconds-vs-milliseconds mismatches, which hides a real deviation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Use-Tusk__tusk-cli__219 | Use-Tusk/tusk-cli | 219 | defect | 523ec80c044bdf683b9e6447ddd6d0f7e26f218a | 6418f90bf7c34c2746dda822cea2443804f72ba2 | fix(drift): close active connections on shutdown to prevent Ctrl+C hang | `tusk drift run --print` hangs on Ctrl+C when the mock server has an active SDK connection.
### Root cause
`server.Stop()` calls `ms.wg.Wait()`, which blocks until all `handleConnection` goroutines finish. Those goroutines are stuck on `io.ReadFull(conn, ...)` — a blocking read with no deadline. Closing the liste... | diff --git a/cmd/root.go b/cmd/root.go
index d85cd78..7ce4166 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -185,6 +185,13 @@ func setupSignalHandling() {
go func() {
sig := <-c
fmt.Fprintf(os.Stderr, "Received %s signal, cleaning up\n", sig)
+
+ go func() {
+ <-c
+ fmt.Fprintf(os.Stderr, "\nForce ex... | 1 | 1 | 1 | [{"id": "G0", "claim": "There is a race between Stop() iterating activeConns and handleConnection registering the newly accepted conn: if Stop() runs before the goroutine adds the conn to the map, that connection is never closed and wg.Wait() hangs on the blocked io.ReadFull, so the conn should be tracked in acceptConn... | null |
Use-Tusk__tusk-cli__221 | Use-Tusk/tusk-cli | 221 | defect | 523ec80c044bdf683b9e6447ddd6d0f7e26f218a | 6b05e011422981ce7998773249e46a1cff28a476 | feat: support adaptive sampling rate | Todo after SDKs support:
- Update `tusk drift setup`
- Update `tusk drift init` | diff --git a/docs/drift/configuration.md b/docs/drift/configuration.md
index 284be0b..f7e2b8c 100644
--- a/docs/drift/configuration.md
+++ b/docs/drift/configuration.md
@@ -317,11 +317,29 @@ For authentication in cloud mode, either use:
</tr>
</thead>
<tbody>
+ <tr>
+ <td><code>recording.sampling.mod... | 6 | 5 | 5 | [{"id": "G0", "claim": "Validate() does not check `recording.sampling.mode`, so a typo like `mode: adapttive` is silently accepted, MinRate gets no default, and downstream SDK behavior is undefined.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
Use-Tusk__tusk-cli__54 | Use-Tusk/tusk-cli | 54 | defect | a6453e792c3b6539cf558d728c089299038218c5 | b2deab8205886b600920b14a90c3a3b0778fc0e5 | feat: replay tests grouped by environment and set envvars before starting server | - [x] test more
- [x] interactive mode, non-interactive mode
- [x] replay more tests, different tests in different environments
- [x] exporting results in interactive + non-interactive mode
- [x] deviation analysis run
- [x] env var recording disabled
- [x] remove old env var code
- [x] update tusk bac... | diff --git a/cmd/run.go b/cmd/run.go
index 61d06f6..0a49ee3 100644
--- a/cmd/run.go
+++ b/cmd/run.go
@@ -21,6 +21,7 @@ import (
"github.com/Use-Tusk/tusk-drift-cli/internal/utils"
"github.com/Use-Tusk/tusk-drift-cli/internal/version"
backend "github.com/Use-Tusk/tusk-drift-schemas/generated/go/backend"
+ core "gi... | 9 | 7 | 7 | [{"id": "G0", "claim": "When an environment group completes, appending all of m.results to m.allGroupResults collects the entire results array once per environment group, producing duplicate results and incorrect counts; only the current environment group's results should be collected.", "category": "correctness", "ver... | null |
Use-Tusk__tusk-cli__79 | Use-Tusk/tusk-cli | 79 | defect | 4fb600502311a7e0eefc3156e90e9330e6ae35e9 | e4b35c651a0d84656373fa45af84a22091bb85f1 | feat: add validate suite flow | ## Motivation
When replaying trace tests, some external calls are only recorded in certain traces but needed by others. Previously, cross-trace matching would search all suite spans indiscriminately, which could lead to incorrect matches. This PR creates a two-tier matching system:
1. **Validation mode** (default... | diff --git a/cmd/run.go b/cmd/run.go
index d9cb4e0..3d81780 100644
--- a/cmd/run.go
+++ b/cmd/run.go
@@ -6,6 +6,7 @@ import (
"fmt"
"log/slog"
"os"
+ "os/exec"
"strconv"
"strings"
"sync"
@@ -48,6 +49,10 @@ var (
externalCheckRunID string
traceTestID string
clientID string
+
+ // Valid... | 7 | 6 | 4 | [{"id": "G0", "claim": "The local `replace github.com/Use-Tusk/tusk-drift-schemas => ../tusk-drift-schemas` directive committed in go.mod breaks the build for anyone without the local sibling directory and must be removed before merging.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "i... | null |
Use-Tusk__tusk-cli__88 | Use-Tusk/tusk-cli | 88 | defect | 73813159efbbd673457b31cd8719459887729351 | dc13aa4c05350f86aed50f71c04bfbf395fc55ba | chore: migrate MatchLevel types from backend to core package | <!-- CURSOR_SUMMARY -->
> [!NOTE]
> Migrates matching metadata to the `core` package and exposes it to callers.
>
> - Replace all `backend.MatchLevel/MatchType/MatchScope` usages with `core` equivalents; update matcher and server method signatures and return types
> - Update tests to assert against `core` enums
> - Re... | diff --git a/go.mod b/go.mod
index dfb6e40..9045e75 100644
--- a/go.mod
+++ b/go.mod
@@ -72,3 +72,5 @@ require (
golang.org/x/sys v0.39.0 // indirect
golang.org/x/text v0.29.0 // indirect
)
+
+replace github.com/Use-Tusk/tusk-drift-schemas => ../tusk-drift-schemas
diff --git a/go.sum b/go.sum
index 743ae16..2d6e37... | 1 | 1 | 1 | [{"id": "G0", "claim": "The committed local `replace github.com/Use-Tusk/tusk-drift-schemas => ../tusk-drift-schemas` directive will break builds for CI and other developers because the path is machine-specific; it should be removed and the published schema package used (or a new schema version published) before mergin... | null |
UweTrottmann__tmdb-java__23 | UweTrottmann/tmdb-java | 23 | defect | f23ac741f17b94f9fbfbecd00f208e56e135e049 | f657473d0ea0adef0f625032414d99142154d858 | added Collections service | added collection info to the movie service and the whole collection service
added images to the AppendToResponseItem
| diff --git a/src/main/java/com/uwetrottmann/tmdb/Tmdb.java b/src/main/java/com/uwetrottmann/tmdb/Tmdb.java
index 2a67fa6f..fa7a0657 100644
--- a/src/main/java/com/uwetrottmann/tmdb/Tmdb.java
+++ b/src/main/java/com/uwetrottmann/tmdb/Tmdb.java
@@ -17,15 +17,7 @@
package com.uwetrottmann.tmdb;
-import com.uwetrottma... | 4 | 4 | 0 | [{"id": "G0", "claim": "Replace the star import in Tmdb.java with explicit per-class imports for consistency with the existing code.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Do not write the collectionService() getter as a single-line meth... | null |
UweTrottmann__tmdb-java__24 | UweTrottmann/tmdb-java | 24 | defect | eb2ac473655308041ca40c4e54f934a3ff073b4e | c8778d43609517bece49b7856b510f4ded51e55f | cleanup/enhancements of several TV show methods | added appendToResponse to the TV show/season/episode summaries
added externalIds to appendToResponse
moved TvEpisodeImages into Images (for a better integration into the structure of the whole lib)
| diff --git a/src/main/java/com/uwetrottmann/tmdb/entities/Credits.java b/src/main/java/com/uwetrottmann/tmdb/entities/Credits.java
index e278c4f4..cc167f36 100644
--- a/src/main/java/com/uwetrottmann/tmdb/entities/Credits.java
+++ b/src/main/java/com/uwetrottmann/tmdb/entities/Credits.java
@@ -27,4 +27,6 @@ public clas... | 3 | 3 | 0 | [{"id": "G0", "claim": "In test_tvshow_with_append_to_response a variable should be used instead of repeating the show.images.backdrops.get(0) expression in every assertion.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_credits should also... | null |
UweTrottmann__tmdb-java__75 | UweTrottmann/tmdb-java | 75 | defect | d4495c5be09fcb99f0f962399263a97df8457e86 | 8d6fc2a39abf6ed599d513024eab0548e1703495 | Updated Movie Entity revenue and budget field from int to long. & Test Fixes. | - Updated Movie Entity revenue and budget field from int to long. & Test Fixes.
- Updated Company entity added origin_country field & Updated Tests
- Upgrade to latest retrofit release to resolve conflicts for projects using newer version of okhttp. | diff --git a/pom.xml b/pom.xml
index 4cf3ec4d..c7b3b6c8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,12 +47,12 @@
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
- <version>2.5.0</version>
+ <version>2.6.1</version>
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The origin_country assertion in assertCompany is asserted twice and the reviewer asks for the redundancy to be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VHDL-LS__rust_hdl__173 | VHDL-LS/rust_hdl | 173 | defect | fc023a322890d66e9aeb7cc41c80b2c23d9ea6f3 | 83e3be4f1c6568c48cd50257bc67660f883b9156 | Analyze bit strings | Analyze `BitString`s and report when they are not setup correctly.
```vhdl
constant v: bit_vector := 2SX""; -- Cannot expand an empty signed bit string
constant w: bit_vector := X"10G"; -- type 'BIT' does not define character 'G'
constant x: bit_vector := D"1AFFE"; -- Illegal digit 'A' for base 10
constant z: bi... | diff --git a/vhdl_lang/src/analysis.rs b/vhdl_lang/src/analysis.rs
index d3f46a020..4c3353f50 100644
--- a/vhdl_lang/src/analysis.rs
+++ b/vhdl_lang/src/analysis.rs
@@ -25,6 +25,7 @@ mod root;
mod semantic;
mod sequential;
mod standard;
+mod static_expression;
mod target;
mod visibility;
diff --git a/vhdl_lang/s... | 3 | 3 | 2 | [{"id": "G0", "claim": "The \"Integer too large for 64-bit unsigned\" warning is wrong because bit strings can define vectors of any length.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the leftover `println!(\"\")` debug printout in the em... | null |
VHDL-LS__rust_hdl__224 | VHDL-LS/rust_hdl | 224 | defect | c86d370b5cb6d561169b9c7137418ac56e429a21 | ca4c735ad81ec44ed4aaa939cc485abe49dc3ee0 | Feat: Emit diagnostic when a declaration is not allowed in the region it resides | Closes #199
Now correctly emits errors when, for example, a subprogram body is declared inside a package | diff --git a/vhdl_lang/src/analysis/concurrent.rs b/vhdl_lang/src/analysis/concurrent.rs
index ec6cc1b31..9d8ea728a 100644
--- a/vhdl_lang/src/analysis/concurrent.rs
+++ b/vhdl_lang/src/analysis/concurrent.rs
@@ -8,6 +8,7 @@
#![allow(clippy::unneeded_field_pattern)]
use super::*;
+use crate::analysis::declarative::... | 3 | 3 | 1 | [{"id": "G0", "claim": "The `parent` argument to `analyze_declarative_part` is redundant with the new `DeclarativeContext` parameter, and the code could potentially be simplified (kraigher framed it as an optional improvement, saying the current solution could be kept if it is not straightforward).", "category": "maint... | null |
VHDL-LS__rust_hdl__230 | VHDL-LS/rust_hdl | 230 | defect | da1a5f7e9639c941ab8d2a40e23c387f0ae4617f | 88591fedfdbd51d44eac4114c6fe91fe49b6a598 | extend goto/implementation to find architectures of entities | Hi, I've extended the find_implementation function to also search for architectures which implement an entity. | diff --git a/vhdl_lang/src/analysis/root.rs b/vhdl_lang/src/analysis/root.rs
index 23d3200a8..0b199c851 100644
--- a/vhdl_lang/src/analysis/root.rs
+++ b/vhdl_lang/src/analysis/root.rs
@@ -459,14 +459,24 @@ impl DesignRoot {
return vec![design.into()];
}
... | 2 | 2 | 0 | [{"id": "G0", "claim": "The architecture search should compare the entity id instead of comparing architecture names, which is faster and more precise.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code was not formatted with cargo fmt.", "cate... | null |
VHDL-LS__rust_hdl__243 | VHDL-LS/rust_hdl | 243 | defect | 22de927afca46c810538451d702d030d87fe4eb9 | 2eea0edc3501775d47718ed830b78e6bf1ee3b09 | Publish better diagnostic for attributes | Closes #242
@kraigher is this the desired behavior? See the test below that I had to alter. Was setting `myattr` to `signal` instead of `entity` intentional? | diff --git a/vhdl_lang/src/analysis/declarative.rs b/vhdl_lang/src/analysis/declarative.rs
index 3387091f4..f9162ae65 100644
--- a/vhdl_lang/src/analysis/declarative.rs
+++ b/vhdl_lang/src/analysis/declarative.rs
@@ -695,6 +695,14 @@ impl<'a> AnalyzeContext<'a> {
}
};
+ if Som... | 1 | 1 | 1 | [{"id": "G0", "claim": "Blocking: moving the entity-class check above the `let ent = ent.as_actual();` line makes the check no longer see through aliases.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
VHDL-LS__rust_hdl__448 | VHDL-LS/rust_hdl | 448 | defect | 82eb9ba644e7a42f839cf37148b819f4e7327e2a | d0711096190a6c8173f4a3d2f109707ca69967c0 | Fix spurious Duplicate Declaration for multiple generic package instantiations | ## Summary
Fixes #404: Multiple generic package instantiations cause a spurious "Duplicate Declaration" error for the auto-generated `=` and `/=` operators when their types are aliased.
- **Root cause:** During generic package instantiation, `map_type_ent` falls back to scope lookup when a type is not in the generic ... | diff --git a/vhdl_lang/src/analysis/package_instance.rs b/vhdl_lang/src/analysis/package_instance.rs
index a2d36bb66..ed8eeab5e 100644
--- a/vhdl_lang/src/analysis/package_instance.rs
+++ b/vhdl_lang/src/analysis/package_instance.rs
@@ -113,6 +113,17 @@ impl<'a> AnalyzeContext<'a, '_> {
inst.set_kind(kind)... | 1 | 1 | 1 | [{"id": "G0", "claim": "The fix is a hack that adds the instantiated type to the scope just to add it later again, likely only working because NullDiagnostics silently ignores the error on the second add, and a more appropriate solution would be to only add the implicit declarations after adding the instantiated entity... | null |
VHDL-LS__rust_hdl__61 | VHDL-LS/rust_hdl | 61 | defect | 37984c687abb3900f21b3d88870ffa4e9cef7396 | 4add690d426a294ffbf7641320d568afef696d9c | Add block_header and analyze guard_condition | Updates for `block_statement`:
- Parsing and analysis of `block_header`
- Fix error when optional `is` is used after `guard_condition`
- Analysis of `guard_condition` | diff --git a/vhdl_lang/src/analysis/concurrent.rs b/vhdl_lang/src/analysis/concurrent.rs
index f978147fb..8a6f3b25e 100644
--- a/vhdl_lang/src/analysis/concurrent.rs
+++ b/vhdl_lang/src/analysis/concurrent.rs
@@ -39,7 +39,22 @@ impl<'a> AnalyzeContext<'a> {
match statement.statement {
Concurrent... | 2 | 1 | 0 | [{"id": "G0", "claim": "It is unclear whether blocks with a block header are allowed to see outside signals such as `sig`; per LRM 11.2 the new test may assert wrong scoping semantics by requiring `sig` to be visible.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": ... | null |
VOICEVOX__voicevox__1074 | VOICEVOX/voicevox | 1,074 | defect | f097f07584f8e3ba01c4b69263117605363fd1e4 | 95131f99b6ac2a1f79a3b58abe76c42b0f4096b1 | Add: vitestでテストが動くように | ## 内容
LibraryPolicy.vueとHowToUse.vueのテストを追加します。
## 関連 Issue
- ref: #182
## スクリーンショット・動画など
(なし)
## その他
単体テストを書くのが初めてなので、色々とやっちゃ行けないことをしているかもしれません。 | diff --git a/_typos.toml b/_typos.toml
index 81f3a22b0b..604bed796c 100644
--- a/_typos.toml
+++ b/_typos.toml
@@ -7,4 +7,4 @@
ba="ba" # 7zコマンドの-baオプション
[files]
-extend-exclude = ["package-lock.json", "src/store/project.ts", "*.svg"]
+extend-exclude = ["package-lock.json", "src/store/project.ts", "*.svg", "tests/un... | 7 | 7 | 2 | [{"id": "G0", "claim": "The multipleEngineState fixture would state its intent more clearly if it were built by spreading singleEngineState and adding only engine B's information.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "tests/unit/engines... | null |
VOICEVOX__voicevox__1102 | VOICEVOX/voicevox | 1,102 | defect | 99a02ed39f99f3a77e53ce78fd6cd9f8e1c2e2e0 | af5b7d267effe931574e86119bf2482ab8eb8dec | [project-s] ピアノロールにノートを表示/追加/削除できるようにする | ## 内容
- ピアノロール表示
- ノートおよび歌詞の表示
- ノートの追加(ノートのクリック)
- ノートの削除(ノートのダブルクリック)
- X/Yズーム
## 関連 Issue
ref #986
close #986
## スクリーンショット・動画など
https://user-images.githubusercontent.com/9082140/212856328-d64998d2-335b-491c-98ee-2799ff40002e.mov
## その他
- 見た目は仮となります
- シーケンサのノートおよび入力部は分割予定です | diff --git a/src/components/Sing/ScoreNote.vue b/src/components/Sing/ScoreNote.vue
index e69de29bb2..89e459c0b2 100644
--- a/src/components/Sing/ScoreNote.vue
+++ b/src/components/Sing/ScoreNote.vue
@@ -0,0 +1,46 @@
+<template>
+ <div class="score-note">
+ <div
+ class="score-note-bar"
+ v-bind:style="{
+... | 6 | 6 | 4 | [{"id": "G0", "claim": "The last entry of the doremi pitch map in getDoremiFromMidi should be 「シ」, not 「ラ」.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "getDisplayKey indexes midiKeys as if it were ascending although it is reversed, so it should u... | null |
VOICEVOX__voicevox__1146 | VOICEVOX/voicevox | 1,146 | defect | 8da90ed2c59de399c6bbe15579f8b9e017690577 | 4133c1d32fdc576756176965a91f5b62d00a63a4 | マルチエンジン:エンジン毎の設定を追加 | ## 内容
タイトル通り。
## 関連 Issue
- from: #1136
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/src/background.ts b/src/background.ts
index b26e772a92..f0e56e819b 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -32,6 +32,7 @@ import {
defaultHotkeySettings,
isMac,
defaultToolbarButtonSetting,
+ engineSettingRecord,
} from "./type/preload";
import log from "electron-log";
@@ -9... | 23 | 20 | 6 | [{"id": "G0", "claim": "The new default-engineSetting initialization only runs at app startup, so after a VVPP engine install and restart it would not run for the new engine and would likely bug; prepare one function that does both this and engineManager.runEngineAll(win) (e.g. initializeAndRunEngineAll) and pass it to... | null |
VOICEVOX__voicevox__1151 | VOICEVOX/voicevox | 1,151 | defect | a53a6ae69921013e6b577749dadb78c59cac0416 | 5da158c03b436b1bef4a7365de889b9326f07935 | マルチエンジンを実験的機能に | ## 内容
マルチエンジン機能は「実験的機能」という立ち位置にしたいと考えています。
理由はリリース直前まで開発しているため未知の不具合や分かりづらい挙動があったとき、あるいはドキュメントの至らない部分があった場合に備え、期待感のコントロールをしたいためです。
(マルチエンジンは想定していた以上に強敵でした・・・。)
| diff --git a/src/background.ts b/src/background.ts
index f27c2775d2..685ea47c75 100644
--- a/src/background.ts
+++ b/src/background.ts
@@ -203,6 +203,51 @@ async function installVvppEngine(vvppPath: string) {
}
}
+/**
+ * 危険性を案内してからVVPPエンジンをインストールする。
+ * FIXME: こちらで案内せず、GUIでのインストール側に合流させる
+ */
+async function ins... | 3 | 2 | 2 | [{"id": "G0", "claim": "The warning dialog for main-process VVPP installs duplicates the GUI-side install flow and should eventually be merged into the GUI install path (author's own FIXME).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Passing... | null |
VOICEVOX__voicevox__1249 | VOICEVOX/voicevox | 1,249 | defect | 7bce3e3c45d0950d0c4738c4a60d776d60a47f31 | 84f0b08caa3ee858636d07b4906825572369fa82 | [project-s] 音声を書き出す機能を追加 | ## 内容
wav形式で音声を書き出す機能を追加します。
## 関連 Issue
ref #1041
## その他
オフラインレンダリングで使用したノードは、Electronのバージョンによってはdisconnectしないと解放されないようで、現在のバージョンでは大丈夫だと思いますが、念のために一通り実装してからまた確認したいと思います。
| diff --git a/src/components/Sing/MenuBar.vue b/src/components/Sing/MenuBar.vue
index dbc125e955..1719a29c40 100644
--- a/src/components/Sing/MenuBar.vue
+++ b/src/components/Sing/MenuBar.vue
@@ -96,9 +96,8 @@ export default defineComponent({
await store.dispatch("IMPORT_MUSICXML_FILE", {});
};
- const ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a short doc comment stating the purpose of the OfflineTransport class (mainly for saving), as suggested in the review.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
VOICEVOX__voicevox__1317 | VOICEVOX/voicevox | 1,317 | defect | 32940eab36f4f729dd0390dca98f18656240d60d | c2b9668972ed56ca0ce7bfa1d18e36389992ae14 | #1267 のリファクタリング + ポートの割り当て可能の判定を修正 | ## 内容
#1267 のリファクタリングとポートの割り当てが可能かどうかの判定を修正します.
具体的には以下のことを行います:
1. **メインエンジンの** `altPort` をタイトルバーに表示する
現状, デフォルトエンジンに関係なく, 0 番目のエンジンの代替ポートを表示しているのでそれを改善する.
→ ref: [#1310: その他](https://github.com/VOICEVOX/voicevox/issues/1310#:~:text=%E8%B5%B7%E5%8B%95%E6%99%82%E3%81%AB%E8%BF%BD%E5%8A%A0%E3%82%A8%E... | diff --git a/src/background/engineManager.ts b/src/background/engineManager.ts
index 9ac0cb9fee..7679da4bdb 100644
--- a/src/background/engineManager.ts
+++ b/src/background/engineManager.ts
@@ -9,7 +9,12 @@ import { app, BrowserWindow, dialog } from "electron";
import log from "electron-log";
import { z } from "zo... | 16 | 14 | 2 | [{"id": "G0", "claim": "The portLog/portWarn definitions carry `eslint-disable-next-line @typescript-eslint/no-explicit-any` comments although no `any` is used, so they should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is c... | null |
VOICEVOX__voicevox__1486 | VOICEVOX/voicevox | 1,486 | defect | 21670fa3f40876b2716033594d04886bc6e3e41b | dbcbc6a6736b0b8af580a099be852b04cc2c339d | 新規ディレクトリ`help`を`components`内に作成し関連ファイルを移動 | ## 内容
import先・UI上の位置関係ともに今後もほぼ変わることがなさそうなヘルプ関係のコンポーネントを別フォルダに分けました。
設定関係はまだ今後移動しそうかなと思ったので実施していません。した方が良さそうであれば実施します。
<!--
プルリクエストの内容説明を端的に記載してください。
-->
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画... | diff --git a/src/components/ContactInfo.vue b/src/components/help/ContactInfo.vue
similarity index 100%
rename from src/components/ContactInfo.vue
rename to src/components/help/ContactInfo.vue
diff --git a/src/components/HelpDialog.vue b/src/components/help/HelpDialog.vue
similarity index 94%
rename from src/components... | 1 | 1 | 0 | [{"id": "G0", "claim": "The HowToUse spec file should also be moved into the new help directory (tests/unit/components/help) alongside the components it tests, though the reviewer says it is not request-change level.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOICEVOX__voicevox__1555 | VOICEVOX/voicevox | 1,555 | defect | 087917c87295ba74deb6472f3d4f0ef42b17a10b | 0cdd4b40dbbea012fb97beb2b0dcb071a722a2ce | 同じ読みのアクセント句はパラメータを保持するように | ## 内容
同じ読みのアクセント句はパラメータを保持するようにします
## 関連 Issue
- close: #1354
## スクリーンショット・動画など
https://github.com/VOICEVOX/voicevox/assets/59691627/549123b1-c5b3-4e09-953c-af6c8c15b204
## その他
Mora毎だと誤爆して調声がめんどくさくなりそうだったのでAccentPhrase単位です。 | diff --git a/package-lock.json b/package-lock.json
index 99be57cb5c..e38d463c16 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,6 +16,7 @@
"clone-deep": "4.0.1",
"core-js": "3.12.1",
"dayjs": "1.10.7",
+ "diff": "5.1.0",
"electron-log": "4.4.8",
"electro... | 8 | 7 | 1 | [{"id": "G0", "claim": "Rename the experimental setting from `shouldKeepAudioParameter` to `enableKeepAudioParameter`, matching other experimental settings' `enable` prefix.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Adding punctuation at an... | null |
VOICEVOX__voicevox__1575 | VOICEVOX/voicevox | 1,575 | defect | c188c0cf8448eb0c6bd4a6bd94b78082589078d3 | a953112d7594f632ac6674561bec2f287eb189c4 | fix: アクセント区間の数が選択インデックスを下回る可能性があるバグを修正 | ## 内容
バグ #1552 の修正PRです。
このバグは、アクセント区間の選択中にアクセント区間の数が減少した場合に、アクセント区間の数が選択インデックスを下回ることにより、正常に再生できなくなったりコンソール上にエラーが表示されたりするバグです(バグについて詳しくは #1552 をご参照ください)。
このバグを、 アクセント区間の数 - 1 を選択インデックスの最大値にすることで修正します。
<!--
プルリクエストの内容説明を端的に記載してください。
-->
## 関連 Issue
close #1552
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にI... | diff --git a/src/components/AudioDetail.vue b/src/components/AudioDetail.vue
index 9f92258e99..48c23008c1 100644
--- a/src/components/AudioDetail.vue
+++ b/src/components/AudioDetail.vue
@@ -176,11 +176,11 @@ const hotkeyMap = new Map<HotkeyAction, () => HotkeyReturnType>([
if (
!uiLocked.value &&
... | 4 | 4 | 0 | [{"id": "G0", "claim": "The clamping behaviour of AUDIO_PLAY_START_POINT should be documented (e.g. in a JSDoc comment on the getter, as suggested).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It is hard to infer from the getter that AUDIO_PLAY... | null |
VOICEVOX__voicevox__1602 | VOICEVOX/voicevox | 1,602 | defect | aa06c6567c135a564dd0cf686bf27218d54f93c0 | d851038d26ea73dddc1824a65a213febc05cfa3a | [project-s] シーケンサーの計算の整理と修正 | ## 内容
以下を行います。
- 計算の整理・修正
- マジックナンバーを無くし、変換処理などを関数化する
- 変数やクラスの名前をわかりやすいものに変更
- なるべく単位をつけるように
- `midi`から`noteNumber`に変更
- `resolution`から`tpqn`に変更
- 拍子やスナップが変わっても、グリッドが適切に描画されるようにする
### 値の変換
以下のように行っています。
``` mermaid
flowchart LR;
Ticks <-->|TPQN| QuarterNotes
QuarterNotes <-->|BaseXPerQu... | diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue
index 969a2ecc37..e9660d830b 100644
--- a/src/components/Sing/ScoreSequencer.vue
+++ b/src/components/Sing/ScoreSequencer.vue
@@ -14,37 +14,40 @@
<!-- グリッド -->
<!-- NOTE: 現状小節+オクターブごとの罫線なし -->
<svg
- ... | 5 | 3 | 0 | [{"id": "G0", "claim": "The sequencer snap type should eventually be expressed with string literals such as `semiquaver` instead of the numeric value 16.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added recording that the... | null |
VOICEVOX__voicevox__1616 | VOICEVOX/voicevox | 1,616 | defect | 87630200ae7d2ea854210e020140753a02dcfe06 | f4f74115ea51ffa7d5fb9def89420f5b83314a2e | エディターのメイン画面でアップデートを通知する | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
エディターを起動したときに(新しいバージョンがあれば)アップデートを通知します。
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
ref #235
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
https://github.com/VOICEVOX/vo... | diff --git a/src/components/UpdateNotificationDialog.vue b/src/components/UpdateNotificationDialog.vue
new file mode 100644
index 0000000000..a31574bb9d
--- /dev/null
+++ b/src/components/UpdateNotificationDialog.vue
@@ -0,0 +1,57 @@
+<template>
+ <q-dialog v-if="isUpdateAvailable" v-model="showDialog">
+ <q-card c... | 7 | 5 | 0 | [{"id": "G0", "claim": "The dialog could use Quasar's useDialogPluginComponent for its open/close handling, though the reviewer notes it is fine as is.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The dialog appears to notify on every startup whenever ... | null |
VOICEVOX__voicevox__1629 | VOICEVOX/voicevox | 1,629 | defect | a39b374a11584f8228a1173b2418433c52e07e97 | 8d6cc724e66ebdf14b6a7bac74a0e63844b4c43b | Change: ブラウザ版のConfigをBaseConfigManagerベースに | ## 内容
タイトル通り。
## 関連 Issue
- #1610
- closes: #1636
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 631676390e..7e6ecfb964 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -39,6 +39,7 @@ jobs:
e2e-test:
runs-on: ${{ matrix.os }}
strategy:
+ fail-fast: false
matrix:
os: [ubuntu-latest... | 11 | 7 | 5 | [{"id": "G0", "claim": "Add a FIXME comment above the getter body asking to stop mutating saving state inside the computed getter (use watch or similar instead).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The db name should be built from impor... | null |
VOICEVOX__voicevox__1701 | VOICEVOX/voicevox | 1,701 | defect | 1e7bed700eeed3b4777f85bcc3d6977d44c2408e | 822c91952cf2a1937fd38a6182b22140b709dea6 | utility.tsよりexportされている関数やクラスのユニットテストを追加 | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
utility.tsにあるexport関数やクラスのユニットテストを追加しました。
issueにはありませんでしたが、あっても困るものではないはず? | diff --git a/tests/unit/lib/tuningTranscription.spec.ts b/tests/unit/lib/tuningTranscription.spec.ts
deleted file mode 100644
index d14e5ce4a4..0000000000
--- a/tests/unit/lib/tuningTranscription.spec.ts
+++ /dev/null
@@ -1,95 +0,0 @@
-import { AccentPhrase, Mora } from "@/openapi";
-import { TuningTranscription } from... | 5 | 4 | 0 | [{"id": "G0", "claim": "The buildAudioFileNameFromRawData test should eventually cover a variety of filename patterns instead of the single fixed pattern.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "convertHiraToKana should also be tested with dakute... | null |
VOICEVOX__voicevox__1711 | VOICEVOX/voicevox | 1,711 | defect | 06e8721c2253780f40fea68ecce1f91a4a695b5a | 21c9444c4fb4392e52a2c06ea4cd83af76f10969 | Refactor: 修飾キーのcomposableを追加 | ## 内容
タイトル通り。ついでに押したままフォーカス外すと押されたまま判定になるのも直してます。
## 関連 Issue
(なし)
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/src/components/AudioCell.vue b/src/components/AudioCell.vue
index 26b76b6bd2..4fb6270f99 100644
--- a/src/components/AudioCell.vue
+++ b/src/components/AudioCell.vue
@@ -110,7 +110,7 @@
</template>
<script setup lang="ts">
-import { computed, watch, ref, nextTick, onMounted, onUnmounted } from "vue";
+... | 2 | 2 | 1 | [{"id": "G0", "claim": "`createUseKey` in src/composables/useModifierKey.ts should probably not be exported, given that nothing outside this file uses it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be written for the new modifie... | null |
VOICEVOX__voicevox__1799 | VOICEVOX/voicevox | 1,799 | defect | 27867b3784f02360246debc5d0c7ce0e502d3bb8 | f1e3ef294ee3503a1f486ffdacfdeae4661e8209 | Fix: エンジンが起動していないと画面が真っ白になるのを修正 | ## 内容
タイトル通りです。
## 関連 Issue
(なし)
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/src/components/Talk/EditorHome.vue b/src/components/Talk/EditorHome.vue
index 554882d58e..d14749b630 100644
--- a/src/components/Talk/EditorHome.vue
+++ b/src/components/Talk/EditorHome.vue
@@ -216,6 +216,7 @@ import {
SplitterPositionType,
Voice,
} from "@/type/preload";
+import { filterCharacterIn... | 5 | 5 | 4 | [{"id": "G0", "claim": "isSingingStyle is not 100% sing-specific, so it could be moved to another location, and there may be several places that could be replaced with this function.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The filter must return o... | null |
VOICEVOX__voicevox__1823 | VOICEVOX/voicevox | 1,823 | defect | 16cd5ac1097fa9b2ef37dbab3396984cfbc9f98c | fe41163c6ff162e3317a3d5c5fedc6c7ced9d53f | [rafactor] App.vueとSingerHome.vueを移動 | ## 内容
SingerHome.vueとApp.vueを移動しました。
SingerHomeが移動したのでやっとこさviewsディレクトリが消えます。
(Talkの方はもうすでに移動済み)
## 関連 Issue
- https://github.com/VOICEVOX/voicevox/issues/1760
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
## その他
`EditorHome`という名称も変えようかと思ったのですが、まあ良いのが思いつ... | diff --git a/src/App.vue b/src/components/App.vue
similarity index 100%
rename from src/App.vue
rename to src/components/App.vue
diff --git a/src/views/SingerHome.vue b/src/components/Sing/EditorHome.vue
similarity index 94%
rename from src/views/SingerHome.vue
rename to src/components/Sing/EditorHome.vue
index f301110... | 1 | 1 | 0 | [{"id": "G0", "claim": "Having two components both named \"EditorHome\" makes them indistinguishable in the Vue DevTools tree, so the components should be given distinct names (e.g. an explicit name like \"TalkEditorHome\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
VOICEVOX__voicevox__1844 | VOICEVOX/voicevox | 1,844 | defect | e9367963064e6f60d3fa0eb8ada78ab12f6b8bfc | b4c2d0b0dd0e8df2bf980c732876a32dc54a693d | feat: 不適切なフォルダにファイルを保存できないようにする | ## 内容
VOICEVOXの更新時にVOICEVOXのインストールディレクトリに保存したファイルが消失したというポストが複数件寄せられています。
これをある程度回避するためにファイルを不適切な場所に保存しようとした場合それを拒否して再度保存場所を指定するようにします。
保存に不適切なディレクトリはとりあえずVOICEVOXのインストールディレクトリと設定ファイルのディレクトリにしました。
## スクリーンショット・動画など
 => {
return engineManager.altPortInfo;
});
+/**
+ * 保存に適したフォルダを選択するかキャンセルをするまでダイアログを繰り返し表示し続ける
+ * @param showDialogFu... | 7 | 6 | 0 | [{"id": "G0", "claim": "Showing a blocking error box that forbids saving would confuse users who may have a reason to save there; instead show a strong warning explaining the risk and let the user choose to save anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
VOICEVOX__voicevox__1952 | VOICEVOX/voicevox | 1,952 | defect | 306f11570a163eff1dc9771620019ae0a3340a5a | 46925309e172fa1a668734d607a973375be9e25c | ソング:歌詞の一括入力を追加 | ## 内容
タイトル通り。
## 関連 Issue
- closes: #1815
## スクリーンショット・動画など
https://github.com/VOICEVOX/voicevox/assets/59691627/43a2c522-1a1f-4acd-bb5f-4a8b3af9265c
## その他
モーラ分割とかの都合上長音対応も入ってます。 | diff --git a/src/components/Sing/ScoreSequencer.vue b/src/components/Sing/ScoreSequencer.vue
index 946549275f..d21185fc89 100644
--- a/src/components/Sing/ScoreSequencer.vue
+++ b/src/components/Sing/ScoreSequencer.vue
@@ -110,25 +110,32 @@
}"
></div>
<!-- TODO: 1つのv-forで全てのノートを描画できるようにする -->
+ ... | 27 | 26 | 3 | [{"id": "G0", "claim": "The name and doc comment of splitMorasAndNonMoras are hard to understand; it should be renamed to something that says it splits lyrics taking moras into account (e.g. splitLyricsByMoras).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
VOICEVOX__voicevox__2175 | VOICEVOX/voicevox | 2,175 | defect | 085bbc0ccc82847db407cad0bab65df27ba47876 | c56ab8cf1dc21e45c3fde4736a6e65881b57dc66 | Vuexのコマンドのsnapshotテストを追加 | ## 内容
Vuexでも結構簡単にテストが書けることがわかったので、実際に書いてみました。
適当なコマンドを1つ実行して、vuexのstateが思っている形になっているかをスナップショットテストします。
UUIDの固定のために
- https://github.com/VOICEVOX/voicevox/pull/2174/
が先に必要です。
## 関連 Issue
#2174
## その他
もうちょっと整備できるかもだけど、まあこれでもいいかなと思ってます。
| diff --git a/src/backend/browser/fileImpl.ts b/src/backend/browser/fileImpl.ts
index d60f85f30f..0dab45ac29 100644
--- a/src/backend/browser/fileImpl.ts
+++ b/src/backend/browser/fileImpl.ts
@@ -4,6 +4,7 @@ import { openDB } from "./browserConfig";
import { SandboxKey } from "@/type/preload";
import { failure, succes... | 3 | 1 | 0 | [{"id": "G0", "claim": "The UUID returned in mock mode should carry the v4 version nibble (0000-4000-0000) since the function and its doc claim to generate a v4 UUID.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment should read \"UUID ... | null |
VOICEVOX__voicevox__2309 | VOICEVOX/voicevox | 2,309 | defect | b0d8c2e8aa843f380c36352fdcc6e6c1b8bfb66f | e5fcdb98e6849bb720ee6162f00c329f8e771330 | feat: `electron:serve`起動時にエディタを起動しないオプションを追加 | ## 内容
いつからかはっきり覚えていないのですがVSCodeを使用したメインプロセスのデバッグの起動が自分の環境では非常に遅くなりました。(自分のPCのスペックが低いというのもありますが…)
恐らくデバッガが開発サーバーを監視していることが原因だと思います。
このPRで開発サーバーの起動とElectronの起動を分離することでメインプロセスデバッグ時の起動を高速化します。
## その他
`SKIP_LAUNCH_EDITOR`環境変数に`1`を設定したうえで`electron:serve`を実行するとエディタの起動とメインプロセスのリロードが行われなくなります。
この状態で `npx electron ... | diff --git a/.vscode/launch.template.json b/.vscode/launch.template.json
index 969c53d659..b863c0728e 100644
--- a/.vscode/launch.template.json
+++ b/.vscode/launch.template.json
@@ -10,7 +10,11 @@
"port": 9222,
"request": "attach",
"type": "chrome",
- "webRoot": "${wor... | 6 | 5 | 0 | [{"id": "G0", "claim": "Since the added launch methods could silently regress, the pull request should briefly document the new startup options.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The names of the new task, launch configuration and env... | null |
VOICEVOX__voicevox__2443 | VOICEVOX/voicevox | 2,443 | defect | d6f67fd844e6f328d75993b72430f8c3a01575cd | 9cc96f0a89fff577ba87bd62c6253aaad9f91126 | test: エンジンモックに辞書機能とAquesTalk風記法機能追加+エンジンモックの辞書のテスト追加 | ## 内容
エンジンモックに辞書系とAquesTalk風記法の機能を追加し、エンジンモックの辞書のテストも追加しました。
## 関連 Issue
- https://github.com/VOICEVOX/voicevox/pull/2442
## その他
これも正直レビューが難しいと思うので、テストコードだけレビューもらってエイヤでマージになりそう。
| diff --git a/src/mock/engineMock/aquestalkLikeMock.ts b/src/mock/engineMock/aquestalkLikeMock.ts
new file mode 100644
index 0000000000..b81f347093
--- /dev/null
+++ b/src/mock/engineMock/aquestalkLikeMock.ts
@@ -0,0 +1,199 @@
+/**
+ * AquesTalk 風記法テキストをパースするモジュール。
+ * VOICEVOX ENGINEの voicevox_engine/tts_pipeline/kana_... | 4 | 2 | 0 | [{"id": "G0", "claim": "The parser's module-level constants, although used, start with an underscore and should be renamed to ordinary upper-camel-case names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests in tests/unit/mock/engineMock... | null |
VOICEVOX__voicevox__2444 | VOICEVOX/voicevox | 2,444 | defect | 991efd91ba91da7adf867ddd194b250ccb27c82d | 6b7d1a41c0f4592de49a1635b12db600c7f52bcd | test: VVPPデフォルトエンジンを使うテストを書く | ## 内容
VVPPデフォルトエンジンを使うテストを書きます。
途中でelectronのダイアログが来ますが、ダイアログ表示関数を直接上書きすることで無理やり突破します。
将来的にはelectronのダイアログではなくブラウザ表示になる予定なのでこのワークアラウンド不要になる予定です。
変更行数は少ないですが、結構複雑度が上がってしまっています。解決策募集中。。
* VVPPデフォルトエンジン用の.envが増えた
* VVPPデフォルトエンジンに統一されたらまた減るはず
* デフォルトエンジン情報はimport.meta.env経路以外にprocess.envルートもできた
* テストしたい環境が... | diff --git a/.env.test-electron-default-vvpp b/.env.test-electron-default-vvpp
new file mode 100644
index 0000000000..94255249d3
--- /dev/null
+++ b/.env.test-electron-default-vvpp
@@ -0,0 +1,17 @@
+# VVPPデフォルトエンジンでのテスト用の.envファイル。
+
+VITE_APP_NAME=voicevox
+VITE_DEFAULT_ENGINE_INFOS=`[
+ {
+ "type": "download... | 1 | 1 | 1 | [{"id": "G0", "claim": "In Electron production mode, and when the dev server added in #2309 and Electron are started separately, process.env.VITE_DEFAULT_ENGINE_INFOS is undefined, so the new isElectron branch leaves the default engine infos empty instead of reading import.meta.env.", "category": "correctness", "verdic... | null |
VOICEVOX__voicevox__2455 | VOICEVOX/voicevox | 2,455 | defect | 7cc32cc3fb65225f21c02366c33618f3bac81318 | 586baf49e66675ed2067df969325206219fd5dc4 | refactor: WindowManagerを追加 | ## 内容
https://github.com/VOICEVOX/voicevox/pull/2339#issuecomment-2457798344 で提案されたwin周りの処理をWIndowManagerに切り出すリファクタリングです。
## 関連 Issue
- ref: #2173 | diff --git a/src/backend/electron/engineAndVvppController.ts b/src/backend/electron/engineAndVvppController.ts
index 076a484570..4dfe58396c 100644
--- a/src/backend/electron/engineAndVvppController.ts
+++ b/src/backend/electron/engineAndVvppController.ts
@@ -1,13 +1,14 @@
import path from "path";
import fs from "fs";... | 9 | 8 | 2 | [{"id": "G0", "claim": "Dialog display is handled by each call site branching on an optional win (with a leftover FIXME); dialog.show* functions should live on WindowManager, which switches on _win presence (with getWindow() throwing when the window is missing), so the controller need not know whether a window exists."... | null |
VOICEVOX__voicevox__2468 | VOICEVOX/voicevox | 2,468 | defect | b80b70e19e4e7e1af6d56571a66bd2d4399e47b0 | 4e15bfac4ca58870f9df267dd2ae9956ec53211d | refactor: electron用の.envを作成し、test.ymlをリファクタリング | ## 内容
今までelectron:e2eテストをするとき、test.yml内で`.env.test`を`.env`にcpしてから書き換えるということをしていましたが、専用の.env.test-e2eを作ってそこから編集するように変更しました。
[ブラウザe2eテストをモックエンジンで行うPR](https://github.com/VOICEVOX/voicevox/pull/2442)で.env.testを使おうと思っている中、この処理コピー&編集処理が厄介だったので独立にしました。
## 関連 Issue
- https://github.com/VOICEVOX/voicevox/pull/2442
... | diff --git a/.env.test-electron b/.env.test-electron
new file mode 100644
index 0000000000..bb5b8b782e
--- /dev/null
+++ b/.env.test-electron
@@ -0,0 +1,16 @@
+# CI環境でのelectronテスト用の.envファイル。CI時に値が上書きされる。
+
+VITE_APP_NAME=voicevox
+VITE_DEFAULT_ENGINE_INFOS=`[
+ {
+ "name": "VOICEVOX Nemo Engine",
+ "uu... | 1 | 1 | 0 | [{"id": "G0", "claim": "The author asks how the growing number of .env files should best be managed, and sevenc-nanashi proposes creating a directory under tests/ to hold them.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOICEVOX__voicevox__2545 | VOICEVOX/voicevox | 2,545 | defect | 41d6666a8335f8cce72473dc582fc81c6736cfd9 | df2749c4c5be60a8892add196318f2a6d972cbe4 | refactor: extractVvpp周りをリファクタリング | ## 内容
extractVvpp周りをリファクタリングし、変更を容易にします。
今回はCommandパターン(1つの処理を行うだけのクラス)を使ってみました。
- https://github.com/VOICEVOX/voicevox/issues/1194#issuecomment-2523524142
のための前段階で、
- https://github.com/VOICEVOX/voicevox/pull/2478
の続きリファクタリングです。
今一連の処理を経て、つまりzipファイルが完全に展開されて初めてエンジンIDを得るコードになってますが、
これを途中でエンジンIDが得ら... | diff --git a/src/backend/electron/manager/vvppManager.ts b/src/backend/electron/manager/vvppManager.ts
index 0f8d3fa008..550fb97c63 100644
--- a/src/backend/electron/manager/vvppManager.ts
+++ b/src/backend/electron/manager/vvppManager.ts
@@ -9,7 +9,7 @@ import {
MinimumEngineManifestType,
} from "@/type/preload";
... | 5 | 4 | 0 | [{"id": "G0", "claim": "The PR could switch to Node's built-in fs.promises.glob instead of the third-party glob package (\"node-glob\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The file-part regex patterns around findSplitFileParts/sortFileParts w... | null |
VOICEVOX__voicevox__2557 | VOICEVOX/voicevox | 2,557 | defect | b24884608e871bf990c3e900f41c87b762efd6ba | 01df1f2d49526e48ae9247d79c3f02e100087ee3 | refactor: installVvppEngineをDisplayableErrorをthrowする形に変更 | ## 内容
installVvppEngine内でダイアログを表示していて再利用できなかったので、throwしてキャッチしてダイアログを表示する形に変えてみました。
ついでに`installVvppEngineWithWarning`関数内で早期リターンしてない事に気づいたので直しておきました。
## 関連 Issue
- https://github.com/VOICEVOX/voicevox/issues/1086
- https://github.com/VOICEVOX/voicevox/issues/1194
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかる... | diff --git "a/docs/UX\343\203\273UI\343\203\207\343\202\266\343\202\244\343\203\263\343\201\256\346\226\271\351\207\235.md" "b/docs/UX\343\203\273UI\343\203\207\343\202\266\343\202\244\343\203\263\343\201\256\346\226\271\351\207\235.md"
index 0ad1f49609..54229c2373 100644
--- "a/docs/UX\343\203\273UI\343\203\207\343\20... | 3 | 3 | 2 | [{"id": "G0", "claim": "The error's type is being lost: after wrapping/unwrapping through the IPC result helper, a DisplayableError and an ordinary Error can no longer be told apart.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new error-handling s... | null |
VOICEVOX__voicevox__2628 | VOICEVOX/voicevox | 2,628 | defect | 4790480bba20e05f8bab52d369b52437ac4427dc | 7ef708abfcc1a8026495da8d644aee9c09d45954 | chore: eslintにvitestプラグインを追加 | ## 内容
タイトルのとおりです。公式から提供されてたので追加してみました。
今のテストだと「テストはexpectが1つ以上含まれてるべき」ルールに引っかかってるのがいくつかあったので、とりあえず対処しています。
## 関連 Issue
ref: https://github.com/VOICEVOX/voicevox/issues/2627
## その他
ぶっちゃけ恩恵はあまりない気がします。
nodeのtestをimportしてたときにエラーにするみたいなのも入ってて、初学者の助けになるかもしれない・・・?
https://github.com/vitest-dev/eslint-plugin... | diff --git a/eslint.config.js b/eslint.config.js
index 11254ca234..909a085f98 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -13,6 +13,7 @@ import {
import { configs as tsConfigs, parser as tsParser } from "typescript-eslint";
import progress from "eslint-plugin-file-progress";
import gitignore from "eslint... | 2 | 1 | 0 | [{"id": "G0", "claim": "The eslint.config.js import names should eventually be made consistent (e.g. rename progress to progressPlugin).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The vitest/expect-expect rule could arguably be ignored glo... | null |
VOICEVOX__voicevox__2638 | VOICEVOX/voicevox | 2,638 | defect | a2f398a6709fe8af27631e6ca3eb68800807f66f | c004ea869d40b27aa64893295776ab7ad58b932a | refactor: selectPriorPhrase関数のインターフェースを変更 | ## 内容
selectPriorPhrase関数のインターフェースを変更します。
- `Phrase`ではなく`PhraseRange`を渡すように
- `[phraseKey, phrase]`ではなく`phraseKey`を返すように
## 関連 Issue
- https://github.com/VOICEVOX/voicevox/issues/2261
## その他
レンダリング処理の変更をしやすくするために行っています。 | diff --git a/src/sing/domain.ts b/src/sing/domain.ts
index c1e44104e3..69879dd35d 100644
--- a/src/sing/domain.ts
+++ b/src/sing/domain.ts
@@ -444,11 +444,16 @@ export function getEndTicksOfPhrase(phrase: Phrase) {
return lastNote.position + lastNote.duration;
}
-export function toSortedPhrases<K extends string>(... | 2 | 1 | 0 | [{"id": "G0", "claim": "The function 'toSortedPhrases' now only sorts PhraseRange objects, so it should be renamed to 'toSortedPhraseRanges' for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "selectPriorPhrase could alternatively be nam... | null |
VOICEVOX__voicevox__2655 | VOICEVOX/voicevox | 2,655 | defect | 4f2ac31d036c6c7ea705cc0d0665424fddcae77b | df30b0a7369e852eb36e823ea55a33f71368d2b5 | fix: DisplayableErrorがレンダラープロセスのsandboxとmainWorldを跨いでも失われないように | ## 内容
Electron環境において、`DisplayableError` が `contextBridge` を越える際に型情報が失われる問題を修正しました。
`preload.ts` でAPIを `mainWorld` に公開する際にエラー情報をラップし、`renderer/bridge.ts` でアンラップするようにしました。
具体的には以下の変更を行いました。
- `src/backend/electron/renderer/preload.ts`:
- `wrapApi` 関数を導入し、`contextBridge.exposeInMainWorld` で公開するAPIオブジェクトの各メソッド... | diff --git a/src/backend/browser/preload.ts b/src/backend/browser/bridge.ts
similarity index 100%
rename from src/backend/browser/preload.ts
rename to src/backend/browser/bridge.ts
diff --git a/src/backend/electron/displayableResultHelper.ts b/src/backend/electron/displayableResultHelper.ts
new file mode 100644
index 0... | 10 | 6 | 1 | [{"id": "G0", "claim": "Suppressing type errors with @ts-expect-error in the preload API wrapper can hide signature mismatches, so a typed mapping approach (e.g. keyof typeof baseApi) should be used instead.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c... | null |
VOICEVOX__voicevox__2726 | VOICEVOX/voicevox | 2,726 | defect | c67970e3a302ee57ddbac63009aaf08ba74e66da | baa19f8d6f0f220d454661d44dd56d6829b26b8b | 未来のバージョンのプロジェクトファイルを読み込むとエラーを出すように | ## 内容
未来のバージョンのプロジェクトファイルを読み込むとエラーを出すように変更しました。
<!--
プルリクエストの内容説明を端的に記載してください。
-->
## 関連 Issue
https://github.com/VOICEVOX/voicevox/issues/2523
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #2523
-->
## スクリーンショット・動画など
<img width="1028" height="627" alt="image" s... | diff --git a/src/domain/project/type.ts b/src/domain/project/type.ts
index 3f6c644b31..c59b64dde3 100644
--- a/src/domain/project/type.ts
+++ b/src/domain/project/type.ts
@@ -1,4 +1,5 @@
import { z } from "zod";
+import semver from "semver";
import {
noteSchema,
@@ -23,3 +24,61 @@ export type Track = z.infer<typ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Comparing the project file's save-time app version with the current app version makes same-format project files saved by future versions unloadable, so such files should remain loadable (the reviewer suggests embedding the last-migrated version and checking that instead).", "category": "correctn... | null |
VOICEVOX__voicevox__2857 | VOICEVOX/voicevox | 2,857 | defect | ce393c70ee0027c312db45d4d05debc4f617c72c | 349f7e297d4d2d3b07b4f008c5ad177d5411fecb | feat: ロックを自作する | ## 内容
同じキーのロックしか使ってなかったので1キーのMutexにします。
## 関連 Issue
(なし)
## スクリーンショット・動画など
(なし)
## その他
(なし)
| diff --git a/eslint.config.ts b/eslint.config.ts
index adde38cbce..1d3e005e4b 100644
--- a/eslint.config.ts
+++ b/eslint.config.ts
@@ -65,6 +65,13 @@ const typeCheckedRules: Rules = {
"@typescript-eslint/no-non-null-assertion": "error",
+ "no-unused-vars": [
+ "warn",
+ {
+ ignoreUsingDeclarations: t... | 8 | 6 | 3 | [{"id": "G0", "claim": "The lock key could instead be randomly generated in the Mutex constructor, though the reviewer notes the current constant is also acceptable.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Mutex class's usage should be documente... | null |
VOICEVOX__voicevox__2903 | VOICEVOX/voicevox | 2,903 | defect | b5fcfb9131112a9af37044af7ded454ce1c73e52 | 166ab05629a4673b410887ea88b366a6cdbab353 | feat: ボーカルトラックの複製機能 | ## 内容
<!--
プルリクエストの内容説明を端的に記載してください。
-->
ボーカルトラックを複製する機能を追加します。
## 関連 Issue
<!--
関連するIssue番号を記載してください。
番号の前に"close"を書くと自動的にIssueが閉じられます。
(例)
ref #0
close #0
-->
close #2900
## スクリーンショット・動画など
<!--
UIを変更した際は、変更がわかるような動画・スクリーンショットがあると助かります。
-->
<img width="525" height="414" alt="image" ... | diff --git a/src/components/Sing/SideBar/TrackItem.vue b/src/components/Sing/SideBar/TrackItem.vue
index 3a5c64c977..56d39553d3 100644
--- a/src/components/Sing/SideBar/TrackItem.vue
+++ b/src/components/Sing/SideBar/TrackItem.vue
@@ -17,6 +17,12 @@
onClick: addTrack,
disableWhenUiLocked: true... | 7 | 6 | 1 | [{"id": "G0", "claim": "The newTrack object is cloned twice and the second cloneWithUnwrapProxy call before INSERT_TRACK appears unnecessary; consider passing newTrack directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The COMMAND_DUPLICAT... | null |
VOICEVOX__voicevox__2935 | VOICEVOX/voicevox | 2,935 | defect | e34c059134633f7df9fb90725a58b3dab72d09b7 | ce68ba85218d903abdf2642e8c78c946c7c4721e | test: welcome画面のテストを追加 | ## 内容
タイトル通りです。
## 関連 Issue
- ref: #2922
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/package.json b/package.json
index 9580075f74..19c9e771d1 100644
--- a/package.json
+++ b/package.json
@@ -30,6 +30,7 @@
"test-watch:unit": "vitest --watch",
"test-ui:unit": "vitest --ui",
"test:electron-e2e": "cross-env VITE_TARGET=electron playwright test",
+ "test-ui:electron-e2e": "cro... | 2 | 1 | 0 | [{"id": "G0", "claim": "On engine install failure, showing a GUI alert dialog is the correct behaviour rather than rethrowing the error.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should wait for the launch (start) button to become enabled i... | null |
VOICEVOX__voicevox__2945 | VOICEVOX/voicevox | 2,945 | defect | 377b4d0ef264ea0909615f299e9f9ebe501deec1 | 579b1413178917b5f98edcfd93c9d7f7040afea1 | feat: Vuex単体テストスキルをrulesyncに追加 | ## 内容
Vuexの単体テスト実装ガイドラインをrulesyncのスキルとして配置しました。
## 関連 Issue
ref #2932
## 変更内容
とりあえずどういうテストを書けば良いかとかはさておいて、stateのmockを使わずにinitしてもらう形にしてみました。
## その他
#2942 のVuex版です。 | diff --git a/.rulesync/skills/write-vuex-unit-test/SKILL.md b/.rulesync/skills/write-vuex-unit-test/SKILL.md
new file mode 100644
index 0000000000..82cdb187ba
--- /dev/null
+++ b/.rulesync/skills/write-vuex-unit-test/SKILL.md
@@ -0,0 +1,129 @@
+---
+name: write-vuex-unit-test
+description: >-
+ Vuex storeの単体テストを生成。mut... | 3 | 2 | 1 | [{"id": "G0", "claim": "The skill's examples could be unified so that tests are written with `test` rather than allowing both `test` and `it` in the テストケースの記述 section.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The mutation example's test name \"INSE... | null |
VOICEVOX__voicevox__2957 | VOICEVOX/voicevox | 2,957 | defect | 648b5353a013687a2f1e5cfd5f42befb03539a5b | 6a47855f095d2c3f6dfbc2e40dcf4e3b06df250d | refactor: 誤字修正、ipcの型安全改善 | ## 内容
#2927 にある以下の修正を行っています。
- ファイル名の誤字
- src/domain/defaultEngine/latetDefaultEngine.tsをlatestDefaultEngine.tsにリネームする
- RemoteとLocalの命名がわかりにくい
- ipc.tsのas stringまみれ
- src/backend/electron/ipc.ts:44
- 型アサーションを減らし、型安全性を改善する
<!--
プルリクエストの内容説明を端的に記載してください。
-->
## 関連 Issue
#2927
<!--
関連... | diff --git a/src/backend/electron/engineAndVvppController.ts b/src/backend/electron/engineAndVvppController.ts
index 293d977f97..c229cc725d 100644
--- a/src/backend/electron/engineAndVvppController.ts
+++ b/src/backend/electron/engineAndVvppController.ts
@@ -15,8 +15,8 @@ import {
import {
type PackageInfo,
fetc... | 1 | 1 | 0 | [{"id": "G0", "claim": "In DisplayEngineInfo, the localInfo and remoteInfo property names were left unchanged even though the underlying types were renamed to EnginePackageCurrentInfo and EnginePackageLatestInfo.", "category": "naming", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
VOICEVOX__voicevox__2967 | VOICEVOX/voicevox | 2,967 | defect | 022d6d14563d7d72f601474be721462586b0f9db | a4b3e47a719cd3bb0814233d1fcfa754ffc4a2d5 | feat: 音素タイミング編集のactionとmutationを追加し、テストを追加 | ## 内容
ソングエディタにおける音素タイミング編集機能のStore実装を追加します。
**ミューテーション**
- `UPSERT_PHONEME_TIMING_EDIT`
- 指定ノートの指定音素インデックスに対して音素タイミング編集データをupsert(追加 or 更新)する。
追加時は `phonemeIndexInNote` の昇順でソートされる。
- `ERASE_PHONEME_TIMING_EDITS`
- 指定した複数の音素タイミング編集データを削除する。編集データがなくなったノートはMapから削除する。
**コマンドアクション(Undo/Redo対応)**
- `CO... | diff --git a/src/store/singing.ts b/src/store/singing.ts
index d396d4b89c..c96bf92718 100644
--- a/src/store/singing.ts
+++ b/src/store/singing.ts
@@ -129,6 +129,7 @@ import {
} from "@/sing/songTrackRendering";
import type {
Note,
+ PhonemeTimingEdit,
Singer,
Tempo,
TimeSignature,
@@ -1159,6 +1160,61 @@... | 3 | 3 | 1 | [{"id": "G0", "claim": "COMMAND_ERASE_PHONEME_TIMING_EDITS should throw an error when called with an empty targets array (instead of silently no-op) because a no-op call could hide bugs, and the assertion that no command is added to history should not be tested here since that is the undo/redo store's responsibility.",... | null |
VOICEVOX__voicevox__2972 | VOICEVOX/voicevox | 2,972 | defect | 373c1b43b9dc26267ddfd35322a7043a01ec61ce | 571535aec8d5ba76ac2f87a3250f25d78529f061 | fix: 先頭に拍子・テンポが存在しないプロジェクトをインポートして保存すると読み込めなくなる問題を修正 | ## 内容
MusicXMLインポート時に先頭小節の拍子記号・テンポが欠落している場合に、デフォルト値を補完するようにします。
### 問題の原因
`toVoicevox.ts` の変換処理において、UtaFormatix の拍子記号の `measurePosition` は 0 始まりのため `+1` して VOICEVOX の `measureNumber` に変換しています。しかし、インポートするファイル(MusicXML 等)の先頭小節に拍子記号が存在しない場合(例:2小節目以降にのみ拍子記号がある場合)、変換後の最初の `measureNumber` が `1` にならず、VOICEVOX の検証(`is... | diff --git a/src/sing/utaformatixProject/toVoicevox.ts b/src/sing/utaformatixProject/toVoicevox.ts
index 401412a5df..c4cffc6174 100644
--- a/src/sing/utaformatixProject/toVoicevox.ts
+++ b/src/sing/utaformatixProject/toVoicevox.ts
@@ -1,6 +1,11 @@
import type { Project as UfProject } from "@sevenc-nanashi/utaformatix-... | 3 | 2 | 0 | [{"id": "G0", "claim": "The tempo comment is redundant since \"先頭\" already means position 0 and merely restates what the code does; it should be replaced with a concise summary like \"// 先頭にテンポがない場合は追加する\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
VOICEVOX__voicevox__2975 | VOICEVOX/voicevox | 2,975 | defect | ec9240c66e2e2e8955d51bc9c091f0fb40eb0da1 | 91ecf20ce338e6574156bf60e5a58cbceba94057 | test(welcome): エンジンアップデートのテストを追加 | ## 内容
タイトル通りです。
## 関連 Issue
closes: #2922
## スクリーンショット・動画など
(なし)
## その他
(なし) | diff --git a/tests/e2e/electron/welcome.spec.ts b/tests/e2e/electron/welcome.spec.ts
index 91ff32ccd1..cafeffcd8e 100644
--- a/tests/e2e/electron/welcome.spec.ts
+++ b/tests/e2e/electron/welcome.spec.ts
@@ -1,7 +1,21 @@
import fs from "node:fs/promises";
+import path from "node:path";
import { _electron as electron, ... | 6 | 6 | 2 | [{"id": "G0", "claim": "The `MessageBoxSyncOptions` type import from `electron` is unused throughout the file and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "After the main window is destroyed and the Welcome window created... | null |
VOICEVOX__voicevox__305 | VOICEVOX/voicevox | 305 | defect | 4635171cc3927740ec68e306c293440c61aa2c7e | 1f0bd32478dea12c5ed50877b219d4d8a515eeef | Edited判定・プロジェクト破棄のダイアログ表示 | ## 内容
プロジェクトを開いてから現状までのコマンド列を記憶してプロジェクトに変更が起こったか判定する
1. プロジェクトに変更を加えたときにタイトルバーに * を付ける
2. UndoしてすぐRedo, なにかしてすぐUndoは変更とみなさない (VSCodeを参考にした)
3. プロジェクトの変更が保存されておらず、以下のアクションが起こった時に確認ダイアログを表示する
* 新規プロジェクト (常に聞かれていたものを変更時のみ聞くように変更)
* プロジェクトを開く (常に聞かれていたものを変更時のみ聞くように変更)
* ウィンドウを閉じる (新しく実装 #117 )
## 関連 Iss... | diff --git a/src/components/MenuBar.vue b/src/components/MenuBar.vue
index f08ceb5047..136ed06573 100644
--- a/src/components/MenuBar.vue
+++ b/src/components/MenuBar.vue
@@ -10,10 +10,13 @@
@mouseover="reassignSubMenuOpen(i)"
/>
<q-space />
- <div v-if="projectName !== undefined" class="window-titl... | 2 | 1 | 0 | [{"id": "G0", "claim": "The edited check could avoid keeping a savedHistory in state by storing only the last command's timestamp in Command and, at save time, keeping only the last command's timestamp in state, since the command history can grow quite large and is best kept as short as possible.", "category": "perform... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.