Skip to content

Commit 094f2b8

Browse files
committed
Baseline legacy file sizes for dev release CI
1 parent 90788ba commit 094f2b8

2 files changed

Lines changed: 58 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ files have explicit, non-growing exceptions in `scripts/csharp-size-exceptions.j
1515
Enable the matching staged-content check with `git config core.hooksPath .githooks`.
1616
The hook prefers `python3` and falls back to `python`. Generated-looking file
1717
names are checked too; any exception must be explicitly justified in the manifest.
18+
The manifest also baselines legacy files exposed by the full `dev`-to-`master`
19+
PR diff, with limits fixed at their size before the check was introduced.
1820

1921
## Testing Guidelines
2022
Tests are written with xUnit and FluentAssertions; mirror the production folder names (`Engine`, `Query`, `Issues`, etc.) when adding scenarios. Name files after the type under test and choose expressive `[Fact]` / `[Theory]` method names describing the behavior. Long-running tests must finish within the 300-second session timeout defined in `tests.runsettings`; run focused suites with `dotnet test LiteDB.Tests --filter FullyQualifiedName~Engine` to triage regressions quickly.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,74 @@
11
{
2+
"LiteDB.ReproRunner/LiteDB.ReproRunner.Cli/Commands/RunCommand.cs": {
3+
"maxLines": 850,
4+
"reason": "Existing repro command orchestration and reporting, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
5+
},
6+
"LiteDB.ReproRunner/LiteDB.ReproRunner.Cli/Execution/ReproExecutor.cs": {
7+
"maxLines": 740,
8+
"reason": "Existing repro process execution and message handling, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
9+
},
10+
"LiteDB.ReproRunner/LiteDB.ReproRunner.Cli/Manifests/ManifestValidator.cs": {
11+
"maxLines": 750,
12+
"reason": "Existing repro manifest validation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
13+
},
14+
"LiteDB.ReproRunner/Repros/Issue_2586_RollbackTransaction/Program.cs": {
15+
"maxLines": 605,
16+
"reason": "Existing rollback transaction reproduction harness, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
17+
},
218
"LiteDB.Tests/Internals/Cache_Tests.cs": {
319
"maxLines": 811,
420
"reason": "Existing deterministic cache fixture; this corrective change preserves its race coverage. No further growth allowed."
521
},
22+
"LiteDB.Tests/Mapper/LinqBsonExpression_Tests.cs": {
23+
"maxLines": 674,
24+
"reason": "Existing LINQ expression regression fixture, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
25+
},
26+
"LiteDB.Tests/Query/OrderBy_Tests.cs": {
27+
"maxLines": 595,
28+
"reason": "Existing query ordering regression fixture, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
29+
},
30+
"LiteDB.Tests/Query/VectorIndex_Tests.cs": {
31+
"maxLines": 1073,
32+
"reason": "Existing vector index persistence regression fixture, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
33+
},
34+
"LiteDB/Client/Database/LiteQueryable.cs": {
35+
"maxLines": 587,
36+
"reason": "Existing public query API implementation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
37+
},
38+
"LiteDB/Client/Mapper/Linq/LinqExpressionVisitor.cs": {
39+
"maxLines": 908,
40+
"reason": "Existing LINQ expression translation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
41+
},
42+
"LiteDB/Document/BsonValue.cs": {
43+
"maxLines": 743,
44+
"reason": "Existing BSON value representation and conversions, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
45+
},
46+
"LiteDB/Document/Expression/Parser/BsonExpressionParser.cs": {
47+
"maxLines": 1515,
48+
"reason": "Existing BSON expression grammar implementation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
49+
},
50+
"LiteDB/Engine/FileReader/FileReaderV8.cs": {
51+
"maxLines": 598,
52+
"reason": "Existing version 8 database file reader, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
53+
},
654
"LiteDB/Engine/Pages/BasePage.cs": {
755
"maxLines": 829,
856
"reason": "Existing page-format implementation; splitting the persisted format is outside the memory-lifecycle correction. No further growth allowed."
957
},
58+
"LiteDB/Engine/Query/QueryOptimization.cs": {
59+
"maxLines": 613,
60+
"reason": "Existing query optimizer implementation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
61+
},
1062
"LiteDB/Engine/Services/SnapShot.cs": {
1163
"maxLines": 771,
1264
"reason": "Existing snapshot lifecycle implementation; retain its tested ownership boundaries in this correction. No further growth allowed."
1365
},
1466
"LiteDB/Engine/Services/VectorIndexService.cs": {
1567
"maxLines": 1038,
1668
"reason": "Existing HNSW implementation; structural extraction needs a dedicated graph-persistence review. No further growth allowed."
69+
},
70+
"LiteDB/Utils/Tokenizer.cs": {
71+
"maxLines": 705,
72+
"reason": "Existing expression tokenizer implementation, unchanged since before the size check was introduced in 3996dabe; baseline for the dev-to-master PR. No further growth allowed."
1773
}
1874
}

0 commit comments

Comments
 (0)