Skip to content

test_an_acknowledgment_uses_status_until_an_active_claim_restores_a_disclosure fails on main since #5336 #5482

Closed

Description

@leaf-agent

Since #5336 ("expose the chrome's foreground layer as a generic box, not a dialog"), the margin status test throws Unknown contribution entry option: className from contribution-model.js.

Failing on main (b5f5c5d43, reproduced locally with uv run pytest --run-main):

  • tests/browser/margin/test_status.py::test_an_acknowledgment_uses_status_until_an_active_claim_restores_a_disclosure
    playwright._impl._errors.Error: Page.evaluate: TypeError: Unknown contribution entry option: className at unknownOptions (http://127.0.0.1:45115/revisions/r1-a8b1cec0f1776255/8a0a723dc3091cd2/runtime/contribution-model.js:161:11) at contributionEntry (http://127.0.0.1:45115/revisions/r1-a8b1cec0f1776255/8a0a723dc3091cd2/runtime/contribution-model.js:197:3) at contributionEntry (http://127.0.0.1:45115/revisions/r1-a8b
    

Introducing change: #5336 (2f07c01). Bisect over the 52c7000..649db78 range ran test_an_acknowledgment_uses_status_until_an_active_claim_restores_a_disclosure at each step; the test passes on 2f07c01a6^ and fails on 2f07c01a6.

CI evidence: first failing push run 41814482303, and every push run since through 41954384375. Each run's pytest-results-* artifact has the tracebacks and screenshots.

No cause has been diagnosed past the bisect. Read #5336's description for what it meant to change, then decide per .claude/skills/running-tend/SKILL.md, Reading a red suite, whether each test expects behaviour #5336 replaced (update the test) or caught a regression (fix the code).

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 5, 2026
  2. leaf-agent commented on Nov 5, 2026

    @leaf-agent
    CollaboratorAuthor

    #5535 fixes this. The test is stale, and the code hasn't regressed. The cause is #5329 (078ad7e), which landed a minute after #5336 and deliberately removed the className option from contribution entries. That change moved its tests to data-lf-margin-entry-owner / data-lf-margin-entry-key but missed this test's probe. #5336 only touched chrome.js. The PR makes the probe find its entry by owner and key. The test fails on main with the reported error and passes with the change, and the PR's CI is running.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions