Repository navigation
Check TUI compile inputs before native build setup - #72960
teamleaderleo wants to merge 2 commits into
Conversation
Co-authored-by: Codex gpt-6.2-sol <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-3169c172193493e84cc7&model=gpt-6.2-sol
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="tests/test_ci_compile_rust_inputs_key.py">
<violation number="1" location="tests/test_ci_compile_rust_inputs_key.py:151">
P2: This only checks that the setup steps come after the inputs lookup, not that they come before the compile. Add an upper bound against the `compile` step so a reorder past it fails the test.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
| ): | ||
| with self.subTest(step=name): | ||
| index = names.index(name) | ||
| self.assertGreater(index, at + 1) |
There was a problem hiding this comment.
P2: This only checks that the setup steps come after the inputs lookup, not that they come before the compile. Add an upper bound against the compile step so a reorder past it fails the test.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At tests/test_ci_compile_rust_inputs_key.py, line 151:
<comment>This only checks that the setup steps come after the inputs lookup, not that they come before the compile. Add an upper bound against the `compile` step so a reorder past it fails the test.</comment>
<file context>
@@ -141,6 +141,16 @@ def test_compile_rust_reuses_by_inputs_only_on_a_pull_request_and_skips_only_on_
+ ):
+ with self.subTest(step=name):
+ index = names.index(name)
+ self.assertGreater(index, at + 1)
+ self.assertIn("steps.tree.outputs.hit != 'true'", steps[index]["if"])
+ self.assertIn("steps.inputs.outputs.hit != 'true'", steps[index]["if"])
</file context>
| self.assertGreater(index, at + 1) | |
| self.assertGreater(index, at + 1) | |
| self.assertLess(index, ids.index("compile")) |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
|
|
Reopening under a bot author (quota-goblin) so Leo can approve it: GitHub does not let him approve a PR his own account opened. Same head branch; the new PR is linked below. |
Draft opened automatically by lane
host-now-publishat the first push oflane/ci1500-tui-compile-overlap(goal pr-in-an-hour). Its owngh pr createreplaces this title and body and marks it ready.🤖 Generated with Codex
Agent session: agent session
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Skips native build setup in the compile-rust job when the TUI compile inputs cache hits, so CI no longer installs Linux build dependencies, initializes the ghostty-next submodule, or installs Zig unless an actual compile is needed.
Written for commit 44b862e. Summary will update on new commits.