8000 [EXPERIMENT] Widen mutable direct object-property literals by teamleaderleo · Pull Request #4 · teamleaderleo/biome · GitHub
[go: up one dir, main page]

Skip to content

[EXPERIMENT] Widen mutable direct object-property literals - #4

Draft
teamleaderleo wants to merge 17 commits into
ci/biome-focused-basefrom
candidate/biome-11174-widen-object-property-literals
Draft

teamleaderleo wants to merge 17 commits into
ci/biome-focused-basefrom
candidate/biome-11174-widen-object-property-literals

Conversation

@teamleaderleo
@teamleaderleo teamleaderleo commented Aug 5, 2026 •
Copy link
Copy Markdown
Owner

Internal Fieldwork candidate for the direct object-literal portion of Biome issue 11174.

The exact losing run 30946698463 / job 92118354511 reproduced four unexpected diagnostics: two direct object-property cases and two generic useRef cases.

This candidate is intentionally narrower:

  • widen mutable boolean, number, and string literals in direct object members;
  • preserve literal inference under as const;
  • cover nested direct object properties;
  • leave generic-returned properties such as useRef<T>() outside the claim.

The branch retains the exact reproduction receipt, a fail-closed source transformer, scope record, and a focused apply/build/test workflow. The first candidate run failed before product execution because a stored patch artifact was malformed; that artifact has been removed and superseded by the exact-anchor transformer.

A green result is partial candidate validation, not issue-complete resolution. No canonical-upstream interaction is authorized or performed.

@github-actions
github-actions Bot commented Aug 5, 2026
Copy link
Copy Markdown

⚠️ Mixed activity

Activity patterns show a mix of organic and automated signals.

View full analysis →

This is an automated analysis by AgentScan

Copy link
Copy Markdown
Owner Author

Exact scoped candidate result

Focused workflow 30974887580, job 92206760837, completed successfully at head 2121e7c34cb058e23b686df14d5dcf8cd4beba75.

Completed gates:

  • fail-closed exact source transformation;
  • candidate fixture plus checked-in empty-diagnostic snapshot generation;
  • repository Rust formatting;
  • cargo check -p biome_js_type_info;
  • focused no_unnecessary_conditions spec suite: 11 passed, 0 failed.

This validates the declared direct-object scope:

  • mutable boolean, number, and string object-property literals widen;
  • nested direct object properties are accepted;
  • as const remains excluded from widening.

It does not resolve or test the generic-returned useRef<boolean>(false) and useRef<number>(0) cases reproduced by losing run 30946698463 / job 92118354511.

Disposition: DIRECT-OBJECT CANDIDATE FOCUSED-GREEN / ISSUE REMAINS PARTIAL. No canonical-upstream interaction occurred.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0