feat(cliv2): enable CaptureEngine billing lifecycle [IANDT-240] - #7067
Draft
brettgurman-snyk wants to merge 6 commits into
Draft
feat(cliv2): enable CaptureEngine billing lifecycle [IANDT-240]#7067brettgurman-snyk wants to merge 6 commits into
brettgurman-snyk wants to merge 6 commits into
Conversation
…-240] Create one command-scoped capture bag for workflow and legacy proxy traffic, call clibilling.Finish from tearDown on exit code 0, and remove the bespoke legacy_contributor_billing emit path. Requires GAF 237+238; use local replace for development until those land on main. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
3 tasks
⛔ Snyk checks have failed. 2 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Delegate bag lifecycle to GAF CaptureEngine (begin/finish at command boundaries). Remove cliv2 networkinjector ctx and legacycli capture duplication; GAF HTTP transport injection handles legacy proxy traffic. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
…[IANDT-240] Remove contributor_billing.go wrapper; host lifecycle helpers now live in GAF. Co-authored-by: Cursor <cursoragent@cursor.com>
Use pseudo-version from go-application-framework #681 so CI can compile pkg/clibilling before the tagged release. Co-authored-by: Cursor <cursoragent@cursor.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
Minimal cliv2 host adapter for IANDT-240: enable GAF capture orchestration and call
clibilling.BeginCommand/clibilling.FinishCommandat command boundaries.Requires GAF IANDT-237 + 238 + 240 (#681) merged and a
go.modbump.Diff vs
main(2 files)main.goEnableIfConfigured+WithContributorBillingCapture();BeginCommand/FinishCommandat command start andtearDowngo.modreplaceNo
contributor_billing.go— lifecycle helpers live in GAFpkg/clibilling.cliv2 wiring
Test plan
go test ./pkg/core/...(with local GAF replace)Merge order
#664 → #671 → #681 → this PR (go.mod bump) → E2E