chore: rename npm package to emberdb, add oidc trusted publishing#332
Merged
chore: rename npm package to emberdb, add oidc trusted publishing#332
Conversation
COMMAND (with COUNT, INFO, DOCS, LIST subcommands) provides the static command metadata that client libraries like jedis, lettuce, and redis-py call on connect for capability discovery. without it many clients refuse to operate. HINCRBYFLOAT follows the same pattern as HINCRBY and INCRBYFLOAT: it increments a hash field's float value atomically, creating the field at 0 if absent. persisted to AOF as an HSET with the resulting value to avoid float drift during replay. both commands are wired through protocol parse, shard dispatch, execute, and the CLI command table.
implements the sorted set store variants. each command computes the corresponding set operation (union/intersection/diff) and writes the result to a destination key, replacing whatever was there before. routing follows the same pattern as SUNIONSTORE/SINTERSTORE/SDIFFSTORE: all input keys and dest must land on the same shard, and we route to dest's shard. aof persistence records a DEL+ZADD pair so recovery is idempotent. keyspace notifications fire on dest with the FLAG_Z flag. 8 new unit tests cover basic behaviour, score summing, dest overwrite, empty-result removal, and wrong-type error propagation.
…at updates - add docker quickstart to readme (one-liner to get running immediately) - helm: add persistence pvc support with emptyDir warning for production - helm: use http /health probe when metrics port is configured - add npm publish job to release workflow for ember-ts - update compatibility.md: HINCRBYFLOAT, ZUNIONSTORE/ZINTERSTORE/ZDIFFSTORE, FLUSHALL, COMMAND introspection all marked ✓ - expand MULTI/EXEC cross-shard atomicity caveat with hash tag tip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
summary
ember-tstoemberdb(theember-tsname was blocked by npm as too similar toember-try)id-token: writepermission and--provenanceflag to the npm publish job so it works with npm's trusted publishing (OIDC — no token needed)environment: npmto the job, matching the trusted publisher config in npmwhat was tested
emberdb@0.1.0from local machinekacy/ember, workflowrelease.yml, environmentnpmsetup required
create the
npmenvironment in GitHub repo settings (Settings → Environments → New environment →npm). no protection rules needed.