Skip to content

release/2026.11.1: pnpm lint fails session-manager max-lines (701/705 vs 700) #190855

Closed

Description

@adam-byte-glitch

Summary

The official release/2026.11.1 source at signed commit 6a9955d8a769c0515d782f0a7dce648d9cdfd7aa (2026.11.1-beta.1) fails the repository's enforced eslint(max-lines) rule in two session-manager files. The later signed release-branch head f9a2dca06a110c4205986e70ba9e90218f68868f retains identical bytes for both files; it was inspected remotely, not independently linted.

This blocks downstream qualification of an unmodified Core + bundled Codex build. No production runtime failure is attributed to the lint errors.

Environment and reproduction

  • macOS arm64; Node 26.1.0; repository-pinned pnpm 12.15.0.
  • Fresh isolated checkout at 6a9955d8a769c0515d782f0a7dce648d9cdfd7aa.
  • pnpm install --frozen-lockfile completed successfully.
  • Run the public pnpm lint command with the repository's unchanged configuration.

Observed during Core stripe 2:

Oxlint eslint(max-lines)
  src/agents/sessions/session-manager-core.ts: File has too many lines (701). Maximum allowed is 700.
Oxlint eslint(max-lines)
  src/agents/sessions/session-manager.ts: File has too many lines (705). Maximum allowed is 700.
src/agents/sessions/session-manager-core.ts:772:2: error: File has too many lines (701). (eslint(max-lines))
  Maximum allowed is 700.
src/agents/sessions/session-manager.ts:775:3: error: File has too many lines (705). (eslint(max-lines))
  Maximum allowed is 700.
Found 0 warnings and 2 errors.
[oxlint:core:stripe:2] failed (exit 1)

After this conclusive failure, we cancelled the remaining batch. Stripe 4 consequently exited 143. This is not a claim that the complete lint suite finished, or that unexecuted checks passed. Owned processes were subsequently verified closed. Tracked upstream source was unchanged before/after.

Source identity

The following SHA-256 hashes match both inspected release-branch commits and the locally linted files:

File SHA-256
src/agents/sessions/session-manager-core.ts 46f4e08844aab0ae1cd5999b0e10570635642d77771c7ae8b4ea19576437d886
src/agents/sessions/session-manager.ts c1bbb047939a1efc07ad135e74305f7c0ce4a451cf35a07566d84137b5afb454

Scope and requested resolution

Please fix the release branch's source structure under its existing lint rule and identify an official corrected source/release candidate. We are not requesting a raised limit, exclusion, local Native patch, or version override.

The documented scripts/package-openclaw-for-docker.mjs --bundle-plugin codex build/package/integrity checks completed, and focused request, heartbeat and physical migration/rollback suites passed 172 tests in aggregate. Those are only partial evidence: the candidate remains unqualified and was not installed, and isolated runtime/live agent tests were not run.

The intended deployment needs the Codex startup/request deadline separation from #173716, actual bundled Codex provenance, compatible disabled-heartbeat migration, and the existing backup/rollback safeguards. A successful archive build alone does not establish these deployment gates.

Duplicate check before filing: no exact issue found for this commit or the combination of these two files and this max-lines failure. Related general ratchet issue #178375 appears distinct from this concrete enforced Oxlint refusal.

Activity

  1. adam-byte-glitch commented on Nov 2, 2026

    @adam-byte-glitch
    Author

    Follow-up: the exact upstream source correction already exists on main in merged #190630, signed commit d5320176f888add7314f2bedc84851d10991f96f, fix(ci): restore runtime module line limits.

    That change moves code into existing codec/path owners, including both failing session-manager files. It is not integrated into the inspected release/2026.11.1 head f9a2dca06a110c4205986e70ba9e90218f68868f, whose two file hashes still match the failed candidate exactly. The GitHub comparison reports diverged branches, not that the fix is an ancestor of this release head.

    The outstanding request is therefore official release-branch integration / a compatible corrected official candidate, not a new local workaround. We have not cherry-picked, relabeled, patched or installed a custom distribution.

    For completeness, inspected main 710b58de2adfae0d4a9da83aaf0bc55d851dfbc3 still declares Core and Codex 2026.10.9, older than our installed 2026.10.10-beta.1 configuration. We cannot waive the future-config/downgrade admission check to use it. Inspected release/2026.10.10 head d1350f6f retains the pre-fix Codex request implementation, so it does not establish the startup fix needed for this qualification either.

    No full qualification of these alternatives or live-runtime success is claimed. Please identify a compatible official source/release including the existing line-limit correction and the required Codex startup repair.

  2. added
    clawsweeper:intake:bug
    P2
    clawsweeper:needs-maintainer-review
    clawsweeper:no-new-fix-pr
    clawsweeper:source-repro
    impact:other
    issue-rating: 🦞 diamond lobster
    and removed
    clawsweeper:intake:bug
    on Nov 2, 2026
  3. clawsweeper commented on Nov 2, 2026

    @clawsweeper
    Contributor

    Thanks for the context here. I did a careful shell check against current main, and this is already implemented.

    The structural repair is merged on main, and published official source also places both reported files below the unchanged 700-line cap.

    So I’m closing this as already implemented rather than keeping a duplicate issue open.

    Review details

    Best possible solution:

    Close the lint-specific issue using the existing structural repair and corrected official source.

    Do we have a high-confidence way to reproduce the issue?

    Historical source counting matches the reported overages, while current-main and inspected official-release counts are below the cap; no lint execution is claimed.

    Is this the best way to solve the issue?

    The merged extraction preserves existing module ownership and exports, and the published source removes the specific overages without requiring another patch or a raised limit.

    Security review:

    Security review: This issue reports a source lint failure without a security-sensitive concern.

    AGENTS.md: found and applied where relevant.

    What I checked:

    • Reporter identifies the existing repair: The reporter credits fix(ci): restore runtime module line limits #190630 and distinguishes the remaining official-source request from a local workaround; live discussion and timeline show no protected maintainer signal or open closing PR.
    • Verified structural fix: GitHub confirms fix(ci): restore runtime module line limits #190630 merged as d532017. Its diff extracts tree construction into the existing codec and relocates the read-only type while preserving the facade export; its recorded validation reproduces the original failures and passes targeted lint after repair. (src/agents/sessions/session-manager-core.ts, d5320176f888)
    • Current main retains the repair: getTree delegates to buildSessionTree; the facade exports ReadonlySessionManager from its dedicated type owner. Read-only source counting excluding blank and comment-only lines gives 697 for session-manager-core.ts and 699 for session-manager.ts. (src/agents/sessions/session-manager-core.ts:614, 636454ee16af)
    • Historical failure and corrected official source: REST source reads reproduce the reporter's exact SHA-256 identities and 701/705 source counts at both reported commits. The same counting method gives 696/654 at v2026.11.1 and v2026.11.3, independently of release-branch lint exemptions. (src/agents/sessions/session-manager.ts, 4ffdd2047d19)
    • Official release identity and original cap: The verified signed v2026.11.1 tag resolves to 4ffdd20 and was published November 5. Its source configuration retains max-lines 700 with blank lines and comments excluded. (.oxlintrc.json:384, 4ffdd2047d19)
    • Fix provenance and release distinction: Local commit metadata dates the main repair to 2026-11-01T20:25:08Z. No version tag contains that exact commit, and GitHub comparisons with v2026.11.1 and v2026.11.3 report diverged histories; the corrected release source is therefore not attributed to inclusion of this main commit. (d5320176f888)

    Codex review notes: model internal, reasoning medium; reviewed against 636454ee16af; fix evidence: commit d5320176f888, main fix timestamp 2026-11-01T20:25:08Z.

  4. openclaw-barnacle commented on Nov 15, 2026

    @openclaw-barnacle

    This issue has been automatically marked as stale after 7 days without qualifying human activity.
    Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
    A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.

  5. added
    stale
    on Nov 15, 2026
  6. added
    clawsweeper:intake:bug
    issue-rating: 🦪 silver shellfish
    clawsweeper:not-repro-on-main
    and removed
    clawsweeper:intake:bug
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-maintainer-review
    clawsweeper:source-repro
    issue-rating: 🦞 diamond lobster
    on Nov 15, 2026
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

    P2clawsweeper:not-repro-on-mainimpact:otherissue-rating: 🦪 silver shellfishstale

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions