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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expensify__App__86424 | Expensify/App | 86,424 | defect | 32f682c22328e1e793fcc1a73bffbe9f0cc42df5 | d65e44104b564e75e2c1b8d7b5f67aa2a6d639ef | refactor handleWalletStatementNavigation and openReportFromDeepLink to use isSelfTourViewed from useOnyx | <!-- If necessary, assign reviewers that know the area or changes well. Feel free to tag any additional reviewers you see fit. -->
### Explanation of Change
<!-- Explain what your change does and how it addresses the linked issue -->
### Fixed Issues
<!---
1. Please postfix `$` with a URL link to the GitHub is... | diff --git a/src/DeepLinkHandler.tsx b/src/DeepLinkHandler.tsx
index 4d4010bb744b..4356d78ddb0d 100644
--- a/src/DeepLinkHandler.tsx
+++ b/src/DeepLinkHandler.tsx
@@ -11,6 +11,7 @@ import Log from './libs/Log';
import {endSpan} from './libs/telemetry/activeSpans';
import ONYXKEYS from './ONYXKEYS';
import type {Rout... | 3 | 3 | 1 | [{"id": "G0", "claim": "The eslint-disable comment in DeepLinkHandler.tsx should be updated to accurately reflect the actual intent of the suppressed dependencies instead of claiming the effect only re-runs when conciergeReportID changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope... | null |
Expensify__App__86690 | Expensify/App | 86,690 | defect | 329c402be203ed8c75b741be7e81ae039e2c1afd | bb45a41161fa6858634cf0a02d6d6a430fd51009 | Add start/stop timer buttons to the Chronos report header | <!-- If necessary, assign reviewers that know the area or changes well. Feel free to tag any additional reviewers you see fit. -->
### Explanation of Change
This PR adds some buttons to the header of the chat with chronos@expensify.com. There is a "Start Timer" and a "Stop Timer" button.
In order to easily deter... | diff --git a/src/CONST/index.ts b/src/CONST/index.ts
index 60577a6c1c52..e272a90ef0bd 100644
--- a/src/CONST/index.ts
+++ b/src/CONST/index.ts
@@ -8666,6 +8666,7 @@ const CONST = {
},
HEADER_VIEW: {
BACK_BUTTON: 'HeaderView-BackButton',
+ CHRONOS_TIMER_BUTTON: 'HeaderView-Chron... | 8 | 5 | 2 | [{"id": "G0", "claim": "isChronosStartOrStopMessage() uses unanchored regexes, so any comment containing substrings like \"starting\", \"nonstop\", or \"kickstart\" is treated as a timer command, which can flip the header button to the wrong action and send the opposite command on click; match whole-command text or wor... | null |
Expensify__App__87154 | Expensify/App | 87,154 | defect | e24565677155b3c345764f378d26ed7a121407ed | dc5683b5802edc5c33962fc237610c0cf238f752 | Part 3: Remove Onyx.connect() for the key: ONYXKEYS.SESSION in src/libs/actions/Policy/Policy.ts | <!-- If necessary, assign reviewers that know the area or changes well. Feel free to tag any additional reviewers you see fit. -->
### Explanation of Change
<!-- Explain what your change does and how it addresses the linked issue -->
### Fixed Issues
<!---
1. Please postfix `$` with a URL link to the GitHub is... | diff --git a/src/components/KYCWall/BaseKYCWall.tsx b/src/components/KYCWall/BaseKYCWall.tsx
index 39ac82542792..e05a24926c22 100644
--- a/src/components/KYCWall/BaseKYCWall.tsx
+++ b/src/components/KYCWall/BaseKYCWall.tsx
@@ -69,6 +69,7 @@ function KYCWall({
const {formatPhoneNumber} = useLocalize();
const... | 1 | 1 | 1 | [{"id": "G0", "claim": "Remove the `?? CONST.DEFAULT_NUMBER_ID` fallback so `currentUserAccountID` is read directly from `currentUserDetails.accountID` instead of silently becoming the default number ID when the accountID is undefined.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
ExpressGateway__express-gateway__118 | ExpressGateway/express-gateway | 118 | defect | cf53f09a3fa3a5b162e68d73602d5fbc07d06415 | 99b545c27d1ec1673ccdb17f6dce85c05a6787a3 | refactored user service to remove credential management, and made use… | …r properties configurable from config. Connects #112 | diff --git a/src/consumers/application.dao.js b/src/consumers/application.dao.js
index 88d8d007c..bf843145d 100644
--- a/src/consumers/application.dao.js
+++ b/src/consumers/application.dao.js
@@ -3,7 +3,7 @@
let _ = require('lodash');
let getDb = require('../db');
let Promise = require('bluebird');
-let utils = req... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `describe.only` scoping of the 'User service tests' suite looks like a mistake and should be removed, selecting tests with grep (npm test -- --grep) instead of only/skip.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `co... | null |
ExpressGateway__express-gateway__177 | ExpressGateway/express-gateway | 177 | defect | ee2ebe857d8a2055546fd5a619a8a01f5ec04cee | 77b393b74acf7f3224744d2f6c543a1b91fc00f2 | integrating oauth module and oauth policy with EG | closes #154 | diff --git a/src/actions/index.js b/src/actions/index.js
index 010b1c80e..74ed7104b 100644
--- a/src/actions/index.js
+++ b/src/actions/index.js
@@ -4,7 +4,8 @@ const MODULES = [ // TODO: what is core what is plugin;
'./rate-limit',
'./proxy',
'./cors',
- './log'
+ './log',
+ './oauth'
];
const coreNamesp... | 1 | 1 | 0 | [{"id": "G0", "claim": "The hardcoded session secret in test/oauth/bootstrap.js should be moved into configuration so the session key is not left hardcoded.", "category": "security", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
ExpressGateway__express-gateway__196 | ExpressGateway/express-gateway | 196 | defect | 48c6e6b99323db5a9168584cae46aa59f1db3c4a | e23012a5e1aeb8d8e48500847dc1abb6896a5d86 | Differenciating between basic and oauth authentication. In order to l… | …ogin or use credential authentication for routes other than /oauth2/token and /oauth2/authorize, one must use basic-auth credentials. | diff --git a/src/config/models/credentials.js b/src/config/models/credentials.js
index 41c53b602..958cd9f01 100644
--- a/src/config/models/credentials.js
+++ b/src/config/models/credentials.js
@@ -1,7 +1,7 @@
'use strict';
module.exports = {
- basicAuth: {
+ 'basic-auth': {
passwordKey: 'password',
auto... | 2 | 1 | 0 | [{"id": "G0", "claim": "The redis config should use a single redis-prefix (e.g. 'EG-') from which the other key prefixes are built by convention (e.g. ${redis-prefix}_CREDS_${new-auth-name}) instead of one explicit prefix key per type, so that adding a new credential type does not require declaring a new magic string i... | null |
ExpressGateway__express-gateway__237 | ExpressGateway/express-gateway | 237 | defect | 7840418ecd18fcfd94644360c61e12538ace427f | c9825d74e3aa20d0d9e3688f6722f470624b1a36 | Feature/multi api endpoint connect #224 | Implemented as following:
```yml
apiEndpoints:
admin:
- host: '*'
paths: /catalog/*
methods: 'GET,HEAD' // comma separated string
scope: ['staff','admin']
- host: '*'
paths: /catalog/*
methods: [POST, PUT, DELETE] // Array style syntax
scope: [“admin”]
```
previous sy... | diff --git a/README.md b/README.md
index 3146f1633..951a8d433 100644
--- a/README.md
+++ b/README.md
@@ -88,6 +88,84 @@ apiEndpoints:
paths: /v2/* # string or array of strings
```
+#### Segregation by HTTP methods
+```yml
+apiEndpoints:
+ help: # name, used as reference in pipeline
+ host: '*' # optional, b... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test file name test/routing/host-path-default-multi-step-policy-execution.js is confusing and should be renamed to something like multiple-actions-per-policy.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ExpressGateway__express-gateway__297 | ExpressGateway/express-gateway | 297 | defect | bba58200f8c8985ddababb403962ca1c117774fb | 88959744e231208ce98e856ecd9edfb03c87dc68 | Creating a minimal libary API for index.js | Closes #287.
Connects #287. | diff --git a/bin/generators/gateway/templates/basic/server.js b/bin/generators/gateway/templates/basic/server.js
index 8cd5d778a..c282d0185 100644
--- a/bin/generators/gateway/templates/basic/server.js
+++ b/bin/generators/gateway/templates/basic/server.js
@@ -1,9 +1,6 @@
const path = require('path');
+const gateway =... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rename the parameter in Main's load() (and the backing property) to configPath, ideally as an options object for further extension, so it does not get mixed up with an actual config object.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ExpressGateway__express-gateway__306 | ExpressGateway/express-gateway | 306 | defect | 1a8206b51ab001087cd678e9f8f8c1c6f483ac24 | fa6616bf01cf64528316e3bd63ead88619bc18e3 | Minor improvements to Admin API and CLI | * `eg apps create` now outputs entire created app, not only id
* 204/201 returned in API instead of {success:true} or true
* swagger yaml (without UI viewer)
connect #268 | diff --git a/bin/generators/apps/create.js b/bin/generators/apps/create.js
index 73bbb3110..5562aa2b7 100644
--- a/bin/generators/apps/create.js
+++ b/bin/generators/apps/create.js
@@ -81,7 +81,7 @@ module.exports = class extends eg.Generator {
return this._insert(app, { user: argv.user })
.then(newApp => {
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `eg apps create` command should not print the full created object by default — the reviewer would prefer the verbose JSON output tucked behind a `-v` flag, and asks that the output change be reverted (for now) so the PR can merge.", "category": "design", "verdict": "supported", "priority": "... | null |
ExpressGateway__express-gateway__485 | ExpressGateway/express-gateway | 485 | defect | ae3817b25c83ba5180aa56d887ddcb98fd073077 | b210b5e71583554c2a460ce8aa3573dc12fd9750 | Credential Service — minor refactor | Connects #361
This pull request will change several things in the credential service. As I'll be working on this soon due to #361 , it's good to have a better base.
1. Reduce promise nesting (which is always bad)
2. DRY some functions and reuse them where possible
3. Throw errors instead of rejecting promises ... | diff --git a/Contributing.md b/Contributing.md
index c95236d5b..244f73cc5 100644
--- a/Contributing.md
+++ b/Contributing.md
@@ -47,7 +47,7 @@ to documentation, code, binary files, etc. Even long term committers and TC memb
pull requests.
A pull request should contain:
-- a spec if applicable, e.g. a GitHub gist, p... | 7 | 7 | 1 | [{"id": "G0", "claim": "The `didSucceed` check inside the flushdbAsync `.then` in the test before-hook is not needed because didSucceed is always true.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The insertCredential test should just return t... | null |
ExpressGateway__express-gateway__494 | ExpressGateway/express-gateway | 494 | defect | 45d0c41a96b9e15c4f2e0dc5c0fb1dfc29cf158e | a791487e0cff51dd10f52bbbe5d773e92d65548f | Basic Migrations command | This pull request will introduce a migration mechanism for the gateway leveraging [node-migrate@next](https://npmjs.org/packages/migrate) module by Tj.
Connects #490
Connects #492 closes #492
Standing points:
- This module can track the ran migrations using a `.migrate` file or using a custom storage mechanis... | diff --git a/migrations/1509389756098-credential-username-userid-transform.js b/migrations/1509389756098-credential-username-userid-transform.js
new file mode 100644
index 000000000..13768390b
--- /dev/null
+++ b/migrations/1509389756098-credential-username-userid-transform.js
@@ -0,0 +1,43 @@
+const log = require('mig... | 1 | 1 | 1 | [{"id": "G0", "claim": "The eg CLI integration is unnecessary — just running `migrate` (e.g. via npx or the bin file directly) should be enough, so the PR should not add CLI integration.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}] | null |
ExpressGateway__express-gateway__612 | ExpressGateway/express-gateway | 612 | defect | 1f594e6c0c2c04dc0560f09c89a94c9216838c6b | d4805de178bceb2baaaf1f0be80915729ca7458d | Return 404 when no policy can handle a request | Connect #611
Closes #611
This PR will make sure the gateway return a 404 in case there's no policy that can handle a request.
At the moment, the gateway is crashing. | diff --git a/lib/config/gateway.config.yml b/lib/config/gateway.config.yml
index 0e86c2afa..82b4bdbbe 100644
--- a/lib/config/gateway.config.yml
+++ b/lib/config/gateway.config.yml
@@ -5,7 +5,7 @@ http:
# tls: {}
admin: # remove this section to disable admin API
port: 9876
- hostname: localhost # use 0.0.0.0 to... | 2 | 2 | 0 | [{"id": "G0", "claim": "generatePipelineHandler should take a single object argument {path, pipeline, route} instead of three positional parameters.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test's describe title has a typo (\"can' be\") and... | null |
ExpressGateway__express-gateway__620 | ExpressGateway/express-gateway | 620 | defect | 45a4af2bb6ebec69c12f9f85ab0c8f56e7213211 | 7bfe96255e2ce3bebeec6b1ab7196220cb21bb93 | Support for env variables in config file | #### This is still a wip…
This pull request will implement env variable support for configuration files (both system and gateway). The syntax and the usage is the same as the one provided from `docker-compose.yml` files.
### Syntax
`value: ${ENV_VAR:-DEFAULT}`
Eg will look for an environment variable called... | diff --git a/lib/config/config.js b/lib/config/config.js
index 1ea18d28f..e65a0878a 100644
--- a/lib/config/config.js
+++ b/lib/config/config.js
@@ -20,70 +20,50 @@ class Config {
this.models = {};
- this.watchers = {
- system: null,
- gateway: null
+ this.configTypes = {
+ system: {
+ ... | 3 | 3 | 0 | [{"id": "G0", "claim": "Revert the public call sites to the previous config.loadGatewayConfig() syntax (keeping loadConfig as an internal) instead of config.loadConfig('gateway').", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Choose one approach in the ... | null |
ExpressGateway__express-gateway__667 | ExpressGateway/express-gateway | 667 | defect | e070ed4c0af734ee3a97f976debba8f30a359d38 | 2f8c46106a80913f710cbd8b7379e203dec2872a | Put some order on the credential service | The following pull request will put some orders in our credentials->scopes parts.
In particular:
* There was some confusion on `scope` and `scopes` parameters. The first one was misused and, moreover, undocumented. I've removed it and made sure all the occurrences are using always `scopes` as an array.
* The mes... | diff --git a/admin/scopes.js b/admin/scopes.js
index 36b07ae93..4b2c7835d 100644
--- a/admin/scopes.js
+++ b/admin/scopes.js
@@ -1,10 +1,10 @@
module.exports = function (client) {
const baseUrl = '/scopes/';
return {
- create (scope) {
+ create (scopes) {
return client
.post(baseUrl)
- ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The test config line `scopes: { type: 'array', items: { tyep: 'string' } }` contains the typo `tyep` and is not needed, so it should be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `grabScopesAndExecute` method is ... | null |
ExpressGateway__express-gateway__690 | ExpressGateway/express-gateway | 690 | defect | 7ba41d569f86de2aa30ed706d903ce288eb41366 | 2140394aa6fc838a927ed226429766d82870d3e5 | Admin API: improve query capabilities for Users and Applications | Connect #689
Closes #689
This PR will:
* Make sure the `nextKey` parameter is always an integer
* Correctly extract and send to Redis the `start` parameter so that the client can decide the starting point for the function
* Move default parameters into the `dao` part of the data storage, so services do not h... | diff --git a/admin/apps.js b/admin/apps.js
index aed8eb1ca..3bde915d6 100644
--- a/admin/apps.js
+++ b/admin/apps.js
@@ -33,9 +33,11 @@ module.exports = function (client) {
.get(`${baseUrl}${encodeURIComponent(id)}`)
.then(res => res.body);
},
- list () { // TODO: add pagination
+
+ list (p... | 4 | 2 | 1 | [{"id": "G0", "claim": "The \"// TODO: add pagination\" comment on list() in admin/users.js should be removed because nextKey already provides pagination.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The count parameter defaults to a string ('... | null |
ExpressGateway__express-gateway__762 | ExpressGateway/express-gateway | 762 | defect | 34e463476f85ed8374db2cfcdd9b2467bf79395b | c7bab66008d7ea6d42cb142ea3a9fb4b7962177b | Make the CLI follow the nextKey for app and users | This PR introduces an additional flag for `eg apps list` and `eg users list` called `-a` or `--all`. When this is provided, the cli will navigate through the paged results from Redis in order to show all the users and not just the first page.
Connect #749
Closes #749
P.S: The CLI and the tests for the CLI have... | diff --git a/admin/apps.js b/admin/apps.js
index 3bde915d6..d60176e3f 100644
--- a/admin/apps.js
+++ b/admin/apps.js
@@ -34,11 +34,24 @@ module.exports = function (client) {
.then(res => res.body);
},
- list (params) {
+ list (params = {}) {
+ let results = [];
+
+ const fetchNext = (res... | 4 | 1 | 0 | [{"id": "G0", "claim": "The CLI help description for the --all flag in the apps and users list generators should be reworded (e.g. to \"List all apps\" / \"List all users.\") instead of \"Show all the elements instead of stopping to the fist page\".", "category": "documentation", "verdict": "supported", "priority": "P2... | null |
ExpressGateway__express-gateway__890 | ExpressGateway/express-gateway | 890 | defect | ff99a4d14e82516a5508f0bcbbe37f60f942128c | d05f51d0e5cf87832cd1db575b2417262ffa1fc5 | feat: lazy load and hot reload for policies | - only load policies defined in the gateway config
fixes #870 | diff --git a/lib/gateway/index.js b/lib/gateway/index.js
index ff83f6298..7cb510056 100644
--- a/lib/gateway/index.js
+++ b/lib/gateway/index.js
@@ -11,9 +11,9 @@ module.exports = function ({ plugins, config } = {}) {
const appPromises = [];
const apps = {};
if (plugins && plugins.policies && plugins.policies.... | 6 | 5 | 2 | [{"id": "G0", "claim": "The e2e test configs load policies (cors, jwt, basic-auth) that the tests do not use, and the reviewer asks why they are needed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should be verified that hot-reloadin... | null |
ExpressGateway__express-gateway__899 | ExpressGateway/express-gateway | 899 | defect | 02b9a9e95e5a0d17a260a9876f5efdca56ab2fb8 | de5b1ac71ba605c0c7385b114bd0aed1c10a1185 | fix multiple creds support for 'jwt' and 'key-auth' | See: https://github.com/ExpressGateway/express-gateway/issues/856
Also introduces changes on the `credentials.test.js` tests to make sure other policies work as intended. | diff --git a/lib/services/credentials/credential.service.js b/lib/services/credentials/credential.service.js
index 0159baa79..f25b731aa 100644
--- a/lib/services/credentials/credential.service.js
+++ b/lib/services/credentials/credential.service.js
@@ -45,84 +45,94 @@ s.insertCredential = function (id, type, credential... | 5 | 5 | 0 | [{"id": "G0", "claim": "The added comment '// TODO: not a good approach, new way TBD' is unclear - the reviewer cannot tell what the sentence means.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "There is no need to wrap dereferencePromise in Prom... | null |
ExpressGateway__express-gateway__91 | ExpressGateway/express-gateway | 91 | defect | 2f93bc5331a0a57228d119e29bcc19144b43f945 | d70eb10f231343f2fd3932939c927e9fac838342 | Feature/config loader restructure; closes #88 | Config.js => config-loader folder
file-loader = yams file loader (JSON+YAML)
pipelines-loader
server-loader - spins-up server
Note: Please put all kind of httpsServer improvements suggestion to the #13
| diff --git a/example/config.json b/example/config.json
index 3193f318b..fb3ae38dd 100644
--- a/example/config.json
+++ b/example/config.json
@@ -12,16 +12,6 @@
{ "path": "/users" }
],
"policies": [{
- "condition": ["always"],
- "action": "oauth2",
- "params": {
- "issuer":... | 1 | 1 | 0 | [{"id": "G0", "claim": "Assuming the three scenarios describe the intended behaviour, plain app.use(ep.path, router) is not enough — Express matches wildcard subpaths by default, so an exact apiEndpoint like '/admin/users' would also match '/admin/users/irfan' and scenario 3 (which expects an error) would not work; the... | null |
ExtensityAI__symbolicai__14 | ExtensityAI/symbolicai | 14 | defect | 97b4bdd17233270fd3d97e47b5c1ce3c388f5409 | a87aa113776eaaf7c78c441be7bb40e27956b91e | Symbia/in context classification of capabilities | PR for #12 (replaced #13)
- In-context classification
- Similarity classification (cosine only now)
- minor refactoring for ChatGPT & GPT-4 backends
- fixed a nasty bug: prompting wasn't part of the user, sometimes it wasn't appended at all
- adjusted the system template
run
```bash
pytest tests/tes... | diff --git a/.gitignore b/.gitignore
index b758d697..f5c8a487 100644
--- a/.gitignore
+++ b/.gitignore
@@ -129,4 +129,8 @@ dmypy.json
.pyre/
results/
-symai.config.json
\ No newline at end of file
+symai.config.json
+.DS_Store
+._.DS_Store
+**/.DS_Store
+**/._.DS_Store
diff --git a/symai/backend/engine_gptX_chat.py... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new SimilarityClassification should cache its class embeddings through the @cache decorator, parametrized via an in_memory constructor property set to False by default so caching is not a nasty side effect, instead of re-embedding the classes on every call.", "category": "performance", "verd... | null |
ExtensityAI__symbolicai__73 | ExtensityAI/symbolicai | 73 | defect | 14f9704c4cf0abf8a88dc15d233af934603bf6fd | fc6ac5b87c3281f85aa7a4a8e119b09b99081757 | Batching changes | added BatchEngine in base.py, in functional added _apply_preprocessers, _apply_postprocessors, _limit_number_results, _cast_return_type, _prepare_argument, _execute_query_fallback, _process_query_single. in EngineRepository updated the query method to send all the requests to _process_query_single in case the engine al... | diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 00000000..26d33521
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode... | 1 | 1 | 0 | [{"id": "G0", "claim": "The IDEA local project files (.idea/) should be removed from the pull request.", "category": "housekeeping", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
F-Stack__f-stack__117 | F-Stack/f-stack | 117 | defect | 4ca4a48737c132d4f21e35c398b4edee4dbce0a8 | 3ce9eefdd7ef6fc4719ae93d4735925b0d1ea466 | Nginx: support kernel network stack | So we can do what fstack can't do, e.g. unix socket, ipc (with APP on kernel network stack), packet from kernel network stack.
1. Add a new directive kernel_network_stack :
Syntax: kernel_network_stack on | off;
Default: kernel_network_stack off;
Context: http, server
This directive is available o... | diff --git a/app/nginx-1.11.10/conf/nginx.conf b/app/nginx-1.11.10/conf/nginx.conf
index ed449976c..d580363ed 100644
--- a/app/nginx-1.11.10/conf/nginx.conf
+++ b/app/nginx-1.11.10/conf/nginx.conf
@@ -41,6 +41,10 @@ http {
listen 80;
server_name localhost;
+ # bulid server on kernel ne... | 9 | 6 | 1 | [{"id": "G0", "claim": "Some of the code added by this pull request has incorrect indentation.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The socket-ownership check is duplicated: `ff_fdisused` and `is_ffd` are both used, so only one should be kept — ... | null |
F-Stack__f-stack__151 | F-Stack/f-stack | 151 | defect | e340d433ea27c25cb1e2bdb467618483c2fcf5a7 | f4c5cf3972ddf89ce4227593952fcfe751396e06 | Nginx : Get rid of "ff_host" thread | Get rid of "ff_host" thread dealing with the kernel (including channel). So there will be one thread for each nginx worker. And use directive "schedule_timeout" to adjust poll frequency of kernel.
This is a better way to ```support kernel network stack #117``` | diff --git a/app/nginx-1.11.10/src/core/nginx.c b/app/nginx-1.11.10/src/core/nginx.c
index 9237914cd..1bf7f05af 100644
--- a/app/nginx-1.11.10/src/core/nginx.c
+++ b/app/nginx-1.11.10/src/core/nginx.c
@@ -156,6 +156,13 @@ static ngx_command_t ngx_core_commands[] = {
0,
offsetof(ngx_core_conf_t, fstack_co... | 5 | 5 | 3 | [{"id": "G0", "claim": "The pull request comments out the main ngx_process_events call in ngx_process_events_and_timers, leaving normal event processing disabled with no explanation.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "In the host-event p... | null |
F-Stack__f-stack__159 | F-Stack/f-stack | 159 | defect | 0a6b81772e4a8365bb1374ed5fcbf2d37cb78249 | ab555adef4a79fbc3de8a333c84e14f15b84cdf0 | Nginx : ngx_configure_listening_sockets and hijack `recvmsg` | 1. Nginx based on fstack delays setting up server on fstack until ngx_worker_process_init. ngx_configure_listening_sockets should as well.
2. FStack does not support IP_PKTINFO
Fix #157 . | diff --git a/app/nginx-1.11.10/src/core/ngx_connection.c b/app/nginx-1.11.10/src/core/ngx_connection.c
index 9739fed66..fd4d2ada3 100644
--- a/app/nginx-1.11.10/src/core/ngx_connection.c
+++ b/app/nginx-1.11.10/src/core/ngx_connection.c
@@ -13,6 +13,33 @@
#if (NGX_HAVE_FSTACK)
extern int fstack_territory(int domain, ... | 2 | 2 | 0 | [{"id": "G0", "claim": "It would be better to implement ngx_ff_skip_listening_socket as a function instead of a macro.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The call sites should pass ls[i] to ngx_ff_skip_listening_socket rather than the macro r... | null |
F-Stack__f-stack__161 | F-Stack/f-stack | 161 | defect | b60bba339ee9fc5fde5586356620f4cd96dada8a | 38120bf0aa4fcda9a173dd3f857bbefacfd33018 | Nginx : directive proxy_kernel_network_stack | 1. Add a new directive ```proxy_kernel_network_stack``` :
```
Syntax: proxy_kernel_network_stack on | off;
Default: proxy_kernel_network_stack off;
Context: http, stream, mail, server
```
This directive is available only when ```NGX_HAVE_FF_STACK``` is defined.
Determines whether proxy should go throught kern... | diff --git a/app/nginx-1.11.10/src/event/ngx_event_connect.c b/app/nginx-1.11.10/src/event/ngx_event_connect.c
index 5662094c1..09cd2340b 100644
--- a/app/nginx-1.11.10/src/event/ngx_event_connect.c
+++ b/app/nginx-1.11.10/src/event/ngx_event_connect.c
@@ -38,7 +38,23 @@ ngx_event_connect_peer(ngx_peer_connection_t *pc... | 2 | 2 | 1 | [{"id": "G0", "claim": "The dlsym(RTLD_NEXT, \"socket\") workaround in ngx_event_connect_peer for creating host sockets is ungraceful; socket creation should instead go through a creation flag (SOCK_FSTACK) handled by the f-stack glue layer, with fstack_territory updated accordingly.", "category": "design", "verdict": ... | null |
F1bonacc1__process-compose__147 | F1bonacc1/process-compose | 147 | defect | b7989c77b6edb255140e236cc2793856a3808a61 | 1b97fe4806d753a1d8b5c37c5437fc0fa863b9a9 | feat: shutdown in reverse dependency order | processes that depend on others to start may also need to finish before them and perform some cleanup. This change makes sure that's the case.
fixes #145
| diff --git a/src/app/project_runner.go b/src/app/project_runner.go
index b0dc9b52..56eb7c92 100644
--- a/src/app/project_runner.go
+++ b/src/app/project_runner.go
@@ -8,6 +8,7 @@ import (
"os"
"os/user"
"runtime"
+ "slices"
"sync"
"time"
@@ -322,25 +323,87 @@ func (p *ProjectRunner) GetProcessPorts(name str... | 5 | 5 | 3 | [{"id": "G0", "claim": "A dependency not running (e.g. already completed) is normal, so the reverse-dependency builder should continue rather than return an error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reverse-dependency map should stor... | null |
F1bonacc1__process-compose__312 | F1bonacc1/process-compose | 312 | defect | 23a8be267793e980b843d9b04bc94fece0ab22bc | 94a3c3e60d3e6f428a5876b732659712c9cd82e0 | Add `--detach-on-success` | `process-compose --detached-with-tui --detach-on-success` will act like `--detached-with-tui`, but will automatically detach if and when all processes start up succesfully.
After detaching, a table showing the started processes is printed automatically.
Closes #311 | diff --git a/src/app/table.go b/src/app/table.go
new file mode 100644
index 00000000..b74d3df2
--- /dev/null
+++ b/src/app/table.go
@@ -0,0 +1,62 @@
+package app
+
+import (
+ "fmt"
+ "github.com/f1bonacc1/process-compose/src/types"
+)
+
+// Print a list of process states in a table.
+func PrintStatesAsTable(states []t... | 5 | 4 | 3 | [{"id": "G0", "claim": "The conditional `p.Health != ProcessHealthReady && p.Health == ProcessHealthUnknown` in ProcessState.IsReady looks wrong — its first part is tautologically true whenever the second is — and the author should check it is intentional.", "category": "correctness", "verdict": "supported", "priority"... | null |
F1bonacc1__process-compose__331 | F1bonacc1/process-compose | 331 | defect | 1603c79852390fa108c82a6bb45bc663de0e2553 | b85f4eab85b680042df7d99a7def82193afea6d8 | Add a `--dry-run` flag to validate the config | Hello,
Thanks for the project, it is very useful.
One thing I have been missing is the ability to validate a generated config without starting any processes. This is very useful in CI, or with Nixpkgs when the config is generated as a derivation (and can be validated in the check phase of the derivation).
This... | diff --git a/src/cmd/0-init.go b/src/cmd/0-init.go
index 1251f05f..88452f60 100644
--- a/src/cmd/0-init.go
+++ b/src/cmd/0-init.go
@@ -3,6 +3,7 @@ package cmd
import (
"fmt"
"github.com/f1bonacc1/process-compose/src/config"
+ "github.com/f1bonacc1/process-compose/src/loader"
"github.com/f1bonacc1/process-compose... | 3 | 3 | 1 | [{"id": "G0", "claim": "Instead of adding a separate `config check` subcommand, add a `--dry-run` flag to the `up` and `root` commands so validation considers existing and future flags and avoids some of the refactoring.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G... | null |
F1bonacc1__process-compose__350 | F1bonacc1/process-compose | 350 | defect | 4397f98dcf8999696352e6c5d6f2292e71967707 | faeaf3f554af04ec546a8fc96783f527b75f9c12 | feat: show project name either from config or from directory name | Show project name. If `name` is present in process-compose.yaml, display that. Otherwise, show the directory name.

closes #346 | diff --git a/src/api/pc_api.go b/src/api/pc_api.go
index 499d2b0f..3fa687b1 100644
--- a/src/api/pc_api.go
+++ b/src/api/pc_api.go
@@ -307,6 +307,25 @@ func (api *PcApi) GetHostName(c *gin.Context) {
c.JSON(http.StatusOK, gin.H{"name": name})
}
+// @Schemes
+// @Id GetName
+// @Description Get process compose p... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new project-name endpoint should be moved under /project/name instead of /name.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Instead of adding another Name row, the hostname entry should be changed to show \"Project: <host>/... | null |
F1bonacc1__process-compose__353 | F1bonacc1/process-compose | 353 | defect | 4397f98dcf8999696352e6c5d6f2292e71967707 | dcb54b582dd40806ad7d79d86a34aaf817d38eee | feat: support http headers in probes | fixes #255 | diff --git a/default.nix b/default.nix
index 29a6d347..a2671f7a 100644
--- a/default.nix
+++ b/default.nix
@@ -19,7 +19,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
- vendorHash = "sha256-qkfJo+QGqcqiZMLuWbj0CpgRWxbqTu6DGAW8pBu4O/0=";
+ vendorHash = "sha256-abO1TWUWqv5WLHR/2dRxUgWhCFAQ7v... | 3 | 3 | 1 | [{"id": "G0", "claim": "The Headers field should be exposed as map[string]string (keeping http.Header internal and converting when building the go-health probe) so the YAML form is a simple key/value mapping instead of a list of values.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
F1bonacc1__process-compose__357 | F1bonacc1/process-compose | 357 | defect | 4397f98dcf8999696352e6c5d6f2292e71967707 | 987b3864852184a96ecc3470dfa2bed0521d8e68 | feat: allow process environment variables to be rendered with project and process Vars | added this feature in because it integrates a bit better with my deployment story.
apologies for the drive by PR if it's not necessary or desired. | diff --git a/src/app/project_runner_test.go b/src/app/project_runner_test.go
index 06ffc77f..6b82b7f3 100644
--- a/src/app/project_runner_test.go
+++ b/src/app/project_runner_test.go
@@ -1,9 +1,12 @@
package app
import (
- "github.com/f1bonacc1/process-compose/src/types"
"reflect"
+ "strings"
"testing"
+
+ "git... | 1 | 1 | 0 | [{"id": "G0", "claim": "The documentation (www/docs/configuration.md, around lines 223-228) should be updated to tell users that templating of processes.process.environment values is now supported.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
F1bonacc1__process-compose__367 | F1bonacc1/process-compose | 367 | defect | 4397f98dcf8999696352e6c5d6f2292e71967707 | f14babe015366423fb22c4c26a083c43ec9ff9f2 | feat: add env and yaml support for ordered_shutdown | - Added support for configuring PC_ORDERED_SHUTDOWN via environment variables.
- Added support for configuring ordered_shutdown via process-compose.yml.
| diff --git a/fixtures-code/process-compose-shutdown-inorder.yaml b/fixtures-code/process-compose-shutdown-inorder.yaml
index 4c3d4cfa..5d4ea5dc 100644
--- a/fixtures-code/process-compose-shutdown-inorder.yaml
+++ b/fixtures-code/process-compose-shutdown-inorder.yaml
@@ -2,6 +2,7 @@ version: "0.5"
log_level: debug
l... | 1 | 1 | 1 | [{"id": "G0", "claim": "The test references `tt.fields.IsOrderedShutDown` with a capital `D`, which fails compilation.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
F1bonacc1__process-compose__417 | F1bonacc1/process-compose | 417 | defect | dc18cb4ef24729f96e3ec18b38a77d30ee075fc2 | 80daf6806bf4294b6963399c0fde6c0fcd916e95 | fix: restore environment variable precedence and align with docker-compose | Fixes two environment variable precedence issues to restore correct behavior and align with Docker Compose standards.
### Issues Fixed
1. **Regression from v1.63.0** - .env file variables incorrectly override YAML environment sections
2. **Docker Compose alignment** - System/shell environment variables now override .... | diff --git a/src/app/process.go b/src/app/process.go
index 82280ebf..4a71698f 100644
--- a/src/app/process.go
+++ b/src/app/process.go
@@ -291,13 +291,22 @@ func (p *Process) getProcessEnvironment() []string {
EnvReplicaNum + "=" + strconv.Itoa(p.procConf.ReplicaNum),
}
env = append(env, os.Environ()...)
- env =... | 1 | 1 | 0 | [{"id": "G0", "claim": "process-compose gives .env file variables higher precedence than shell/system environment variables, unlike docker-compose where shell environment wins, and the author asks whether this deviation is intentional and offers to align it by appending .env before os.Environ() in getProcessEnvironment... | null |
F1bonacc1__process-compose__462 | F1bonacc1/process-compose | 462 | defect | 4582f338adbd89f2761e8af8ef2634ce06d6d6f4 | af6e05d142a3b7c3c7fc37685332d37437adefe0 | feat: add 'process-compose analyze critical-chain' subcommand | Note this code was generated with AI assistance.
## Summary
Adds a new top-level `analyze` command, with a first subcommand
`analyze critical-chain`, inspired by `systemd-analyze critical-chain`.
It prints a tree of processes from the ones nothing depends on, down
through their dependencies, annotated with sta... | diff --git a/src/app/process.go b/src/app/process.go
index 4844f715..c3cde87c 100644
--- a/src/app/process.go
+++ b/src/app/process.go
@@ -141,9 +141,20 @@ loop:
return 1
}
- p.setStartTime(time.Now())
+ now := time.Now()
+ p.setStartTime(now)
p.stateMtx.Lock()
p.procState.Pid = p.command.Pid()
+ if ... | 6 | 6 | 3 | [{"id": "G0", "claim": "Replace the manual space-join loop in formatNodeLine with strings.Join(parts, \" \").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the Run function from analyzeCmd, since Cobra auto-prints help for a parent comma... | null |
FAIRDataTeam__FAIRDataPoint__11 | FAIRDataTeam/FAIRDataPoint | 11 | defect | 32d75194834285cf6ed653713b6d003d80e5047a | 8717ab6205d3b26fafca02df12db12c72999dee3 | Ping search feature | I implemented the feature to ping search engine. In the current Implementation the search is notified when any new metadata is added to the FDP and when the repository metadata is updated. My current implementation has a service interface to interact with search and I implemented this interface based on unirest. | diff --git a/pom.xml b/pom.xml
index 5b60777ab..c920249ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,8 @@
<handlebars.version>4.0.6</handlebars.version>
<fairmetadata.version>0.1-beta</fairmetadata.version>
<velocity.version>1.7</velocity.version>
- <snakeyaml.version>1.19</sna... | 6 | 3 | 0 | [{"id": "G0", "claim": "The interface method submitFdpUri lacks javadoc documenting its return value.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fdpUri field does not have to be static and the class may not need a shared static field acros... | null |
FAIRDataTeam__FAIRDataPoint__140 | FAIRDataTeam/FAIRDataPoint | 140 | defect | 8788cfd019f8029695a7d2658a7acfc02350feaa | 61e88e1f5f501005750715963458bfe004a7d1be | [FDP-561] Allow reset to defaults | This allows admins to trigger reset of FDP data:
- users (including permissions given to metadata and API keys)
- metadata (including permissions)
- resource definitions (including SHACL shapes and metadata) | diff --git a/CHANGELOG.md b/CHANGELOG.md
index e57064268..4bd1cbcac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
+### Added
+
+- Reset to "factory defaults" (users, resource definitions, metadata)
+
## [1.9.0]
### A... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reset logic should re-use the initial bootstrap data instead of duplicating it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FAIRDataTeam__FAIRDataPoint__172 | FAIRDataTeam/FAIRDataPoint | 172 | defect | 8cbfefe849e44530118c500d7b7368c94b334883 | c90a88131d7376e92ddcffd0d858f2d6f7984f8e | Refactor wildcard paths | This is still WIP (as I won't be able to work on this during few upcoming days). It should also use `recordId` from path to compose metadata URI instead of parsing and replacing URI from `HttpServletRequest`. The pattern with `[^.]+` is used to avoid conflicts with routes that have `.` in name, e.g. `/swagger-ui.html` ... | diff --git a/src/main/java/nl/dtls/fairdatapoint/api/controller/metadata/GenericController.java b/src/main/java/nl/dtls/fairdatapoint/api/controller/metadata/GenericController.java
index b54fd6542..4d6fac3e0 100644
--- a/src/main/java/nl/dtls/fairdatapoint/api/controller/metadata/GenericController.java
+++ b/src/main/j... | 1 | 1 | 0 | [{"id": "G0", "claim": "User-set url-prefix values have little to no restrictions, so it would be good to impose limitations on them (e.g. restricting accidental nested paths via `[^./]` or a uuid regex for recordId), with appropriate checks and proper warning messages informing the user what is not allowed.", "categor... | null |
FAIRDataTeam__FAIRDataPoint__296 | FAIRDataTeam/FAIRDataPoint | 296 | defect | 382d041a024695723aaffe82ba1399886e845de9 | 7cf41ce790ffb4658f0f5c911d4eac6a0f0210ad | Improve build CI/CD in GitHub Actions | - Tests run on Linux, Windows, MacOS (for that we had to switch to MongoDB action instead of service, and use v5.0); Win and Mac are a bit slower, but nothing dramatic
- It uses Temurin instead of Oracle JDK
- Docker build and push uses official Docker GitHub Actions
- Docker build is multi-platform (AMD64 + ARM64)
... | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 000000000..3c2622db3
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,134 @@
+name: "Test & Build"
+
+on:
+ push:
+ pull_request:
+
+jobs:
+ test:
+ name: Test
+ strategy:
+ matrix:
+ os: [ub... | 3 | 2 | 1 | [{"id": "G0", "claim": "The 'Verify' step runs `mvn package` instead of the verify goal, and should invoke `verify`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The double space in the 'Docker login [private]' step name is probably a typo.", "ca... | null |
FAIRDataTeam__FAIRDataPoint__33 | FAIRDataTeam/FAIRDataPoint | 33 | defect | 4f13d2ce277c05dceb6009f126aa07ded3cf716c | 32ba712dfa877f23c5ff019b0fa896874f213471 | DefaultPIDSystem | Hi have implemented "DefaultPIDSystem" in the current implementation I am not using the "PIDSystem" configuration options yet | diff --git a/.gitignore b/.gitignore
index ffb03631b..044574352 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ buildNumber.properties
.mvn/timing.properties
nb-configuration\.xml
+/nbproject/
\ No newline at end of file
diff --git a/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java b/src/... | 6 | 5 | 0 | [{"id": "G0", "claim": "The debug System.out.println(id) left in testGetIdForInvalidPIDIri should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parentheses around the \"pid-\" string literal in the id construction are superfluou... | null |
FAIRDataTeam__FAIRDataPoint__34 | FAIRDataTeam/FAIRDataPoint | 34 | defect | 670dea003a8e36f9c90dc1ece2ae072ca22ec4d9 | 9ce3f4eea5427d40fc83bed9d73b7205f21e38b7 | Implementation purl.org PID system | I have implemented purl.org pid system and I also made the pid systems configurable | diff --git a/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java b/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java
index 5b3c0be11..57d10ac8b 100644
--- a/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java
+++ b/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiCont... | 5 | 5 | 3 | [{"id": "G0", "claim": "The PID id should be derived with RDF4J's IRI.getLocalName() rather than the custom substring implementation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @DependsOn({\"purlBaseUrl\"}) on the pidSystem bean is redundant beca... | null |
FAIRDataTeam__FAIRDataPoint__454 | FAIRDataTeam/FAIRDataPoint | 454 | defect | 5d6687bbb026b0516948ad5cc23dc7427dcc21a5 | 5cbcc618284e86dc04a56410b9ffa11ac4e3923a | Add permits for index entries | This pull request introduces a moderation mechanism for index entries by adding support for permit states. Index entries, which are automatically created when any service pings the FDP index, can now be reviewed and assigned a state: `PENDING`, `ACCEPTED`, or `REJECTED`. This allows more control over what gets publicly... | diff --git a/src/main/java/nl/dtls/fairdatapoint/api/controller/index/IndexAdminController.java b/src/main/java/nl/dtls/fairdatapoint/api/controller/index/IndexAdminController.java
index 1880baca5..7f71acca9 100644
--- a/src/main/java/nl/dtls/fairdatapoint/api/controller/index/IndexAdminController.java
+++ b/src/main/j... | 1 | 1 | 0 | [{"id": "G0", "claim": "The autoPermit index setting, hard-coded to true as the default, should also be definable in a config file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FAIRDataTeam__FAIRDataPoint__802 | FAIRDataTeam/FAIRDataPoint | 802 | defect | 57ceddacae636baa6a6c97a72efed96b100dabe1 | 7682cd471fa7116f66129aa187679becae58687b | Bootstrap test data from JSON fixtures instead of SQL migrations | Replace SQL test data migrations by JSON test data fixtures.
- [x] remove reference to test data migration files from flyway test config
- [x] replace test data migration files (*.sql) by test data fixture files (*.json) (extend default fixtures, do not duplicate)
- [x] specify test data location in bootstrap test... | diff --git a/fixtures/0100_user-accounts.json b/fixtures/0100_user-accounts.json
index 4b5f3d3b1..14a3bd05f 100644
--- a/fixtures/0100_user-accounts.json
+++ b/fixtures/0100_user-accounts.json
@@ -4,7 +4,7 @@
"uuid": "7e64818d-6276-46fb-8bb1-732e6e09f7e9",
"firstName": "Albert",
"lastName": "Einstein",
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The bootstrap location configuration should allow passing complete ant-style patterns (e.g. \"file:fixtures/02*.json\") so that tests can select or filter specific fixture files.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When... | null |
FAIRDataTeam__FAIRDataPoint__9 | FAIRDataTeam/FAIRDataPoint | 9 | defect | a11d682c4a86f947e53af1f3ac7af64d3f07aaf2 | 3f3d8736bbbd20fc04c3ddbb7a6d354554c29e6d | Default content type is changed | In the previous implementation the default content type is HTML. This is, however problematic for tools like demonstrator to use FDP, since demonstrator uses blazegraph's API to store the metadata and we can't supply accept header to the blazegraph API calls. I have changed the default content type to text/turtle and I... | diff --git a/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java b/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java
index cacc33861..d23a06c04 100644
--- a/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiContext.java
+++ b/src/main/java/nl/dtls/fairdatapoint/api/config/RestApiCont... | 4 | 3 | 0 | [{"id": "G0", "claim": "The static import of RDFFormat.TURTLE should be placed at the top of the import list, per the Google Java Style import-ordering convention.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The controller should use the slf4... | null |
FEX-Emu__FEX__3345 | FEX-Emu/FEX | 3,345 | defect | b1c3737aef7a9bd9f15eddfd721d1b7edd780726 | 00525da1f56f295ed557a3628fd5dfcf7cd317af | OpcodeDispatcher: Fixes syscall rcx/r11 generation | Noticed this while writing #3342.
Fixes #3343
The syscall instruction is defined in the documentation that it will set RCX to the next instruction's RIP and R11 to be RFLAGS. We entirely skipped this which I noticed while writing unit tests.
Adds unittests to test both 32-bit and 64-bit behaviour because our h... | diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
index dfd71fcd4d7..7079365e01c 100644
--- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
+++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
@@ -35,6 +35,7 @@ using X86Tables::OpToIndex;
#d... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `IsInt80` template parameter of `SyscallOp` is misleadingly named, since the flag will also be true on Windows where the syscall immediate is 0x2E, so it should be given a different name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
FEX-Emu__FEX__4424 | FEX-Emu/FEX | 4,424 | defect | ab7f6484cfd06436daee07a203c1c0ff5cce38f2 | f01b7bf796427b2e9e12d7df393d1c130386c67b | Convert config options once | Instead of keeping the vlaue as a string array in the MetaLayer, convert the value to its final type once.
Improves performance in some hotpaths that were doing config based string conversion in a relatively high frequency. | diff --git a/FEXCore/Scripts/config_generator.py b/FEXCore/Scripts/config_generator.py
index af755af048c..c5a3ff75192 100644
--- a/FEXCore/Scripts/config_generator.py
+++ b/FEXCore/Scripts/config_generator.py
@@ -423,7 +423,7 @@ def print_parse_argloader_options(options):
# these need a bit more help
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The `if (false)` block in the env-var loader in Source/Tools/CodeSizeValidation/Main.cpp is unexplained and looks wrong — the OPT_STRARRAY macro should have emitted an `else if` chain starter instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
FEX-Emu__FEX__4523 | FEX-Emu/FEX | 4,523 | defect | c8371087e6dceb6e76c00f1283f49f958828fe64 | 70a90dcd0af70ac11a54470df7eb27fb079c0442 | Improve tracking of executable mappings | Prerequisite for NX emulation, split apart since there's nothing tying them to being merged together. | diff --git a/Source/Tools/CommonTools/HarnessHelpers.h b/Source/Tools/CommonTools/HarnessHelpers.h
index f8f693a5942..32bee65ebf8 100644
--- a/Source/Tools/CommonTools/HarnessHelpers.h
+++ b/Source/Tools/CommonTools/HarnessHelpers.h
@@ -419,14 +419,8 @@ class HarnessCodeLoader final : public FEX::CodeLoader {
retu... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new MapMemory parameter should be taken by const reference instead of by value, since the function is only ever called and copying the std::function is unnecessary.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FEX-Emu__FEX__4713 | FEX-Emu/FEX | 4,713 | defect | 30fb992cf76f0da87b29c42e774f93836c990346 | 997d9d4b1a1b5a9ae0e46b3f18e21eccf7f7cd6f | Profiler: Decouple profile stats from the profiler option | This option is free and only enabled if the config option is set. Enable it always at build time so that users can pick it up without enabling the full gpuviz/tracy paths. | diff --git a/FEXCore/Source/Interface/Core/Core.cpp b/FEXCore/Source/Interface/Core/Core.cpp
index ee2a861bf0e..7f1a94b73a1 100644
--- a/FEXCore/Source/Interface/Core/Core.cpp
+++ b/FEXCore/Source/Interface/Core/Core.cpp
@@ -46,6 +46,7 @@ desc: Glues Frontend, OpDispatcher and IR Opts & Compilation, LookupCache, Dispa
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The stats code still lives in files named \"Profiler\" (Source/Common and Source/Windows/Common); it should be moved to files under a more distinguished name, since the name overloading makes it hard to open the right file in an IDE.", "category": "maintainability", "verdict": "supported", "prio... | null |
FEX-Emu__FEX__4773 | FEX-Emu/FEX | 4,773 | defect | 095b2a892678db40c93a99727d71bfa57d94f24a | fc089562aea96fa1276928299e136323ee3c1e7e | Implement support for additional provided volatile metadata | Only wired up for wow64 and arm64ec. Gives more granular control over
TSO enabling and disabling. Matches arm64ec volatile metadata except
with one more additional feature that whole modules can be disabled at a
time.
Once we know the mapped size of files in Linux then we'll be able to do
the same thing there, b... | diff --git a/FEXCore/Source/Interface/Config/Config.json.in b/FEXCore/Source/Interface/Config/Config.json.in
index d1045decc27..085a979bb69 100644
--- a/FEXCore/Source/Interface/Config/Config.json.in
+++ b/FEXCore/Source/Interface/Config/Config.json.in
@@ -522,6 +522,26 @@
"Desc": [
"Disables inline... | 10 | 9 | 0 | [{"id": "G0", "claim": "The config should match modules by hash (perhaps in addition to name) rather than by name alone, since a game auto-update would otherwise silently change what matches.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "LoadExtendedVol... | null |
FEX-Emu__FEX__4891 | FEX-Emu/FEX | 4,891 | defect | bdbeef3b9ad1831714a48d12cd505fae6f4dd0fa | 7a1309a991b1d8ae007705d4b98f0a46e289d632 | FEX: Fixes SIGILL reporting | Two bug fixes here.
- We weren't reporting a correct ErrorRegister. Needs to contain
PF_INSTR at least.
- We weren't setting siginfo->si_addr in the case of `FaultToTopAndGeneratedException`
Fixes Mafia 2 (Classic) | diff --git a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
index 12b3c0e72c6..bed66a8570f 100644
--- a/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
+++ b/FEXCore/Source/Interface/Core/OpcodeDispatcher.cpp
@@ -4973,7 +4973,7 @@ void OpDispatchBuilder::Inval... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new test's body merits explanatory comments about what it is doing; the reviewer could only guess at the mmap/mprotect/JUMP sequence.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In SetupRTFrame_ia32 the moved 'These ... | null |
FEX-Emu__FEX__4969 | FEX-Emu/FEX | 4,969 | defect | fbb428c2496a31b4bdae3ccca4348704aa7b49ec | e999d2a60d462c77d744fb397bed49101c8956a4 | Switch over to rpmalloc instead of jemalloc. | rpmalloc is currently very aggressively configured which causes
significant reductions in resident memory over jemalloc.
In Bayonetta's title screen it went from 963MB down to 834MB resident.
| diff --git a/.gitmodules b/.gitmodules
index 35c6317dc8c..f55e7cb3d6d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -49,3 +49,6 @@
[submodule "External/range-v3"]
path = External/range-v3
url = https://github.com/ericniebler/range-v3.git
+[submodule "External/rpmalloc"]
+ path = External/rpmalloc
+ url = https://g... | 6 | 4 | 3 | [{"id": "G0", "claim": "docs/jemalloc_usage.md must be updated before this PR is merged, since the allocator it documents is being replaced.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The glibc_jemalloc module should also be moved over to rpma... | null |
FEX-Emu__FEX__4978 | FEX-Emu/FEX | 4,978 | defect | 2a57428314d72e57460ef28ccf725f23936a33c8 | 374e42d9bada15b012fda9b37ae768abc5bb5f49 | unittests/ThunkLibs: Fix build with LLVM 21 | I'm not familiar with this codebase and just sought to fix unit test build errors we ran into in Nixpkgs. I hope this makes sense. Please advise. | diff --git a/unittests/ThunkLibs/abi.cpp b/unittests/ThunkLibs/abi.cpp
index 182e0e0f0e3..9a838523a4d 100644
--- a/unittests/ThunkLibs/abi.cpp
+++ b/unittests/ThunkLibs/abi.cpp
@@ -99,7 +99,10 @@ class ThunkTestToolAction : public clang::tooling::ToolAction {
bool runInvocation(std::shared_ptr<clang::CompilerInvocat... | 2 | 1 | 0 | [{"id": "G0", "claim": "The LLVM 21 branch of TestDiagnosticConsumer leaks the newly allocated clang::DiagnosticOptions; storing the DiagnosticOptions in a unique_ptr member so it doesn't leak after each test would be preferable.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
FEX-Emu__FEX__4980 | FEX-Emu/FEX | 4,980 | defect | ed5774b88f517f2f15ac925dc0bdfc7927e20079 | 036de40867909451960ba0ba82ee15e0d8afc8e6 | LinuxSyscalls: Fix base address inference for ELF binaries | ## Overview
Code caching (and code map generation) critically relies on FEX being able to compute the offset of any given code block from the library's base in **virtual address space**. `LookupExecutableFileSection` has always used **file offsets** instead, presumably based on the incorrect assumption that this wou... | diff --git a/Source/Common/FileMappingBaseAddress.h b/Source/Common/FileMappingBaseAddress.h
new file mode 100644
index 00000000000..bec3a19cc99
--- /dev/null
+++ b/Source/Common/FileMappingBaseAddress.h
@@ -0,0 +1,46 @@
+// SPDX-License-Identifier: MIT
+#pragma once
+
+#include <FEXCore/Utils/TypeDefines.h>
+
+#includ... | 4 | 3 | 1 | [{"id": "G0", "claim": "The ELF-header tracking section added to TrackMmap does work that is unnecessary when caching isn't going to be used, and should only be enabled if caching is enabled.", "category": "performance", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The decision... | null |
FEX-Emu__FEX__5033 | FEX-Emu/FEX | 5,033 | defect | f4e3e4ad30f3927869498f6fa73e3afecf20c1d4 | c20b6a6acbbc25b59554f924bfd9fede53eeac8f | CPUID: Fixes APICID for processor count calculation. | Primary fix here is returning the current CPU index in function 01h.
Intel Quartus uses this alongside affinity setting to check if all cores
can be used for its calculation. Since we had hardcoded apicid 0 here,
it assumed to only have one core and never generated worker threads.
Additional fix for apicid size. ... | diff --git a/FEXCore/Source/Interface/Core/CPUID.cpp b/FEXCore/Source/Interface/Core/CPUID.cpp
index d8e28181ea2..d80ac6a27e3 100644
--- a/FEXCore/Source/Interface/Core/CPUID.cpp
+++ b/FEXCore/Source/Interface/Core/CPUID.cpp
@@ -14,6 +14,7 @@ desc: Handles presented capability bits for guest cpu
#include <FEXCore/Core... | 5 | 3 | 1 | [{"id": "G0", "claim": "The PR should use C++20's std::bit_ceil instead of the newly added custom next_pow2 helper, whose name is ambiguous since next_pow2(4) sounds like it would return 8 even though it does not.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cl... | null |
FEX-Emu__FEX__5045 | FEX-Emu/FEX | 5,045 | defect | 1e3c642be641525e1ab016b8bde0e95a88278ad8 | 56df51ca5782be51694203d7a4458618e66ddf71 | JIT: Handle long ADR/ADRP | Wires up the long address handler into the ADR/ADRP restart handlers. | diff --git a/FEXCore/Source/Interface/Core/JIT/JITClass.h b/FEXCore/Source/Interface/Core/JIT/JITClass.h
index d931d3b9ce5..cb255883480 100644
--- a/FEXCore/Source/Interface/Core/JIT/JITClass.h
+++ b/FEXCore/Source/Interface/Core/JIT/JITClass.h
@@ -483,23 +483,31 @@ class Arm64JITCore final : public CPUBackend, public ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The LongAddressGen path the PR added can only encode adr or adrp+add, so worst-case far addresses cannot be encoded; a label type guaranteed to emit 3 nops is needed to encode the 48-bit movz+movk+movk sequence.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int... | null |
FEX-Emu__FEX__5093 | FEX-Emu/FEX | 5,093 | defect | e4fa399412dda26ebc07d0371fb6c535da2b1e72 | 371e0426b508285882eeb7610cc10e05e7a0982f | SteamRT4: Adds support for building the steam depot | Simple enough, adds the tooling necessary to work in conjunction with pressure-vessel. The tool is a fairly lightweight wrapper that just sets up some default configurations. | diff --git a/.github/workflows/steamrt4.yml b/.github/workflows/steamrt4.yml
index d52227b71b7..5519dbbd635 100644
--- a/.github/workflows/steamrt4.yml
+++ b/.github/workflows/steamrt4.yml
@@ -12,7 +12,6 @@ env:
BUILD_TYPE: Release
CC: clang
CXX: clang++
- FEX_PORTABLE: 1
jobs:
steamrt4_build:
@@ -56,9 ... | 10 | 8 | 3 | [{"id": "G0", "claim": "Calling ReplaceAllInPlace directly inside CHECK will prevent the tested value from being printed on test failure; a wrapper lambda returning the string would print it and clean the code up.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
FEX-Emu__FEX__5187 | FEX-Emu/FEX | 5,187 | defect | 1188c90c10569ca800d7a99c11e59cfeab5e2cc9 | d2a25065b4aad15aeb47bb4b917901fd131dc05b | Accurate stack mapping, fixes #5149 | Also added unit tests for different `PT_GNU_STACK` permissions.
This is my first PR so hopefully code conventions and such are fine. | diff --git a/.gitignore b/.gitignore
index 27c8418ffcb..750b962b459 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ out/
.vs/
*.pyc
.cache
+.idea/
diff --git a/Source/Tools/FEXInterpreter/ELFCodeLoader.h b/Source/Tools/FEXInterpreter/ELFCodeLoader.h
index 6afefaeff20..a2f532525cc 100644
--- a/Source/Tools... | 1 | 1 | 0 | [{"id": "G0", "claim": "The host kernel-version check guarding READ_IMPLIES_EXEC is unnecessary because the host-side kernel minspec is 5.15, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FEX-Emu__FEX__5388 | FEX-Emu/FEX | 5,388 | defect | 5c4c468d13261cd74829d00305f29b0a49a6e597 | d2794e582952682573025d5b4eeb1d1b2c751e77 | Config: Finish wiring up Regex app overrides | This wasn't quite wired up exactly how we wanted it. It was previously
matching against the opaque file config handle, which can be anything.
Instead compare it to the appname that now gets passed over to it for
matching.
This allows us to do the following:
```
{
"Config": {
"ProfileStats": "1",... | diff --git a/FEXCore/Source/CMakeLists.txt b/FEXCore/Source/CMakeLists.txt
index 633b397e97e..850a96e3034 100644
--- a/FEXCore/Source/CMakeLists.txt
+++ b/FEXCore/Source/CMakeLists.txt
@@ -6,7 +6,8 @@ set(FEXCORE_BASE_SRCS
Utils/FileLoading.cpp
Utils/ForcedAssert.cpp
Utils/LogManager.cpp
- Utils/SpinWaitLock.... | 13 | 12 | 0 | [{"id": "G0", "claim": "The added comment '// Safe to assume its just pairs of strings at this point?' is unclear and should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment '// Matches the first and then get out' has inconsi... | null |
FFTW__fftw3__315 | FFTW/fftw3 | 315 | defect | d0ce926f1523d95daed48cd7c69572e068dbbfb3 | 12608ad2df6660184854c798bb966f850c186ccb | PR to merge ARM SVE branch | This is primarily for discussion ad probably need some cleaning up.
The current scheme using SVE (and RISC-V V) doesn't leverage the scalability; instead, it produces sets of codelets for all possible power-of-2 sizes, using masking. Only sets of a size <= to the hardware implementation width are enabled. See [here]... | diff --git a/.gitignore b/.gitignore
index 355ca76ef..5d1dc4cab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@ rdft/simd/common/*.c
rdft/simd/kcvi/*.c
rdft/simd/neon/*.c
rdft/simd/sse2/*.c
+rdft/simd/sve*/*.c
rdft/simd/vsx/*.c
rdft/scalar/r2cb/*.c
rdft/scalar/r2cf/*.c
@@ -45,6 +46,7 @@ dft/simd/common... | 6 | 2 | 1 | [{"id": "G0", "claim": "With --enable-sve, configure succeeds even when the compiler cannot build SVE code, so the build fails at make instead of aborting at configure; a configure-time test should be added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla... | null |
FISCO-BCOS__FISCO-BCOS__3485 | FISCO-BCOS/FISCO-BCOS | 3,485 | defect | f265c9bef153932423c6c118cfdad17befaa4cae | e09f18c94faf6808b6b17e6bfd91487f77a3574a | Rollback to serial execution when too many conflict | Rollback to serial execution when too many conflict | diff --git a/bcos-framework/bcos-framework/protocol/TransactionSubmitResult.h b/bcos-framework/bcos-framework/protocol/TransactionSubmitResult.h
index 945b0f0b13..4361d299d7 100644
--- a/bcos-framework/bcos-framework/protocol/TransactionSubmitResult.h
+++ b/bcos-framework/bcos-framework/protocol/TransactionSubmitResult... | 12 | 3 | 0 | [{"id": "G0", "claim": "The template parameter 'Reference' is unused so it can be removed (along with the ValueOrReferenceWrapper helper).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The change from oneResult->get().get() to oneResult->get(... | null |
FISCO-BCOS__FISCO-BCOS__5097 | FISCO-BCOS/FISCO-BCOS | 5,097 | defect | 8ef6de97bd9bc3ab536916b477fde0f466365d70 | 997cbf2b0747245bda263a6960514a41209cd060 | fix(txpool): use WriteAccessor for all operations that mutate transaction state (FIB-54) | ## Summary
- **Issue**: `txpoolStorageCheck()`, `batchMarkTxs()`, and `batchSealTransactions()` mutated Transaction fields (`setSubmitCallback`, `setSealed`, `setBatchId`, `setBatchHash`) while holding only a `ReadAccessor` (shared lock) on the bucket, creating data races with concurrent readers.
- **Fix**: Changed `Re... | diff --git a/bcos-txpool/bcos-txpool/txpool/storage/MemoryStorage.cpp b/bcos-txpool/bcos-txpool/txpool/storage/MemoryStorage.cpp
index bdf50a2b4c..eb8294c037 100644
--- a/bcos-txpool/bcos-txpool/txpool/storage/MemoryStorage.cpp
+++ b/bcos-txpool/bcos-txpool/txpool/storage/MemoryStorage.cpp
@@ -201,9 +201,11 @@ Transact... | 4 | 1 | 1 | [{"id": "G0", "claim": "Every txpoolStorageCheck() lookup now takes an exclusive (write) bucket lock even when no mutation is needed, which can reduce throughput on a hot path; use a two-step double-checked update (find with ReadAccessor first, and only redo the lookup with WriteAccessor and re-check submitCallback() u... | null |
FISCO-BCOS__FISCO-BCOS__5102 | FISCO-BCOS/FISCO-BCOS | 5,102 | defect | 8ef6de97bd9bc3ab536916b477fde0f466365d70 | 761dcb00d9037e8004f9722a651454b608c0879c | fix(txpool): only query ledger storage on cache miss in checkWeb3Nonce (FIB-59) | ## Summary
- **Issue**: `checkWeb3Nonce()` always called `m_ledger->getStorageState()` (an expensive I/O operation) even when `m_ledgerStateNonces` had a valid cached entry, then overwrote the cache with the storage value — defeating the cache entirely.
- **Fix**: Return early on cache hit; only query ledger storage on... | diff --git a/bcos-txpool/bcos-txpool/txpool/validator/Web3NonceChecker.cpp b/bcos-txpool/bcos-txpool/txpool/validator/Web3NonceChecker.cpp
index cf6f7dc773..e63148e9db 100644
--- a/bcos-txpool/bcos-txpool/txpool/validator/Web3NonceChecker.cpp
+++ b/bcos-txpool/bcos-txpool/txpool/validator/Web3NonceChecker.cpp
@@ -52,10... | 3 | 1 | 1 | [{"id": "G0", "claim": "The monotonic cache update in checkWeb3Nonce is not race-safe: between the readOne and writeOne another coroutine/thread could write a higher nonce, which this code can then overwrite with a lower nonceInStorage, so the updates to m_ledgerStateNonces should be made atomic (CAS or serialization).... | null |
FISCO-BCOS__FISCO-BCOS__5107 | FISCO-BCOS/FISCO-BCOS | 5,107 | defect | 8ef6de97bd9bc3ab536916b477fde0f466365d70 | 060036bdabbb8d02fcc762e8c36ca6b3235ffa68 | fix(txpool): add per-process random seed to StringHash to prevent HashDoS (FIB-64) | ## Summary
- `StringHash` (used as the bucket hasher in `BucketSet`/`BucketMap`) relied on `std::hash<string>`, which is deterministic and predictable
- An adversary can craft transaction nonces that all hash to the same bucket, degrading lookup from O(1) to O(n) and causing severe mutex contention (HashDoS / bucket-fl... | diff --git a/bcos-utilities/bcos-utilities/BucketMap.h b/bcos-utilities/bcos-utilities/BucketMap.h
index d643f6f9fa..893e2d8774 100644
--- a/bcos-utilities/bcos-utilities/BucketMap.h
+++ b/bcos-utilities/bcos-utilities/BucketMap.h
@@ -53,10 +53,23 @@ struct StringHash
{
using is_transparent = void;
+ // FIB-... | 5 | 3 | 2 | [{"id": "G0", "claim": "XORing a constant per-process seed with std::hash<std::string_view> does not mitigate hash-collision DoS, because keys that collide under the underlying hash still collide after XOR, so the PR should use a keyed hash that incorporates the seed during hashing of the string bytes (or fix the overs... | null |
FRRouting__frr__19901 | FRRouting/frr | 19,901 | defect | 1e498234daa2840bc0e7e66addf45bfde30f51a6 | 77813f09336da1a851d7fc382627a3bb6be4c902 | bgpd: When creating a peer_connection pass in the sockunion for it | We have code that is creating a new peer_connection and then at a later pointer it is setting those values. This is not correct. It should just be passed in and worked from there. | diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c
index aafc8ac6de5d8..816bf2fcccc05 100644
--- a/bgpd/bgp_open.c
+++ b/bgpd/bgp_open.c
@@ -1272,9 +1272,10 @@ static bool bgp_role_violation(struct peer *peer)
/* peek into option, stores ASN to *as4 if the AS4 capability was found.
* Returns 0 if no as4 found, as4cap v... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `su` parameter of bgp_peer_connection_new should be a `const union sockunion *` rather than a mutable pointer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FRRouting__frr__20183 | FRRouting/frr | 20,183 | defect | 33d19c36cb08e70dfa733d3eae1bfdcd31aaec8d | 784cf95c4377ec84b25fb5801fdfaa20450325de | bgpd: Software version old/new encoding | Related: https://github.com/FRRouting/frr/issues/20140 | diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c
index 09267766cd04..bef2bcf3ea76 100644
--- a/bgpd/bgp_open.c
+++ b/bgpd/bgp_open.c
@@ -971,11 +971,22 @@ static int bgp_capability_software_version(struct peer *peer, struct peer_connec
struct capability_header *hdr)
{
struct stream *s = BGP_INPUT(connection);... | 2 | 1 | 1 | [{"id": "G0", "claim": "The bounds check data + len + 1 > end is correct for the old encoding but for the new encoding should be data + len > end, which as written makes all new-encoding capabilities be unconditionally rejected as invalid.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": ... | null |
FRRouting__frr__20208 | FRRouting/frr | 20,208 | defect | a7bab38bae1ddfb4c9c1a8145b6b59dda4234fff | 99b3efc3f8753cb7fc01260ad804fe4963eddc55 | Handle RESTCONF RPC/Action input format | For RPCs, RESTCONF uses a different input/output data format. This needs to be
flagged when calling libyang functions etc, so pass a restconf bool around to
identify when this is the case.
Also testing: Previously was only testing a YANG Action. Add RPC w and w/ args to unit
tests.
| diff --git a/lib/mgmt_be_client.c b/lib/mgmt_be_client.c
index 6a611d7611791..07e7d596970d4 100644
--- a/lib/mgmt_be_client.c
+++ b/lib/mgmt_be_client.c
@@ -837,16 +837,10 @@ static void be_client_handle_rpc(struct mgmt_be_client *client, uint64_t txn_id,
return;
}
- if (data) {
- err = yang_parse_rpc(xpath, rp... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new test_rpc_no_args DEFUN leaks the output node because yang_dnode_free(output) is commented out.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FRRouting__frr__20323 | FRRouting/frr | 20,323 | defect | fc33de8c47f8aef8d2bd178ce7ddb84ed801aac2 | 41bd4f058ec57b2b64fdfbe2ae98d7d3181b9098 | Move client-specific data out of mgmtd source. | Remove client specific data from mgmtd - clients send this same data in their subscribe message, so do so.
Move to dynamically assigning the backend client IDs.
- Will be needed to handle multi-instance protocols (like ospf).
- Avoids conflicts when doing source management (e.g., adding/removing clients).
A... | diff --git a/doc/developer/mgmtd-dev.rst b/doc/developer/mgmtd-dev.rst
index 554f767c39fe3..5dc5223fe61a5 100644
--- a/doc/developer/mgmtd-dev.rst
+++ b/doc/developer/mgmtd-dev.rst
@@ -45,6 +45,7 @@ Fully Converted To MGMTD
- lib/if
- lib/if_rmap
- lib/keychain
+- lib/log_vty
- lib/routemap
- lib/vrf
- ripd
@@ -7... | 2 | 2 | 1 | [{"id": "G0", "claim": "The condition added in be_adapter_conn_init uses `<` where it should use `>=`, so the function returns early whenever a valid adapter ID is present instead of only when the adapter has been disconnected, skipping the error handling and retry logic when initialization fails.", "category": "correc... | null |
FRRouting__frr__20895 | FRRouting/frr | 20,895 | defect | 172b68fe44fe749b3dca763694a7babb3e92a5d3 | 8a7d0ddd1b11e291b088922bfa032c084e7e8bb8 | Add support for libyang5 | - lib: update to handle libyang v5 changes (type and name changes)
- lib: dont "shrink" binary format, this is the restrictive size-minimizing format introduced in v4, but in v5 the normal performance binary format is back which we can again use.
- test: update tests to handle compact JSON
| diff --git a/configure.ac b/configure.ac
index 8eb3cd86d02bc..ee882341ccf30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2088,14 +2088,15 @@ AC_MSG_ERROR([m4_normalize([libyang >= 2.1.128 is required, and was not found on
Please consult doc/developer/building-libyang.rst for instructions on installing or building ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Passing `true` (1) as the options parameter to yang_print_tree_append may not produce the intended behavior, since other calls in this file use proper LYD_PRINT_* flag constants; use `0` or appropriate LYD_PRINT_* flags instead.", "category": "correctness", "verdict": "supported", "priority": "P... | null |
FRRouting__frr__21065 | FRRouting/frr | 21,065 | defect | af32727dd098d80a91466107337f3db807bd7673 | 6b7e296e4a2cf2ab0404dbf370724c32f084deed | Enable RFC8342 YANG NMDA functionality and add router-id oper-state that uses it. | - YANG NMDA (network-management datastore-architecture) allows for independent oper-state values to defined for `config true` nodes (i.e., a different value from the config value). The concept is basically that the config value is the intended value (i.e., intended datastore), but the oper-state value is the in-use val... | diff --git a/lib/northbound.c b/lib/northbound.c
index 6a30f853735c9..b8bba733adb22 100644
--- a/lib/northbound.c
+++ b/lib/northbound.c
@@ -228,20 +228,13 @@ static int nb_node_validate_cb(const struct nb_node *nb_node,
valid = nb_cb_operation_is_valid(operation, nb_node->snode);
/*
- * Add an exception for ope... | 6 | 2 | 0 | [{"id": "G0", "claim": "The finally cleanup in the new test_backend_datastore_router_id is improper - it runs a leftover 'no int foobar' debug command and later uses cmd_raises without warn=False for 'no ipv6 router-id'/'no router-id', so a secondary exception can mask the original test failure and configured router-id... | null |
FRRouting__frr__21183 | FRRouting/frr | 21,183 | defect | 8653c6638a4c39e4012b51139481f5d37bf40157 | d7c0d46f06b477c539d297a5480cc361a7645fe2 | isisd: fix memory leak in remove_excess_adjs() | **I'm a new contributor and not deeply familiar with the IS-IS internals, so I'd appreciate a careful review of both my analysis and the proposed fix.**
**Context**
I'm running a large-scale lab environment with ~400 FRRouting pods interconnected. Each pod has virtual interfaces deployed with isis network point-... | diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index f89b288cc9ef..ee962b13bc7a 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -138,7 +138,9 @@ static void remove_excess_adjs(struct list *adjs)
}
}
+ vadj = listgetdata(excess);
list_delete_node(adjs, excess);
+ isis_vertex_adj_free(vadj);
return... | 2 | 1 | 1 | [{"id": "G0", "claim": "vjardin asks how the same coverage could be added to the IS-IS tests under tests/isisd, i.e. the memory-leak fix should get a unit test there.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "mjstapp questions why isis_vertex_adj_f... | null |
FWGS__xash3d-fwgs__1158 | FWGS/xash3d-fwgs | 1,158 | defect | 9fa4de6ee8594fa46dcb5fd3cdd82491213e18ad | 77e32d61e335f0e3e4780a53447c574a04cae6a3 | File downloading fixes | Fixes #1058 and #829 | diff --git a/engine/common/net_chan.c b/engine/common/net_chan.c
index 93177df145..c610306f08 100644
--- a/engine/common/net_chan.c
+++ b/engine/common/net_chan.c
@@ -978,8 +978,12 @@ int Netchan_CreateFileFragments( netchan_t *chan, const char *filename )
if( compressedFileTime >= fileTime )
{
// if compressed ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Declare compressedSize with type fs_offset_t, matching FS_FileSize's return type, and put the opening brace on its own line.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FWGS__xash3d-fwgs__1455 | FWGS/xash3d-fwgs | 1,455 | defect | f343f0da41a1deb12633bd46c85c8d175de419cb | f3ca4e6a38a8ee9f4b1bcab44301c73d8a0a2144 | engine: common: imagelib: add KTX2 support | Adds basic KTX2 support for a few compressed formats, as part of a still ongoing ref_vk effort. KTX2 essentially is a Vulkan-centric texture format that supports literally hundreds of pixel formats.
For now only support for these is added:
- `VK_FORMAT_BC4_UNORM_BLOCK`
- `VK_FORMAT_BC4_SNORM_BLOCK`
- `VK_FORMAT_BC5... | diff --git a/common/com_image.h b/common/com_image.h
index d9f5ef6b5f..098a0d12ab 100644
--- a/common/com_image.h
+++ b/common/com_image.h
@@ -9,7 +9,20 @@ NOTE: number at end of pixelformat name it's a total bitscount e.g. PF_RGB_24 ==
========================================================================
*/
#def... | 7 | 6 | 0 | [{"id": "G0", "claim": "Fix the spacing style in the added code (no space before parentheses, spaces inside call parentheses) and find and fix the other instances of it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ktx2.h header should be ... | null |
FWGS__xash3d-fwgs__162 | FWGS/xash3d-fwgs | 162 | defect | e0dfc4c0b4c3c336557b6f7e71fcfc9e60065d15 | bc309ae2d490569a20f2a195e2bb3585dcbca819 | ref_gl: Fixed building with -fno-common (GCC 10) | - Added APIENTRY_LINKAGE define to specify linkage of GL functions in
ref_gl/gl_export.h (i.e. auto, extern, static...)
Defaults to extern
- Added appropriate defines to avoid duplicate definitions among
different translation units | diff --git a/ref_gl/gl_context.c b/ref_gl/gl_context.c
index 7581d64847..5a2debd3d5 100644
--- a/ref_gl/gl_context.c
+++ b/ref_gl/gl_context.c
@@ -13,6 +13,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
+// GL API function pointers, if any, reside ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The variable declarations the PR touched in ref_soft (RI, r_drawentities and vid_gamma in ref_soft/r_context.c, insubmodel in ref_soft/r_bsp.c) can be removed outright, since each is defined elsewhere and already declared globally in a header.", "category": "maintainability", "verdict": "support... | null |
FWGS__xash3d-fwgs__20 | FWGS/xash3d-fwgs | 20 | defect | 6ba406be7d7bf2654eed8b5ad9468b7fc7b62caf | 35869586c94c83d0587462e62edc2f5e84d45a6b | Made various log messages more informative | I found that certain log messages I was getting were not entirely clear, so I did a quick skim of the repo and updated some which I thought could do with more information. | diff --git a/engine/client/cl_game.c b/engine/client/cl_game.c
index a1041a43ba..731ceb3a68 100644
--- a/engine/client/cl_game.c
+++ b/engine/client/cl_game.c
@@ -1215,7 +1215,7 @@ static qboolean CL_LoadHudSprite( const char *szSpriteName, model_t *m_pSprite,
}
else
{
- Con_Reportf( S_ERROR "%s couldn't loa... | 3 | 3 | 0 | [{"id": "G0", "claim": "The precache failure message should drop the jargon 'precache' — a regular user only needs to know that the sound failed to load.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sentence-overflow message should use plain... | null |
FWGS__xash3d-fwgs__2212 | FWGS/xash3d-fwgs | 2,212 | defect | a7671a8ac17d3f2ab03defc36b3b58d5951d869b | 6bb7bcd378c6fc67d13422bd646eca8fa05ac3dd | GoldSrc voice chat | ## Voice Packet Structure
| Offset (bytes) | Length (bytes) | Field Name | Description |
|----------------|---------------|----------------------|----------------------------------------------------------------|
| 0 | 8 | SteamID... | diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c
index cc8dcd3bb0..7796d23d6d 100644
--- a/engine/client/cl_main.c
+++ b/engine/client/cl_main.c
@@ -1029,6 +1029,10 @@ static void CL_WriteSteamTicket( sizebuf_t *send )
crc = CRC32_Final( crc );
i = GenerateRevEmu2013( buf, s, crc );
MSG_WriteBytes( ... | 14 | 11 | 1 | [{"id": "G0", "claim": "CL_ParseVoiceData should compare the voice data sizes against the named constants VOICE_MAX_GS_DATA_SIZE and VOICE_MAX_DATA_SIZE instead of the hardcoded 4096 and 8192.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The f... | null |
FWGS__xash3d-fwgs__2363 | FWGS/xash3d-fwgs | 2,363 | defect | 5739946330e6058fafd17559b5d3196c8c1e9f3e | 92609c9f4832e1269b5426602c377bfebd760a66 | Swap bandwidthtest and challenge | The problem with bandwidthtest packet is that it doesn't require any confirmation, thus can be easily exploited in attacks and, by requesting largest packet size, exhaust all bandwidth.
To resolve this issue, bandwidthtest now requires challenge first. Client is expected to first request the challenge and then compl... | diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c
index b35e81aab7..1b8e1c2879 100644
--- a/engine/client/cl_main.c
+++ b/engine/client/cl_main.c
@@ -27,7 +27,7 @@ GNU General Public License for more details.
#define MAX_CMD_BUFFER 8000
#define CL_CONNECTION_TIMEOUT 15.0f
-#define CL_CONNECTION_... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added if condition at engine/client/cl_main.c line 2394 is missing its closing bracket.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
FWGS__xash3d-fwgs__2522 | FWGS/xash3d-fwgs | 2,522 | defect | 255c9bcaed1cf02bc4c22276c8e39d5cdbfc0fb5 | 35998bce8172613e35d301e95e0f98dd3e0cd4ff | engine: client: add sound api | Used on my game with steam audio interfaces.
Channel management in engine, sound mixing into SNDDMA in client lib. | diff --git a/common/sound_api.h b/common/sound_api.h
new file mode 100644
index 0000000000..dcb0956ec3
--- /dev/null
+++ b/common/sound_api.h
@@ -0,0 +1,67 @@
+/*
+sound_api.h - Xash3D extension for client sound interface
+Copyright (C) 2026
+
+This program is free software: you can redistribute it and/or modify
+it un... | 9 | 9 | 4 | [{"id": "G0", "claim": "The sound_api.h copyright line must name an author ('Xash3D FWGS contributors' or the author) and, since the header may be included in HLSDK, should be published under a less restrictive license or public domain like engine/mobility_api.h.", "category": "documentation", "verdict": "supported", "... | null |
FWGS__xash3d-fwgs__2527 | FWGS/xash3d-fwgs | 2,527 | defect | e7fa45d5caa778ad23ffd6dff41c1e34dd0e05a1 | 09950d199f1dcd9a6f592721032eddc8eb7f0f03 | Add gyroscope aiming support & standardize input functions to use (pitch, yaw) parameter order | ### New Gyroscope CVars:
**joy_gyro_pitch** (default ``1.0``): Vertical sensitivity (tilting controller up/down).
**joy_gyro_yaw** (default ``1.0``): Horizontal sensitivity for "laser pointer" style rotation (turning controller left/right).
**joy_gyro_roll** (default ``0.0``): Horizontal sensitivity for "steering wh... | diff --git a/engine/client/in_joy.c b/engine/client/in_joy.c
index e76aff4da0..ff09829315 100644
--- a/engine/client/in_joy.c
+++ b/engine/client/in_joy.c
@@ -62,6 +62,12 @@ static CVAR_DEFINE_AUTO( joy_axis_binding, "sfpyrl", FCVAR_ARCHIVE | FCVAR_FILTE
CVAR_DEFINE_AUTO( joy_enable, "1", FCVAR_ARCHIVE | FCVAR_FILTERA... | 2 | 2 | 2 | [{"id": "G0", "claim": "joy_gyro_speed should be cleared (e.g. VectorClear) after it is applied in Joy_FinalizeMove, because gyro events arrive asynchronously from platform code and, if some are skipped, the stale rotation rates are re-applied and cause a small drift every frame.", "category": "correctness", "verdict":... | null |
FWGS__xash3d-fwgs__272 | FWGS/xash3d-fwgs | 272 | defect | 5e0a0765ce1f82869f9d7ff3ef731f834c4faab5 | d8ada7bc85d1b9f7c1454272acda2df6de0c5273 | Remove DEFAULT_(ACCELERATED|SOFTWARE)_RENDERER | This is no longer needed as we now use the `DEFAULT_RENDERERS` order priority and only try to load the detected renderers. | diff --git a/common/defaults.h b/common/defaults.h
index e31d093c71..ff33d79c52 100644
--- a/common/defaults.h
+++ b/common/defaults.h
@@ -192,16 +192,4 @@ Default build-depended cvar and constant values
#define DEFAULT_FULLSCREEN 1
#endif // DEFAULT_FULLSCREEN
-#ifndef DEFAULT_ACCELERATED_RENDERER
- #if XASH_MOBI... | 2 | 2 | 2 | [{"id": "G0", "claim": "This change is also a bugfix: Q_strcmp returns 0 when the strings are equal, so the old Q_strcmp(refopt, ref.shortNames[i]) condition never skipped the requested-but-failed renderer.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
FWGS__xash3d-fwgs__965 | FWGS/xash3d-fwgs | 965 | defect | 532cd779a7f7ea0d7a709189c090fe6040185e8f | 821ee9f2058abb8ba653ec99b3ad073fb35b9476 | Voice chat support | I think it's time to merge this, so players can test and report about problems/their suggestions | diff --git a/.gitmodules b/.gitmodules
index d16a4037d7..71d05e6d31 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -13,3 +13,6 @@
[submodule "vgui_support"]
path = vgui_support
url = https://github.com/FWGS/vgui_support
+[submodule "opus"]
+ path = 3rdparty/opus/opus
+ url = https://github.com/xiph/opus
diff --git ... | 11 | 10 | 3 | [{"id": "G0", "claim": "Clamp the voice data size with sizeof( received ) rather than the hardcoded 8192, and keep the received buffer on the stack instead of making it static.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove svc_voiceinit/... | null |
FXMisc__RichTextFX__1303 | FXMisc/RichTextFX | 1,303 | defect | 78d535b704a402fdaa4e2a6caf2256ee71f9a2e2 | 14e67ec8910f0055d47aa55a26a2d05568cf5d8a | [Refactoring] Showcasing what a refactor could be for #1298 | To show what a refactor could be for #1298, I took some of the logic of `CaretNode` and extracted it in a separate class. Then I added tests to that class. Note that I minimized the amount of changes.
The tests are covering the **current behaviour** of the code. I make no assumption on what it should actually be. | diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/CaretNode.java b/richtextfx/src/main/java/org/fxmisc/richtext/CaretNode.java
index b8c757d5..7379f85c 100644
--- a/richtextfx/src/main/java/org/fxmisc/richtext/CaretNode.java
+++ b/richtextfx/src/main/java/org/fxmisc/richtext/CaretNode.java
@@ -143,7 +143,7 @@ p... | 5 | 1 | 1 | [{"id": "G0", "claim": "The caret moves inconsistently when it sits inside a replacement that grows the text (at position 4 it moves 2 forward, at 5 one backward, at 6 two forward again), which the author suspects is a bug caused by computing endOfChange as indexOfChange + Math.abs(netLength) instead of indexOfChange +... | null |
FXMisc__RichTextFX__1304 | FXMisc/RichTextFX | 1,304 | defect | 78d535b704a402fdaa4e2a6caf2256ee71f9a2e2 | a15c4c37f04e3b38cdd1396cd2385207235e2fcd | [Refactoring] Extract and test SelectionChange | In this PR I extracted the content of the selection change update and covered it with UT. | diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/SelectionChange.java b/richtextfx/src/main/java/org/fxmisc/richtext/SelectionChange.java
new file mode 100644
index 00000000..a26f38f7
--- /dev/null
+++ b/richtextfx/src/main/java/org/fxmisc/richtext/SelectionChange.java
@@ -0,0 +1,52 @@
+package org.fxmisc.rich... | 3 | 2 | 2 | [{"id": "G0", "claim": "The extracted SelectionChange.apply() moves the selection to the change position instead of shifting it when a text change occurs at or before the selection (e.g. with a 3-char insertion at position 3 a caret at 4 ends up at 3 instead of moving forward by three), which the author flags as clearl... | null |
FXMisc__RichTextFX__572 | FXMisc/RichTextFX | 572 | defect | cc21b32eb9673dbfb8c275090f893a6193b2c94b | 27ced3650c79d1234eb1da3b18354a27b00210fd | fixed caret positioning in wrapped lines (issue #423) | This PR fixes some issues with caret positioning in **wrapped lines**:
1) pressing `DOWN` key at end of line now moves caret to end of next line (and not beginning of line after next line).
E.g. if caret is at `|` then `DOWN` key moves it to `^` (and not `*` as before).
~~~
01234|
678^
*01
~~~
2) `UP` key n... | diff --git a/richtextfx/src/main/java/org/fxmisc/richtext/TextFlowExt.java b/richtextfx/src/main/java/org/fxmisc/richtext/TextFlowExt.java
index fdd4dd413..f481026b5 100644
--- a/richtextfx/src/main/java/org/fxmisc/richtext/TextFlowExt.java
+++ b/richtextfx/src/main/java/org/fxmisc/richtext/TextFlowExt.java
@@ -141,23 ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The added lines[...] variables should not have been broken up from getLines()[lineIdx] if the change is unintentional noise.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR should add MultilineJaggedTests into Navigat... | null |
FXMisc__RichTextFX__595 | FXMisc/RichTextFX | 595 | defect | 28a01b30a80fd931d0d9250b181387e85b717ad3 | c71f1684b29fb0b3913fa5356d733dfa663d4760 | Issue #594: Properly calculate the background and underline shapes fo… | …r non-consecutive ranges
* Added an integration test which does some simple styling tests
* The underline test fails without the code modifications in ParagraphText.java
* Fixed the calculation of shapes in ParagraphText.java: shapes must only be combined when the ranges are consecutive | diff --git a/richtextfx/src/integrationTest/java/org/fxmisc/richtext/style/StylingTests.java b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/style/StylingTests.java
new file mode 100644
index 000000000..1cd31be31
--- /dev/null
+++ b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/style/StylingTests.ja... | 6 | 5 | 1 | [{"id": "G0", "claim": "Remove the NestedRunner @RunWith annotation from StylingTests since no nested classes are used to share setup among multiple tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "getParagraphBox/getTextNodes should check ... | null |
FXMisc__RichTextFX__656 | FXMisc/RichTextFX | 656 | defect | 08ff468dcda6eab412e4e0e480fe67e81bdd1430 | e0402d86b13491a6ba5dfe17db579f0b096479ac | RFE implementation for #653 / #655 | RFE implementation for #655
The methods in `ViewActions` related to the following have been @**Deprecated**:
> onOutsideSelectionMousePress
> onInsideSelectionMousePress
> onNewSelectionDragEnd
> onSelectionDrop
They have been replaced with FXML friendly equivalent (non default) interface methods:
> onOuts... | diff --git a/richtextfx/src/integrationTest/java/org/fxmisc/richtext/api/FxmlTest.java b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/api/FxmlTest.java
new file mode 100644
index 000000000..8cdcb274e
--- /dev/null
+++ b/richtextfx/src/integrationTest/java/org/fxmisc/richtext/api/FxmlTest.java
@@ -0,0 +1,15 @... | 4 | 3 | 0 | [{"id": "G0", "claim": "The newly added dragNewSelection DragState variable in GenericStyledAreaBehavior seems unnecessary because the dragging behavior already works without tracking a second state, and the author is asked to explain why it is being added.", "category": "design", "verdict": "opposed", "priority": "P2"... | null |
FZJ-IEK3-VSA__FINE__511 | FZJ-IEK3-VSA/FINE | 511 | defect | a7d7b71df111896939ba41b441f3c7c29b76e777 | 98d91863b9374e44b747ecc45fb5ff75ec222e2f | 213 ramping | Added inter-period constraint to limit difference between t_last from p to t_0 in p+1. in conversion.py
Implemented corresponding test | diff --git a/fine/conversion.py b/fine/conversion.py
index 8bc46273..e5023a49 100644
--- a/fine/conversion.py
+++ b/fine/conversion.py
@@ -436,17 +436,6 @@ def setTimeSeriesData(self, hasTSA):
if hasTSA
else self.fullCommodityConversionFactors[timeInfo][commod]
... | 5 | 5 | 0 | [{"id": "G0", "claim": "New method names should follow the fine convention of starting with a lowercase letter, so `InterPeriodRamping` should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the 'Time series ... | null |
FZJ-IEK3-VSA__FINE__543 | FZJ-IEK3-VSA/FINE | 543 | defect | c28d5b87983016af57680ae69adf55defb36b4dc | e26dace7072e3ae8605b7da30a6ee72ca2e9cf65 | fixed wrong coordinates in xarray output of transmission components | closes wrong coordinates in xarray output of transmission components #520 - introduced locationIn and locationOut for TransmissionModel and location for other models | diff --git a/fine/IOManagement/standardIO.py b/fine/IOManagement/standardIO.py
index da564b01..0a3feba8 100644
--- a/fine/IOManagement/standardIO.py
+++ b/fine/IOManagement/standardIO.py
@@ -135,7 +135,7 @@ def writeOptimizationOutputToExcel(
writer, sheet_name=abbreviatedName + "_TDoptVar_1dim... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test that checks the dimension names of the xarray output and confirms they are indeed location or locationIn and locationOut, so that this issue cannot happen again.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FZJ-IEK3-VSA__FINE__619 | FZJ-IEK3-VSA/FINE | 619 | defect | 2372cf9d42014839fd92bf8bfde8bf5daeda4d89 | 5aaae972c0e6de3e5a801f7629182af830c0b114 | 548 allow location specific commodity conversion factors | Added IP-dependent, time-dependent, and location-dependent commodity conversion factors defined as a dictionary over investment periods and commodities, where each entry contains a pandas DataFrame indexed by time steps and locations. Added corresponding documentation, tests and adapted utils function.
Closes #548 | diff --git a/fine/IOManagement/standardIO.py b/fine/IOManagement/standardIO.py
index 13838c57..a3e7cb59 100644
--- a/fine/IOManagement/standardIO.py
+++ b/fine/IOManagement/standardIO.py
@@ -260,9 +260,9 @@ def readEnergySystemModelFromExcel(fileName="scenarioInput.xlsx", engine="openpy
temp = row.dropna()... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add a test covering time-independent but location-dependent commodity conversion factors, which the pull request's new feature supports but no test exercises.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reformatting of fin... | null |
FZJ-IEK3-VSA__FINE__632 | FZJ-IEK3-VSA/FINE | 632 | defect | 087cf8e6617dda930e25acdbfee228b0c7729042 | 288528e16ec9baf56c28095177d099338c0ac662 | 631 use gurobi in ci to improve speed | This PR adresses issue https://github.com/FZJ-IEK3-VSA/FINE/issues/631 | diff --git a/.github/workflows/test_manual_dependency_version.yml b/.github/workflows/test_manual_dependency_version.yml
index b6fb6ef2..a5bc6552 100644
--- a/.github/workflows/test_manual_dependency_version.yml
+++ b/.github/workflows/test_manual_dependency_version.yml
@@ -25,6 +25,11 @@ on:
required: false
... | 5 | 5 | 1 | [{"id": "G0", "claim": "check_gurobi_license should also detect a license file stored outside the user directory (e.g. centrally on a cluster) whose path the user added to their PATH variable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comme... | null |
FabricMC__fabric-api__1355 | FabricMC/fabric-api | 1,355 | defect | 1e6c71f9bcb3fe386d9fa8030d061b37b9afe31e | 6f6c431a2df2483353dae6c27101bab023d34621 | Update Dynamic Attribute Tool modifier application to fix #1353 | **Full Context:** read #1353
**tl;dr:** `DynamicAttributeTool#getDynamicModifiers` does not remove attributes properly. This fix makes it arguably cleaner than before while patching up bugs while still providing entity context.
[Before - streamable](https://streamable.com/nolbtn)
[🌟After ✨ - streamable](https://s... | diff --git a/fabric-tool-attribute-api-v1/build.gradle b/fabric-tool-attribute-api-v1/build.gradle
index 8ce958886ef..725fd6fc2b1 100644
--- a/fabric-tool-attribute-api-v1/build.gradle
+++ b/fabric-tool-attribute-api-v1/build.gradle
@@ -1,9 +1,10 @@
archivesBaseName = "fabric-tool-attribute-api-v1"
-version = getSubpr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The ItemStackContext duck interface should not live in the public api package (was this meant to be in api package?).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Does removing AttributeManager#mergeAttributes have any side-effe... | null |
FabricMC__fabric-api__1665 | FabricMC/fabric-api | 1,665 | defect | 8195aec1e2b700f7abe800fac2712f09e89fce3f | e9fa25dfe0fdabfdc8e7929f2dc37d80ee906f0e | Transfer API: continuous fluid-containing items and other base implementations. | Added features:
* Fix `PlayerInventoryStorage#offerOrDrop` not working server-side!
* Add tentative `InventoryProvider` support for the Item API. Mods such as Tech Reborn that used `InventoryProvider` as a way to delegate to an internal `Inventory` are now supported correctly out of the box.
* [`SingleVariantItemS... | diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/item/InventoryStorage.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/item/InventoryStorage.java
index 1612ea3ecee..905b8645b44 100644
--- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/... | 5 | 4 | 3 | [{"id": "G0", "claim": "Stacks modified through PlayerInventoryStorage should be synced to the client by sending a packet, like PlayerInventory#offer does (the TODO 'needs to be addressed').", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The drop() me... | null |
FabricMC__fabric-api__1815 | FabricMC/fabric-api | 1,815 | defect | 6d0fac422f959257199eeedfbc224431ce60049d | e606330a327a24c65727224f07aa94be2b02a950 | Add an API to enable elytra flight | - Add an `ALLOW` event to block elytra flight entirely, and a `CUSTOM` event for modded "custom" elytras.
- Add the `FabricElytraItem` interface for the most common use case.
- Add an event to disable cape rendering. **I'd appreciate some testing with this one (just wear the `diamond_elytra` test item) by someone who... | diff --git a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/api/entity/event/v1/AllowElytraFlight.java b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/api/entity/event/v1/AllowElytraFlight.java
new file mode 100644
index 00000000000..9544a923e4d
--- /dev/null
+++ b/fabric-entity-events-v1/src/mai... | 10 | 8 | 1 | [{"id": "G0", "claim": "PlayerEntityMixin should use the (PlayerEntity) (Object) this cast instead of PlayerEntity.class.cast(this), since mixin optimizes the former in the applied bytecode.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ClientPlaye... | null |
FabricMC__fabric-api__1832 | FabricMC/fabric-api | 1,832 | defect | 9828ac648ef244955935773c4182a1feaf046ab0 | 3cb2ad7ed7f0c6abd94e40ad23bd48bd8f959f4a | Oxidizable and Waxable Blocks registries | Mods can add blocks that, like vanilla's Copper Blocks, can be waxed, stripped of wax, and/or stripped of oxidation decay.
I attempted to document it, let me know if it's sufficient.
This PR will be useful for mods attempting to add new Copper-based blocks into the game, such as Copper Buttons from the recent Mob... | diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/OxidizableBlocksRegistry.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/OxidizableBlocksRegistry.java
new file mode 100644
index 00000000000..d3ac8d72cb4
--- /dev/null
+++ b/fabric-content-regist... | 10 | 8 | 2 | [{"id": "G0", "claim": "The registry's query methods should return @Nullable instead of Optional.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "OxidizableFamily's record form exposes a public canonical constructor that bypasses the Builder's null checks; ... | null |
FabricMC__fabric-api__1853 | FabricMC/fabric-api | 1,853 | defect | fa34ed2c10c399ed6c973a56f3fda31cd47811f6 | 9b856c0b586ccc9e09d80e5d634f2277af275622 | Registry sync packet compression II | The compression method is based on #416, with some changes:
- This PR also groups all registry id with same namespace, alongside grouping the object id.
- This PR sends empty string in place of `minecraft` namespace :tiny_potato:
- This PR changes how to send the bulk rawIds. Since most mods registers all at once, t... | diff --git a/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryClientInit.java b/fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/impl/registry/sync/FabricRegistryClientInit.java
index ba1f7d95052..8b366c28143 100644
--- a/fabric-registry-sync-v0/src/main/java/net/fabri... | 13 | 8 | 1 | [{"id": "G0", "claim": "The integrated-server host receives the registry sync packet on join even though it is ignored, and liach asks to kick the client if it cannot accept the legacy sync and suggests checking that the server is integrated and the sender is the server's owner.", "category": "correctness", "verdict": ... | null |
FabricMC__fabric-api__2279 | FabricMC/fabric-api | 2,279 | defect | 9d709c192c5f327532216c7d4e80e34a5e0e5302 | 8fef7cc2356bb8a6efe6844cfba03473f042c985 | Sculk Sensor Frequency Registry | - Mixin'd to `SculkSensorBlock` to make its `FREQUENCIES` map modifiable.
- Created `SculkSensorFrequencyRegistry` with a dedicated method for registering these frequencies, with all necessary checks to avoid issues, and javadoc to assist in understanding.
- Added tests to the test mod, as well as a block that emits ... | diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/SculkSensorFrequencyRegistry.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/SculkSensorFrequencyRegistry.java
new file mode 100644
index 00000000000..2902ee99ef6
--- /dev/null
+++ b/fabric-conten... | 3 | 3 | 0 | [{"id": "G0", "claim": "Could the replaced-frequency lookup and the put be collapsed into the single put call whose return value already holds the old value?", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "List SculkSensorBlockMixin before Shovel... | null |
FabricMC__fabric-api__2282 | FabricMC/fabric-api | 2,282 | defect | e62f51a37fd5cca1d6949100400cd48948018af6 | e290207e6bfabb3843528b8fa3c3bbd2a63a3985 | Fix Biome API bugs | Fixes #2127
Fixes #2259
Fixes #2292
Fixes #2310
Fixes #2311
Closes #2301
# Changes
- End biomes are loaded lazily to allow data pack DRM entries to be used.
- Nether biomes are modified just before `ServerWorld` gets created to allow data pack DRM entries to be used. There aren't many other injection po... | diff --git a/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeSourceAccess.java b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/impl/biome/BiomeSourceAccess.java
new file mode 100644
index 00000000000..d529654d7c7
--- /dev/null
+++ b/fabric-biome-api-v1/src/main/java/net/fabricmc/fabric/imp... | 3 | 2 | 0 | [{"id": "G0", "claim": "The info logging added by the PR in NetherBiomeData (e.g. \"Nether biome {} loaded successfully\") is unnecessary console noise and should be removed before merge.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Overrides ... | null |
FabricMC__fabric-api__2486 | FabricMC/fabric-api | 2,486 | defect | 5f243a8b7849eac4b30cd876a22a127797a1c406 | 3ebb275fa101fc19bf51c63ec15f1ea9d2f760eb | Refactor Dimension API and fix a bug | Closes #2474
- Refactors dimension API to store the current target in an entity's field instead of a static field. While memory leak is not a concern, there is a potential issue as described in 2474; however, I'm pretty sure that cannot happen without calling impl code.
- Fixes a bug where end spawn platform gets c... | diff --git a/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/FabricDimensionInternals.java b/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/dimension/FabricDimensionInternals.java
index 02eedb64031..b073b4557fb 100644
--- a/fabric-dimensions-v1/src/main/java/net/fabricmc/fabric/impl/d... | 2 | 1 | 0 | [{"id": "G0", "claim": "IMB11 is fairly sure the end-platform generation behavior the PR claims to fix is vanilla, so the PR's stated bug fix is unnecessary/misattributed.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new Teleportable interface a... | null |
FabricMC__fabric-api__2556 | FabricMC/fabric-api | 2,556 | defect | bd290a2e1935096397e81d608e61c26328dd40db | 57643a0cacc23484375e19992cf16ef94549fa9a | Support stack aware recipe remainders 1.19.2 | This PR allows modders to add stack aware recipe remainders
This is useful for mods that adds custom buckets that support different fluids
This address the long lasting issue https://github.com/FabricMC/fabric/issues/50
Reopened from #2464 | diff --git a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java b/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
index 2f2ffd663b8..1e463d1a715 100644
--- a/fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/v1/FabricItem.java
+++ b/fabric-item-... | 18 | 14 | 4 | [{"id": "G0", "claim": "The getRecipeRemainder javadoc should also document the contract that the passed stack is not modified and its count ignored, that the returned stack is a new instance with count 1, and that the FabricItemStack helpers are recommended.", "category": "documentation", "verdict": "supported", "prio... | null |
FabricMC__fabric-api__2573 | FabricMC/fabric-api | 2,573 | defect | bd290a2e1935096397e81d608e61c26328dd40db | ba7d7bd58778541235424ae4366605d3874b6b07 | Add `AFTER_DEATH` and `ALLOW_DAMAGE` events; generalise `ALLOW_DEATH` to living entities | Add a new `ServerLivingEntityEvents` class, with the following events:
- `ALLOW_DAMAGE` to block damage entirely, for example because the player is wearing a "creative mode" armor (my use case).
- `ALLOW_DEATH` to prevent entity death. It is the exact same event as `ServerPlayerEvents.ALLOW_DEATH`, but generalised to... | diff --git a/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/api/entity/event/v1/ServerLivingEntityEvents.java b/fabric-entity-events-v1/src/main/java/net/fabricmc/fabric/api/entity/event/v1/ServerLivingEntityEvents.java
new file mode 100644
index 00000000000..33536490689
--- /dev/null
+++ b/fabric-entity-eve... | 2 | 2 | 0 | [{"id": "G0", "claim": "ServerLivingEntityEvents should be a final class with a private constructor, like the other event holder classes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the generalized living-entity events (ALLOW_DEATH and AFTER_DEATH)... | null |
FabricMC__fabric-api__2582 | FabricMC/fabric-api | 2,582 | defect | bd290a2e1935096397e81d608e61c26328dd40db | 4ac96384e8102cc8c91312ad34e550b0004ce7f9 | Deprecated BlockEntityRendererRegistry in favor of vanilla's BlockEntityRendererFactories | Currently its not possible to register a SignBlockEntityRenderer without making a accessor to the vanilla registry because of a generic mismatch. This PR solves that problem by just making the vanilla registry public and deprecating the old one | diff --git a/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java b/fabric-rendering-v1/src/client/java/net/fabricmc/fabric/api/client/rendering/v1/BlockEntityRendererRegistry.java
index f3259804647..941dd5b481c 100644
--- a/fabric-rendering-v1/src/client/java... | 5 | 4 | 2 | [{"id": "G0", "claim": "The added comment line should read '# Registering custom block entity renderers' instead of the grammatically wrong \"renderer's\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deprecation javadoc on BlockEntityRender... | null |
FabricMC__fabric-api__2670 | FabricMC/fabric-api | 2,670 | defect | 49b2f752247f2d797d1ff061278822f85be0e994 | 5bcf43263776ea8ac6390a105dcec1c3bbe27376 | API for brewing recipes which use Ingredients instead of Items | `BrewingRecipeRegistry` uses Ingredients internally, but the registration methods only support items. This PR adds a new API class with counterparts that accept Ingredients instead of Items, allowing tags to be used.
This does not include an Ingredient counterpart to `net.minecraft.recipe.BrewingRecipeRegistry.regis... | diff --git a/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/FabricBrewingRecipeRegistry.java b/fabric-content-registries-v0/src/main/java/net/fabricmc/fabric/api/registry/FabricBrewingRecipeRegistry.java
new file mode 100644
index 00000000000..115f796a054
--- /dev/null
+++ b/fabric-content-... | 5 | 4 | 0 | [{"id": "G0", "claim": "The testmod mixin config should set compatibilityLevel to JAVA_17 instead of JAVA_16.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The registerItemRecipe javadoc should document that a new potion type must be registered... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.