Repository navigation
Conversation
(cherry picked from commit 7bc3989)
(cherry picked from commit a8b95ae)
(cherry picked from commit 9a889a1)
(cherry picked from commit 1344e0d)
(cherry picked from commit d4ad9ac)
(cherry picked from commit 69d6ee5)
… text CONFIG_ENV_KEYS missed JCODE_MEMORY_JEV_PROVIDER, which apply_env_overrides reads, so the fingerprint test failed. The generated default-file assertion also referenced a 'reasoning effort "none"' comment the memory section no longer documents; assert on the JCODE_MEMORY_SIDECAR_ENABLED override instead.
The system prompt was reworded in 2483892; the skill-integration test still looked for the previous sentence.
Other jcode processes on the machine hold the same assertion reason, so a global substring check fails whenever a daemon or another session is streaming. Compare per-pid assertion counts against a baseline instead.
Contributor
|
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This was referenced Sep 21, 2026
Owner
|
Thanks for the thorough breakdown! Current master already has these fixed: |
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.
Fixes #1358.
Root cause
The issue was filed as a thread-count race, but on re-check all 11 also fail with
--test-threads=1. They are code-vs-test drift plus two environment leaks:auth::codex::tests::multi_account_active_switch_worksopenai-1/openai-2auth::oauth::tests::basic::save_claude_tokens_preserves_existing_account_metadataclaude-1->claude-otter)provider::tests::test_same_provider_account_candidates_include_other_openai_accountsauth::cursor::tests::vscdb_missing_key_returns_errorQueryReturnedNoRowsauth::tests::cursor_status_is_available_for_authenticated_cli_session,full_and_fast_auth_status_document_cursor_cli_exceptionconfig::tests::config_env_fingerprint_tracks_every_apply_env_override_varapply_env_overridesreadsJCODE_MEMORY_JEV_PROVIDER(2e6e423) butCONFIG_ENV_KEYSnever listed it. This is a real bug: config cache fingerprint ignores that varconfig::tests::test_generated_default_config_has_expected_user_defaultsreasoning effort "none"comment the memory section no longer containsprompt::prompt_tests::test_skill_prompt_integrationYou are Jcode.platform::platform_tests::spawn_detached_creates_new_sessionps -o sid=, which is not portable; readgetsid(child)from the parent insteadsession::tests::cases::streaming_guard_creates_visible_macos_sleep_assertionpmsetsubstring match fails whenever any other jcode process is streaming; count this pid's assertions vs a baselineOnly
CONFIG_ENV_KEYSis a non-test change (one line).Evidence (macOS aarch64, 11 cores)
Unrelated intermittent failures seen on both base and branch:
background::tests::adopted_task_output_exists_while_running_and_is_replaced_on_completion,jev::tests::browser_auth_billing_and_redirect_failures_never_retry_or_fallback,jev::tests::failed_preflight_does_not_send_decision_request,provider::stream_timeout::tests::effort_scaling_never_shrinks_the_base_budget. Not touched here.cargo clippy -p jcode-base --lib --tests: no new warnings vs master.cargo fmt --checkclean.