aKode fase 2c: eliminato il codice di invio dati (crate analytics, otel-trace-websocket, sentry, esportatori OTLP); /feedback salva solo in locale; chiavi legacy [analytics]/[otel] accettate e ignorate; test di analytics/OTLP/upload rimossi
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
Some checks failed
blocking-ci / rust-ci (push) Has been cancelled
blocking-ci / sdk (push) Has been cancelled
blocking-ci / CI required (push) Has been cancelled
blocking-ci / Bazel (push) Has been cancelled
blocking-ci / Blob size policy (push) Has been cancelled
blocking-ci / cargo-deny (push) Has been cancelled
blocking-ci / Codespell (push) Has been cancelled
blocking-ci / repo-checks (push) Has been cancelled
postmerge-ci / rust-ci-full (push) Has been cancelled
postmerge-ci / v8-canary (push) Has been cancelled
postmerge-ci / Postmerge CI results (push) Has been cancelled
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
use super::*;
|
||||
use crate::CodexFeedback;
|
||||
use crate::FeedbackUploadOptions;
|
||||
use crate::FeedbackSaveOptions;
|
||||
use pretty_assertions::assert_eq;
|
||||
use std::fs::File;
|
||||
use std::io::Read;
|
||||
use zip::ZipArchive;
|
||||
|
||||
fn options() -> FeedbackUploadOptions<'static> {
|
||||
FeedbackUploadOptions {
|
||||
fn options() -> FeedbackSaveOptions<'static> {
|
||||
FeedbackSaveOptions {
|
||||
classification: "bug",
|
||||
reason: Some("synthetic feedback"),
|
||||
tags: None,
|
||||
@@ -126,7 +126,7 @@ fn save_preserves_report_and_log_consent() -> Result<()> {
|
||||
CodexFeedback::new()
|
||||
.snapshot(/*session_id*/ None)
|
||||
.save_feedback(
|
||||
FeedbackUploadOptions {
|
||||
FeedbackSaveOptions {
|
||||
include_logs,
|
||||
..options()
|
||||
},
|
||||
@@ -162,7 +162,7 @@ fn save_rejects_oversized_events_without_publishing() -> Result<()> {
|
||||
let error = CodexFeedback::new()
|
||||
.snapshot(/*session_id*/ None)
|
||||
.save_feedback(
|
||||
FeedbackUploadOptions {
|
||||
FeedbackSaveOptions {
|
||||
reason: Some(&reason),
|
||||
..options()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user