Repository navigation
fix: deflake JevTrace managed-agent test and gate Codecov upload on token presence - #3610
Merged
Merged
Conversation
…oken presence - JevTraceManagedAgentTest: the default workspace journal is one SQLite file written per event with full sync; under parallel -T1C builds the per-commit fsyncs (plus AV scans of the fresh -journal files on Windows runners) can stall a run past the 10 s block budget — the mechanism agentscope-ai#3602 documented for SubagentPendingToolRecoveryTest. The test validates JEV wiring on an all-stub pipeline and never reopens state from disk, so an InMemorySessionLogStore removes the mechanism outright instead of raising the budget (agentscope-ai#3519 pattern). - Codecov upload: fork PRs cannot see CODECOV_TOKEN and Codecov rejects tokenless uploads to a protected branch with HTTP 400, failing the job. Skip the step when the token is absent and stop failing CI on codecov-side errors.
jujn
approved these changes
Oct 16, 2026
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.
Follow-up to #3608, covering the remaining failures from the parallel -T1C CI batch. No timeout values were changed — both fixes remove failure mechanisms rather than budgeting more time for them.
JevTraceManagedAgentTest block timeout (job 115705826734): the default workspace journal is one SQLite file written per event with full sync, connection-per-op, busy timeout 10 s — equal to the test's entire block budget, i.e. zero headroom by construction. Under -T1C on Windows runners, per-commit fsyncs plus AV scans of the fresh -journal files can stall a run past 10 s; this is the same mechanism documented for SubagentPendingToolRecoveryTest in #3602. The test validates JEV middleware wiring on an all-stub pipeline (mocked JevClient, Flux.just model, Mono.just sources) and never reopens state from disk, so an InMemorySessionLogStore removes the IO mechanism outright — the pattern applied to SharedWorkspaceSkillStagingE2ETest in #3519.
Codecov upload failing the build (job 114655326210): fork PRs cannot see CODECOV_TOKEN, and Codecov rejects tokenless uploads to a protected branch with HTTP 400, which failed the whole job. The step is now skipped when the token is absent, and fail_ci_if_error is off so codecov-side outages never mask the build result.