Skip to content

fix: deflake JevTrace managed-agent test and gate Codecov upload on token presence - #3610

Merged
xzxiaoshan merged 1 commit into
agentscope-ai:mainfrom
xzxiaoshan:fix/build-error-161654
Oct 16, 2026
Merged

xzxiaoshan merged 1 commit into
agentscope-ai:mainfrom
xzxiaoshan:fix/build-error-161654

Conversation

@xzxiaoshan

Copy link
Copy Markdown
Collaborator

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.

…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.
@xzxiaoshan
xzxiaoshan merged commit 055eac0 into agentscope-ai:main Oct 16, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants