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
Cantera__cantera__1161
Cantera/cantera
1,161
defect
80c1e568f91bb0fd5be36f18052050d3d0f6fdc6
b528f38071511fd3242416f39e3522e4d4e636e9
Prevent errors due to unsafe math optimizations
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> This is my proposed resolution to #1155. **Changes proposed ...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84cd5ae713b..3607600432c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -315,7 +315,8 @@ jobs: run: | scons build extra_inc_dirs=$CONDA_PREFIX/include:$CONDA_PREFIX/include/eigen3 \ ext...
4
4
1
[{"id": "G0", "claim": "The new EXPECT_NEAR tolerance expressions should have white-space on both sides of the '*'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new config_error message is missing a closing single quote around the option n...
null
Cantera__cantera__1180
Cantera/cantera
1,180
defect
fcff5929225a0728dce33e44acf21149f6fb928f
ade35f43ddacfca01c67be33b5f1997db463d90e
Implement serialization of Peng-Robinson phases
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/thermo/MixtureFugacityTP.h b/include/cantera/thermo/MixtureFugacityTP.h index a7bc1dbe78b..f4a37ff0918 100644 --- a/include/cantera/thermo/MixtureFugacityTP.h +++ b/include/cantera/thermo/MixtureFugacityTP.h @@ -492,14 +492,6 @@ class MixtureFugacityTP : public ThermoPhase virtual void...
2
2
0
[{"id": "G0", "claim": "The removed virtual MixtureFugacityTP::pressureCalc should be justified — is it simply unnecessary given that PengRobinson::pressure() exists?", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The end-of-line comments 'We need spec...
null
Cantera__cantera__1187
Cantera/cantera
1,187
defect
f85d54f4a5d17331a90f35725ed748e79897bb5a
49ff30b75f95e2dd80ed728477b0efd5c944d9a0
Introduce BulkRate class template
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/kinetics/Arrhenius.h b/include/cantera/kinetics/Arrhenius.h index 81c4c102d89..0b9e63e9a57 100644 --- a/include/cantera/kinetics/Arrhenius.h +++ b/include/cantera/kinetics/Arrhenius.h @@ -30,13 +30,8 @@ class AnyMap; * This base class provides a minimally functional interface that allows ...
5
4
0
[{"id": "G0", "claim": "Renaming evalRate(DataType&) to evalFromStruct(DataType&) in ArrheniusBase and friends would let BulkRate's delegating evalFromStruct method be deleted, and likewise for ddTScaledFromStruct below.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
Cantera__cantera__1216
Cantera/cantera
1,216
defect
e6a5ffd5b896561ac6365c946acc897b1bef3093
8f2b053495cc52d2b6a009eebe52159d8c0d8bda
Refactor electrochemical reactions
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/base/utilities.h b/include/cantera/base/utilities.h index eab24609a4e..5bb457215df 100644 --- a/include/cantera/base/utilities.h +++ b/include/cantera/base/utilities.h @@ -188,7 +188,7 @@ const U& getValue(const std::map<T, U>& m, const T& key, const U& default_val) { //! A macro for gen...
8
8
0
[{"id": "G0", "claim": "Reaction::checkElectrochemistry should be renamed to usesElectrochemistry, for consistency with the method added to CoverageBase and the Python interface.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment '// Ins...
null
Cantera__cantera__1295
Cantera/cantera
1,295
defect
c040b1275c2c82ac6081de21fcb72406b8c5dd58
f082efab8c2f83f556f9708e880297b895b81b68
Deprecate obsolete methods
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbb5f9e7452..7163ab5bf39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -282,13 +282,14 @@ jobs: - name: Install Apt dependencies run: | sudo apt update - sudo apt install libboost...
2
1
0
[{"id": "G0", "claim": "The deprecation comment added above PlogRate::validate(const std::string&) is copy-pasted from FalloffRate and wrongly says it is 'superseded by setFalloffCoeffs()', a method PlogRate does not have.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
Cantera__cantera__1338
Cantera/cantera
1,338
defect
d60e59edc09e327875fcba839dbca9ecd4750505
b9eb64cfef5da91d085e15749f2d1fd1ba109c6d
Update three body logic
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/kinetics/Reaction.h b/include/cantera/kinetics/Reaction.h index a890a673378..fc42e1a2559 100644 --- a/include/cantera/kinetics/Reaction.h +++ b/include/cantera/kinetics/Reaction.h @@ -195,7 +195,10 @@ class Reaction bool m_valid = true; //! Flag indicating that serialization use...
8
6
0
[{"id": "G0", "claim": "The duplicate-species counting loop could be simpler as a bool flag with an early break instead of counting occurrences in a size_t.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring and error message should cl...
null
Cantera__cantera__1350
Cantera/cantera
1,350
defect
12ea53d8ec181d7db355a3cb78c37e29004ad5cb
739a390897701ab4c12afc4ae32381625f731694
Fix issues with "volume" and compressibility of SurfPhase
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/base/AnyMap.h b/include/cantera/base/AnyMap.h index e182fa838eb..b20045fd894 100644 --- a/include/cantera/base/AnyMap.h +++ b/include/cantera/base/AnyMap.h @@ -709,8 +709,9 @@ class InputFileError : public CanteraError const std::string& message, const Args&... args) ...
5
2
1
[{"id": "G0", "claim": "Using C++11 INFINITY as the SurfPhase density may have ramifications for --fast-math support and compiler warnings, and reviewers proposed instead that density and volume for a 2D phase be defined without inf (e.g. a volumetric density of zero, or dimension-dependent units so densities/concentra...
null
Cantera__cantera__1377
Cantera/cantera
1,377
defect
943ecc6c2471000f665de6fb7d78da7adfb198da
2ee1be31e59777708fe478fd529d912bb6b9aca4
Preconditioned solver improvements
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> Short version: This restores the performance of the preconditio...
diff --git a/include/cantera/cython/kinetics_utils.h b/include/cantera/cython/kinetics_utils.h index 907e29e1a4e..0c8369a027b 100644 --- a/include/cantera/cython/kinetics_utils.h +++ b/include/cantera/cython/kinetics_utils.h @@ -53,26 +53,12 @@ inline void sparseCscData(const Eigen::SparseMatrix<double>& mat, } }...
6
2
1
[{"id": "G0", "claim": "preconditionerSide() should return a string instead of an enum, so that callers (notably the Python API) do not have to convert numbers into strings and the side getter/setter interface becomes consistent.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
Cantera__cantera__1394
Cantera/cantera
1,394
defect
5e15f57af872fb121a0cc429d8450c4cf750d44c
4b029352381cbd0138826b92077c2a783d0dcc78
Fix consistency of IAPWS water EoS
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/thermo/WaterPropsIAPWS.h b/include/cantera/thermo/WaterPropsIAPWS.h index 428112f62aa..7b05155c114 100644 --- a/include/cantera/thermo/WaterPropsIAPWS.h +++ b/include/cantera/thermo/WaterPropsIAPWS.h @@ -174,34 +174,70 @@ class WaterPropsIAPWS */ void setState_TR(doublereal tempe...
2
1
0
[{"id": "G0", "claim": "Newly updated code in WaterPropsIAPWS.cpp uses `doublereal` where it should use `double`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Several conditions in the water phase diagram are apparently not covered by current ...
null
Cantera__cantera__1417
Cantera/cantera
1,417
defect
2ce92eac2e01e2f208094582d203531c13dc9e2e
889119e0e4bfcbaa06d2ef58f4e9759462de4437
Customizable data objects for ExtensibleRate
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c712e5df529..b5c7352b3b5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,6 +43,7 @@ jobs: sudo apt update sudo apt install libboost-dev gfortran libopenmpi-dev libpython3-dev \ libblas-d...
7
3
1
[{"id": "G0", "claim": "The docstring of the `extension` decorator (whose example shows `update`) should mention that the `update` method needs to return a boolean.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When a delegated method does not retu...
null
Cantera__cantera__1454
Cantera/cantera
1,454
defect
5d247d003165bb6a99950c77d2fce559faf88405
f9d45ff3df7faaf46c65d56e70acf595e308f13c
Move clib-demo to samples
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/SConstruct b/SConstruct index 89a31edd087..eba3ae5ffa7 100644 --- a/SConstruct +++ b/SConstruct @@ -2300,10 +2300,13 @@ if env["python_sdist"]: VariantDir('build/samples', 'samples', duplicate=0) sampledir_excludes = ['\\.o$', '^~$', '\\.in', 'SConscript'] SConscript('build/samples/cxx/SConscript') +SCo...
5
4
3
[{"id": "G0", "claim": "The author is unsure why the substituted *.in files are not copied over to build/samples/clib.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "samples/clib/Makefile.in should use CFLAGS instead of CXXFLAGS for the compiler flags...
null
Cantera__cantera__1458
Cantera/cantera
1,458
defect
3cbe8aa1a6f853aabc7645018b2ab7c1e73a9e20
57d427a790d66d7594c9638fa76748f54bd8d281
Tweak SolutionArray IO
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/base/SolutionArray.h b/include/cantera/base/SolutionArray.h index 57bd8201442..6bbaaab9b4e 100644 --- a/include/cantera/base/SolutionArray.h +++ b/include/cantera/base/SolutionArray.h @@ -182,8 +182,10 @@ class SolutionArray * @param fname Name of HDF container file * @param ...
5
2
0
[{"id": "G0", "claim": "Rename the new Storage method `unlinkGroup` to `deleteGroup`, since 'unlink' is jargon and 'delete' is the clearer name (as the HDF5 API itself is moving toward).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move the ne...
null
Cantera__cantera__1464
Cantera/cantera
1,464
defect
8b5a0e9fb02b1bc4994b06f3bbbf23a07dd1259e
572ea0ed1d535ea388a70a17b6488b3ef147f9c8
Remove vestigial onedim Python functions and methods
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** After moving `Solu...
diff --git a/include/cantera/base/SolutionArray.h b/include/cantera/base/SolutionArray.h index 6bbaaab9b4e..6e127e6d084 100644 --- a/include/cantera/base/SolutionArray.h +++ b/include/cantera/base/SolutionArray.h @@ -148,6 +148,9 @@ class SolutionArray //! Set the state vector for a given location. void setSt...
12
10
0
[{"id": "G0", "claim": "The shared solution-array member `m_data` (and likewise `setData`) should get a more descriptive name, such as `m_state`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should use the `vector_fp` typedef ...
null
Cantera__cantera__1491
Cantera/cantera
1,491
defect
0d449cabaef0a5a2317d81b725e87a47c7c96505
22093297f2bfc07382a79bfd990a8e62708e1f9a
Add speed of sound property for ThermoPhase
**Changes proposed in this pull request** - Add `ThermoPhase::soundVelocity` virtual function that returns the equilibrium speed of sound in m/s. - Add finite difference consistency test `c_eq_sqrt_dP_drho_const_s` - Implement definitions for `IdealGasPhase`, `RedlichKwongMFTP`, and `PengRobinson` Marking this ...
diff --git a/include/cantera/thermo/IdealGasPhase.h b/include/cantera/thermo/IdealGasPhase.h index 2bcd0bc9cab..8489a6a413e 100644 --- a/include/cantera/thermo/IdealGasPhase.h +++ b/include/cantera/thermo/IdealGasPhase.h @@ -401,6 +401,10 @@ class IdealGasPhase: public ThermoPhase return 1.0 / temperature(); ...
6
5
1
[{"id": "G0", "claim": "bryanwweber prefers that the new property be named `equilibriumSoundSpeed` in C++ and `equilibrium_sound_speed` in Python.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Calling the new property the 'equilibrium' sound speed would b...
null
Cantera__cantera__1495
Cantera/cantera
1,495
defect
b7d4c833391851d888f9f721cd385eef2d6033a4
f21acca3745ebac844838ae05ef845e2eff12eab
Polynomial Ea coverage dependency
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/doc/sphinx/yaml/reactions.rst b/doc/sphinx/yaml/reactions.rst index 0f5004634e7..e7aee0d3d2c 100644 --- a/doc/sphinx/yaml/reactions.rst +++ b/doc/sphinx/yaml/reactions.rst @@ -388,7 +388,9 @@ Includes the fields of an :ref:`sec-yaml-elementary` reaction plus: ``E`` Activation energy depende...
7
7
1
[{"id": "G0", "claim": "The new doc comment should render the polynomial coefficient list as \\f$ [E^{(1)}_k, ..., E^{(4)}_k] \\f$ instead of the mistyped range notation \\f$ [E^{(1)}_k-E^{(4)}_k] \\f$.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
Cantera__cantera__1507
Cantera/cantera
1,507
defect
ded75f4fae0fa96f4ccd3a94e44d3cc835b72be8
2b8f5ed24247b67be48df15661469d23fc033a62
Replace Cabinet in clib / update zeroD factory constructors
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/zeroD/FlowDeviceFactory.h b/include/cantera/zeroD/FlowDeviceFactory.h index c7a01eec74e..f18495927cc 100644 --- a/include/cantera/zeroD/FlowDeviceFactory.h +++ b/include/cantera/zeroD/FlowDeviceFactory.h @@ -14,10 +14,10 @@ namespace Cantera //! Factory class to create FlowDevice objects...
1
1
0
[{"id": "G0", "claim": "The new clib Func1 tests should compare floating-point function values with EXPECT_DOUBLE_EQ (tolerance of a few ULPs) instead of exact ASSERT_EQ, reserving ASSERT_ macros for cases that must stop the test immediately.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "...
null
Cantera__cantera__1514
Cantera/cantera
1,514
defect
d717e8bc6f20afd5dba97b248016e9a9e12f365e
fa2895f861e88c6598378e16646d19fe04d1cf19
Make 1D flow domains agnostic of transport model
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/oneD/IonFlow.h b/include/cantera/oneD/IonFlow.h index 68ebb7e39df..01e776bdfdf 100644 --- a/include/cantera/oneD/IonFlow.h +++ b/include/cantera/oneD/IonFlow.h @@ -42,18 +42,19 @@ class IonFlow : public StFlow virtual string type() const; - //! set the solving stage - virtual...
3
2
1
[{"id": "G0", "claim": "The new CxxStFlow declarations in _onedim.pxd (getSolvingStage, setSolvingStage, solveElectricField, fixElectricField, doElectricField) need `except +translate_exception` because StFlow throws NotImplementedError, and the missing clauses would otherwise terminate the process.", "category": "corr...
null
Cantera__cantera__1521
Cantera/cantera
1,521
defect
03f5b82352f47ceec7cc0c044295546b30b2be2d
641bef6220422c61b23570bdeb4846b4285d921f
Enhance Python Func1 Interface
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/doc/sphinx/cython/zerodim.rst b/doc/sphinx/cython/zerodim.rst index 48e2cac0007..cb476520e5c 100644 --- a/doc/sphinx/cython/zerodim.rst +++ b/doc/sphinx/cython/zerodim.rst @@ -13,7 +13,7 @@ Defining Functions .. autoclass:: Func1 -.. autoclass:: TabulatedFunction +.. autoclass:: Tabulated1 Base Cla...
3
2
0
[{"id": "G0", "claim": "The use case for constructing the C++ Func1 functors from Python is unclear, since Func1Py already covers these needs more flexibly; the PR author states he replaced the constant lambda functions with the C++ equivalent in response.", "category": "design", "verdict": "supported", "priority": "P2...
null
Cantera__cantera__1588
Cantera/cantera
1,588
defect
4b30fa74bca55bccf476b826d26ff820a8a94ba4
f417cc706c37acb5032d12c9e965c9880adc19ee
Fix issues for undeclared third-bodies and implicit third-body reactions
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/SConstruct b/SConstruct index 7ee577de64b..009bdb8312b 100644 --- a/SConstruct +++ b/SConstruct @@ -907,7 +907,7 @@ for option in opts.keys(): if isinstance(original, str): modified = os.path.expandvars(os.path.expanduser(env[option])) if original != modified: - logger.inf...
7
6
3
[{"id": "G0", "claim": "The deprecation warning string is missing a space, so it renders as 'afterCantera 3.0'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The property would be clearer named `third_body_name` to distinguish it from the `third_...
null
Cantera__cantera__1661
Cantera/cantera
1,661
defect
01a02843ecd15acf332274df7726ac7d05436b40
61ecb27d2d7216857ec2447874500ba00ef21a85
Prevent segfaults for partial 0-D objects
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a4d2b93908..9962d1fe110 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -412,7 +412,7 @@ jobs: run: python3 -m pip install -U pip setuptools wheel - name: Install Python dependencies run: | -...
2
1
0
[{"id": "G0", "claim": "The commit message that installs pyarrow should document which upstream deprecation warning installing pyarrow resolves.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dependencies of some of the examples may need updat...
null
Cantera__cantera__1663
Cantera/cantera
1,663
defect
8d676c0cacd658b568cbad9540286c726d79aa3c
62300d345a26226b4c9e85de69371fe33113f75a
Use Solution for zeroD objects
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ctreactor.h b/include/cantera/clib/ctreactor.h index 77acf1cd795..3273aba4427 100644 --- a/include/cantera/clib/ctreactor.h +++ b/include/cantera/clib/ctreactor.h @@ -19,6 +19,7 @@ extern "C" { CANTERA_CAPI int reactor_setInitialVolume(int i, double v); CANTERA_CAPI int react...
7
7
1
[{"id": "G0", "claim": "Given the implementation of ReactorBase::setSolution, the specialized Reservoir constructor taking a Solution may be unnecessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of labeling the method as a \"@todo\", write ...
null
Cantera__cantera__1685
Cantera/cantera
1,685
defect
ed27faf0fe3f1ce575edbaebd3b9d5aba505fa33
a8aae47bbaa36a80e7decd2630bd042c95d2b405
Remove/deprecate legacy Solution handling
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ctreactor.h b/include/cantera/clib/ctreactor.h index f6a0c67031a..43a0829be57 100644 --- a/include/cantera/clib/ctreactor.h +++ b/include/cantera/clib/ctreactor.h @@ -14,14 +14,14 @@ extern "C" { #endif - CANTERA_CAPI int reactor_new(const char* type); //! @deprecated: remove a...
4
3
0
[{"id": "G0", "claim": "The deprecated branch of ReactorBase.__cinit__ should be removed, including the default value for contents, so that the Python interface no longer allows constructing a reactor without contents.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
Cantera__cantera__1731
Cantera/cantera
1,731
defect
2a57a963c8e5cd648b971dc76d056fad1fe1a093
7d866c995717bd0590dda34bb03ed181821c2bbc
Enhance the PlasmaPhase to use the cross section data with an example of calculating the elastic collision energy loss rate
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** This PR change the i...
diff --git a/include/cantera/kinetics/ElectronCollisionPlasmaRate.h b/include/cantera/kinetics/ElectronCollisionPlasmaRate.h index c517e3bf8fb..5db20873104 100644 --- a/include/cantera/kinetics/ElectronCollisionPlasmaRate.h +++ b/include/cantera/kinetics/ElectronCollisionPlasmaRate.h @@ -135,6 +135,16 @@ class Electron...
22
21
6
[{"id": "G0", "claim": "The units of elastic_electron_energy_loss_rate are unstated and probably wrong -- it should be an intrinsic property expressed as power per unit mass or per unit volume rather than eV/s.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
Cantera__cantera__1740
Cantera/cantera
1,740
defect
9210b0815b9c41e13c34742ad445edb66a34033e
ad9f83acddcd45f3eda59dabe60c344287fad6db
Fix various YAML serialization issues
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/base/AnyMap.h b/include/cantera/base/AnyMap.h index b1f0747f339..cc227a0d927 100644 --- a/include/cantera/base/AnyMap.h +++ b/include/cantera/base/AnyMap.h @@ -468,8 +468,9 @@ class AnyMap : public AnyBase void clear(); //! Add items from `other` to this AnyMap. If keys in `othe...
1
1
0
[{"id": "G0", "claim": "Using a static excludes set in Reaction::parameters is not the most robust implementation because it enumerates what must not be overwritten and must be adapted for future parameter changes; ischoegl prefers initializing `out` from `input` when `withInput` is set and then overwriting via getPara...
null
Cantera__cantera__1741
Cantera/cantera
1,741
defect
9210b0815b9c41e13c34742ad445edb66a34033e
e2af01344bd4e7b6e2021a1b4c1eaaee90eb5699
Remove magic number support for Func1 in clib
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ctfunc.h b/include/cantera/clib/ctfunc.h index 2fba9a49854..325bb281c0e 100644 --- a/include/cantera/clib/ctfunc.h +++ b/include/cantera/clib/ctfunc.h @@ -14,26 +14,7 @@ extern "C" { #endif - const int FourierFuncType = 1; - const int PolyFuncType = 2; - const int Arrheniu...
6
5
4
[{"id": "G0", "claim": "The new hasFunc1 docstring should separate the listed return values with semicolons, as in the suggested wording, instead of commas.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The functor-category flag returned by hasFu...
null
Cantera__cantera__1754
Cantera/cantera
1,754
defect
bb3f51d23c273153e0f5b0fc7daec2c76a2c4417
4b4b0e1545f9b4149346444aab1131ebbd8dff00
Remove clib *newFromFile from MATLAB / fix memory leaks
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ct.h b/include/cantera/clib/ct.h index fe6eefeb25f..9fe65092bca 100644 --- a/include/cantera/clib/ct.h +++ b/include/cantera/clib/ct.h @@ -32,8 +32,11 @@ extern "C" { CANTERA_CAPI int soln_setTransportModel(int n, const char* model); CANTERA_CAPI size_t soln_nAdjacent(int n);...
4
4
1
[{"id": "G0", "claim": "The Solution constructor should fall back to the 'default' transport model (matching the Python and C++ interfaces) instead of 'none' when the transport-model argument is omitted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
Cantera__cantera__1758
Cantera/cantera
1,758
defect
32a8d4b8fde73e52ee7aa73dfd650bce68e46a03
0a6a7cdea8f8cc37366fa0ffefe37f27ebcf0c32
Make Func1 API's more consistent
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ctfunc.h b/include/cantera/clib/ctfunc.h index fec9f0d0125..3d2b46815e0 100644 --- a/include/cantera/clib/ctfunc.h +++ b/include/cantera/clib/ctfunc.h @@ -19,6 +19,10 @@ extern "C" { CANTERA_CAPI int func_new_advanced(const char* type, size_t lenp, const double* p); CANTERA_C...
9
9
0
[{"id": "G0", "claim": "The new new_sum test (and most other additions in this file) should use a named variable instead of the .5 literal for clarity.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the intent is that isIdentical may return f...
null
Cantera__cantera__1773
Cantera/cantera
1,773
defect
5393a886a0fe56cdeaa6e3ca09b5ef921bd39a6d
79fac04e9a7d7c48f44c85b4accb7d14757f874f
Some CLib/sourcegen/dotnet updates
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ct.h b/include/cantera/clib/ct.h index 22313583bcd..96a950d6c1c 100644 --- a/include/cantera/clib/ct.h +++ b/include/cantera/clib/ct.h @@ -37,10 +37,9 @@ extern "C" { CANTERA_CAPI int soln_adjacent(int n, int a); CANTERA_CAPI int soln_adjacentName(int n, int a, int lennm, cha...
4
2
1
[{"id": "G0", "claim": "The doc comment for the equilibrate solver parameter appears to end mid-sentence.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In hanging_text, `_` should not be used for a value that is actually used; rename it to `line`...
null
Cantera__cantera__1781
Cantera/cantera
1,781
defect
c16cbe6d7f54a23d3cfedcd0c78f4a9d4b479ce8
527ff6ee4750ed26e82610ca36f505fba0eac2c9
Fix usage of addOrderingRules in SolutionArray
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/base/AnyMap.h b/include/cantera/base/AnyMap.h index ce612eabfb3..08ee76dbe8b 100644 --- a/include/cantera/base/AnyMap.h +++ b/include/cantera/base/AnyMap.h @@ -672,7 +672,8 @@ class AnyMap : public AnyBase * Enables specifying keys that should appear at either the beginning * or...
5
3
2
[{"id": "G0", "claim": "Removing the explicit single-quoting of the git-commit field may reintroduce the issue where a git hash is read back as a number instead of a string.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Overwriting an existing Soluti...
null
Cantera__cantera__1846
Cantera/cantera
1,846
defect
e6f3e9d4482b2e3d7b64026e62c5427099117ed3
bb8125544e7588e7199858db5b210971dff4ed8b
Sourcegen CLib edge cases
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/clib_defs.h b/include/cantera/clib/clib_defs.h index d88ebc3c8d1..b2878322981 100644 --- a/include/cantera/clib/clib_defs.h +++ b/include/cantera/clib/clib_defs.h @@ -32,6 +32,8 @@ enum LogLevel { INFO, WARN , ERROR }; //! Represents a callback that is invoked to produce log output...
5
4
0
[{"id": "G0", "claim": "The new docstrings should use Markdown-style backtick notation (`element`, `kin`) instead of Doxygen `@c element` wherever possible.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Correctly documenting findMajorPaths should...
null
Cantera__cantera__1878
Cantera/cantera
1,878
defect
0eb7f942af42fb67c6d0bc46ccb3ab61e2a822b3
40fed9e7a8f498160644f3192b6be0d71ce5df9f
Experimental CLib zeroD API
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/clib/ct.h b/include/cantera/clib/ct.h index 71568070fad..fa03882ffae 100644 --- a/include/cantera/clib/ct.h +++ b/include/cantera/clib/ct.h @@ -187,6 +187,7 @@ extern "C" { CANTERA_CAPI int ct_getCanteraVersion(int buflen, char* buf); CANTERA_CAPI int ct_getGitCommit(int buflen, c...
9
7
1
[{"id": "G0", "claim": "The new FlowDevice::deviceCoefficient getter should be declared const.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The @deprecated tags added for setPressureFunction and setTimeFunction should say '%Cantera 3.2' so Cantera is a...
null
Cantera__cantera__1930
Cantera/cantera
1,930
defect
726dabce968a560660888d0ed5a2cc030793abfd
0facaacbe1e9aaa40609abb38be6a8a294bd3ff1
Add Soret model for mixture-averaged diffusion
Model based on the formulation by Chapman and Cowling (1970). For more information about this implementation and its validation, see T. Zirwes, A. Kronenburg, _Assessment of Approximate Soret Diffusion Models for Hydrogen and Ammonia Combustion_, Flow, Turbulence and Combustion (2025) (https://doi.org/10.1007/s10494-02...
diff --git a/doc/doxygen/cantera.bib b/doc/doxygen/cantera.bib index 7c077a098d0..aa3da1ad14f 100644 --- a/doc/doxygen/cantera.bib +++ b/doc/doxygen/cantera.bib @@ -31,6 +31,12 @@ @article{blowers2000 url = {https://dx.doi.org/10.1002/aic.690461015}, volume = {46}, year = {2000}} +@book{chapman1970, + ...
10
10
1
[{"id": "G0", "claim": "Precompute the mole fraction for all species (at the cost of a little extra memory) instead of recomputing it, especially since it is computed again inside the nested loop.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The m...
null
Cantera__cantera__1981
Cantera/cantera
1,981
defect
a68b2771e587f4d4758bfe960c2388fb5f97c376
89767d928c58a11fb7bc3a853ed536e9caecfbc7
Restore ThermoPhase state after error setting state
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8913298391f..b39bc398eb1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -822,7 +822,7 @@ jobs: retention-days: 2 windows: - name: "Windows 2025, MSVC ${{ matrix.vs-toolset }}, Python ${{ matrix.pytho...
3
3
1
[{"id": "G0", "claim": "The partialStateSize() docstring should be rewritten as declarative text without parentheses, per the given suggestion.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline comment 'function assumes default definition ...
null
Cantera__cantera__1984
Cantera/cantera
1,984
defect
3e8353044db39ef24836135e78e3adf690274d61
4732a8cf779a9818500cc44381b9e435fed9ea99
Deprecate legacy convenience headers
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/doc/sphinx/userguide/cxx-tutorial.md b/doc/sphinx/userguide/cxx-tutorial.md index 03ddb8bdc87..8b4d99d477d 100644 --- a/doc/sphinx/userguide/cxx-tutorial.md +++ b/doc/sphinx/userguide/cxx-tutorial.md @@ -65,15 +65,16 @@ calculations. The headers and their functions are: `thermo.h` : Base thermodynamic ...
2
1
0
[{"id": "G0", "claim": "If core.h is meant to be a true replacement for the deprecated convenience headers, it should also include the factory headers ThermoFactory.h, KineticsFactory.h and TransportFactory.h so users need not think about the factory classes.", "category": "design", "verdict": "opposed", "priority": "P...
null
Cantera__cantera__1989
Cantera/cantera
1,989
defect
99550d0c1e09f92a6ea82b9a4c02b8f32cd56fd4
992109822f5d71fc70e1f6bc2874043892123ca6
Adding another readable unit m^3
**Changes proposed in this pull request** - Added the "m³" line in src/base/Units.cpp so Cantera can not only get m^3 but also read m³ as volume unit. - Added the "m³" in unit basic conversion in test/general/test_units.cpp so it can also be tested. **If applicable, provide an example illustrating new features thi...
diff --git a/src/base/Units.cpp b/src/base/Units.cpp index fd1566d4369..d413537a5b7 100644 --- a/src/base/Units.cpp +++ b/src/base/Units.cpp @@ -66,6 +66,7 @@ const map<string, Units> knownUnits{ // Volume [L^3] {"m^3", Units(1.0, 0, 3, 0)}, + {"m³", Units(1.0, 0, 3, 0)}, {"liter", Units(0.001, 0, 3...
3
3
0
[{"id": "G0", "claim": "In the *.md documentation, replace 2 or 3 instances of m^3 used in sample code (leaving the rest as m^3) and replace all instances of m^3 that are part of comments, so users see both versions.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id...
null
Cantera__cantera__2014
Cantera/cantera
2,014
defect
5e351a1d8ed3b037a8d7725b9d59d5ca08c03a0a
af53e6978e3e86c0d2b885b2912c17c63ba4bfd7
Improve exceptions for abcName()
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/equil/MultiPhase.h b/include/cantera/equil/MultiPhase.h index cfb2b7e0ef5..a05fe854962 100644 --- a/include/cantera/equil/MultiPhase.h +++ b/include/cantera/equil/MultiPhase.h @@ -175,7 +175,7 @@ class MultiPhase /*! * @param kGlob global species index */ - string spec...
3
2
0
[{"id": "G0", "claim": "The new kineticsSpeciesName doc comments start the brief on the first line of the multi-line Doxygen block, a style not used before in this codebase; use the conventional layout with the brief on its own line.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "int...
null
Cantera__cantera__2068
Cantera/cantera
2,068
defect
48eb1470d6c1b2a41a8a3f037ce7fc4fa383c6a7
a4907adb494c1b8a99e21f5771777b1c5e1f3967
Energy equation for reactors using PlasmaPhase
<!-- Thanks for contributing code! Please include a description of your change and check your pull request against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** <!-- Provide a cle...
diff --git a/include/cantera/thermo/PlasmaPhase.h b/include/cantera/thermo/PlasmaPhase.h index 7670bf0b3c0..63851418ed8 100644 --- a/include/cantera/thermo/PlasmaPhase.h +++ b/include/cantera/thermo/PlasmaPhase.h @@ -256,21 +256,13 @@ class PlasmaPhase: public IdealGasPhase */ double enthalpy_mole() const ov...
13
13
6
[{"id": "G0", "claim": "The per-term std::isfinite checks in jouleHeatingPower are an unnecessary debugging artifact and should be dropped in favor of simply checking that each term is positive and returning zero otherwise.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
Cantera__cantera__2087
Cantera/cantera
2,087
defect
05de7fe567a0df2a612b1b60741594cb5f1c5d26
2901fd91c6b17f78136bb9fd7d8846fdc0e7f3ab
Updates to make HP queries return values instead of failing for higher pressures
I was running a test case for a 1D counterflow diffusion flame at very high pressures using the Peng-Robinson equation of state, and the initial condition that used the HP equilibrate call return EoS failures. Codex 5.3 identified this as a possible reason for why the real/ideal gas mixed PREOS might be failing, and it...
diff --git a/include/cantera/thermo/MixtureFugacityTP.h b/include/cantera/thermo/MixtureFugacityTP.h index ed9e83e35c9..be17c2daf11 100644 --- a/include/cantera/thermo/MixtureFugacityTP.h +++ b/include/cantera/thermo/MixtureFugacityTP.h @@ -298,6 +298,42 @@ class MixtureFugacityTP : public ThermoPhase */ dou...
5
5
4
[{"id": "G0", "claim": "For phases whose Peng-Robinson species have a=b=0 the property calculations produce 0/0 so all thermodynamic properties come out nan, and the PR should focus on that narrower EOS-level problem rather than treating the equilibrium solver as the cause.", "category": "correctness", "verdict": "supp...
null
Cantera__cantera__438
Cantera/cantera
438
defect
a02753ae792a71b4eda2028d4ea73d054ad5a4b4
2ea13d1d1ba3bec3aa6f5bd585016e5350683832
RK_MFTP test coverage
Fixes # 267. Changes proposed in this pull request: -Test suite coverage added for `RedlichKwongMFTP` thermoPhase class, including: 1. Construct phase from cti (uses a binary mixture of H2 and CO2, for all problems). 2. `ChemPotentials`, `activityCoefficients`, and`activityConcentrations` for a range of CO2 mol...
diff --git a/include/cantera/thermo/MixtureFugacityTP.h b/include/cantera/thermo/MixtureFugacityTP.h index 7444230cc4b..a479287e1d9 100644 --- a/include/cantera/thermo/MixtureFugacityTP.h +++ b/include/cantera/thermo/MixtureFugacityTP.h @@ -302,18 +302,6 @@ class MixtureFugacityTP : public ThermoPhase virtual void...
2
2
0
[{"id": "G0", "claim": "Add an explanation of why the hard-coded chem_potentials values are the expected result (that they are regression values from the model) and of the expected trend in the CO2 chemical potential as the composition changes.", "category": "documentation", "verdict": "supported", "priority": "P2", "s...
null
Cantera__cantera__483
Cantera/cantera
483
defect
684262e945f67498fb7ab460578249ed7bd11188
8c20f610ec5218c70d39e9d88a12b17bc8a8d724
Remove has no python
Changes proposed in this pull request: - Remove the `HAS_NO_PYTHON` configuration variable to allow building just the library, then adding the Python interfaces without rebuilding everything. See https://groups.google.com/forum/#!topic/cantera-users/a3IK3A4XEfI - Rework SConstruct to recognize that SCons can be run b...
diff --git a/SConstruct b/SConstruct index 32dc1967c48..6f2ee4077e0 100644 --- a/SConstruct +++ b/SConstruct @@ -109,6 +109,10 @@ if 'clean' in COMMAND_LINE_TARGETS: else: Alias('clean', []) +if 'test-clean' in COMMAND_LINE_TARGETS: + removeDirectory('build/test') + removeDirectory('test/work') + ...
6
4
1
[{"id": "G0", "claim": "The new `test-clean` command needs to be documented in the docstring for `SConstruct` (and possibly elsewhere).", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G8", "claim": "The remaining references to `HAS_NO_PYTHON` in the test suite shou...
null
Cantera__cantera__600
Cantera/cantera
600
defect
540777c32b57d99c61d0bf1e2cc825353be4846b
815a038ca4c5da459b64868e295c8de96a4c1030
Fix Chebyshev rate constant when using local quantity units
Since the leading Chebyshev coefficient has effective units like log(cm^3/kmol), it needs to be converted directly to the default units of the CTI file. Analogous to the fix for PLOG reactions in #435.
diff --git a/interfaces/cython/cantera/ck2cti.py b/interfaces/cython/cantera/ck2cti.py index 2f9dc64a29e..787727de5ac 100644 --- a/interfaces/cython/cantera/ck2cti.py +++ b/interfaces/cython/cantera/ck2cti.py @@ -65,6 +65,8 @@ 'KJOULES/MOL': 'kJ/mol', 'KJOULES/MOLE': 'kJ/mol'} +Avoga...
1
1
0
[{"id": "G0", "claim": "Document where the value of the Avogadro constant comes from, since it appears to differ from the CODATA value cited.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cantera__cantera__606
Cantera/cantera
606
defect
1f70f7751c25cc9ce7211ede1800f0c5d68eedec
0b3a150ec15505b533efdb15c01312879e51781b
Fix property updates in BinarySolutionTabulatedThermo
Because `IdealSolidSolnPhase::_updateThermo` wasn't a virtual method, and the signature wasn't the same as `BinarySolutionTabulatedThermo::_updateThermo` (const vs non-const), calls to this method from `IdealSolidSolnPhase` weren't being overridden by ` BinarySolutionTabulatedThermo::_updateThermo` as expected. Aft...
diff --git a/include/cantera/thermo/BinarySolutionTabulatedThermo.h b/include/cantera/thermo/BinarySolutionTabulatedThermo.h index 671b22a9ec5..11c2e9d7f78 100644 --- a/include/cantera/thermo/BinarySolutionTabulatedThermo.h +++ b/include/cantera/thermo/BinarySolutionTabulatedThermo.h @@ -156,7 +156,7 @@ class BinarySol...
1
1
0
[{"id": "G1", "claim": "The old implementation is unsatisfactory and the PR's new approach (storing the tabulated values and applying them on every update) is a lot better.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
Cantera__cantera__643
Cantera/cantera
643
defect
edcc9c59fd6f8eb39a3164f388fbb9025e913af7
8b2bdbc0bbf56e40c4662fd8f7f15af3d62b1ee8
Deprecate PureFluid.h
Changes proposed in this pull request: - Deprecate `PureFluid.h`, the convenience wrapper around `PureFluidPhase`. It can be replaced with `PureFluidPhase::initThermoFile()` or other `ThermoPhase` creation methods. - Update the `rankine.cpp` sample, which was the only code in the repository that used `PureFluid.h` ...
diff --git a/.travis.yml b/.travis.yml index 73297f907d7..ffec2afc2eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,8 +49,8 @@ before_script: | fi rm -f cantera.conf script: | + set -e if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - set -e scons build -j2 python_cmd=/usr/bin/python3 VERBOSE=y p...
10
9
3
[{"id": "G0", "claim": "The deprecation work is still incomplete: `warn_deprecated()` needs to be added for the deprecation in the PureFluid class constructors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Failing tests on macOS do not fail the CI...
null
Cantera__cantera__692
Cantera/cantera
692
defect
080585462f6067edad16ed13413e7426e01fbbf7
ddcef889b847f0f3aebe1da99599d0b113a2ba5f
Pickle serialization of Solution objects
Pickle support for `Solution` objects would facilitate __multiprocessing applications__, where each thread/process is working with a separate copy of a Solution object. The approach is comparable to constructing the object from an input file plus setting phase and state vector. Closes Cantera/enhancements#10 ~The...
diff --git a/include/cantera/kinetics/Kinetics.h b/include/cantera/kinetics/Kinetics.h index 9a0e2e2e10e..f01e21fbbad 100644 --- a/include/cantera/kinetics/Kinetics.h +++ b/include/cantera/kinetics/Kinetics.h @@ -132,7 +132,7 @@ class Kinetics //! Each class derived from Kinetics should override this method to ret...
7
6
3
[{"id": "G0", "claim": "The current implementation deactivates errors for calls of Solution() without arguments and leaves the _SolutionBase in an unsafe state that can segfault, so making empty objects safe still needs work.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
Cantera__cantera__722
Cantera/cantera
722
defect
fe7be79552433c3779ffbd5b018a493114fffdbc
5fe69ac8b8e8d5c842bf829413033169bcdf18dc
[Thermo] Adds phaseOfMatter function
Changes proposed in this pull request: - `phaseOfMatter()` returns the mechanical phase (liquid, vapor, etc.) of the matter in the Phase. Not sure if this will be more generally useful. I was using it to help debug #721, but added it here to the `PureFluidPhase` instead of `WaterSSTP` because I don't want to touch ...
diff --git a/include/cantera/thermo/PureFluidPhase.h b/include/cantera/thermo/PureFluidPhase.h index f4c76098b7f..f54c351c664 100644 --- a/include/cantera/thermo/PureFluidPhase.h +++ b/include/cantera/thermo/PureFluidPhase.h @@ -37,6 +37,20 @@ class PureFluidPhase : public ThermoPhase return "PureFluid"; ...
10
10
2
[{"id": "G0", "claim": "The new getPhase/phaseOfMatter method is implemented only for PureFluidPhase and throws NotImplementedError (later returning 'unspecified') everywhere else; implementations should be added for other phase types, at least the easy and commonly-used ones, with the tricky cases deferred.", "categor...
null
Cantera__cantera__741
Cantera/cantera
741
defect
ce47733c42d0505e20adf3b2a4cff2b27eb10a24
8e5f86f95ce7c343aa9c4321f4b052c18e0357dc
Improve warning messages in C++
**Please fill in the issue number this pull request is fixing** Fixes #683 **Changes proposed in this pull request** - introduce `warn_user` in C++ layer (in analogy to `warn_deprecated`) - create uniform formatting for warnings - add information on method raising the warning - replace various occurrences o...
diff --git a/include/cantera/base/global.h b/include/cantera/base/global.h index f186f5163bd..1f2e70ec2ff 100644 --- a/include/cantera/base/global.h +++ b/include/cantera/base/global.h @@ -187,6 +187,22 @@ void warn_deprecated(const std::string& method, const std::string& extra=""); //! @copydoc Application::suppress_...
12
10
2
[{"id": "G0", "claim": "The include of cantera/base/fmt.h that the pull request adds to src/base/global.cpp is unused.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "warn_user should call fmt::format only when additional arguments for substituti...
null
Cantera__cantera__784
Cantera/cantera
784
defect
237936c7404377430faddc125bbe98f876a5d789
d727b806a499a58a2f57acbb40e398426d127ae4
Add vapor fraction as option for setting state in YAML files
- [x] There is a clear use-case for this code change - [x] The commit message has a short title & references relevant issues - [x] Build passes (`scons build` & `scons test`) and unit tests address code coverage **Please fill in the issue number this pull request is fixing** Addressing a question from @ischoegl...
diff --git a/interfaces/cython/cantera/test/test_thermo.py b/interfaces/cython/cantera/test/test_thermo.py index 5fb0b3e1297..ada5d81fa9e 100644 --- a/interfaces/cython/cantera/test/test_thermo.py +++ b/interfaces/cython/cantera/test/test_thermo.py @@ -1690,6 +1690,27 @@ def test_purefluid_getters(self): o...
4
3
1
[{"id": "G0", "claim": "The pull request should add tests covering the new error messages and the `vapor-fraction` state option.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated T-P-Q state-setting logic should be moved to a single spot in ...
null
Cantera__cantera__787
Cantera/cantera
787
defect
237936c7404377430faddc125bbe98f876a5d789
9ba7926b09340a1b508ba40169d6603c131eeac2
Deprecate redundant ThermoPhase classes
- [x] There is a clear use-case for this code change - [x] The commit message has a short title & references relevant issues - [x] Build passes (`scons build` & `scons test`) and unit tests address code coverage **Changes proposed in this pull request** - Deprecate the "gas" mode of `IdealSolnGasVPSS` - this mode...
diff --git a/doc/sphinx/yaml/phases.rst b/doc/sphinx/yaml/phases.rst index 15608f942b4..9ea41422273 100644 --- a/doc/sphinx/yaml/phases.rst +++ b/doc/sphinx/yaml/phases.rst @@ -344,6 +344,10 @@ Example:: A phase defined by a fixed value of the chemical potential, as `described here <https://cantera.org/documentation/...
3
2
2
[{"id": "G0", "claim": "The deprecation warning in the fourth FixedChemPotSSTP constructor differs from the other three — it names the class without a space and recommends a Mu0Poly (piecewise-Gibbs) species thermo model instead of the constant-cp model — possibly a copy-paste error.", "category": "documentation", "ver...
null
Cantera__cantera__880
Cantera/cantera
880
defect
d321abe1c0a4c5f1c882a8f20a2c898b3b316f12
cebdfd8f23f72d0302f1b3c0ab46040e2230e6a6
Improve error message for missing phases key
<!-- Thanks for contributing code! Please include a description of your change and check your PR against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/master/CONTRIBUTING.md). --> **Checklist** - [x] There is a clear use-case for this code change ...
diff --git a/.gitignore b/.gitignore index 098561c4be0..67f751f5349 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,14 @@ doc/ctdeploy_key *.exe.manifest build/ test/work/ +test_problems/ChemEquil_ionizedGas/ChemEquil_ionizedGas +test_problems/cathermo/testWaterPDSS/WaterPDSS +test_problems/cathermo/testWaterTP/...
2
2
0
[{"id": "G0", "claim": "The PR fixes the misleading error for a missing 'phases' key only in the Python interface, and the corresponding change should also be made for the C++ interface (in the newPhase function).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G...
null
Cantera__cantera__899
Cantera/cantera
899
defect
07dac7be8244ab6bea23a48096f891bdea45f3ab
3bd7da7a15f9552baea6514820bca1c878ce64af
Minor fixes in AnyValue and scons
<!-- Thanks for contributing code! Please include a description of your change and check your PR against the list below. For further questions, refer to the contributing guide (https://github.com/Cantera/cantera/blob/main/CONTRIBUTING.md). --> **Changes proposed in this pull request** - ensure that a YAML field: ...
diff --git a/SConstruct b/SConstruct index 276f9b1e0be..334a4ee43e9 100644 --- a/SConstruct +++ b/SConstruct @@ -1781,15 +1781,18 @@ def postInstallMessage(target, source, env): """.format(**env_dict)) if os.name != 'nt': + env['setup_cantera'] = pjoin(env['ct_bindir'], 'setup_cantera') + ...
4
3
1
[{"id": "G0", "claim": "The comment added above `target = nodestr;` in AnyMap.cpp is incorrect — it attributes the implicit string-to-number conversion to yaml-cpp, whereas the conversion is decided in this method based on whether the string looks like an integer or floating point value, and it should instead say quote...
null
Cantera__cantera__921
Cantera/cantera
921
defect
329aa3fb606f2c89627a3993f398ccb56c6cf42c
fa548e2a849abc43352406876e463c61be0e4669
Fix open WaterPropsIAPWS issues / add WaterSSTP as alternative Water backend
There are some open issues with `WaterPropsIAWSS`; adding access to `WaterSSTP` via an alternative backend to the `Water` wrapper facilitates interactions with underlying C++ objects. The `WaterPropsIAPWS` helper classes implement a highly accurate Industrial Formulation for the equation of state for pure water, whi...
diff --git a/data/liquidvapor.yaml b/data/liquidvapor.yaml index 123a234cf89..2c45fd14024 100644 --- a/data/liquidvapor.yaml +++ b/data/liquidvapor.yaml @@ -25,6 +25,17 @@ phases: T: 300.0 P: 1.01325e+05 pure-fluid-name: water +- name: water-iapws95 + elements: [O, H] + species: [H2O] + thermo: liquid-w...
7
6
2
[{"id": "G0", "claim": "WaterSSTP::type() should return \"liquid-water-IAPWS95\" instead of the initialism \"WaterSSTP\" added by this pull request.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new WaterProps docstring should not say the helper cla...
null
Cap-go__capgo__1845
Cap-go/capgo
1,845
defect
68c69579354fef6dc33a5566ddc52b1f25a12e3f
f8106e2e84034e3ea2bfa952cefb8ce947b19522
fix(api): enforce org security settings validation
## Summary (AI generated) - route dashboard organization security setting updates through `PUT /organization` - extend `PUT /organization` to validate encrypted bundle key updates - enforce `max_apikey_expiration_days` at the database layer to block direct REST/RLS bypasses - add regression coverage for the direct org...
diff --git a/src/pages/settings/organization/Security.vue b/src/pages/settings/organization/Security.vue index 251496bec8..22afb2ee64 100644 --- a/src/pages/settings/organization/Security.vue +++ b/src/pages/settings/organization/Security.vue @@ -422,12 +422,8 @@ async function save2faEnforcement(value: boolean) { i...
1
1
0
[{"id": "G0", "claim": "Consider using `it.concurrent()` for the new direct-org-update RLS test instead of `it()` to match the parallel-execution guideline, while acknowledging the sequential execution may be intentional.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cap-go__capgo__1879
Cap-go/capgo
1,879
defect
3fd1ec787f901eb8db08bc6c7a7c649dee2849c8
b0049509774241c30d2c3f8fc331c0f88e13736d
fix: stop /updates from serving deleted bundles
## Summary _(AI generated)_ - exclude deleted `app_versions` from both `/updates` channel-selection joins so soft-deleted bundles are no longer returned - keep the deleted-bundle guard on the existing channel-to-version primary-key join path and document the hot-path performance rationale - revert the `supabaseAdmin`...
diff --git a/supabase/functions/_backend/utils/pg.ts b/supabase/functions/_backend/utils/pg.ts index b6377cb322..1539e6727f 100644 --- a/supabase/functions/_backend/utils/pg.ts +++ b/supabase/functions/_backend/utils/pg.ts @@ -434,7 +434,7 @@ export function requestInfosChannelDevicePostgres( .select(selectShape) ...
7
5
2
[{"id": "G0", "claim": "Filtering the channel_devices override join with eq(versionAlias.deleted, false) makes an override row disappear when its channel points at a soft-deleted bundle, so /updates treats it as no override and can silently fall back to the default/public channel instead of returning an explicit no-upd...
null
Cap-go__capgo__1919
Cap-go/capgo
1,919
defect
49f83a2797f7c4b85b17636b628635fd63a3e4eb
47fddcfbd03072c20e8ef34245eb5b877a3f4bb3
fix: validate file paths and SSO metadata to prevent 500 errors
## Summary (AI generated) - harden file upload path decoding so malformed percent-encoded attachment keys fail as client errors instead of crashing the files worker - harden SSO enforcement JWT provider parsing so malformed `app_metadata.providers` entries do not trigger internal server errors - add regression tests f...
diff --git a/supabase/functions/_backend/files/files.ts b/supabase/functions/_backend/files/files.ts index f98e78b294..3580e7f1e1 100644 --- a/supabase/functions/_backend/files/files.ts +++ b/supabase/functions/_backend/files/files.ts @@ -589,11 +589,86 @@ function optionsHandler(c: Context) { }) } +const ATTACHM...
3
3
2
[{"id": "G0", "claim": "Don't URL-decode Upload-Metadata.filename in setKeyFromMetadata: the value is base64 TUS payload, so decodeURIComponent turns valid names like 100%.zip into 400s and rewrites %20/%2F literals into different object keys; normalization should stay on raw route ids, and the new 100%.zip rejection t...
null
Cap-go__capgo__1923
Cap-go/capgo
1,923
defect
ed16dd2ab1911519a9bd806e4455edd92c302c3b
b2561ee8f21bf665d54abd7d988053c68bbb8595
fix(backend): harden cron_stat_app follow-up failures
## Summary (AI generated) - make the `cron_stat_app` org timestamp refresh best-effort after stats rows are already written - make the follow-up `queue_cron_stat_org_for_org` call best-effort so transient PostgREST failures do not turn a successful stats refresh into a 5xx - add a unit regression test covering both th...
diff --git a/supabase/functions/_backend/triggers/cron_stat_app.ts b/supabase/functions/_backend/triggers/cron_stat_app.ts index 3655a03999..cf24c8dcf3 100644 --- a/supabase/functions/_backend/triggers/cron_stat_app.ts +++ b/supabase/functions/_backend/triggers/cron_stat_app.ts @@ -1,7 +1,7 @@ import type { Middleware...
4
3
2
[{"id": "G0", "claim": "The test's orgs mock dispatches builders by call order via the orgBuilders array, so it will silently break if the production code changes the order or adds another orgs query; the mock should dispatch on the method called instead.", "category": "testing", "verdict": "uncertain", "priority": "P2...
null
Cap-go__capgo__1924
Cap-go/capgo
1,924
defect
2d57499fba5081a6e8a00d4dc391569a57876296
6c9c533ec51c085bddbf64c9d0902766fa98b36a
fix(frontend): handle cancelled photo picker errors
## Summary (AI generated) - handle Capacitor camera/photo-picker cancellation rejections in the shared photo helpers - avoid reporting expected user-cancel flows like PostHog issue `019da6f5-f886-7a32-be5f-381fa7ea5436` (`User cancelled photos app`) as runtime errors - add unit coverage for cancelled and non-cancelled...
diff --git a/src/services/photos.ts b/src/services/photos.ts index 58c00fdac8..ab84efe280 100644 --- a/src/services/photos.ts +++ b/src/services/photos.ts @@ -25,6 +25,27 @@ function normalizeImageStoragePath(path?: string | null) { return pathWithoutQuery.replace(IMAGES_PREFIX_REGEX, '').replace(LEADING_SLASHES_REG...
3
3
1
[{"id": "G0", "claim": "Matching any message containing 'cancelled'/'canceled' is too broad and can mask non-user failures; cancellation should be narrowed to a user-cancel context.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Test imports should ...
null
Cap-go__capgo__1926
Cap-go/capgo
1,926
defect
2d57499fba5081a6e8a00d4dc391569a57876296
bc62acbd7487349043f1cfe4b72604fe5a415dd1
fix(frontend): guard dashboard date range parsing
## Summary (AI generated) - normalize dashboard date filters before building the statistics request - fall back to a stable last-30-day window when a dashboard date is missing or invalid - add unit coverage for valid, missing, and invalid date ranges ## Motivation (AI generated) PostHog reported a `RangeError: Inval...
diff --git a/src/services/supabase.ts b/src/services/supabase.ts index 7e692dca5c..23a6faedbf 100644 --- a/src/services/supabase.ts +++ b/src/services/supabase.ts @@ -217,10 +217,36 @@ export interface AppUsageGlobalByApp { byApp: AppUsageByApp[] } +function parseDashboardRangeDate(value?: string) { + if (!value...
5
5
3
[{"id": "G0", "claim": "normalizeDashboardDateRange can return start > end when one resolved bound lands after the other, producing an unusable query interval, so guard inverted ranges after fallback resolution and lock the behavior with a start-after-end regression test.", "category": "correctness", "verdict": "suppor...
null
Cap-go__capgo__1927
Cap-go/capgo
1,927
defect
2d57499fba5081a6e8a00d4dc391569a57876296
8fbab4f7ccbedde5e0f81d1ed62b7e5e7e86c683
fix(frontend): guard chart tooltip canvas lifecycle
## Summary (AI generated) - skip custom chart overlay drawing when the chart canvas has already been disconnected - reuse the connected-canvas check in the chart tooltip service instead of assuming the canvas is still alive - add unit coverage for disconnected canvases in the vertical hover line and today line plugins...
diff --git a/src/services/chartTooltip.ts b/src/services/chartTooltip.ts index 92dee04b97..2776de3a17 100644 --- a/src/services/chartTooltip.ts +++ b/src/services/chartTooltip.ts @@ -28,8 +28,14 @@ function getCanvasContext(ctx: unknown): CanvasRenderingContext2D | null { return null } +function hasConnectedCanva...
1
1
0
[{"id": "G0", "claim": "The two new independent unit tests at lines 48 and 75 should use it.concurrent() instead of it() so they run in parallel, aligning with the test-suite convention of maximizing parallelism for faster CI/CD.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Cap-go__capgo__1934
Cap-go/capgo
1,934
defect
3b4fef33f978dab5d5ce81b30095adf36f798326
59d2d91219e6fa60fbb05503327e1ec30baae63a
[codex] harden files upload retries and alert resilience
## Summary (AI generated) - retry transient Durable Object reset responses for TUS uploads, including zero-byte create requests that can now be safely replayed - recover PATCH uploads by reloading the current TUS offset after a retryable Durable Object reset instead of surfacing a generic hard failure - harden backend...
diff --git a/supabase/functions/_backend/files/files.ts b/supabase/functions/_backend/files/files.ts index 41e30e337f..db37cf308e 100644 --- a/supabase/functions/_backend/files/files.ts +++ b/supabase/functions/_backend/files/files.ts @@ -21,9 +21,9 @@ import { app as files_config } from './files_config.ts' import { p...
4
3
2
[{"id": "G0", "claim": "Docstring coverage of 7.89% is below the required 80% threshold and docstrings should be written for the missing functions.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "existInEnv() using `key in getContextEnv(c)` treats ...
null
Cap-go__capgo__1939
Cap-go/capgo
1,939
defect
fca632095417d8016d778b33608f0c21046c3980
9394ef4239b6230b3b0d72578f188757a1b28419
fix: suppress transient operational alerts
## Summary (AI generated) - suppress Discord crash alerts for expected operational 503 responses from builder and file storage paths - return a retryable upload response when a Durable Object moves during a streaming TUS upload instead of surfacing a crash alert - delay queue failure Discord alerts until the retry bud...
diff --git a/supabase/functions/_backend/files/files.ts b/supabase/functions/_backend/files/files.ts index 41e30e337f..92c7f35d55 100644 --- a/supabase/functions/_backend/files/files.ts +++ b/supabase/functions/_backend/files/files.ts @@ -56,6 +56,20 @@ function canReplayUploadRequest(request: Request): boolean { re...
6
3
2
[{"id": "G0", "claim": "The response-body previews from downstream service failures are embedded in Discord alerts unsanitized and may leak sensitive data (API keys, PII, stack traces) to a third-party service; the field should be sanitized or omitted.", "category": "security", "verdict": "supported", "priority": "P1",...
null
Cap-go__capgo__1940
Cap-go/capgo
1,940
defect
be0c55e6f6a691e79e619370e81859f04db90525
3f6f2b48cf52607169fac3da6bdf3ac7ec429121
[codex] add stripe emulator vitest coverage and playwright ci
## Summary (AI generated) - add emulator-backed Vitest coverage for Stripe checkout fallback behavior - make `bun run test:front` start a fresh seeded Supabase backend before Playwright - add a dedicated GitHub Actions Playwright job and harden Playwright startup for CI ## Motivation (AI generated) Stripe emulator s...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 68e0ccce5d..d18f1d27cf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -198,5 +198,36 @@ jobs: working-directory: . - name: Run Cloudflare Workers backend tests run: bun run test:cloudfl...
19
15
8
[{"id": "G0", "claim": "The Supabase health check should also accept PUBLISHABLE_KEY and SECRET_KEY as aliases for ANON_KEY and SERVICE_ROLE_KEY, since a valid `supabase status -o json` payload using the alternate key names can be marked unhealthy and trigger unnecessary restarts or fail the Playwright bootstrap.", "ca...
null
Cap-go__capgo__1941
Cap-go/capgo
1,941
defect
633aeeab3d39e05ae769db2ad376a3f03f578a55
7f8644ca60978c894633bf280ec43851a0efce4e
fix: repair Cloudflare device cursor pagination
## Summary (AI generated) - Fix Cloudflare `/private/devices` cursor pagination so `nextCursor` advances after per-device grouping - Add a regression test covering ascending and descending cursor queries on the Analytics Engine path ## Motivation (AI generated) The Cloudflare/workerd implementation applied cursor fi...
diff --git a/supabase/functions/_backend/utils/cloudflare.ts b/supabase/functions/_backend/utils/cloudflare.ts index 8522b4f929..145ce2768f 100644 --- a/supabase/functions/_backend/utils/cloudflare.ts +++ b/supabase/functions/_backend/utils/cloudflare.ts @@ -606,16 +606,34 @@ interface DeviceInfoCF { updated_at: str...
3
3
1
[{"id": "G0", "claim": "Raw `deviceIds` and `search` values are logged and may contain sensitive identifiers/user input; they should be redacted or summarized before logging.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new pagination tests shoul...
null
Cap-go__capgo__1942
Cap-go/capgo
1,942
defect
33048cde03baae4fce8894aaad2dfbe7d0d388c4
06a9ad2171f7c3582ef2919302dfe6c6d96fb78e
[codex] fix RBAC mixed-scope role escalation
## Summary (AI generated) - reject RBAC role bindings when the selected role family does not match the requested binding scope - block direct RBAC assignment to pending invitees before they accept their org invitation - enforce the same scope invariant in Postgres, delete malformed mixed-scope bindings, and ignore any...
diff --git a/supabase/functions/_backend/private/role_bindings.ts b/supabase/functions/_backend/private/role_bindings.ts index faa68c94c1..83aacdef7c 100644 --- a/supabase/functions/_backend/private/role_bindings.ts +++ b/supabase/functions/_backend/private/role_bindings.ts @@ -78,41 +78,54 @@ function validateScope(sc...
5
4
4
[{"id": "G0", "claim": "Ignore expired and scope-mismatched direct role_bindings rows in the org-membership fallback so a user with only stale or invalid RBAC linkage cannot pass the membership gate.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Set t...
null
Cap-go__capgo__1943
Cap-go/capgo
1,943
defect
33048cde03baae4fce8894aaad2dfbe7d0d388c4
f13942d4c0f4f899e37d7b595ee29cfb2705ad88
[codex] fix preview subdomain collision
## Summary (AI generated) - replace the preview `.` to `__` hostname encoding with a reversible escaped format - keep legacy preview hostnames working while routing new preview links through the collision-safe format - add focused unit coverage for dotted vs double-underscore app IDs and legacy hostname parsing ## Mo...
diff --git a/shared/preview-subdomain.ts b/shared/preview-subdomain.ts new file mode 100644 index 0000000000..e29598ca33 --- /dev/null +++ b/shared/preview-subdomain.ts @@ -0,0 +1,99 @@ +const PREVIEW_HOSTNAME_REGEX = /^([^.]+)\.preview(?:\.[^.]+)?\.(?:capgo\.app|usecapgo\.com)$/ +const PREVIEW_VERSION_SEPARATOR = '--'...
3
3
1
[{"id": "G0", "claim": "buildPreviewSubdomain appends the escaped app-id plus the --{version} suffix without any 63-character DNS label check, so valid long app IDs can produce host labels that cannot resolve and preview links fail in production (e.g. com.organizationname.myapplicationproductionreleasex with an 8-digit...
null
Cap-go__capgo__1945
Cap-go/capgo
1,945
defect
633aeeab3d39e05ae769db2ad376a3f03f578a55
596b44596a1a758c78c20d04a53cf0250f6b65b1
fix(channel): enforce public channel uniqueness
## Summary (AI generated) - add a database trigger that serializes public-channel writes per app and demotes overlapping public channels before commit - add partial unique indexes for public iOS, Android, and Electron channels so concurrent writes cannot leave multiple winners - align the async `on_channel_update` fal...
diff --git a/supabase/functions/_backend/triggers/on_channel_update.ts b/supabase/functions/_backend/triggers/on_channel_update.ts index 0523a9289c..9ddcdd8f74 100644 --- a/supabase/functions/_backend/triggers/on_channel_update.ts +++ b/supabase/functions/_backend/triggers/on_channel_update.ts @@ -56,16 +56,6 @@ app.po...
8
5
2
[{"id": "G0", "claim": "Run the isolated public-channel uniqueness test cases with it.concurrent() instead of it() to parallelize them per the coding guidelines.", "category": "testing", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The migration and trigger handle Electron as...
null
Cap-go__capgo__1950
Cap-go/capgo
1,950
defect
633aeeab3d39e05ae769db2ad376a3f03f578a55
0d7193d1c3355c6ecdef1bf18084b968cf96de9f
[codex] fix cross-org role binding takeover
## Summary (AI generated) - reject app-scoped role bindings in `/private/role_bindings` when the supplied `app_id` does not belong to the authorized `org_id` - harden `public.rbac_has_permission(...)` so stale or forged cross-org app/channel bindings are ignored - delete invalid cross-org role bindings during migratio...
diff --git a/supabase/functions/_backend/private/role_bindings.ts b/supabase/functions/_backend/private/role_bindings.ts index faa68c94c1..a030a8a5cc 100644 --- a/supabase/functions/_backend/private/role_bindings.ts +++ b/supabase/functions/_backend/private/role_bindings.ts @@ -78,6 +78,34 @@ function validateScope(sco...
5
5
4
[{"id": "G0", "claim": "For channel-scoped bindings, validateScopedAppOwnership only proves that app_id belongs to org_id, so a caller can still submit a channel from a different app/org and /private/role_bindings will persist the forged row; validate channel_id against the same app/org before insert.", "category": "co...
null
Cap-go__capgo__1953
Cap-go/capgo
1,953
defect
633aeeab3d39e05ae769db2ad376a3f03f578a55
bfd893591fdd4c49f78c7835fd5710ad702e5eb6
fix: use MAIN_SUPABASE_DB_URL for retention backfill
## Summary (AI generated) - make the retention backfill script accept MAIN_SUPABASE_DB_URL for apply writes - prefer the main write URL over fallback direct URL names to match the backend DB selection logic - add focused unit coverage for the DB URL resolver ## Motivation (AI generated) The production env file used ...
diff --git a/scripts/backfill_retention_metrics.ts b/scripts/backfill_retention_metrics.ts index 4169cb503d..4279dd0488 100644 --- a/scripts/backfill_retention_metrics.ts +++ b/scripts/backfill_retention_metrics.ts @@ -212,15 +212,16 @@ function getRequiredEnv(env: Record<string, string | undefined>, key: string) { ...
2
2
1
[{"id": "G0", "claim": "Avoid duplicating the DB env-key list across getDatabaseUrl and the getRequiredDatabaseUrl error message by centralizing it in one constant so the logic and text cannot drift.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
Cap-go__capgo__1959
Cap-go/capgo
1,959
defect
9b7ddc171d34b32fd646432f3e69d9e3f7c03a3d
168a7825b71003b90352d5dff0ff3ef2c478e158
[codex] fix build TUS HEAD fallback on mounted routes
## Summary (AI generated) - Treat `GET` requests carrying `Tus-Resumable` as a runtime fallback for TUS `HEAD` on build upload routes - Forward those fallback requests upstream as real `HEAD` requests - Add regression coverage for mounted `/build/upload/:jobId` and `/build/upload/:jobId/*` routing ## Motivation (AI g...
diff --git a/supabase/functions/_backend/public/build/index.ts b/supabase/functions/_backend/public/build/index.ts index 06faa0a34d..cd958b1c4d 100644 --- a/supabase/functions/_backend/public/build/index.ts +++ b/supabase/functions/_backend/public/build/index.ts @@ -89,22 +89,43 @@ app.post('/upload/:jobId', middleware...
1
1
0
[{"id": "G0", "claim": "Add a regression test for the GET /build/upload/:jobId (non-wildcard) TUS HEAD fallback, since only the wildcard route variant is covered.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cap-go__capgo__1961
Cap-go/capgo
1,961
defect
9b7ddc171d34b32fd646432f3e69d9e3f7c03a3d
34c8133ea10e5eb701ce6541eaa0d5d62d78f900
fix(db): deny retention metrics user access
## Summary (AI generated) - keep `public.daily_revenue_metrics` and `public.processed_stripe_events` as backend-only tables under the repo's deny-all RLS pattern - replace the incorrect `service_role` policy approach with explicit deny-all policies on both internal Stripe retention tables - extend the RLS pgTAP covera...
diff --git a/supabase/migrations/20260427110612_retention_metrics_service_role_rls.sql b/supabase/migrations/20260427110612_retention_metrics_service_role_rls.sql new file mode 100644 index 0000000000..24c53bb23c --- /dev/null +++ b/supabase/migrations/20260427110612_retention_metrics_service_role_rls.sql @@ -0,0 +1,21...
4
2
1
[{"id": "G0", "claim": "Add explicit pgTAP assertions that relrowsecurity is enabled on daily_revenue_metrics and processed_stripe_events, since the new policies_are checks would not fail if RLS were later disabled.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
Cap-go__capgo__1964
Cap-go/capgo
1,964
defect
9b7ddc171d34b32fd646432f3e69d9e3f7c03a3d
f1bf6a4d6d7fd2301b27b32c3ba102798d167704
fix(files): block orphaned attachment access
## Summary (AI generated) - enforce app-scoped attachment upload gating against plan-blocked apps before upload creation - require `app.upload_bundle` for attachment uploads and validate the `orgs/{owner_org}/apps/{app_id}/...` path shape - return `404` for app-scoped attachment reads once the app/org mapping no longe...
diff --git a/shared/preview-subdomain.ts b/shared/preview-subdomain.ts index 4aaabf44b1..752f97c196 100644 --- a/shared/preview-subdomain.ts +++ b/shared/preview-subdomain.ts @@ -1,165 +1 @@ -const PREVIEW_HOSTNAME_REGEX = /^([^.]+)\.preview(?:\.[^.]+)?\.(?:capgo\.app|usecapgo\.com)$/ -const PREVIEW_VERSION_SEPARATOR =...
9
7
5
[{"id": "G0", "claim": "The orphaned-read guard opens its DB connection with getPgClient(c, true), which routes read-only queries to regional replicas whose lag can let getAppByAppIdPg still return the app row after deletion, so GET /files/read/attachments/... can keep serving bytes for a deleted app even though the pa...
null
Cap-go__capgo__1973
Cap-go/capgo
1,973
defect
8983a170864551598b909bd6d21e72b73cc9981e
f59e180b8a485271c055f2574b2af9aaf633faa2
ci: use readable action version tags
## Summary (AI generated) - replace the workflow action commit SHAs with readable version tags in the CI files touched by the earlier Node 24 update - keep the existing Supabase CLI runtime pin for tests unchanged - disable SonarQube Cloud GitHub Actions analysis so the repo can intentionally use readable workflow ref...
diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 1445e92928..e62330c9eb 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -50,7 +50,7 @@ jobs: - name: Install dependencies run: bun install - name: ...
1
1
1
[{"id": "G0", "claim": "Seeding the upload-scoped apikey with key: null and key_hash: null via the service-role Supabase client may skip the apikeys_force_server_key trigger's key generation, so the insert may violate the apikeys_key_or_hash constraint and fail; use a non-admin role for the insert, or explicitly genera...
null
Cap-go__capgo__1980
Cap-go/capgo
1,980
defect
3b3dc0decfa327da967e8ed486199d63bce27248
d12d16a60b26de7d8e2b95e38fc95bbc42870e0b
fix: restore deleted-account recovery flow
## Summary (AI generated) - add a self-service restore RPC for accounts still inside the 30-day deletion window - send deleted users to the recovery screen instead of organization onboarding - let the recovery screen restore the account and redirect back to the intended page - harden organization loading so a missing ...
diff --git a/messages/en.json b/messages/en.json index f425a32032..9a84ec675d 100644 --- a/messages/en.json +++ b/messages/en.json @@ -47,10 +47,14 @@ "account": "Account", "account-deleted-successfully": "Account deleted successfully", "account-deletion-requested": "You have requested your account to be delet...
4
4
3
[{"id": "G0", "claim": "restore_deleted_account() deletes the to_delete_accounts row unconditionally, so an account whose deletion row still exists can be restored even after the 30-day recovery window has elapsed (e.g. while cleanup is delayed or backlogged), and the RPC silently succeeds as a no-op for accounts not a...
null
Cap-go__capgo__1981
Cap-go/capgo
1,981
defect
13aa7177f4960c59cf50440e36848b3161de94d7
a7010af2a74f0c619373bbff4dfaad40c1485a1e
fix(ci): split capgo and cli release workflows
## Summary (AI generated) - split the monorepo release flow into separate Capgo and CLI lanes - run the reusable test workflow only for the component that actually needs a release on `main` and `development` pushes - add a release-scope script so workflow-only and docs-only pushes do not bump product versions - publis...
diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index e62330c9eb..f1b2fb4ec9 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -7,7 +7,7 @@ concurrency: on: push: tags: - - '*' + - 'v*' permissions: {} ...
11
10
6
[{"id": "G0", "claim": "Commits that modify cli/skills/** set run_cli=false and skip the CLI version bump/tag because the release detector only treats cli/src, cli/package.json, cli/build.mjs, cli/tsconfig.json and cli/.npmrc as release-relevant, even though the npm package ships the skills directory.", "category": "co...
null
Cap-go__capgo__1985
Cap-go/capgo
1,985
defect
9e1151f9de83035713c049bad72e0d149dd09fdd
2221fcbf669eafd020dc4c9850ba7bec617ffd04
fix(ci): release on shared pipeline changes
## Summary (AI generated) - make `scripts/release-scope.ts` count shared release/test pipeline files for both Capgo and CLI - make `build_and_deploy.yml` count as Capgo-only release scope and `publish_cli.yml` count as CLI-only release scope - add a unit test that locks the matcher behavior and reproduces the `#1981` ...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ba52a6790a..e26a9f07a7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,6 +56,7 @@ jobs: shared: - '.github/workflows/**' - '.github/scripts/**' + - 'scri...
2
1
0
[{"id": "G0", "claim": "All test cases in tests/release-scope.test.ts should use it.concurrent() instead of it(), per the repository guideline for tests/**/*.test.ts files, to maximize parallelism.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The new ...
null
Cap-go__capgo__1998
Cap-go/capgo
1,998
defect
37063ae279f81e6cd201c9994bfd7ac61dbb2dd8
6b304b8c0361a9f98f1b6654fc977a88eb4f33f6
[codex] fix org security setting validation bypass
## Summary (AI generated) - Route dashboard organization security setting writes through the validated organization function. - Add database constraints for API key expiration limits and encryption key fingerprints on `public.orgs`. - Add API and SQL regression coverage for direct-write validation bypasses. ## Motiva...
diff --git a/src/pages/settings/organization/Security.vue b/src/pages/settings/organization/Security.vue index 251496bec8..2dfccbdefc 100644 --- a/src/pages/settings/organization/Security.vue +++ b/src/pages/settings/organization/Security.vue @@ -155,6 +155,19 @@ async function hasVerified2faFactor() { return !!veri...
1
1
1
[{"id": "G0", "claim": "The migration treats every non-21-character required_encryption_key as invalid and force-sets it to NULL, silently clearing previously valid 20-character fingerprints that the existing enforcement code supports and weakening specific-key enforcement for affected orgs without user action.", "cate...
null
Cap-go__capgo__2005
Cap-go/capgo
2,005
defect
b55a75e09fe600b75f9463b2a7138bc9cd97970b
719e4051a972ca4351adf440e3409d698dd25209
fix(auth): rate limit password compliance by account
## Summary (AI generated) - Added account-keyed failed-auth rate limiting to the existing password policy compliance verification endpoint. - Records failed password verification attempts by normalized account identifier while keeping the existing Supabase `signInWithPassword` flow. - Added unit coverage proving the e...
diff --git a/supabase/functions/_backend/private/validate_password_compliance.ts b/supabase/functions/_backend/private/validate_password_compliance.ts index 56a9cc9de5..091f65d2c3 100644 --- a/supabase/functions/_backend/private/validate_password_compliance.ts +++ b/supabase/functions/_backend/private/validate_password...
5
3
2
[{"id": "G0", "claim": "The new rate-limit test should also assert the 429 response body pins the account-specific reason `too_many_failed_account_auth_attempts`, not just the status code.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The account limit...
null
Cap-go__capgo__2010
Cap-go/capgo
2,010
defect
96971fd55fcbf707bae6f80dfd3f9799d0fc5230
594924745c0f20b5be981c1058200cb4c12977b3
feat(scripts): add Stripe revenue trend backfill
## Summary (AI generated) - Added a dry-run-first Stripe revenue trend backfill script for admin `global_stats` revenue charts. - Backfills subscription flow, subscription type, MRR, ARR, ARR by plan, churn revenue, and plan distribution trend fields. - Added focused unit tests for event replay, yearly/monthly plans, ...
diff --git a/package.json b/package.json index 2a49c4eaa7..d0f18736aa 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "stripe:backfill-retention-metrics": "bun scripts/backfill_retention_metrics.ts", "stripe:backfill-org-conversion-rate": "bun scripts/backfill_org_conversion_rate_trend.ts", ...
2
2
2
[{"id": "G0", "claim": "recordTransition adds a customer to newCustomerIds on every currentMrr <= 0 -> nextMrr > 0 transition, so re-subscribing customers inside the backfill window are counted again as new paying orgs, inflating backfilled global_stats.new_paying_orgs relative to the live first-payment-based metric.",...
null
Cap-go__capgo__2012
Cap-go/capgo
2,012
defect
b2e35e4cf76a2745c568ec913a9e3c2a14f6502c
276f1236847680f976abec476914bdef9ad0aaa7
feat(api): atomic API key creation with RBAC role bindings
## Summary - Allow creating an API key with RBAC role bindings in a **single `POST /apikey` call** instead of requiring two separate API calls (create key + assign bindings) - Make the `mode` column **nullable** in the `apikeys` table — `NULL` means permissions are managed exclusively via RBAC `role_bindings` - Backen...
diff --git a/cli/src/types/supabase.types.ts b/cli/src/types/supabase.types.ts index 55f3dd0698..82e5a8e69d 100644 --- a/cli/src/types/supabase.types.ts +++ b/cli/src/types/supabase.types.ts @@ -23,7 +23,7 @@ export type Database = { key_hash: string | null limited_to_apps: string[] | null ...
10
8
7
[{"id": "G0", "claim": "Add a client-side guard so the create flow cannot submit with empty bindings (no org role and no app bindings), which the server now always rejects with 400.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The anti-escalation ...
null
Cap-go__capgo__2018
Cap-go/capgo
2,018
defect
4f583d79c39425078ec2869a741f0a0a53ae5950
71f376de237511d035c7268b4b3f862fba7ac5af
[codex] fix GHSA-54mj-q77q-xwx5 RBAC demotion
## Summary (AI generated) - Block PATCH role binding updates when the existing bound role outranks the caller. - Add a database trigger that prevents demoting the last org `super_admin` binding. - Add regression coverage for the endpoint guard, database guard, and function execute hardening. ## Motivation (AI generat...
diff --git a/supabase/functions/_backend/private/role_bindings.ts b/supabase/functions/_backend/private/role_bindings.ts index 9af4cfc974..3f057adab9 100644 --- a/supabase/functions/_backend/private/role_bindings.ts +++ b/supabase/functions/_backend/private/role_bindings.ts @@ -646,6 +646,17 @@ app.patch( retu...
3
3
2
[{"id": "G0", "claim": "After the migration lands, a super_admin demoting the final org_super_admin binding will surface the CANNOT_DEMOTE_LAST_SUPER_ADMIN_BINDING guard as a generic 500 Internal server error, and the handler should translate it to a 409 conflict response instead.", "category": "correctness", "verdict"...
null
Cap-go__capgo__2020
Cap-go/capgo
2,020
defect
4f583d79c39425078ec2869a741f0a0a53ae5950
a9455622dc51ed4a112a123d730dbda32df7ab49
fix(security): prevent stale RBAC demotion privileges
## Summary (AI generated) - Fixed GHSA-rvvc-rvxv-qcrh by preventing stale legacy `org_users.user_right` values from preserving super-admin access after RBAC demotion. - Added a migration that syncs org-scope user `role_bindings` back to the legacy org membership row and updates encrypted-bundle cleanup RPCs to authori...
diff --git a/supabase/functions/_backend/private/role_bindings.ts b/supabase/functions/_backend/private/role_bindings.ts index 9af4cfc974..d02f0c7272 100644 --- a/supabase/functions/_backend/private/role_bindings.ts +++ b/supabase/functions/_backend/private/role_bindings.ts @@ -712,9 +712,30 @@ app.delete('/:binding_id...
1
1
0
[{"id": "G0", "claim": "An inline comment should be added explaining why the bidirectional key_id prefix matching (truncated and full key comparisons) is checked in both directions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Cap-go__capgo__2026
Cap-go/capgo
2,026
defect
4f583d79c39425078ec2869a741f0a0a53ae5950
0752cd719a48dff77566be3f318f3aa9c30b6226
[codex] Fix statistics app existence oracle
## Summary (AI generated) - Added explicit limited API key app/org scope denial before shared RBAC permission checks. - Normalized API-key missing-app statistics responses to `401 no_access_to_app`. - Added a regression test covering real sibling apps and fake app IDs with the same app-limited subkey. ## Motivation (...
diff --git a/supabase/functions/_backend/public/statistics/index.ts b/supabase/functions/_backend/public/statistics/index.ts index c173a9ff2c..d93e8db5f1 100644 --- a/supabase/functions/_backend/public/statistics/index.ts +++ b/supabase/functions/_backend/public/statistics/index.ts @@ -239,6 +239,9 @@ async function ge...
1
1
0
[{"id": "G0", "claim": "Make the regression test self-contained: it relies on `subkeyId` created by a previous test, making it order-dependent and not parallel-safe, so create a dedicated limited subkey inside the test and clean it up in `finally`.", "category": "testing", "verdict": "supported", "priority": "P2", "sco...
null
Cap-go__capgo__2051
Cap-go/capgo
2,051
defect
c0f5ca5fe4dc8221733587c830de0d041b5a0a39
467a7117323c9c253b289c970c43c7deaa383029
feat(api): add /private/config/builder endpoint
## Summary - Adds `GET /private/config/builder`, an unauthenticated CORS-enabled endpoint that serves build-onboarding configuration to the Capgo CLI's `build init` flow. - The first (and only, for now) payload it carries is the Google "Desktop app" OAuth client config used by the Android onboarding step: `clientId`, ...
diff --git a/cloudflare_workers/api/index.ts b/cloudflare_workers/api/index.ts index 74ddbf57e0..0d71b9c4a8 100644 --- a/cloudflare_workers/api/index.ts +++ b/cloudflare_workers/api/index.ts @@ -3,6 +3,7 @@ import { app as admin_credits } from '../../supabase/functions/_backend/private/ import { app as admin_stats } f...
2
1
1
[{"id": "G0", "claim": "The Supabase private function entrypoint (supabase/functions/private/index.ts) was not updated with the same route as the Cloudflare API router, so in environments running the Supabase private function directly the new endpoint will return 404.", "category": "correctness", "verdict": "supported"...
null
Cap-go__capgo__2056
Cap-go/capgo
2,056
defect
1fd1ce47afe0a6951dc5d18126638d079703f369
cff07e2e0ee9fe597cf2503fdfacbd13f44ae788
[codex] Fix devices cursor pagination without explicit order
## Summary (AI generated) - Fixed `/private/devices` cursor pagination when callers omit `order`. - Made the Cloudflare Analytics Engine path advance by `device_id` for the default `device_id ASC` ordering. - Matched the Supabase fallback path and added regression coverage for the no-order cursor case. ## Motivation ...
diff --git a/supabase/functions/_backend/utils/cloudflare.ts b/supabase/functions/_backend/utils/cloudflare.ts index a30dc6a8cc..d8530560a2 100644 --- a/supabase/functions/_backend/utils/cloudflare.ts +++ b/supabase/functions/_backend/utils/cloudflare.ts @@ -625,15 +625,18 @@ function getReadDevicesCFOrder(params: Read...
1
1
1
[{"id": "G0", "claim": "The change also updates readDevicesSB in supabase.ts, but the new tests only exercise the Cloudflare query builder; a small no-order cursor regression should be added for the Supabase fallback path to keep the two backends from drifting.", "category": "testing", "verdict": "supported", "priority...
null
Cap-go__capgo__2058
Cap-go/capgo
2,058
defect
0396172ee5f0318987c6e11fc86882d46b6dbf85
7f32c553a5ac3ee2f823844fa73bb2db7f81d4d1
fix(sso): trust auth email for account merge
## Summary (AI generated) - Changed SSO account merge candidate lookup to trust `auth.users.email` instead of mutable `public.users.email`. - Kept SSO provider-domain authorization before membership provisioning or identity transfer. - Added regression coverage for profile-email poisoning during SSO provisioning. ## ...
diff --git a/supabase/functions/_backend/private/sso/provision-user.ts b/supabase/functions/_backend/private/sso/provision-user.ts index f8ae8198f1..f110b1d9b4 100644 --- a/supabase/functions/_backend/private/sso/provision-user.ts +++ b/supabase/functions/_backend/private/sso/provision-user.ts @@ -359,42 +359,24 @@ app...
3
2
1
[{"id": "G0", "claim": "Routing every merge-candidate lookup through findCanonicalAuthUserIdByEmail converts duplicate auth-email ambiguity into a hard 500 user_lookup_failed that blocks affected users from completing SSO provisioning; handle duplicate candidates gracefully (for example by selecting the highest-priorit...
null
Cap-go__capgo__2059
Cap-go/capgo
2,059
defect
0396172ee5f0318987c6e11fc86882d46b6dbf85
8f1b6bd17953baf25a75c3e789be4d78e72b27a2
fix(plugin): gate usage credits on active balance
## Summary (AI generated) - Recomputes `orgs.has_usage_credits` from positive, unexpired usage credit grants. - Keeps plugin plan validation replica-safe while failing closed for expired or exhausted credits. - Adds regression coverage for `/updates` with expired, exhausted, and active credits. ## Motivation (AI gene...
diff --git a/supabase/functions/_backend/utils/pg.ts b/supabase/functions/_backend/utils/pg.ts index 085e2fce96..3b26ab4997 100644 --- a/supabase/functions/_backend/utils/pg.ts +++ b/supabase/functions/_backend/utils/pg.ts @@ -49,14 +49,11 @@ function buildPlanValidationExpression( )` // IMPORTANT: read replicas ...
1
1
1
[{"id": "G0", "claim": "The migration defines sync_org_has_usage_credits_from_grants() but never attaches it with a CREATE TRIGGER on usage_credit_grants, so grant INSERT/UPDATE/DELETE will not automatically update orgs.has_usage_credits.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
Cap-go__capgo__2065
Cap-go/capgo
2,065
defect
73774d1a09657c3c1cbd354afcf89288f5b8cb23
e7ff89b4111395692ad309dd6bacfdbac49f6089
[codex] add plugin region version check
## Summary (AI generated) - Added an API-secret-protected `/plugin_regions` API endpoint, with `/plugin_regions/versions` as an alias, to query every configured plugin region `/ok` endpoint. - Reports `status: ok` when all regions expose the same worker version, `status: mismatch` with the differing regions when drift...
diff --git a/cloudflare_workers/api/index.ts b/cloudflare_workers/api/index.ts index 38ccded10e..0a36a4311f 100644 --- a/cloudflare_workers/api/index.ts +++ b/cloudflare_workers/api/index.ts @@ -39,6 +39,7 @@ import { app as channel } from '../../supabase/functions/_backend/public/channel import { app as check_cpu_usa...
6
6
4
[{"id": "G0", "claim": "The plugin_regions version-probe endpoints are mounted without any auth middleware, so any external caller can trigger nine outbound /ok subrequests per hit and retrieve region deployment metadata; add authentication (middlewareAPISecret or middlewareKey) and, per coding guidelines, structured l...
null
Cap-go__capgo__2067
Cap-go/capgo
2,067
defect
f59b574a2410ae29a74fa8a5a7caef33abc6de08
5f73d9036cd2d71065930fd43095540da46db4d4
[codex] Fix channel promotion permission bypass
## Summary (AI generated) - Enforce `channel.promote_bundle` with the target `channelId` in `PUT /bundle`. - Add a database trigger to block direct `channels.version` updates when channel promotion is denied. - Update frontend promotion and rollback affordances to use channel-scoped permission checks. - Restore the se...
diff --git a/src/components/dashboard/DeploymentBanner.vue b/src/components/dashboard/DeploymentBanner.vue index 7a5f7e2ff6..001fd47935 100644 --- a/src/components/dashboard/DeploymentBanner.vue +++ b/src/components/dashboard/DeploymentBanner.vue @@ -23,9 +23,7 @@ * <DeploymentBanner :app-id="appId" @deployed="refres...
9
8
7
[{"id": "G0", "claim": "The rollback action is still rendered for unauthorized users and only errors after click; hide or disable the rollback affordance when canRollbackBundle resolves to false.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After this ...
null
Cap-go__capgo__2092
Cap-go/capgo
2,092
defect
cb600e4a59ac26283a2fb31af4d3291941d731db
b58bba4daf77b80b64316591c314785ab7b9e821
[codex] Enforce native build concurrency limits
## Summary (AI generated) - Adds `plans.native_build_concurrency` with DB values: Solo 2, Maker 3, Team 4, Enterprise 6. - Enforces native build concurrency from the current org plan row before `/build/start` calls the external builder. - Keeps slot reservation transactional by locking the org, counting active builds,...
diff --git a/supabase/functions/_backend/public/build/concurrency.ts b/supabase/functions/_backend/public/build/concurrency.ts new file mode 100644 index 0000000000..1147f95605 --- /dev/null +++ b/supabase/functions/_backend/public/build/concurrency.ts @@ -0,0 +1,152 @@ +import type { Context } from 'hono' +import { HT...
2
2
0
[{"id": "G0", "claim": "The initial value of `limit` in `reserveNativeBuildSlot` is unused since it is always overwritten, so `limit` should be declared without an eager initialization (`let limit: number`) instead of `let limit = getNativeBuildConcurrencyLimit(planName)`.", "category": "maintainability", "verdict": "s...
null
Cap-go__capgo__2095
Cap-go/capgo
2,095
defect
bf9ae363a4c7e56900ac3b15dda6d5965ff2e034
89772f3dac8d0d4f71ebe50f1ed7ed3c42de45f3
[codex] Fix missed component release recovery
## Summary (AI generated) - Make release scope resolution compare each component against its latest matching tag instead of only the latest push range. - Prevent reusable release test runs from cancelling other release test runs on `main`. - Add release-scope regression coverage for missed CLI changes after a later Ca...
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ba9f5cd5f5..71b513cfdd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ name: Run tests concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.e...
1
1
1
[{"id": "G0", "claim": "The blanket catch in getLatestComponentTag turns any git describe failure into null, causing getReleaseRangeBase to silently fall back to `before` even for real errors (bad ref, repo state issues, permission failures); only 'no matching tag' errors should trigger the fallback.", "category": "cor...
null
CapSoftware__Cap__1496
CapSoftware/Cap
1,496
defect
7c952080021f0163f7e0004d6e44e204a03663de
59d14948d97388e4e5e2e0c503b814f9d0408fdd
Refactor pause tracking and improve configuration defaults
- Consolidate pause tracking into a new SharedWallClockPause struct in the output pipeline, ensuring consistent pause duration tracking between video and audio streams across all platforms - Simplify serde configuration by using struct-level #[serde(default)] attributes instead of per-field annotations - Add clea...
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c73854a6a57..cb8f8d87f5c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -143,7 +143,7 @@ jobs: - target: aarch64-apple-darwin runner: macos-latest-xlarge - target: x86_6...
2
1
0
[{"id": "G0", "claim": "SharedWallClockPause::check should load the atomic pause flag before acquiring the mutex so the pause-state read happens as close as possible to flag changes, slightly improving timing precision.", "category": "performance", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id"...
null
CapSoftware__Cap__1661
CapSoftware/Cap
1,661
defect
83699f2d4caca6623df32fea787b22bfc3090759
58a9018432a157e60faa1fc793077722a03b4062
GPU context cleanup, exit guards, and error handling fixes
- Centralizes wgpu instance creation and software adapter detection into `cap_rendering`, eliminating duplicated GPU init logic across desktop and rendering crates - Adds `app_is_exiting` guards to background task loops and window event handlers to prevent spurious errors during shutdown - Replaces `unwrap()` cal...
diff --git a/apps/desktop/src-tauri/src/gpu_context.rs b/apps/desktop/src-tauri/src/gpu_context.rs index 4fb5fe6da6b..99a8de26432 100644 --- a/apps/desktop/src-tauri/src/gpu_context.rs +++ b/apps/desktop/src-tauri/src/gpu_context.rs @@ -49,31 +49,7 @@ pub struct SharedGpuContext { static GPU: OnceCell<Option<SharedGpu...
3
3
2
[{"id": "G0", "claim": "The screenshot editor's fallback path (when the shared GPU context is unavailable) still creates the wgpu instance directly with default descriptors instead of using the centralized cap_rendering::create_wgpu_instance(), which on Windows may skip the DX12-first probe and select a suboptimal back...
null
CapSoftware__Cap__1790
CapSoftware/Cap
1,790
defect
0a16319af53b7a589b7a97d67b05f47bbaf1bf6a
724d79fe8e0749675a7b52fb1e31e1935b06b6ab
generate animated GIF previews for videos (upload, share OG, hover)
Adds server-side preview GIF generation via FFmpeg, uploads it to S3 on process/mux and web upload paths, exposes a signed /api/video/preview redirect, uses that GIF in share Open Graph / Twitter metadata, and shows a hover preview on thumbnails. Also fixes extractAudio so the default timeout is honored when options ar...
diff --git a/apps/media-server/src/__tests__/lib/ffmpeg-video.integration.test.ts b/apps/media-server/src/__tests__/lib/ffmpeg-video.integration.test.ts index f2e9db51116..34866163bbb 100644 --- a/apps/media-server/src/__tests__/lib/ffmpeg-video.integration.test.ts +++ b/apps/media-server/src/__tests__/lib/ffmpeg-video...
2
2
1
[{"id": "G0", "claim": "When abortSignal fires during attempt N, the catch block stores the error and silently continues to the next attempt, but an already-aborted signal never re-fires its listener, so a cancelled job can run up to three extra 30-second ffmpeg processes after cancellation; add a guard at the top of t...
null
Captain-P-Goldfish__SCIM-SDK__140
Captain-P-Goldfish/SCIM-SDK
140
defect
d87d8fb1ead4d11c28e0ca64435a562b32d809c0
14343c4b9a4976a53590744075c27cfac6faca45
Allow PATCHes to succeed on readOnly and immutable fields when not modified
While doing an integration with a large online IdP it came up that they would PATCH `readOnly` fields of resources with unchanged values. This isn't strictly against the spec (from https://tools.ietf.org/html/rfc7644#section-3.5.2): > Each operation against an attribute MUST be compatible with the attribute’s mutabil...
diff --git a/scim-sdk-server/src/main/java/de/captaingoldfish/scim/sdk/server/patch/PatchResourceHandler.java b/scim-sdk-server/src/main/java/de/captaingoldfish/scim/sdk/server/patch/PatchResourceHandler.java index 183aa034c..e64d3ed28 100644 --- a/scim-sdk-server/src/main/java/de/captaingoldfish/scim/sdk/server/patch/...
2
1
0
[{"id": "G0", "claim": "The maintainer believes readOnly fields should not be mutable by a client and that with this solution readOnly ends up meaning the same as immutable, asking whether turning the affected fields to immutable would be a better solution.", "category": "design", "verdict": "opposed", "priority": "P3"...
null
Captain-P-Goldfish__SCIM-SDK__294
Captain-P-Goldfish/SCIM-SDK
294
defect
4c73428d2f52783ec59e5f472c3e17cb947d0101
f4afa025f6942663956439644100e88b2a2747b1
MsAzure workaround: Patching User:name sub-attributes with nested dot…
… notation This is a workaround in order to handle the broken patch requests of Microsoft Azure. Azure sends illegal patch-remove requests that looks as follows: PATCH /scim/Users/2752513 { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { ...
diff --git a/scim-sdk-server/src/main/java/de/captaingoldfish/scim/sdk/server/patch/MsAzurePatchReplaceWorkaroundHandler.java b/scim-sdk-server/src/main/java/de/captaingoldfish/scim/sdk/server/patch/MsAzurePatchReplaceWorkaroundHandler.java new file mode 100644 index 000000000..27234f8f3 --- /dev/null +++ b/scim-sdk-se...
2
2
1
[{"id": "G0", "claim": "Please move the schemas.isPresent() check outside (around) the field-name for-loop instead of evaluating it on every iteration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The value with a name.givenName top-level attr...
null
Card-Forge__forge__10348
Card-Forge/forge
10,348
defect
ab874f160ff1d444aa689c09d1c81e7303680243
1816d90f675b32aed557f464fe3794ff3f90aea5
Documentation update for delta sync + minor testing simplification
- Update Network Play wiki page to include network logs info - Add Network Testing page to Development section of Wiki outlining network testing tools - Minor network testing simplification: testConfigurableSequential and testConfigurableParallel use the same -Dtest.2pGames/3pGames/4pGames properties as the comprehen...
diff --git a/docs/Development/Network-Testing.md b/docs/Development/Network-Testing.md new file mode 100644 index 000000000000..f4a64d0ab217 --- /dev/null +++ b/docs/Development/Network-Testing.md @@ -0,0 +1,161 @@ +# Network Testing + +Automated testing tools have been developed for validating the network play pipelin...
1
1
0
[{"id": "G0", "claim": "The Status & Support section floods the reader with callouts for basic info that is not dangerous or especially useful, so the PR should not pile up so many callouts.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Card-Forge__forge__10487
Card-Forge/forge
10,487
defect
bb0e974a09e21d74e537e342538bac7d50eef940
5af36d37525fe75780e5f432f2cf821e4f984fed
Fix AI target selection for Saskia curse ability
Fixes an issue where Saskia (and other cards like True-Name Nemesis) could not select AI players as valid targets in multiplayer games. Root cause: AI player selection logic excluded certain player types incorrectly. Fix: Updated ChoosePlayerAi logic to include all valid opponents. Validation: - Added unit ...
diff --git a/forge-ai/src/main/java/forge/ai/ability/ChoosePlayerAi.java b/forge-ai/src/main/java/forge/ai/ability/ChoosePlayerAi.java index 783ddca37609..bbadc972d85d 100644 --- a/forge-ai/src/main/java/forge/ai/ability/ChoosePlayerAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/ChoosePlayerAi.java @@ -2,6 +2,7 ...
1
1
0
[{"id": "G0", "claim": "The PR should not duplicate the three-player game setup method in the test class; instead it should move it to the AITest parent class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Card-Forge__forge__8427
Card-Forge/forge
8,427
defect
95eb90eac2c42b16c207c50e1871cf5c1063b570
d695cf0209ea4cc22f97f38787144e4df9fefc1d
Break out main loop step: third time's the charm
- Broke out the main game loop into mainLoopStep() and setupFirstTurn() - Showed how the broken out main loop step can be used in integration testing of AI logic and game functionality - The broken out game step will allow for future simulation-style AI to use the main game engine's code instead of duplicating functi...
diff --git a/forge-game/src/main/java/forge/game/phase/PhaseHandler.java b/forge-game/src/main/java/forge/game/phase/PhaseHandler.java index 3513eb77976f..eef0f2c1f50f 100644 --- a/forge-game/src/main/java/forge/game/phase/PhaseHandler.java +++ b/forge-game/src/main/java/forge/game/phase/PhaseHandler.java @@ -1003,12 +...
2
2
0
[{"id": "G0", "claim": "The new AITest base class duplicates helper code that SimulationTest (and its old base) already contained — the shared test helpers should live in one place instead of being copied again.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
Card-Forge__forge__8587
Card-Forge/forge
8,587
defect
48a5046d9371b5eda6e9f709e2fe645e634dff55
989f3029332f8650648f38226770c0ff6c701214
GameAction: cleanup Static giving Abilities to the Stack
still WIP This fixes the problem with Herigast adding doubled Emerge to Spells on the Stack (castFrom wasn't set, so wasCast was false when Line567 was checked) Normal cases already works, but what now got broken is if Herigast got sacrificed, especially for Emerge Cost. Because it is still on the field when...
diff --git a/forge-game/src/main/java/forge/game/GameAction.java b/forge-game/src/main/java/forge/game/GameAction.java index c44ea5b1288c..6b7eb144b9ff 100644 --- a/forge-game/src/main/java/forge/game/GameAction.java +++ b/forge-game/src/main/java/forge/game/GameAction.java @@ -205,6 +205,7 @@ private Card changeZone(f...
5
4
1
[{"id": "G0", "claim": "In the 400.7a reinjection block, the keyword should be reused through the existing addKw multimap machinery instead of being added a second time via a direct addChangedCardKeywordsInternal call.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
Card-Forge__forge__9181
Card-Forge/forge
9,181
defect
d1f461196ab50f840aa4ec8cb09c9b7d576f936d
3b6e320d6aa0be0b2791a2b332dde6bc178aa9a4
Fix AI use of Repopulate
Fixes https://github.com/Card-Forge/forge/issues/9132
diff --git a/forge-ai/src/main/java/forge/ai/AiController.java b/forge-ai/src/main/java/forge/ai/AiController.java index 4f69e39df432..afad3c42272d 100644 --- a/forge-ai/src/main/java/forge/ai/AiController.java +++ b/forge-ai/src/main/java/forge/ai/AiController.java @@ -1708,7 +1708,7 @@ else if (!sa.getHostCard().isPe...
1
1
1
[{"id": "G0", "claim": "Reusing Ghastly Conscription's AILogic (ManifestCreatsFromGraveyard) on Repopulate doesn't fit the card and may make the AI play it wrongly (e.g. to save an opponent being milled out); instead the general Graveyard-origin logic in ChangeZoneAllAi should be debugged and extended rather than addin...
null
Card-Forge__forge__9224
Card-Forge/forge
9,224
defect
df50127e2a6f0f8f4dae8d5af1372f337095a700
d4b7c6c90e9d3c956368a688e4e49cbb6f529722
PlayerControllerHuman: use translated MagicColor enum
Part of #8682 and #8690 uses Enum for HumanGui Uses Translation Name for Colors Uses Icon on MobileGUI doesn't change AI parts (yet)
diff --git a/forge-ai/src/main/java/forge/ai/AiCostDecision.java b/forge-ai/src/main/java/forge/ai/AiCostDecision.java index 88de7ba4eb43..a8ec30768855 100644 --- a/forge-ai/src/main/java/forge/ai/AiCostDecision.java +++ b/forge-ai/src/main/java/forge/ai/AiCostDecision.java @@ -4,7 +4,7 @@ import forge.ai.AiCardMemo...
1
1
1
[{"id": "G0", "claim": "The rewritten chooseColors in PlayerControllerHuman passes the color choices to the GUI without applying the translation function, so unlike the code below it the color chooser may show untranslated color names.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null