Repository navigation
Add opt-in build phase progress producer - #3095
Open
Saipriya-1144 wants to merge 2 commits into
Open
Saipriya-1144 wants to merge 2 commits into
Saipriya-1144 wants to merge 2 commits into
Conversation
Emit bounded, fail-open phase_started JSONL records from shared Oryx build boundaries without depending on Kudu persistence or API models. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a minimal, opt-in Oryx build-phase producer for the Kudu Deployment Progress Tracker V1. Oryx remains independent of Kudu persistence, journal, snapshot, and API models: it only emits bounded machine phase signals while the local build script runs.
This is a new implementation from current
main. PR #3092 was used only for test and integration lessons; this PR does not modify, retarget, close, or build on it.Protocol
ORYX_PROGRESS_ENDPOINT=file:<absolute-path>andORYX_PROGRESS_OPERATION_ID=<opaque-safe-id>.FileMode.Open, append-writes, and never creates or deletes it.schemaVersion,eventType,operationId,phase, andtimestampUtc.phase_started, withschemaVersion: 1.pre_build,build.execute,post_build,output.prepare,output.compress, andmanifest.write, emitted only when the corresponding existing boundary runs.Example record:
{"schemaVersion":1,"eventType":"phase_started","operationId":"operation-123","phase":"build.execute","timestampUtc":"2026-10-09T01:02:03.4567000Z"}Scope and non-scope
The implementation is centralized in the shared base build template plus one hidden internal append command. It does not add capability discovery,
build_started,build_completed, outcomes, percentages, deployment IDs, step state, attempts, customer-facing text, commands, paths, logs, exceptions, package/project names, or any Kudu-owned model.Validation
dotnet build src\BuildScriptGeneratorCli\BuildScriptGeneratorCli.csproj --configuration Release --no-restore --verbosity minimal— passed; only existing analyzer/obsolete-option warnings.dotnet test tests\BuildScriptGenerator.Tests\BuildScriptGenerator.Tests.csproj --configuration Release --no-restore --logger "console;verbosity=minimal"— 599 passed.dotnet test tests\BuildScriptGeneratorCli.Tests\BuildScriptGeneratorCli.Tests.csproj --configuration Release --no-restore --logger "console;verbosity=minimal"— 112 passed, 5 existing platform skips.DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1.