ttsc 0.32.1 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cmd/ttsc-cache/account.go +94 -0
- package/cmd/ttsc-cache/interruption_test.go +176 -0
- package/cmd/ttsc-cache/main.go +252 -0
- package/cmd/ttsc-cache/merge.go +324 -0
- package/cmd/ttsc-cache/merge_test.go +161 -0
- package/cmd/ttsc-cache/prepare.go +330 -0
- package/cmd/ttsc-cache/prepare_test.go +456 -0
- package/cmd/ttsc-cache/protocol_test.go +119 -0
- package/cmd/ttsc-cache/publisher_seal_test.go +135 -0
- package/cmd/ttsc-cache/seal.go +427 -0
- package/cmd/ttsc-cache/stock_go_failure_test.go +94 -0
- package/cmd/ttsc-cache/stock_go_test.go +163 -0
- package/cmd/ttsc-cache/store.go +249 -0
- package/cmd/ttsc-cache/store_test.go +104 -0
- package/cmd/ttsc-cache/tuple.go +107 -0
- package/cmd/ttsc-cache/tuple_test.go +62 -0
- package/cmd/ttsc-cache/usage.go +73 -0
- package/driver/configloaderscratch/canonical_directory_other.go +34 -0
- package/driver/configloaderscratch/canonical_directory_windows.go +60 -0
- package/driver/configloaderscratch/identity_temp_base.go +81 -0
- package/driver/configloaderscratch/identity_temp_base_posix_test.go +124 -0
- package/driver/configloaderscratch/identity_temp_base_windows_test.go +156 -0
- package/driver/emit_provenance.go +7 -5
- package/driver/resolutioninputs/recorder.cjs +16 -4
- package/driver/rewrite.go +25 -16
- package/driver/write_file_if_changed.go +69 -0
- package/driver/write_file_if_changed_test.go +148 -0
- package/internal/packageartifacts/manifest.go +288 -0
- package/internal/packageartifacts/manifest_test.go +127 -0
- package/lib/compiler/internal/build/BuildExecution.d.ts +11 -7
- package/lib/compiler/internal/build/BuildExecution.js +22 -8
- package/lib/compiler/internal/build/BuildExecution.js.map +1 -1
- package/lib/compiler/internal/build/ResidentCheckWatchSession.d.ts +10 -10
- package/lib/compiler/internal/build/ResidentCheckWatchSession.js +19 -14
- package/lib/compiler/internal/build/ResidentCheckWatchSession.js.map +1 -1
- package/lib/compiler/internal/build/RunBuildOptions.d.ts +8 -1
- package/lib/compiler/internal/build/TsgoArguments.d.ts +16 -0
- package/lib/compiler/internal/build/TsgoArguments.js +19 -0
- package/lib/compiler/internal/build/TsgoArguments.js.map +1 -1
- package/lib/compiler/internal/captureProcessOutput.d.ts +16 -13
- package/lib/compiler/internal/captureProcessOutput.js +22 -14
- package/lib/compiler/internal/captureProcessOutput.js.map +1 -1
- package/lib/compiler/internal/startResidentTransform.js +3 -1
- package/lib/compiler/internal/startResidentTransform.js.map +1 -1
- package/lib/compiler/internal/transformProjectInMemory.js +5 -1
- package/lib/compiler/internal/transformProjectInMemory.js.map +1 -1
- package/lib/launcher/internal/runtime/PluginDescriptorInputReport.d.ts +43 -0
- package/lib/launcher/internal/runtime/PluginDescriptorInputReport.js +106 -0
- package/lib/launcher/internal/runtime/PluginDescriptorInputReport.js.map +1 -0
- package/lib/launcher/internal/runtime/installRuntimeHooks.js +15 -29
- package/lib/launcher/internal/runtime/installRuntimeHooks.js.map +1 -1
- package/lib/launcher/internal/ttscserver/runTtscserver.js +1 -0
- package/lib/launcher/internal/ttscserver/runTtscserver.js.map +1 -1
- package/lib/launcher/internal/watch/WatchTopology.js +5 -4
- package/lib/launcher/internal/watch/WatchTopology.js.map +1 -1
- package/lib/plugin/internal/CapabilityResolutionFormat.js +4 -3
- package/lib/plugin/internal/CapabilityResolutionFormat.js.map +1 -1
- package/lib/plugin/internal/load/COMMONJS_PLUGIN_DESCRIPTOR_SHIM_SOURCE.js +6 -0
- package/lib/plugin/internal/load/COMMONJS_PLUGIN_DESCRIPTOR_SHIM_SOURCE.js.map +1 -1
- package/lib/plugin/internal/load/PLUGIN_DESCRIPTOR_SHIM_SOURCE.js +6 -0
- package/lib/plugin/internal/load/PLUGIN_DESCRIPTOR_SHIM_SOURCE.js.map +1 -1
- package/lib/plugin/internal/load/PluginDescriptorEvaluationCache.js +3 -3
- package/lib/plugin/internal/load/PluginDescriptorEvaluationCache.js.map +1 -1
- package/lib/plugin/internal/load/descriptorRecordEnvironment.d.ts +15 -0
- package/lib/plugin/internal/load/descriptorRecordEnvironment.js +24 -0
- package/lib/plugin/internal/load/descriptorRecordEnvironment.js.map +1 -0
- package/lib/plugin/internal/load/loadProjectPlugins.js +28 -26
- package/lib/plugin/internal/load/loadProjectPlugins.js.map +1 -1
- package/lib/plugin/internal/source/SourceBuildCacheLayout.d.ts +2 -0
- package/lib/plugin/internal/source/SourceBuildCacheLayout.js +2 -0
- package/lib/plugin/internal/source/SourceBuildCacheLayout.js.map +1 -1
- package/lib/plugin/internal/source/SourcePackageArtifacts.d.ts +145 -0
- package/lib/plugin/internal/source/SourcePackageArtifacts.js +612 -0
- package/lib/plugin/internal/source/SourcePackageArtifacts.js.map +1 -0
- package/lib/plugin/internal/source/buildSourcePlugin.js +54 -4
- package/lib/plugin/internal/source/buildSourcePlugin.js.map +1 -1
- package/lib/plugin/internal/source/prunePackageArtifactRoot.d.ts +19 -0
- package/lib/plugin/internal/source/prunePackageArtifactRoot.js +95 -0
- package/lib/plugin/internal/source/prunePackageArtifactRoot.js.map +1 -0
- package/lib/plugin/internal/source/resolveCleanTargets.js +1 -1
- package/lib/plugin/internal/source/resolveCleanTargets.js.map +1 -1
- package/lib/plugin/internal/source/resolveSourceBuildCachePaths.js +9 -4
- package/lib/plugin/internal/source/resolveSourceBuildCachePaths.js.map +1 -1
- package/lib/plugin/internal/source/selectedRecordIdentityTempParent.d.ts +18 -0
- package/lib/plugin/internal/source/selectedRecordIdentityTempParent.js +46 -0
- package/lib/plugin/internal/source/selectedRecordIdentityTempParent.js.map +1 -0
- package/package.json +8 -8
- package/src/compiler/internal/build/BuildExecution.ts +30 -10
- package/src/compiler/internal/build/ResidentCheckWatchSession.ts +23 -22
- package/src/compiler/internal/build/RunBuildOptions.ts +9 -1
- package/src/compiler/internal/build/TsgoArguments.ts +22 -0
- package/src/compiler/internal/captureProcessOutput.ts +28 -14
- package/src/compiler/internal/startResidentTransform.ts +7 -1
- package/src/compiler/internal/transformProjectInMemory.ts +9 -1
- package/src/launcher/internal/runtime/PluginDescriptorInputReport.ts +100 -0
- package/src/launcher/internal/runtime/installRuntimeHooks.ts +57 -55
- package/src/launcher/internal/ttscserver/runTtscserver.ts +5 -0
- package/src/launcher/internal/watch/WatchTopology.ts +5 -4
- package/src/plugin/internal/CapabilityResolutionFormat.ts +4 -3
- package/src/plugin/internal/load/COMMONJS_PLUGIN_DESCRIPTOR_SHIM_SOURCE.ts +4 -0
- package/src/plugin/internal/load/PLUGIN_DESCRIPTOR_SHIM_SOURCE.ts +4 -0
- package/src/plugin/internal/load/PluginDescriptorEvaluationCache.ts +3 -3
- package/src/plugin/internal/load/descriptorRecordEnvironment.ts +24 -0
- package/src/plugin/internal/load/loadProjectPlugins.ts +45 -29
- package/src/plugin/internal/source/SourceBuildCacheLayout.ts +3 -0
- package/src/plugin/internal/source/SourcePackageArtifacts.ts +787 -0
- package/src/plugin/internal/source/buildSourcePlugin.ts +82 -12
- package/src/plugin/internal/source/prunePackageArtifactRoot.ts +100 -0
- package/src/plugin/internal/source/resolveCleanTargets.ts +1 -0
- package/src/plugin/internal/source/resolveSourceBuildCachePaths.ts +11 -4
- package/src/plugin/internal/source/selectedRecordIdentityTempParent.ts +40 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
package packageartifacts
|
|
2
|
+
|
|
3
|
+
import (
|
|
4
|
+
"crypto/sha256"
|
|
5
|
+
"encoding/hex"
|
|
6
|
+
"encoding/json"
|
|
7
|
+
"strings"
|
|
8
|
+
"testing"
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
// TestParseTrustedManifest verifies release-pinned producer authority and the full-key schema.
|
|
12
|
+
//
|
|
13
|
+
// Verifies: only an authenticated, complete Go action association is admitted.
|
|
14
|
+
// 1. Decode a valid publisher record with archive and opaque bodies.
|
|
15
|
+
// 2. Change trust, schema, identities, mappings, provenance and pack bounds independently.
|
|
16
|
+
// 3. Require each invalid record to fail before it can become a cache hit.
|
|
17
|
+
//
|
|
18
|
+
// @evidence contracts/testing.md#behavioral-verification Calls the production decoder and asserts success or rejection of complete serialized publisher records, including an opaque zero-byte body.
|
|
19
|
+
// @evidence contracts/testing.md#independent-expectations The release digest is independently computed over serialized bytes; Go's protocol requires full 32-byte keys and SHA-256 output bodies, and schema one requires effective CGO_ENABLED=0.
|
|
20
|
+
// @evidence contracts/testing.md#distinguishing-cases Covers a valid record, a conflicting duplicate, truncated IDs, wrong producer digest, unknown required field/schema, unsupported CGO mode, unknown pack, invalid length and trailing JSON.
|
|
21
|
+
// @evidence contracts/testing.md#execution-ownership This is a Go unit test discovered by go test under internal/packageartifacts; no build, package installation or host process runs.
|
|
22
|
+
func TestParseTrustedManifest(t *testing.T) {
|
|
23
|
+
const a = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
24
|
+
const b = "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
|
25
|
+
const c = "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
|
26
|
+
valid := Manifest{
|
|
27
|
+
Schema: 1,
|
|
28
|
+
Release: "0.32.1",
|
|
29
|
+
SourceCommit: strings.Repeat("d", 40),
|
|
30
|
+
Tuple: Tuple{
|
|
31
|
+
GoVersion: "go1.26.0",
|
|
32
|
+
GoToolSHA256: a,
|
|
33
|
+
GOOS: "windows",
|
|
34
|
+
GOARCH: "amd64",
|
|
35
|
+
Architecture: map[string]string{"GOAMD64": "v1"},
|
|
36
|
+
CGOEnabled: "0",
|
|
37
|
+
BuildFlags: []string{"-trimpath"},
|
|
38
|
+
ToolIDsSHA256: b,
|
|
39
|
+
},
|
|
40
|
+
GraphSHA256: c,
|
|
41
|
+
Packs: []Pack{{
|
|
42
|
+
Name: "base-1", URL: "https://example.org/base-1.zip", SHA256: a, Length: 100, DecodedBytes: 4, FileCount: 2,
|
|
43
|
+
}},
|
|
44
|
+
Actions: []Action{
|
|
45
|
+
{
|
|
46
|
+
ActionID: a, OutputID: b, BodySHA256: b, BodyLength: 4,
|
|
47
|
+
Pack: "base-1", Kind: "archive", PackagePath: "example.org/compiler/ast",
|
|
48
|
+
ModulePath: "example.org/compiler", ModuleVersion: "v1.0.0",
|
|
49
|
+
ModuleRole: "dependency", SelectedSourceSHA: c, CommandSHA256: a,
|
|
50
|
+
DirectInputs: []string{c},
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
ActionID: c, OutputID: emptyBodySHA256, BodySHA256: emptyBodySHA256, BodyLength: 0,
|
|
54
|
+
Pack: "base-1", Kind: "opaque",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
decode := func(value Manifest) error {
|
|
59
|
+
t.Helper()
|
|
60
|
+
raw, err := json.Marshal(value)
|
|
61
|
+
if err != nil {
|
|
62
|
+
t.Fatal(err)
|
|
63
|
+
}
|
|
64
|
+
digest := sha256.Sum256(raw)
|
|
65
|
+
_, err = ParseTrustedManifest(raw, hex.EncodeToString(digest[:]))
|
|
66
|
+
return err
|
|
67
|
+
}
|
|
68
|
+
if err := decode(valid); err != nil {
|
|
69
|
+
t.Fatalf("valid publisher manifest rejected: %v", err)
|
|
70
|
+
}
|
|
71
|
+
mutations := map[string]func(*Manifest){
|
|
72
|
+
"unknown schema": func(m *Manifest) { m.Schema = 2 },
|
|
73
|
+
"short action": func(m *Manifest) { m.Actions[0].ActionID = a[:40] },
|
|
74
|
+
"bad body association": func(m *Manifest) { m.Actions[0].BodySHA256 = c },
|
|
75
|
+
"unsupported cgo": func(m *Manifest) { m.Tuple.CGOEnabled = "1" },
|
|
76
|
+
"unknown pack": func(m *Manifest) { m.Actions[0].Pack = "absent" },
|
|
77
|
+
"negative length": func(m *Manifest) { m.Actions[0].BodyLength = -1 },
|
|
78
|
+
"missing source evidence": func(m *Manifest) { m.Actions[0].SelectedSourceSHA = "" },
|
|
79
|
+
"wrong decoded count": func(m *Manifest) { m.Packs[0].DecodedBytes++ },
|
|
80
|
+
"untrusted pack URL": func(m *Manifest) { m.Packs[0].URL = "http://example.org/base-1.zip" },
|
|
81
|
+
"conflicting action": func(m *Manifest) {
|
|
82
|
+
duplicate := m.Actions[0]
|
|
83
|
+
duplicate.OutputID = c
|
|
84
|
+
duplicate.BodySHA256 = c
|
|
85
|
+
m.Actions = append(m.Actions, duplicate)
|
|
86
|
+
},
|
|
87
|
+
"duplicate output across packs": func(m *Manifest) {
|
|
88
|
+
m.Packs = append(m.Packs, Pack{
|
|
89
|
+
Name: "other", URL: "https://example.org/other.zip", SHA256: c,
|
|
90
|
+
Length: 100, DecodedBytes: 4, FileCount: 1,
|
|
91
|
+
})
|
|
92
|
+
duplicate := m.Actions[0]
|
|
93
|
+
duplicate.ActionID = strings.Repeat("d", 64)
|
|
94
|
+
duplicate.Pack = "other"
|
|
95
|
+
m.Actions = append(m.Actions, duplicate)
|
|
96
|
+
},
|
|
97
|
+
}
|
|
98
|
+
for name, mutate := range mutations {
|
|
99
|
+
t.Run(name, func(t *testing.T) {
|
|
100
|
+
copy := valid
|
|
101
|
+
copy.Packs = append([]Pack(nil), valid.Packs...)
|
|
102
|
+
copy.Actions = append([]Action(nil), valid.Actions...)
|
|
103
|
+
mutate(©)
|
|
104
|
+
if err := decode(copy); err == nil {
|
|
105
|
+
t.Fatal("invalid publisher manifest was accepted")
|
|
106
|
+
}
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
raw, err := json.Marshal(valid)
|
|
110
|
+
if err != nil {
|
|
111
|
+
t.Fatal(err)
|
|
112
|
+
}
|
|
113
|
+
for name, input := range map[string][]byte{
|
|
114
|
+
"unknown field": append(append([]byte(nil), raw[:len(raw)-1]...), []byte(`,"requiredLater":true}`)...),
|
|
115
|
+
"trailing value": append(append([]byte(nil), raw...), []byte(` {}`)...),
|
|
116
|
+
} {
|
|
117
|
+
t.Run(name, func(t *testing.T) {
|
|
118
|
+
digest := sha256.Sum256(input)
|
|
119
|
+
if _, err := ParseTrustedManifest(input, hex.EncodeToString(digest[:])); err == nil {
|
|
120
|
+
t.Fatal("invalid publisher JSON was accepted")
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
}
|
|
124
|
+
if _, err := ParseTrustedManifest(raw, a); err == nil {
|
|
125
|
+
t.Fatal("untrusted producer association was accepted")
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -43,14 +43,16 @@ export declare namespace BuildExecution {
|
|
|
43
43
|
*
|
|
44
44
|
* Caller-provided values override inherited defaults, except the invocation's
|
|
45
45
|
* selected compiler remains authoritative. Absent per-invocation payloads
|
|
46
|
-
* remove stale inherited state rather than leaking an ancestor's project.
|
|
46
|
+
* remove stale inherited state rather than leaking an ancestor's project. The
|
|
47
|
+
* emitting-watch write policy is always cleared here and only the selected
|
|
48
|
+
* build command may arm it for its direct native child.
|
|
47
49
|
*
|
|
48
|
-
* @evidence contracts/common.md#principled-implementation Environment layering preserves caller overrides while the resolved compiler wins last; per-run compiler/config/link payloads are published or cleared according to invocation ownership.
|
|
50
|
+
* @evidence contracts/common.md#principled-implementation Environment layering preserves caller overrides while the resolved compiler wins last; per-run compiler/config/link payloads are published or cleared according to invocation ownership, and the emitting-watch write policy is cleared until an authorized build child selects it.
|
|
49
51
|
* @evidence contracts/common.md#clear-and-simple-design Shared environment helpers own merging and key access; runtime discovery precedes the pure composer that owns invocation payload publication.
|
|
50
52
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Supported environment channels convey compiler/plugin context without patching strict sidecar parsers; clearing inherited payloads corrects ownership rather than compensating for a stale ancestor selection.
|
|
51
53
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain config anchoring, linked sources, precedence and absent-payload effects without mixing prose into tags.
|
|
52
54
|
* @evidence contracts/portability.md#os-neutral-implementation Native environment helpers normalize Windows key aliases while retaining POSIX case distinctions; node:path builds the default launcher path and binary values remain native executable selections.
|
|
53
|
-
* @evidence contracts/performance.md#efficient-algorithms Environment layering copies inherited/caller fields, and Windows channel reads/writes repeatedly scan native-equivalent key names with key-text normalization costs. Linked selection/projection/JSON adds plugin count and payload work. Ordered runtime-candidate probes are delegated before publication and remain native process costs of this call.
|
|
55
|
+
* @evidence contracts/performance.md#efficient-algorithms Environment layering copies inherited/caller fields, and Windows channel reads/writes repeatedly scan native-equivalent key names with key-text normalization costs, including one write-policy removal. Linked selection/projection/JSON adds plugin count and payload work. Ordered runtime-candidate probes are delegated before publication and remain native process costs of this call.
|
|
54
56
|
*
|
|
55
57
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work Fresh environment composition depends on current invocation and mutable process environment, and coordinates no persistent producer.
|
|
56
58
|
* @evidence contracts/performance.md#bound-retention-and-release-resources The fresh environment and intermediate linked payload have invocation-local ownership and transfer to the spawn caller. Runtime probe acquisition/timeout/cleanup belongs to the capability owner, not a native-release guarantee made here; this function stores no child handle or global payload.
|
|
@@ -61,9 +63,11 @@ export declare namespace BuildExecution {
|
|
|
61
63
|
*
|
|
62
64
|
* The caller owns the fresh environment and the selected Node executable.
|
|
63
65
|
* Executable capability discovery remains at the native spawn boundary; this
|
|
64
|
-
* composer only writes protocol values and removes stale payloads.
|
|
66
|
+
* composer only writes protocol values and removes stale payloads. The
|
|
67
|
+
* invocation's opened content-identity store supplies native config-loader
|
|
68
|
+
* scratch placement, or clears an inherited store when none was opened.
|
|
65
69
|
*
|
|
66
|
-
* @evidence contracts/common.md#principled-implementation The selected compiler and Node executable own their channels; config, forwarded arguments and linked transforms are published or cleared according to this invocation and explicit caller ownership.
|
|
70
|
+
* @evidence contracts/common.md#principled-implementation The selected compiler and Node executable own their channels; config, content-identity scratch root, forwarded arguments and linked transforms are published or cleared according to this invocation and explicit caller ownership.
|
|
67
71
|
* @evidence contracts/common.md#clear-and-simple-design A synchronous payload composer consumes the existing merged environment, keeping native executable discovery in nativePluginEnv without copying environment layers again.
|
|
68
72
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Supplied executable selections are preserved without guessing capabilities, launching a substitute producer or mutating the global environment.
|
|
69
73
|
* @evidence contracts/common.md#meaningful-documentation Native prose states the required fresh layered environment, caller ownership and the separation of runtime discovery from protocol publication.
|
|
@@ -316,7 +320,7 @@ export declare namespace BuildExecution {
|
|
|
316
320
|
* the elapsed interval also includes environment preparation, not only
|
|
317
321
|
* execution of the selected plugin.
|
|
318
322
|
*
|
|
319
|
-
* @evidence contracts/common.md#principled-implementation The selected plugin receives the composed invocation context
|
|
323
|
+
* @evidence contracts/common.md#principled-implementation The selected plugin receives the composed invocation context; only an emitting watch build child receives the write-if-changed opt-in. Actual exit status/output become a normalized result while native launch errors remain thrown failures.
|
|
320
324
|
* @evidence contracts/common.md#clear-and-simple-design One command boundary owns environment publication, timing and output normalization for native build and check phases.
|
|
321
325
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Execution uses the loaded binary and supported protocol rather than patching its implementation or manufacturing success on launch failure.
|
|
322
326
|
* @evidence contracts/common.md#meaningful-documentation Native prose distinguishes result failures, thrown launch failures and error/timing label attribution.
|
|
@@ -327,7 +331,7 @@ export declare namespace BuildExecution {
|
|
|
327
331
|
*
|
|
328
332
|
* @evidence contracts/performance.md#bound-retention-and-release-resources Timing lines stay in the build-owned ledger and returned diagnostic/output records transfer to the caller. No timeout or output ceiling is supplied here; delegated capture cleanup is best effort and does not certify native descendant release. This wrapper stores no child handle or historical result.
|
|
329
333
|
*/
|
|
330
|
-
function runNativePluginCommand(plugin: ITtscLoadedNativePlugin, args: readonly string[], options:
|
|
334
|
+
function runNativePluginCommand(plugin: ITtscLoadedNativePlugin, args: readonly string[], options: RunBuildOptions, execution: ReturnType<typeof resolveExecutionContext>, label: string, timing: BuildTiming.BuildTiming, timingLabel: string, tsgoArgs?: string): TtscBuildResult;
|
|
331
335
|
/**
|
|
332
336
|
* Resolve all runtime context needed for a build: cwd, tsconfig path, project
|
|
333
337
|
* root, tsgo binary location, and the loaded native plugin list. Centralised
|
|
@@ -104,14 +104,16 @@ var BuildExecution;
|
|
|
104
104
|
*
|
|
105
105
|
* Caller-provided values override inherited defaults, except the invocation's
|
|
106
106
|
* selected compiler remains authoritative. Absent per-invocation payloads
|
|
107
|
-
* remove stale inherited state rather than leaking an ancestor's project.
|
|
107
|
+
* remove stale inherited state rather than leaking an ancestor's project. The
|
|
108
|
+
* emitting-watch write policy is always cleared here and only the selected
|
|
109
|
+
* build command may arm it for its direct native child.
|
|
108
110
|
*
|
|
109
|
-
* @evidence contracts/common.md#principled-implementation Environment layering preserves caller overrides while the resolved compiler wins last; per-run compiler/config/link payloads are published or cleared according to invocation ownership.
|
|
111
|
+
* @evidence contracts/common.md#principled-implementation Environment layering preserves caller overrides while the resolved compiler wins last; per-run compiler/config/link payloads are published or cleared according to invocation ownership, and the emitting-watch write policy is cleared until an authorized build child selects it.
|
|
110
112
|
* @evidence contracts/common.md#clear-and-simple-design Shared environment helpers own merging and key access; runtime discovery precedes the pure composer that owns invocation payload publication.
|
|
111
113
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Supported environment channels convey compiler/plugin context without patching strict sidecar parsers; clearing inherited payloads corrects ownership rather than compensating for a stale ancestor selection.
|
|
112
114
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs explain config anchoring, linked sources, precedence and absent-payload effects without mixing prose into tags.
|
|
113
115
|
* @evidence contracts/portability.md#os-neutral-implementation Native environment helpers normalize Windows key aliases while retaining POSIX case distinctions; node:path builds the default launcher path and binary values remain native executable selections.
|
|
114
|
-
* @evidence contracts/performance.md#efficient-algorithms Environment layering copies inherited/caller fields, and Windows channel reads/writes repeatedly scan native-equivalent key names with key-text normalization costs. Linked selection/projection/JSON adds plugin count and payload work. Ordered runtime-candidate probes are delegated before publication and remain native process costs of this call.
|
|
116
|
+
* @evidence contracts/performance.md#efficient-algorithms Environment layering copies inherited/caller fields, and Windows channel reads/writes repeatedly scan native-equivalent key names with key-text normalization costs, including one write-policy removal. Linked selection/projection/JSON adds plugin count and payload work. Ordered runtime-candidate probes are delegated before publication and remain native process costs of this call.
|
|
115
117
|
*
|
|
116
118
|
* @evidenceExclude contracts/performance.md#reuse-equivalent-work Fresh environment composition depends on current invocation and mutable process environment, and coordinates no persistent producer.
|
|
117
119
|
* @evidence contracts/performance.md#bound-retention-and-release-resources The fresh environment and intermediate linked payload have invocation-local ownership and transfer to the spawn caller. Runtime probe acquisition/timeout/cleanup belongs to the capability owner, not a native-release guarantee made here; this function stores no child handle or global payload.
|
|
@@ -126,6 +128,9 @@ var BuildExecution;
|
|
|
126
128
|
}, execution.projectRoot, execution.identities, extra,
|
|
127
129
|
// The invocation's resolved compiler owns the final environment layer.
|
|
128
130
|
{ TTSC_TSGO_BINARY: execution.tsgo.binary });
|
|
131
|
+
// This opt-in belongs to an emitting watch child, never to a nested build
|
|
132
|
+
// or a host reached through an inherited process environment.
|
|
133
|
+
SidecarEnvironment_1.SidecarEnvironment.write(env, "TTSC_WATCH_WRITE_IF_CHANGED", undefined);
|
|
129
134
|
return composeNativePluginEnv(env, extra, execution, SidecarEnvironment_1.SidecarEnvironment.read(env, "TTSC_NODE_BINARY"), plugin, tsgoArgs);
|
|
130
135
|
}
|
|
131
136
|
BuildExecution.nativePluginEnv = nativePluginEnv;
|
|
@@ -134,9 +139,11 @@ var BuildExecution;
|
|
|
134
139
|
*
|
|
135
140
|
* The caller owns the fresh environment and the selected Node executable.
|
|
136
141
|
* Executable capability discovery remains at the native spawn boundary; this
|
|
137
|
-
* composer only writes protocol values and removes stale payloads.
|
|
142
|
+
* composer only writes protocol values and removes stale payloads. The
|
|
143
|
+
* invocation's opened content-identity store supplies native config-loader
|
|
144
|
+
* scratch placement, or clears an inherited store when none was opened.
|
|
138
145
|
*
|
|
139
|
-
* @evidence contracts/common.md#principled-implementation The selected compiler and Node executable own their channels; config, forwarded arguments and linked transforms are published or cleared according to this invocation and explicit caller ownership.
|
|
146
|
+
* @evidence contracts/common.md#principled-implementation The selected compiler and Node executable own their channels; config, content-identity scratch root, forwarded arguments and linked transforms are published or cleared according to this invocation and explicit caller ownership.
|
|
140
147
|
* @evidence contracts/common.md#clear-and-simple-design A synchronous payload composer consumes the existing merged environment, keeping native executable discovery in nativePluginEnv without copying environment layers again.
|
|
141
148
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Supplied executable selections are preserved without guessing capabilities, launching a substitute producer or mutating the global environment.
|
|
142
149
|
* @evidence contracts/common.md#meaningful-documentation Native prose states the required fresh layered environment, caller ownership and the separation of runtime discovery from protocol publication.
|
|
@@ -149,6 +156,7 @@ var BuildExecution;
|
|
|
149
156
|
CompilerProjectSelection_1.CompilerProjectSelection.assertCurrent(execution.compilerSelection);
|
|
150
157
|
SidecarEnvironment_1.SidecarEnvironment.write(env, "TTSC_NODE_BINARY", nodeBinary);
|
|
151
158
|
SidecarEnvironment_1.SidecarEnvironment.write(env, "TTSC_TSGO_BINARY", execution.tsgo.binary);
|
|
159
|
+
SidecarEnvironment_1.SidecarEnvironment.write(env, "TTSC_NATIVE_PLUGIN_RECORD_ROOT", execution.identities?.root);
|
|
152
160
|
// Forwarded tsgo argv is per-invocation state this host owns, exactly like
|
|
153
161
|
// the config anchor below: publish this run's payload, or drop whatever an
|
|
154
162
|
// ancestor ttsc process left behind when this lane forwards nothing.
|
|
@@ -871,7 +879,7 @@ var BuildExecution;
|
|
|
871
879
|
};
|
|
872
880
|
for (const plugin of execution.nativePlugins.filter((plugin) => plugin.stage === "check")) {
|
|
873
881
|
const args = NativePluginArguments_1.NativePluginArguments.createNativeCheckArgs(execution, options, plugin);
|
|
874
|
-
const result = (0, runNativeCheckWithObservations_1.runNativeCheckWithObservations)(plugin, (extraArgs) => runNativePluginCommand(plugin, [...args, ...extraArgs], options, execution, "ttsc.check", timing, `ttsc check plugin ${plugin.name} time`, TsgoArguments_1.TsgoArguments.
|
|
882
|
+
const result = (0, runNativeCheckWithObservations_1.runNativeCheckWithObservations)(plugin, (extraArgs) => runNativePluginCommand(plugin, [...args, ...extraArgs], options, execution, "ttsc.check", timing, `ttsc check plugin ${plugin.name} time`, TsgoArguments_1.TsgoArguments.createNativeCheckTsgoArgs(execution, options)), args[0]);
|
|
875
883
|
out = (0, appendBuildOutput_1.appendBuildOutput)(out, result);
|
|
876
884
|
if (result.status !== 0) {
|
|
877
885
|
return out;
|
|
@@ -932,7 +940,7 @@ var BuildExecution;
|
|
|
932
940
|
* the elapsed interval also includes environment preparation, not only
|
|
933
941
|
* execution of the selected plugin.
|
|
934
942
|
*
|
|
935
|
-
* @evidence contracts/common.md#principled-implementation The selected plugin receives the composed invocation context
|
|
943
|
+
* @evidence contracts/common.md#principled-implementation The selected plugin receives the composed invocation context; only an emitting watch build child receives the write-if-changed opt-in. Actual exit status/output become a normalized result while native launch errors remain thrown failures.
|
|
936
944
|
* @evidence contracts/common.md#clear-and-simple-design One command boundary owns environment publication, timing and output normalization for native build and check phases.
|
|
937
945
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Execution uses the loaded binary and supported protocol rather than patching its implementation or manufacturing success on launch failure.
|
|
938
946
|
* @evidence contracts/common.md#meaningful-documentation Native prose distinguishes result failures, thrown launch failures and error/timing label attribution.
|
|
@@ -945,9 +953,15 @@ var BuildExecution;
|
|
|
945
953
|
*/
|
|
946
954
|
function runNativePluginCommand(plugin, args, options, execution, label, timing, timingLabel, tsgoArgs) {
|
|
947
955
|
const startedAt = process.hrtime.bigint();
|
|
956
|
+
const env = nativePluginEnv(options.env, execution, plugin, tsgoArgs);
|
|
957
|
+
if (label === "ttsc.build" &&
|
|
958
|
+
options.emit !== false &&
|
|
959
|
+
options.watchWriteIfChanged === true) {
|
|
960
|
+
SidecarEnvironment_1.SidecarEnvironment.write(env, "TTSC_WATCH_WRITE_IF_CHANGED", "1");
|
|
961
|
+
}
|
|
948
962
|
const res = (0, spawnNative_1.spawnNative)(plugin.binary, args, {
|
|
949
963
|
cwd: execution.projectRoot,
|
|
950
|
-
env
|
|
964
|
+
env,
|
|
951
965
|
encoding: "utf8",
|
|
952
966
|
});
|
|
953
967
|
BuildTiming_1.BuildTiming.recordTiming(timing, timingLabel, startedAt);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuildExecution.js","sourceRoot":"","sources":["../../../../src/compiler/internal/build/BuildExecution.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAyB;AACzB,0DAA6B;AAE7B,iGAA8F;AAC9F,2EAAwE;AACxE,mGAAgG;AAChG,yFAAsF;AACtF,qGAAkG;AAQlG,8CAA2C;AAC3C,kFAA+E;AAC/E,oEAAiE;AACjE,kFAA+E;AAC/E,oDAAiD;AACjD,gDAA6C;AAC7C,sFAAmF;AACnF,yEAAsE;AACtE,uEAAoE;AACpE,+DAA4D;AAC5D,+FAA4F;AAC5F,qGAAkG;AAClG,iFAA8E;AAC9E,2EAAwE;AACxE,iFAA8E;AAC9E,+FAA4F;AAC5F,iFAA8E;AAC9E,iFAA8E;AAC9E,gDAA6C;AAC7C,+CAA4C;AAC5C,+DAA4D;AAC5D,mEAAgE;AAChE,yDAAsD;AACtD,yEAAsE;AAEtE,mDAAgD;AAChD,mEAAgE;AAChE,2DAAwD;AACxD,uFAAoF;AACpF,6EAA0E;AAC1E,iEAA8D;AAC9D,2EAAwE;AACxE,2EAAwE;AAExE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,IAAiB,cAAc,CAy1C9B;AAz1CD,WAAiB,cAAc;IAC7B;;;;;;;OAOG;IACH,SAAS,QAAQ,CACf,KAAoC,EACpC,GAAW,EACX,UAAqD,EACrD,GAAG,KAAiD;QAEpD,MAAM,GAAG,GAAG,uCAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,CAAC;QACnE,MAAM,IAAI,GAAG,IAAA,qCAAiB,EAAC,GAAG,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;QACrD,uCAAkB,CAAC,KAAK,CAAC,GAAG,EAAE,kBAAkB,EAAE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C,MAAM,EAAE,EAAE,CAAC,CAAC;IACzB,CAAC;AACH,CAAC,EAz1CgB,cAAc,aAAd,cAAc,GAAd,cAAc,QAy1C9B"}
|
|
1
|
+
{"version":3,"file":"BuildExecution.js","sourceRoot":"","sources":["../../../../src/compiler/internal/build/BuildExecution.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAyB;AACzB,0DAA6B;AAE7B,iGAA8F;AAC9F,2EAAwE;AACxE,mGAAgG;AAChG,yFAAsF;AACtF,qGAAkG;AAQlG,8CAA2C;AAC3C,kFAA+E;AAC/E,oEAAiE;AACjE,kFAA+E;AAC/E,oDAAiD;AACjD,gDAA6C;AAC7C,sFAAmF;AACnF,yEAAsE;AACtE,uEAAoE;AACpE,+DAA4D;AAC5D,+FAA4F;AAC5F,qGAAkG;AAClG,iFAA8E;AAC9E,2EAAwE;AACxE,iFAA8E;AAC9E,+FAA4F;AAC5F,iFAA8E;AAC9E,iFAA8E;AAC9E,gDAA6C;AAC7C,+CAA4C;AAC5C,+DAA4D;AAC5D,mEAAgE;AAChE,yDAAsD;AACtD,yEAAsE;AAEtE,mDAAgD;AAChD,mEAAgE;AAChE,2DAAwD;AACxD,uFAAoF;AACpF,6EAA0E;AAC1E,iEAA8D;AAC9D,2EAAwE;AACxE,2EAAwE;AAExE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,IAAiB,cAAc,CA62C9B;AA72CD,WAAiB,cAAc;IAC7B;;;;;;;OAOG;IACH,SAAS,QAAQ,CACf,KAAoC,EACpC,GAAW,EACX,UAAqD,EACrD,GAAG,KAAiD;QAEpD,MAAM,GAAG,GAAG,uCAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC,CAAC;QACnE,MAAM,IAAI,GAAG,IAAA,qCAAiB,EAAC,GAAG,EAAE,GAAG,EAAE,UAAU,CAAC,CAAC;QACrD,uCAAkB,CAAC,KAAK,CAAC,GAAG,EAAE,kBAAkB,EAAE,IA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K,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBACf,GAAG,CAAC,IAAI,CAAC,mBAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;YAC1C,CAAC;QACH,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;OAGG;IACH,SAAS,qBAAqB,CAAC,MAAc;QAC3C,OAAO,MAAM;aACV,KAAK,CAAC,OAAO,CAAC;aACd,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC3C,IAAI,CAAC,IAAI,CAAC;aACV,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACzB,CAAC;AACH,CAAC,EA72CgB,cAAc,aAAd,cAAc,GAAd,cAAc,QA62C9B"}
|
|
@@ -2,13 +2,13 @@ import type { TtscBuildResult } from "../../../structures/internal/TtscBuildResu
|
|
|
2
2
|
import type { ResidentCheckWatchChange } from "./ResidentCheckWatchChange";
|
|
3
3
|
import type { RunBuildOptions } from "./RunBuildOptions";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Watch coordinator for retained project selection and analysis-only Programs.
|
|
6
6
|
*
|
|
7
7
|
* The selected project and compatible check-stage processes stay resident
|
|
8
8
|
* across ordinary source/data edits. A config, root-set, contributor, or plugin
|
|
9
9
|
* topology transition calls for a full reset before the next cycle. Emit and
|
|
10
|
-
* transform lanes
|
|
11
|
-
*
|
|
10
|
+
* transform lanes retain only project and plugin selection; each cycle runs a
|
|
11
|
+
* fresh one-shot build without starting resident check sidecars.
|
|
12
12
|
*
|
|
13
13
|
* The watch launcher must serialize cycles and use reload when invocation
|
|
14
14
|
* selection or startup environment changes. A session does not independently
|
|
@@ -16,13 +16,13 @@ import type { RunBuildOptions } from "./RunBuildOptions";
|
|
|
16
16
|
* `TTSC_WATCH_DEBUG_INPUTS` reports why selection is reset and the active
|
|
17
17
|
* sidecar count being retired, and distinguishes a failed resident transport.
|
|
18
18
|
*
|
|
19
|
-
* @evidence contracts/common.md#principled-implementation Stable invocation selection and serialized cycles let compatible analysis-only checks retain their Program; explicit reload and observed input-topology changes reset selection before another cycle. Initial capture and warm refresh await the watch owner's publication before retaining topology; warm refresh compares physical dependency identity while publishing every declared-alias update.
|
|
19
|
+
* @evidence contracts/common.md#principled-implementation Stable invocation selection and serialized cycles let compatible analysis-only checks retain their Program and emitting lanes retain only selection; explicit reload and observed input-topology changes reset selection before another cycle. Initial capture and warm refresh await the watch owner's publication before retaining topology; warm refresh compares physical dependency identity while publishing every declared-alias update.
|
|
20
20
|
* @evidence contracts/common.md#clear-and-simple-design The session owns selected execution, dependency snapshot, process identities and per-entry delivery buffers while shared BuildExecution owns one-shot phase and failure policy. Initial capture wraps the existing discovery callback, and warm refresh joins discovery, comparison and watch registration without another topology owner.
|
|
21
21
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Capability-aware residency retains the actual transport-failure one-shot path and distinct configured check positions. Pending or rejected registration cannot restamp topology, and unchanged physical dependencies cannot bypass declared-alias publication.
|
|
22
22
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs state supported lanes, reset causes and the caller's serialization/stable-invocation premise; private capture and refresh prose distinguish committed topology, physical comparison and declared-alias publication, while run and dispose document lifecycle effects.
|
|
23
23
|
* @evidence contracts/portability.md#os-neutral-implementation Native filesystem checks, cache touch helpers and child creation retain selected binary paths and delegated executable/argv/environment handling. BuildExecution owns native discovery and path normalization; initial capture forwards its snapshot without native operations and warm comparison preserves physical and declared representations.
|
|
24
24
|
* @evidence contracts/performance.md#efficient-algorithms Per-cycle command planning, key serialization and buffer unions process configured checks and pending path text; sorting/comparison bytes, native cache observations, subscribed input discovery and delegated checks add work. Initial capture adds one shallow options copy and one awaited callback; warm refresh adds one native discovery, linear normalized comparison and callback, avoiding reset when topology is unchanged. Accumulated output can repeatedly copy earlier phase text.
|
|
25
|
-
* @evidence contracts/performance.md#reuse-equivalent-work Process keys include binary/name/argv/compiler payload, while stable invocation context and reload guard the remaining startup inputs. Accepted snapshots serve warm topology comparison only after watch registration completes; execution reuse also requires equal physical dependency topology.
|
|
25
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Process keys include binary/name/argv/compiler payload, while stable invocation context and reload guard the remaining startup inputs. Accepted snapshots serve warm topology comparison only after watch registration completes; execution reuse also requires equal physical dependency topology. Emitting cycles reuse descriptor and plugin selection, then load a fresh native Program.
|
|
26
26
|
* @evidence contracts/performance.md#bound-retention-and-release-resources Initial capture closes over the session and caller for its build; warm handoff retains the previous and next snapshots until successful registration replaces the accepted population, while rejection preserves it. Reset clears active maps, execution and snapshots while retiring children and join promises remain separately retained. Unknown joins retain rejection and prevent replacement; delegated termination is not descendant settlement. Stable options bound active process keys by configured checks, but pending unique paths and repeated disposal chains have no independent historical ceiling.
|
|
27
27
|
*/
|
|
28
28
|
export declare class ResidentCheckWatchSession {
|
|
@@ -43,20 +43,20 @@ export declare class ResidentCheckWatchSession {
|
|
|
43
43
|
* stable until reload; callers must not run overlapping cycles.
|
|
44
44
|
*
|
|
45
45
|
* The first cycle, and any cycle after `change.reload`, resolves the project
|
|
46
|
-
* and plugins
|
|
47
|
-
*
|
|
46
|
+
* and plugins. Compatible check entries may then start resident processes;
|
|
47
|
+
* emitting entries reuse selection but rebuild their Program each cycle. A
|
|
48
48
|
* resident process that fails is retired and its entry falls back to the
|
|
49
49
|
* one-shot check for that cycle. Plugin and project watch handoffs complete
|
|
50
50
|
* before checks begin; reused topology is republished through the same
|
|
51
51
|
* completion boundary.
|
|
52
52
|
*
|
|
53
|
-
* @evidence contracts/common.md#principled-implementation Compatible no-emit check-only selection uses the same diagnostic/failure policy as one-shot execution; reload, missing binaries and changed normalized dependency topology cold-resolve the next execution.
|
|
53
|
+
* @evidence contracts/common.md#principled-implementation Compatible no-emit check-only selection uses the same diagnostic/failure policy as one-shot execution; emitting selection retains its plugins but runs a fresh build, and reload, missing binaries and changed normalized dependency topology cold-resolve the next execution.
|
|
54
54
|
* @evidence contracts/common.md#clear-and-simple-design The cycle separates setup/reuse, topology refresh, ordered checks and final diagnostics/timing, delegating each phase to its owning shared operation.
|
|
55
55
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Failed resident transport retires that process and uses the established real check command; the fallback neither drops forwarded compiler options nor converts a nonzero check into success.
|
|
56
56
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs document serialization, stable startup inputs, reload and failed-sidecar behavior instead of claiming arbitrary option changes are handled automatically.
|
|
57
57
|
* @evidence contracts/portability.md#os-neutral-implementation Native binary existence and cache freshness use filesystem helpers; all commands preserve selected cwd and use native process/environment abstractions without shell interpolation.
|
|
58
|
-
* @evidence contracts/performance.md#efficient-algorithms Warm cycles avoid project/plugin re-resolution until a missing binary or changed subscribed topology resets selection.
|
|
59
|
-
* @evidence contracts/performance.md#reuse-equivalent-work Selected context and capability-supported sidecars survive only stable invocation cycles; change requests update Programs, reload/topology transitions reset
|
|
58
|
+
* @evidence contracts/performance.md#efficient-algorithms Warm cycles avoid project/plugin re-resolution until a missing binary or changed subscribed topology resets selection. Emitting cycles still run whole-program native work; existence/cache touches, optional onProjectInputs discovery, command/key construction, per-entry unions/sorts, delegated host work and output normalization/merging retain their actual entry/text/byte costs.
|
|
59
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Selected context and capability-supported check sidecars survive only stable invocation cycles; change requests update resident check Programs, while emitting cycles reuse selection and reload a fresh native Program. Reload/topology transitions reset selection, and effectful configured entries remain separately scheduled.
|
|
60
60
|
* @evidence contracts/performance.md#bound-retention-and-release-resources The session retains active sidecars and per-entry pending changes; transport failure retires its process and awaits actual close before fallback. Reset clears active state but not unknown retiring ownership or its rejection. Unconsumed path sets have no finite bound while an earlier entry repeatedly fails; child close does not certify descendants.
|
|
61
61
|
*/
|
|
62
62
|
run(options: RunBuildOptions, change?: ResidentCheckWatchChange): Promise<TtscBuildResult>;
|
|
@@ -19,13 +19,13 @@ const planResidentCheckEntries_1 = require("./planResidentCheckEntries");
|
|
|
19
19
|
const residentCheckRequest_1 = require("./residentCheckRequest");
|
|
20
20
|
const takeResidentCheckEntryRequest_1 = require("./takeResidentCheckEntryRequest");
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Watch coordinator for retained project selection and analysis-only Programs.
|
|
23
23
|
*
|
|
24
24
|
* The selected project and compatible check-stage processes stay resident
|
|
25
25
|
* across ordinary source/data edits. A config, root-set, contributor, or plugin
|
|
26
26
|
* topology transition calls for a full reset before the next cycle. Emit and
|
|
27
|
-
* transform lanes
|
|
28
|
-
*
|
|
27
|
+
* transform lanes retain only project and plugin selection; each cycle runs a
|
|
28
|
+
* fresh one-shot build without starting resident check sidecars.
|
|
29
29
|
*
|
|
30
30
|
* The watch launcher must serialize cycles and use reload when invocation
|
|
31
31
|
* selection or startup environment changes. A session does not independently
|
|
@@ -33,13 +33,13 @@ const takeResidentCheckEntryRequest_1 = require("./takeResidentCheckEntryRequest
|
|
|
33
33
|
* `TTSC_WATCH_DEBUG_INPUTS` reports why selection is reset and the active
|
|
34
34
|
* sidecar count being retired, and distinguishes a failed resident transport.
|
|
35
35
|
*
|
|
36
|
-
* @evidence contracts/common.md#principled-implementation Stable invocation selection and serialized cycles let compatible analysis-only checks retain their Program; explicit reload and observed input-topology changes reset selection before another cycle. Initial capture and warm refresh await the watch owner's publication before retaining topology; warm refresh compares physical dependency identity while publishing every declared-alias update.
|
|
36
|
+
* @evidence contracts/common.md#principled-implementation Stable invocation selection and serialized cycles let compatible analysis-only checks retain their Program and emitting lanes retain only selection; explicit reload and observed input-topology changes reset selection before another cycle. Initial capture and warm refresh await the watch owner's publication before retaining topology; warm refresh compares physical dependency identity while publishing every declared-alias update.
|
|
37
37
|
* @evidence contracts/common.md#clear-and-simple-design The session owns selected execution, dependency snapshot, process identities and per-entry delivery buffers while shared BuildExecution owns one-shot phase and failure policy. Initial capture wraps the existing discovery callback, and warm refresh joins discovery, comparison and watch registration without another topology owner.
|
|
38
38
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Capability-aware residency retains the actual transport-failure one-shot path and distinct configured check positions. Pending or rejected registration cannot restamp topology, and unchanged physical dependencies cannot bypass declared-alias publication.
|
|
39
39
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs state supported lanes, reset causes and the caller's serialization/stable-invocation premise; private capture and refresh prose distinguish committed topology, physical comparison and declared-alias publication, while run and dispose document lifecycle effects.
|
|
40
40
|
* @evidence contracts/portability.md#os-neutral-implementation Native filesystem checks, cache touch helpers and child creation retain selected binary paths and delegated executable/argv/environment handling. BuildExecution owns native discovery and path normalization; initial capture forwards its snapshot without native operations and warm comparison preserves physical and declared representations.
|
|
41
41
|
* @evidence contracts/performance.md#efficient-algorithms Per-cycle command planning, key serialization and buffer unions process configured checks and pending path text; sorting/comparison bytes, native cache observations, subscribed input discovery and delegated checks add work. Initial capture adds one shallow options copy and one awaited callback; warm refresh adds one native discovery, linear normalized comparison and callback, avoiding reset when topology is unchanged. Accumulated output can repeatedly copy earlier phase text.
|
|
42
|
-
* @evidence contracts/performance.md#reuse-equivalent-work Process keys include binary/name/argv/compiler payload, while stable invocation context and reload guard the remaining startup inputs. Accepted snapshots serve warm topology comparison only after watch registration completes; execution reuse also requires equal physical dependency topology.
|
|
42
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Process keys include binary/name/argv/compiler payload, while stable invocation context and reload guard the remaining startup inputs. Accepted snapshots serve warm topology comparison only after watch registration completes; execution reuse also requires equal physical dependency topology. Emitting cycles reuse descriptor and plugin selection, then load a fresh native Program.
|
|
43
43
|
* @evidence contracts/performance.md#bound-retention-and-release-resources Initial capture closes over the session and caller for its build; warm handoff retains the previous and next snapshots until successful registration replaces the accepted population, while rejection preserves it. Reset clears active maps, execution and snapshots while retiring children and join promises remain separately retained. Unknown joins retain rejection and prevent replacement; delegated termination is not descendant settlement. Stable options bound active process keys by configured checks, but pending unique paths and repeated disposal chains have no independent historical ceiling.
|
|
44
44
|
*/
|
|
45
45
|
class ResidentCheckWatchSession {
|
|
@@ -60,20 +60,20 @@ class ResidentCheckWatchSession {
|
|
|
60
60
|
* stable until reload; callers must not run overlapping cycles.
|
|
61
61
|
*
|
|
62
62
|
* The first cycle, and any cycle after `change.reload`, resolves the project
|
|
63
|
-
* and plugins
|
|
64
|
-
*
|
|
63
|
+
* and plugins. Compatible check entries may then start resident processes;
|
|
64
|
+
* emitting entries reuse selection but rebuild their Program each cycle. A
|
|
65
65
|
* resident process that fails is retired and its entry falls back to the
|
|
66
66
|
* one-shot check for that cycle. Plugin and project watch handoffs complete
|
|
67
67
|
* before checks begin; reused topology is republished through the same
|
|
68
68
|
* completion boundary.
|
|
69
69
|
*
|
|
70
|
-
* @evidence contracts/common.md#principled-implementation Compatible no-emit check-only selection uses the same diagnostic/failure policy as one-shot execution; reload, missing binaries and changed normalized dependency topology cold-resolve the next execution.
|
|
70
|
+
* @evidence contracts/common.md#principled-implementation Compatible no-emit check-only selection uses the same diagnostic/failure policy as one-shot execution; emitting selection retains its plugins but runs a fresh build, and reload, missing binaries and changed normalized dependency topology cold-resolve the next execution.
|
|
71
71
|
* @evidence contracts/common.md#clear-and-simple-design The cycle separates setup/reuse, topology refresh, ordered checks and final diagnostics/timing, delegating each phase to its owning shared operation.
|
|
72
72
|
* @evidence contracts/common.md#prohibited-implementation-shortcuts Failed resident transport retires that process and uses the established real check command; the fallback neither drops forwarded compiler options nor converts a nonzero check into success.
|
|
73
73
|
* @evidence contracts/common.md#meaningful-documentation Native paragraphs document serialization, stable startup inputs, reload and failed-sidecar behavior instead of claiming arbitrary option changes are handled automatically.
|
|
74
74
|
* @evidence contracts/portability.md#os-neutral-implementation Native binary existence and cache freshness use filesystem helpers; all commands preserve selected cwd and use native process/environment abstractions without shell interpolation.
|
|
75
|
-
* @evidence contracts/performance.md#efficient-algorithms Warm cycles avoid project/plugin re-resolution until a missing binary or changed subscribed topology resets selection.
|
|
76
|
-
* @evidence contracts/performance.md#reuse-equivalent-work Selected context and capability-supported sidecars survive only stable invocation cycles; change requests update Programs, reload/topology transitions reset
|
|
75
|
+
* @evidence contracts/performance.md#efficient-algorithms Warm cycles avoid project/plugin re-resolution until a missing binary or changed subscribed topology resets selection. Emitting cycles still run whole-program native work; existence/cache touches, optional onProjectInputs discovery, command/key construction, per-entry unions/sorts, delegated host work and output normalization/merging retain their actual entry/text/byte costs.
|
|
76
|
+
* @evidence contracts/performance.md#reuse-equivalent-work Selected context and capability-supported check sidecars survive only stable invocation cycles; change requests update resident check Programs, while emitting cycles reuse selection and reload a fresh native Program. Reload/topology transitions reset selection, and effectful configured entries remain separately scheduled.
|
|
77
77
|
* @evidence contracts/performance.md#bound-retention-and-release-resources The session retains active sidecars and per-entry pending changes; transport failure retires its process and awaits actual close before fallback. Reset clears active state but not unknown retiring ownership or its rejection. Unconsumed path sets have no finite bound while an earlier entry repeatedly fails; child close does not certify descendants.
|
|
78
78
|
*/
|
|
79
79
|
async run(options, change = {}) {
|
|
@@ -103,10 +103,6 @@ class ResidentCheckWatchSession {
|
|
|
103
103
|
await this.resetForRun("preparation-result");
|
|
104
104
|
return BuildTiming_1.BuildTiming.appendTimingOutput(prepared.result, timing);
|
|
105
105
|
}
|
|
106
|
-
if (!residentCheckExecutionIsCompatible(buildOptions, execution)) {
|
|
107
|
-
await this.resetForRun("incompatible-execution");
|
|
108
|
-
return BuildTiming_1.BuildTiming.appendTimingOutput(BuildExecution_1.BuildExecution.runPreparedBuild(options, timing, execution, buildOptions), timing);
|
|
109
|
-
}
|
|
110
106
|
this.execution = execution;
|
|
111
107
|
}
|
|
112
108
|
else {
|
|
@@ -131,6 +127,15 @@ class ResidentCheckWatchSession {
|
|
|
131
127
|
return this.run(options);
|
|
132
128
|
}
|
|
133
129
|
}
|
|
130
|
+
// An emitting cycle still loads a fresh native Program. Only its stable
|
|
131
|
+
// project/plugin selection survives, so a source edit does not reevaluate
|
|
132
|
+
// descriptors while config, plugin, and input-topology changes reset it.
|
|
133
|
+
if (!residentCheckExecutionIsCompatible(buildOptions, execution)) {
|
|
134
|
+
return BuildTiming_1.BuildTiming.appendTimingOutput(BuildExecution_1.BuildExecution.runPreparedBuild(options, timing, execution, {
|
|
135
|
+
...buildOptions,
|
|
136
|
+
watchWriteIfChanged: true,
|
|
137
|
+
}), timing);
|
|
138
|
+
}
|
|
134
139
|
const checked = await this.runCheckPlugins(buildOptions, execution, timing, change, generation);
|
|
135
140
|
this.assertOpen(generation);
|
|
136
141
|
let result;
|