Repository navigation
Point the Images rail contract at the in-flow footer padding - #8446
Conversation
#8411 moved the Create action into an in-flow footer and dropped the rail from pb-20 to pb-6, but left this contract asserting the old utility string, so tests/studio/test_desktop_reliability_frontend_contract.py has been red on main since it merged: assert "gap-4 px-10 pt-9 pb-20 @[50rem]:overflow-y-auto" in section AssertionError Reproduced on a clean main worktree: 1 failed, 34 passed. The assertion now names pb-6 and, alongside it, panel-scroll-fade-action. The two belong together: the small padding is only correct while the 48px mask is there to dissolve the last control into the footer, so a change that drops the fade but keeps pb-6 should fail here. Checked the assertion still bites by reverting the page back to pb-20 with the new contract in place: the test fails, so this is not a vacuous match.
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
|
Validated on a staging repo, because the org Actions queue is saturated: the last 30 runs across unslothai/unsloth are 18 queued and 12 pending with none completed, and every run on this branch has been cancelled while queued rather than executed. Re-running them twice produced the same result, so the red checks here are queue infrastructure, not this change. Staging run: danielhanchen#911, this branch merged onto fresh main. Repo tests (CPU), which is the job that runs
So this removes exactly one failure and introduces none. Two other jobs are red on that staging run and neither is reachable from this diff, which is one file, +6/-1, under
|
tests/studio/test_desktop_reliability_frontend_contract.pyis red on main right now.#8411 moved the Images Create action into an in-flow footer and dropped the rail from
pb-20topb-6, but the contract that pins those utilities still names the old string:Reproduced on a clean worktree of main, no other changes:
1 failed, 34 passed.The change
The assertion now names
pb-6, and assertspanel-scroll-fade-actionnext to it. The two belong together: the small padding is only correct while the 48px mask is there to dissolve the last control into the footer, so a later change that drops the fade but keepspb-6should fail here rather than pass quietly.Checks
pb-20with the new contract in place turns the test red again.tests/studio/as a whole is unchanged by this beyond the one test going green.Not fixed here
Three other contracts are also red on main and are unrelated to this area, so they are left for whoever owns them rather than bundled in:
test_model_picker_contracts.py::test_a_lost_generate_post_must_prove_it_reached_the_backend(expectsknownIds)test_remote_connection_models_contract.py::test_frontend_sync_backfills_local_models_to_backend(expectsPromise.allSettled(backfillTasks))test_remote_connection_models_contract.py::test_chat_page_hydrates_connections_on_startup(expectssyncExternalProvidersFromBackend)Each fails identically on a clean main worktree.