Synced from monorepo
Synced from monorepo Changes: - Cache growing transcripts on the messages backend - Tell the model when a wait was clamped instead of re-inviting it - Stop the stationarity nudge from claiming results are identical - Deliver the stationarity nudge after the tool result - Run auth provider commands through the platform shell (fixes Windows) - Keep monitor tool stdout short and prescriptive - Use UUIDs for analytics event insert IDs - Stop crashing at startup when the host runs out of threads - Delete the current session from within the session - Add project forking-settings toggle (backend and deploy-time control) - Reap a session’s bash and background commands when it closes - Reap a session’s hook child processes when it closes - Track coding-data consent decisions - Fail open the access gate to stop false CLI paywalls - Ship Agent Dashboard user guide - Enable doom-loop recovery by default - Kill agent children and the idle inhibitor when the parent process dies - Fix multi-process credential wipe and orphaned session log writers Source-Revision: 6372e41d828b8a6ee82c29e01a69e27ec895cca9
This commit is contained in:
parent
5da6962e4a
commit
500129c714
89 changed files with 3841 additions and 771 deletions
|
|
@ -327,8 +327,9 @@ async fn subscription_watch_polls_free_tier_then_goes_dormant_after_upgrade() {
|
|||
#[ignore = "PTY e2e; run the owning pty_e2e_* Cargo test with --ignored (see Cargo.toml)"]
|
||||
async fn startup_gate_shows_paywall_for_free_user_after_live_check() {
|
||||
let content = ContentController::start().await.expect("start content");
|
||||
// Gated settings (no allow_access), free user (no subscriptionTier).
|
||||
// Explicit deny + gate copy. Absent allow_access now fails open.
|
||||
content.server().set_settings(json!({
|
||||
"allow_access": false,
|
||||
"gate_message": GATE_MSG,
|
||||
"gate_url": "https://grok.com/supergrok?referrer=grok-build",
|
||||
"gate_label": "Subscribe",
|
||||
|
|
@ -398,7 +399,10 @@ async fn stale_gate_push_never_flashes_paywall_for_subscribed_user() {
|
|||
// One stale gated snapshot: the "remote settings stale moment".
|
||||
content.enqueue_response(
|
||||
"/v1/settings",
|
||||
ScriptedResponse::json(200, json!({ "gate_message": GATE_MSG })),
|
||||
ScriptedResponse::json(
|
||||
200,
|
||||
json!({ "allow_access": false, "gate_message": GATE_MSG }),
|
||||
),
|
||||
);
|
||||
harness.inject_keys(b"/new\r").expect("run /new");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue