Skip to content

Commit 5c6192f

Browse files
V43 Gate 3: Harden route inventory CI scan
Runs the route vocabulary inventory git scan with an explicit safe.directory override so GitHub runner ownership posture does not force the non-deterministic filesystem fallback.
1 parent ae8fab0 commit 5c6192f

2 files changed

Lines changed: 119 additions & 16 deletions

File tree

.bitcode/v43-route-vocabulary-inventory.json

Lines changed: 118 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"currentTarget": "V42",
66
"sourceSafetyVerdict": "source-safe-route-vocabulary-inventory-metadata",
77
"generatedAt": "deterministic",
8-
"artifactRoot": "v43-route-vocabulary-inventory:ef6e8d271d6bef4a216b6469",
8+
"artifactRoot": "v43-route-vocabulary-inventory:d4d430ceb13707ec969061b3",
99
"passed": true,
1010
"tokenIds": [
1111
"route:/exchange",
@@ -7071,6 +7071,25 @@
70717071
"rawSourceTextSerialized": false,
70727072
"sourceSnippetSerialized": false
70737073
},
7074+
{
7075+
"path": "packages/protocol/src/canonical/v43-packs-activity-master-detail.js",
7076+
"pathRoot": "v43-route-vocabulary-file:92efd11de04f491032db608e",
7077+
"categories": [
7078+
"package",
7079+
"telemetry"
7080+
],
7081+
"tokenCounts": {
7082+
"route:/exchange": 2,
7083+
"route:/packs": 15,
7084+
"symbol:Packs": 3,
7085+
"symbol:PackActivity": 2,
7086+
"word:exchange": 4
7087+
},
7088+
"totalMatches": 26,
7089+
"sourceSafeMetadataOnly": true,
7090+
"rawSourceTextSerialized": false,
7091+
"sourceSnippetSerialized": false
7092+
},
70747093
{
70757094
"path": "packages/protocol/src/canonical/v43-route-vocabulary-inventory.js",
70767095
"pathRoot": "v43-route-vocabulary-file:157fd43a1b0d92c5e4c6d901",
@@ -9781,6 +9800,25 @@
97819800
"rawSourceTextSerialized": false,
97829801
"sourceSnippetSerialized": false
97839802
},
9803+
{
9804+
"path": "scripts/check-v43-gate3-packs-activity-master-detail.mjs",
9805+
"pathRoot": "v43-route-vocabulary-file:419a85d3baeb962776c7fd74",
9806+
"categories": [
9807+
"script"
9808+
],
9809+
"tokenCounts": {
9810+
"route:/exchange": 1,
9811+
"route:/packs": 3,
9812+
"symbol:Exchange": 1,
9813+
"symbol:Packs": 2,
9814+
"symbol:PackActivity": 1,
9815+
"word:exchange": 1
9816+
},
9817+
"totalMatches": 9,
9818+
"sourceSafeMetadataOnly": true,
9819+
"rawSourceTextSerialized": false,
9820+
"sourceSnippetSerialized": false
9821+
},
97849822
{
97859823
"path": "scripts/code-review/README.md",
97869824
"pathRoot": "v43-route-vocabulary-file:fef2886ffeed000a3327379c",
@@ -11350,6 +11388,39 @@
1135011388
"rawSourceTextSerialized": false,
1135111389
"sourceSnippetSerialized": false
1135211390
},
11391+
{
11392+
"path": "uapi/app/packs/PacksPageClient.tsx",
11393+
"pathRoot": "v43-route-vocabulary-file:fb5cb2d34c0b644456d0f9ee",
11394+
"categories": [
11395+
"component",
11396+
"telemetry"
11397+
],
11398+
"tokenCounts": {
11399+
"route:/packs": 1,
11400+
"symbol:Packs": 1,
11401+
"symbol:Reading": 1
11402+
},
11403+
"totalMatches": 3,
11404+
"sourceSafeMetadataOnly": true,
11405+
"rawSourceTextSerialized": false,
11406+
"sourceSnippetSerialized": false
11407+
},
11408+
{
11409+
"path": "uapi/app/packs/page.tsx",
11410+
"pathRoot": "v43-route-vocabulary-file:640704e340fc2092705c5b9b",
11411+
"categories": [
11412+
"component",
11413+
"route"
11414+
],
11415+
"tokenCounts": {
11416+
"route:/packs": 1,
11417+
"symbol:Packs": 1
11418+
},
11419+
"totalMatches": 2,
11420+
"sourceSafeMetadataOnly": true,
11421+
"rawSourceTextSerialized": false,
11422+
"sourceSnippetSerialized": false
11423+
},
1135311424
{
1135411425
"path": "uapi/app/page.tsx",
1135511426
"pathRoot": "v43-route-vocabulary-file:3d10d6f576bdfd7770438741",
@@ -14122,6 +14193,38 @@
1412214193
"rawSourceTextSerialized": false,
1412314194
"sourceSnippetSerialized": false
1412414195
},
14196+
{
14197+
"path": "uapi/tests/packActivityModel.test.ts",
14198+
"pathRoot": "v43-route-vocabulary-file:500a56f182923cdbae356edb",
14199+
"categories": [
14200+
"telemetry",
14201+
"test"
14202+
],
14203+
"tokenCounts": {
14204+
"symbol:PackActivity": 1
14205+
},
14206+
"totalMatches": 1,
14207+
"sourceSafeMetadataOnly": true,
14208+
"rawSourceTextSerialized": false,
14209+
"sourceSnippetSerialized": false
14210+
},
14211+
{
14212+
"path": "uapi/tests/packsPageClient.test.tsx",
14213+
"pathRoot": "v43-route-vocabulary-file:b94555d7fedae1f7b7efc193",
14214+
"categories": [
14215+
"component",
14216+
"telemetry",
14217+
"test"
14218+
],
14219+
"tokenCounts": {
14220+
"route:/packs": 4,
14221+
"symbol:Packs": 1
14222+
},
14223+
"totalMatches": 5,
14224+
"sourceSafeMetadataOnly": true,
14225+
"rawSourceTextSerialized": false,
14226+
"sourceSnippetSerialized": false
14227+
},
1412514228
{
1412614229
"path": "uapi/tests/pipelineExecutionLogHeader.test.tsx",
1412714230
"pathRoot": "v43-route-vocabulary-file:3ed6012c0c5224091ce533b6",
@@ -15151,34 +15254,34 @@
1515115254
}
1515215255
],
1515315256
"coverage": {
15154-
"sourceFileCount": 891,
15257+
"sourceFileCount": 897,
1515515258
"tokenTotals": {
15156-
"route:/exchange": 148,
15259+
"route:/exchange": 151,
1515715260
"route:/terminal": 1435,
15158-
"route:/packs": 123,
15261+
"route:/packs": 147,
1515915262
"route:/read": 242,
1516015263
"route:/deposit": 84,
15161-
"symbol:Exchange": 1967,
15264+
"symbol:Exchange": 1968,
1516215265
"symbol:Terminal": 3092,
15163-
"symbol:Packs": 40,
15164-
"symbol:Reading": 1287,
15266+
"symbol:Packs": 48,
15267+
"symbol:Reading": 1288,
1516515268
"symbol:Depositing": 234,
15166-
"symbol:PackActivity": 24,
15269+
"symbol:PackActivity": 28,
1516715270
"symbol:DepositAssetPackOption": 12,
15168-
"word:exchange": 1714,
15271+
"word:exchange": 1719,
1516915272
"word:terminal": 3655,
1517015273
"word:self-referential": 30
1517115274
},
1517215275
"categoryTotals": {
15173-
"route": 11,
15174-
"component": 141,
15175-
"test": 213,
15276+
"route": 12,
15277+
"component": 144,
15278+
"test": 215,
1517615279
"doc": 169,
1517715280
"api": 43,
15178-
"telemetry": 643,
15281+
"telemetry": 647,
1517915282
"workflow": 12,
15180-
"script": 116,
15181-
"package": 308,
15283+
"script": 117,
15284+
"package": 309,
1518215285
"spec": 76
1518315286
},
1518415287
"routeVocabularyInventoryComplete": true,

packages/protocol/src/canonical/v43-route-vocabulary-inventory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ function isExcludedRelativePath(relativePath) {
168168

169169
function listGitTrackedTextFiles(repoRoot) {
170170
try {
171-
return execFileSync('git', ['ls-files'], { cwd: repoRoot, encoding: 'utf8' })
171+
return execFileSync('git', ['-c', `safe.directory=${repoRoot}`, 'ls-files'], { cwd: repoRoot, encoding: 'utf8' })
172172
.split('\n')
173173
.filter(Boolean)
174174
.filter((relativePath) => !isExcludedRelativePath(relativePath))

0 commit comments

Comments
 (0)