Skip to content

Remove .golangci.bck.yaml, update renovate.json#442

Merged
bootjp merged 1 commit intomainfrom
feat/update
Mar 31, 2026
Merged

Remove .golangci.bck.yaml, update renovate.json#442
bootjp merged 1 commit intomainfrom
feat/update

Conversation

@bootjp
Copy link
Copy Markdown
Owner

@bootjp bootjp commented Mar 31, 2026

No description provided.

@bootjp bootjp enabled auto-merge March 31, 2026 16:44
@bootjp bootjp merged commit 32ed7ce into main Mar 31, 2026
7 checks passed
@bootjp bootjp deleted the feat/update branch March 31, 2026 16:45
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the project's linter configuration and updates the Renovate settings. Specifically, it introduces a vulnerabilityAlerts configuration to automate security updates while disabling general automerge for patches and digests. Feedback indicates that the removal of the automerge property from the packageRules section has left a redundant configuration block that should be cleaned up to maintain a concise configuration file.

Comment thread renovate.json
Comment on lines +18 to +20
]
}
]
],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The packageRules entry (lines 11-20) is now redundant because it contains no configuration properties (such as automerge or groupName) after the removal of the automerge setting. Additionally, note that disabling automerge for patch and digest updates will require manual intervention for all dependency updates, which may increase maintenance overhead. Consider either removing the redundant block entirely or restoring the automerge setting for non-major updates if automatic updates are still desired.

bootjp added a commit that referenced this pull request Apr 30, 2026
Three issues, all valid.

#237 Codex P1 -- preserve item generation when grouping rows.
Item keys carry !ddb|item|<table>|<generation>|... but the prior
parser dropped the generation and Finalize merged all generations
under the active schema. In real clusters, in-flight delete/recreate
cleanup leaves stale-gen rows visible in the snapshot for a window;
those rows would silently restore as items under the new schema
(potentially resurrecting deleted data, or failing Finalize when
PK names changed across generations).

Fix:
- parseDDBItemKey now returns (encodedTable, generation).
- ddbTableState.items -> itemsByGen map[uint64][]*pb.DynamoItem.
- flushTable filters by st.schema.GetGeneration() and emits a
  ddb_stale_generation_items warning carrying the count and active
  gen so the operator can correlate the orphan window.

#182 Gemini -- fail-fast on flush errors.
Finalize previously deferred the first error and continued through
remaining tables. Real flush errors (out of disk, bad permissions)
should surface immediately, not be misattributed to a later table
whose flush also fails. Orphan-table warnings still continue (those
are informational, not errors).

#442 Gemini -- empty set serializes as [] not null.
setAttributeValueToPublic now uses make+append so nil/empty SS/NS/BS
become "{\"SS\":[]}" rather than "{\"SS\":null}". Downstream tools
that distinguish "present-but-empty" from "missing" no longer see
a misleading null.

Tests: TestDDB_StaleGenerationItemsExcludedAndWarned,
TestDDB_EmptyStringSetSerializesAsEmptyArrayNotNull,
TestDDB_ParseItemKeyExtractsGeneration. Existing fixtures updated
to set Generation=1 on schemas (matching the item key gen).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant