Skip to content

test(pitwall): trace real DATA and AGENTS path - #1256

Merged
VforVitorio merged 1 commit into
devfrom
fix/1252-real-pitwall-trace
Sep 24, 2026
Merged

VforVitorio merged 1 commit into
devfrom
fix/1252-real-pitwall-trace

Conversation

@VforVitorio

Copy link
Copy Markdown
Owner

Implements the real TCP-to-PITWALL trace for issue #1252. It captures and cross-validates the wire payload, host APIs, browser state, rendered DATA/AGENTS values, screenshots, sequence, race, action, and no-LLM mode. Adds a loopback port override, regression/mutant tests, and testing docs.\n\nValidated against the real 2025 Lusail NOR/McLaren Arcade run (lap 7, seq 3227): strict report PASS, 11 checks, 0 failures; both rendered views captured with no browser console errors. Focused tests: 156 passed; Ruff, format, Node syntax, UI build, and smoke checks passed.\n\nRefs #1252.

@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 02732f2a-41d6-4ba1-a62e-1477d6ee3132

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added area: codebase Touches src/, scripts/, or notebooks/ area: docs Touches docs/, README, or other markdown area: tests Touches tests/ labels Sep 24, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-24T08:37:01.814683Z c837048 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@VforVitorio
VforVitorio merged commit 927a051 into dev Sep 24, 2026
14 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c837048ef3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
},
"checks": {
"wire_decision_lap": true,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Regenerate the trace with the submitted capture code

When this committed audit is treated as evidence for the new trace path, it could not have been produced by the submitted trace_pitwall_real_path.py: _evaluate_trace_checks now emits keys such as wire_seq_valid, host_seq_matches_wire, and data_live_matches_wire, while this report contains the older, weaker check set beginning with wire_decision_lap. The browser report is likewise from an older schema, storing screenshot strings where the submitted probe always stores {path, ok, size} objects. Consequently, the claimed real run does not exercise the capture implementation being added; regenerate all audit artifacts with the final scripts before using the PASS result.

Useful? React with 👍 / 👎.

Comment on lines +8122 to +8123
"data": "C:\\Users\\victo\\Desktop\\Documents\\Cuarto Año\\TFG\\F1_StratLab_1252\\documents\\audits\\TRACE_1252_1252-lusail-nor-l7-20260924-run1_data.png",
"agents": "C:\\Users\\victo\\Desktop\\Documents\\Cuarto Año\\TFG\\F1_StratLab_1252\\documents\\audits\\TRACE_1252_1252-lusail-nor-l7-20260924-run1_agents.png"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Record portable screenshot paths

When the checked-in audit is verified from any checkout other than the author's Windows directory, verify_pitwall_trace.py interprets this absolute path verbatim, cannot find the committed PNG beside the report, and fails screenshots_exist_and_are_nonempty. Running the documented verifier against these artifacts in this checkout reproduces that failure. Store a repository-relative path or resolve the screenshot basename relative to the audit directory so the supplied evidence remains independently verifiable.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: codebase Touches src/, scripts/, or notebooks/ area: docs Touches docs/, README, or other markdown area: tests Touches tests/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant