Skip to content

feat: parity batch 12 (BigQuery async jobs and load/extract options; Connect attached files and replication; Neptune Gremlin realism; OCI Identity federation and bulk tags; Compute interconnects and catalogue) - #2546

Merged
agbishop merged 15 commits into
mainfrom
feat/parity-next12
Nov 21, 2026

Conversation

@agbishop

@agbishop agbishop commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Parity work across five services. Every feature commit was followed by an independent review pass; its fixes are the fix(...) commit after each feature commit.

  • BigQuery: jobs.insert is asynchronous (PENDING, RUNNING, DONE) with cancel, jobTimeoutMs and timeoutMs long-polling. Load jobs honour custom quotes, schemaUpdateOptions, hive partitioning and maxBadRecords. Extract shards across several destination URIs and writes AVRO. CAST ... FORMAT for date and time types.
  • Connect: attached files upload and download through pre-signed S3 URLs. ReplicateInstance and cross-region routing. TransferContact. Evaluation scoring with weights, exclusions, automatic fail targets and thresholds.
  • Neptune: JSON-LD @json (RFC 8785) and @direction. openCypher extended datetime() behind the DatetimeMillisecond lab mode. Gremlin defaults to set cardinality, rejects what the compliance page lists as unsupported, supports traverser bulk and barrier(normSack), encodes subgraph() in GraphBinary, and keeps Date values typed.
  • OCI Identity: bulk tag edit and delete as tagging work requests, network sources, authentication policy, region subscriptions, SAML2 identity providers and group mappings, stored credentials with opc-retry-token replay, and DeleteCompartment refusing compartments that still hold buckets, DNS resources or streams.
  • GCP Compute: regional Cloud Armor policies and edge policy attachment, licenses, interconnects and attachments, instant snapshot groups, future reservations, accelerator types and guestAccelerators validation, GRPC_WITH_TLS health checks, CONSENSUS updatePeering, 43 regions with more machine families, and quota usage computed from state.

Behaviour changes

  • BigQuery jobs.insert returns PENDING instead of DONE; clients must wait on the job as they do against the real service.
  • Neptune Gremlin property(k, v) on a vertex now adds a value (set cardinality); use property(single, k, v) to replace.
  • OCI Identity SMTP passwords are stored as a salted digest; snapshots holding plaintext are digested on restore.
  • GCP Compute lists 43 regions and 130 zones. Address pools and auto-mode ranges of the original 15 regions are unchanged and pinned by a test.

Known limits

Recorded in each service's PARITY.md: BigQuery cancel does not interrupt a statement already executing; Connect error codes for TransferContact are not verifiable from the pinned SDK; OCI Identity policy enforcement and access levels remain out of scope; securityPolicies.listPreconfiguredExpressionSets is not routed.

Test plan

  • go build ./..., go vet ./... (plus e2e and integration tags), go fix -diff ./... empty
  • guards, persistence golden (additive), paritylint
  • touched packages and ./dashboard/... with -race -shuffle on
  • ./internal/app with -race, leak suite, root package
  • whole-package golangci-lint on touched packages, ./internal/app/..., ./dashboard/...
  • Docker-backed integration subset and test/terraform/gcp

🤖 Generated with Claude Code

https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY


Devin Review

Witness Patrol and others added 14 commits November 20, 2026 19:09
…O extract, CAST FORMAT

Jobs inserted through jobs.insert now move PENDING, RUNNING, DONE on a
worker, with cancel, jobTimeoutMs and timeoutMs long-polling. Load jobs
honour custom quotes, schemaUpdateOptions, hive partitioning and
maxBadRecords. Extract shards across several destination URIs and writes
AVRO. CAST ... FORMAT covers date and time types.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…ansfer, evaluation scoring

Attached files upload and download through pre-signed S3 URLs when S3 is
wired. ReplicateInstance and cross-region routing are routed and persisted.
TransferContact creates a linked TRANSFER contact. Evaluation scoring
honours weights, exclusions, automatic fail targets and thresholds.
GetMetricDataV2 gains transfer and handle-time metrics.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…schema merge, CAST FORMAT ranges

A replayed requestId no longer reports an unfinished or failed job as an
empty success. Jobs dropped by Reset or Restore do not execute. Jobs are
refused after Close. Append loads compare modes and nested RECORD fields.
Hive partition columns are validated. CAST FORMAT rejects out-of-range day,
year and offset parts and applies AT TIME ZONE only to TIMESTAMP.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…time lab mode

rdf:JSON literals are canonicalised per RFC 8785. datetime() keeps
milliseconds and the input offset when neptune_lab_mode has
DatetimeMillisecond=enabled.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…n URIs

The custom-quote splitter no longer copies the input into runes. Extract
jobs with more than 500 destination URIs are rejected.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…e delete, upload window

Evaluation weights are capped and negative option scores floor at zero so
scores never become NaN. DeleteInstance removes attachment objects from S3.
Uploads left PROCESSING for an hour read as FAILED. The bucket is created
only after the request validates. CONTACTS_TRANSFERRED_IN is not a
GetMetricDataV2 metric and is removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…e objects, GraphBinary subgraph

datetime() read the lab mode under the backend lock while holding the graph
semaphore, which could deadlock against a snapshot; the flag is now held per
graph. Value objects with @type reject @language and @direction, and a
@JSON term in a @list container yields one literal. subgraph() results
encode as the GraphBinary Graph type. Meta-properties are dropped as Neptune
does. Adds a differential test for the CSV quote splitter.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…rted steps, traverser bulk

Vertex properties default to set cardinality and list is rejected, as the
Neptune compliance page states. io() writes, program(), tx() and lambdas
return UnsupportedOperationException. barrier() merges equal traversers
with bulk, applies the withSack merge operator and supports normSack.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…te and UUID values

Dropping one value of a multi-valued property no longer removes the key.
Dedup and barrier keys include the property value and are length-prefixed.
Date values keep their type across GraphSON, GraphBinary and snapshots.
UUID property values are rejected as Neptune documents.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…viders, stored credentials, cross-service compartment delete

BulkEditTags and BulkDeleteTags run as tagging work requests with
per-resource errors. Network sources, the authentication policy, region
subscriptions, SAML2 identity providers and group mappings are routed and
persisted. Customer secret keys and SMTP credentials are stored and
credential creation replays on opc-retry-token. DeleteCompartment refuses a
compartment that still holds buckets, DNS resources or streams.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…strict SAML metadata, bounded bulk edits

SMTP passwords are stored as a salted digest and legacy plaintext is
digested on restore. Verification derives once even for unknown users and
outside the lock. Replay secrets are pruned. SAML metadata must carry a
base64 certificate and an absolute http(s) redirect URL. Bulk tag edits
validate value types, cap tags per resource and scope the retry token.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…ses, GPUs, consensus peering, wider catalogue

Regional security policies and edge policy attachment are routed with
in-use protection. Licenses, interconnects, interconnect attachments,
instant snapshot groups, future reservations and accelerator types are real
resources. guestAccelerators are validated at insert. updatePeering supports
the CONSENSUS strategy. The catalogue covers 43 regions and more machine
families, and regions and projects report quota usage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
…Local SSD, consensus state on mixed peerings

GPU types outside the catalogue that were accepted before are accepted
again, and custom N1 machine types may carry GPUs. N2D instances accept
Local SSD. A CONSENSUS update no longer writes handshake state onto an
INDEPENDENT peer. listPreconfiguredExpressionSets is not routed until its
expressions can be sourced.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 204 files, which is 104 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

CodeRabbit couldn't verify your organization's usage billing state, so no usage-priced review was started. Retry after the billing service recovers.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b27a6df6-d03a-49e3-adee-033976b6310f
Commits

Reviewing files that changed from the base of the PR and between d7774b9 and 03b65be.

Files ignored due to path filters: 1

  • .badges/operations.svg is excluded by !**/*.svg
Files selected for processing: 204

  • README.md
  • internal/app/cli.go
  • internal/app/connect_attachedfiles_wiring_test.go
  • internal/app/connect_wiring.go
  • internal/app/connect_wiring_test.go
  • internal/app/ocidns_wiring.go
  • pkgs/persistence/testdata/snapshot_inventory.json
  • services/connect/PARITY.md
  • services/connect/README.md
  • services/connect/attachedcontent.go
  • services/connect/attachedfiles.go
  • services/connect/attachedstore.go
  • services/connect/attachedstore_test.go
  • services/connect/contactmetrics.go
  • services/connect/evalscoring.go
  • services/connect/evalscoring_edge_test.go
  • services/connect/evalscoring_test.go
  • services/connect/evaluations.go
  • services/connect/fixture_test.go
  • services/connect/instances.go
  • services/connect/managedmetrics.go
  • services/connect/metricdefs_test.go
  • services/connect/metricsv2.go
  • services/connect/metricsv2_test.go
  • services/connect/ops.go
  • services/connect/ops_attachedfiles.go
  • services/connect/records.go
  • services/connect/replication.go
  • services/connect/replication_test.go
  • services/connect/routes.go
  • services/connect/transfer.go
  • services/connect/transfer_test.go
  • services/connect/unrouted_test.go
  • services/gcpbigquery/PARITY.md
  • services/gcpbigquery/README.md
  • services/gcpbigquery/bqsql/castformat_test.go
  • services/gcpbigquery/bqsql/compile.go
  • services/gcpbigquery/bqsql/compile_expr.go
  • services/gcpbigquery/bqsql/nulltype_test.go
  • services/gcpbigquery/bqsql/parser_expr.go
  • services/gcpbigquery/bqsql/udf.go
  • services/gcpbigquery/bqsql/udf_cast.go
  • services/gcpbigquery/bqsql/udf_castformat.go
  • services/gcpbigquery/consts.go
  • services/gcpbigquery/external.go
  • services/gcpbigquery/extract_avro.go
  • services/gcpbigquery/extract_shard_test.go
  • services/gcpbigquery/handler.go
  • services/gcpbigquery/jobs.go
  • services/gcpbigquery/jobs_async.go
  • services/gcpbigquery/jobs_async_test.go
  • services/gcpbigquery/jobs_extract.go
  • services/gcpbigquery/jobs_lifecycle_test.go
  • services/gcpbigquery/jobs_load.go
  • services/gcpbigquery/load_csv_quote_diff_whitebox_test.go
  • services/gcpbigquery/load_csv_quote_whitebox_test.go
  • services/gcpbigquery/load_formats.go
  • services/gcpbigquery/load_hive_test.go
  • services/gcpbigquery/load_options_test.go
  • services/gcpbigquery/load_schema_merge_test.go
  • services/gcpbigquery/model.go
  • services/gcpbigquery/persistence.go
  • services/gcpbigquery/store.go
  • services/gcpcompute/PARITY.md
  • services/gcpcompute/README.md
  • services/gcpcompute/accelerator.go
  • services/gcpcompute/accelerator_test.go
  • services/gcpcompute/address.go
  • services/gcpcompute/catalog.go
  • services/gcpcompute/catalog_pins_test.go
  • services/gcpcompute/catalog_test.go
  • services/gcpcompute/consts.go
  • services/gcpcompute/future_reservation.go
  • services/gcpcompute/future_reservation_test.go
  • services/gcpcompute/handler.go
  • services/gcpcompute/healthcheck.go
  • services/gcpcompute/healthchecks_test.go
  • services/gcpcompute/instance.go
  • services/gcpcompute/instance_more.go
  • services/gcpcompute/instance_more_test.go
  • services/gcpcompute/instance_ops.go
  • services/gcpcompute/instant_snapshot.go
  • services/gcpcompute/instant_snapshot_group.go
  • services/gcpcompute/instant_snapshot_group_test.go
  • services/gcpcompute/interconnect.go
  • services/gcpcompute/interconnect_attachment.go
  • services/gcpcompute/interconnect_catalog.go
  • services/gcpcompute/interconnect_test.go
  • services/gcpcompute/lb.go
  • services/gcpcompute/lb_backend.go
  • services/gcpcompute/license.go
  • services/gcpcompute/license_internal_test.go
  • services/gcpcompute/localssd.go
  • services/gcpcompute/localssd_test.go
  • services/gcpcompute/mig_health.go
  • services/gcpcompute/mig_prober_internal_test.go
  • services/gcpcompute/network.go
  • services/gcpcompute/ops_catalog.go
  • services/gcpcompute/ops_lb.go
  • services/gcpcompute/ops_secpolicy.go
  • services/gcpcompute/ops_storage.go
  • services/gcpcompute/peering.go
  • services/gcpcompute/peering_test.go
  • services/gcpcompute/peers.go
  • services/gcpcompute/persistence.go
  • services/gcpcompute/quotas.go
  • services/gcpcompute/quotas_test.go
  • services/gcpcompute/reference_integrity_test.go
  • services/gcpcompute/resources.go
  • services/gcpcompute/respolicy_attach.go
  • services/gcpcompute/rest_test.go
  • services/gcpcompute/secpolicy.go
  • services/gcpcompute/secpolicy_scope_test.go
  • services/gcpcompute/store.go
  • services/gcpcompute/subnet.go
  • services/gcpcompute/vpn.go
  • services/gcpcompute/vpn_router.go
  • services/gcpcompute/vpn_test.go
  • services/neptune/PARITY.md
  • services/neptune/README.md
  • services/neptune/cluster_parameter_groups.go
  • services/neptune/db_clusters.go
  • services/neptune/engine.go
  • services/neptune/engine_status.go
  • services/neptune/export_test.go
  • services/neptune/gremlin/bulk.go
  • services/neptune/gremlin/bulk_test.go
  • services/neptune/gremlin/consts.go
  • services/neptune/gremlin/doc_compliance_test.go
  • services/neptune/gremlin/elements.go
  • services/neptune/gremlin/engine.go
  • services/neptune/gremlin/engine_test.go
  • services/neptune/gremlin/exec.go
  • services/neptune/gremlin/graphbinary.go
  • services/neptune/gremlin/graphbinary_graph_internal_test.go
  • services/neptune/gremlin/graphson.go
  • services/neptune/gremlin/lexer.go
  • services/neptune/gremlin/meta_properties_test.go
  • services/neptune/gremlin/parser.go
  • services/neptune/gremlin/pred.go
  • services/neptune/gremlin/review_fixes_test.go
  • services/neptune/gremlin/sack.go
  • services/neptune/gremlin/server.go
  • services/neptune/gremlin/server_test.go
  • services/neptune/gremlin/steps.go
  • services/neptune/gremlin/steps_filter.go
  • services/neptune/gremlin/steps_merge.go
  • services/neptune/gremlin/steps_mutate.go
  • services/neptune/gremlin/steps_project.go
  • services/neptune/gremlin/steps_reduce.go
  • services/neptune/gremlin/subgraph.go
  • services/neptune/gremlin/typed_values_internal_test.go
  • services/neptune/gremlin/values.go
  • services/neptune/gremlin_steps_front_test.go
  • services/neptune/opencypher/date_persist_test.go
  • services/neptune/opencypher/datetime_ext.go
  • services/neptune/opencypher/datetime_ext_test.go
  • services/neptune/opencypher/funcs.go
  • services/neptune/opencypher/funcs_ext.go
  • services/neptune/opencypher/graph.go
  • services/neptune/opencypher/persist.go
  • services/neptune/opencypher/value.go
  • services/neptune/opencypher_labmode_test.go
  • services/neptune/sparql/jsonld.go
  • services/neptune/sparql/jsonld_json.go
  • services/neptune/sparql/jsonld_json_test.go
  • services/ocidns/compartment_usage.go
  • services/ocidns/compartment_usage_test.go
  • services/ociidentity/PARITY.md
  • services/ociidentity/README.md
  • services/ociidentity/auth_e2e_test.go
  • services/ociidentity/bulk.go
  • services/ociidentity/bulk_test.go
  • services/ociidentity/compartments.go
  • services/ociidentity/compusage.go
  • services/ociidentity/compusage_test.go
  • services/ociidentity/credentials.go
  • services/ociidentity/credstore_test.go
  • services/ociidentity/credverify.go
  • services/ociidentity/errors.go
  • services/ociidentity/export_test.go
  • services/ociidentity/grammar.go
  • services/ociidentity/handler.go
  • services/ociidentity/handler_test.go
  • services/ociidentity/helpers_test.go
  • services/ociidentity/idp.go
  • services/ociidentity/idp_test.go
  • services/ociidentity/models.go
  • services/ociidentity/netsrc.go
  • services/ociidentity/netsrc_test.go
  • services/ociidentity/ops.go
  • services/ociidentity/persistence.go
  • services/ociidentity/principals.go
  • services/ociidentity/route.go
  • services/ociidentity/security_test.go
  • services/ociidentity/store.go
  • services/ociidentity/tagnsops.go
  • services/ociidentity/tenancy.go
  • services/ociidentity/workreq.go
  • services/ociobjectstorage/compartment_usage.go
  • services/ociobjectstorage/compartment_usage_test.go
  • services/ocistreaming/compartment_usage.go
  • services/ocistreaming/compartment_usage_test.go
  • services/s3/object_lambda_presign.go

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@devin-ai-integration devin-ai-integration Bot left a comment

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.

Devin Review found 5 potential issues.

9 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

Comment on lines +555 to +564
for i, r := range rows {
row := make([]any, len(merged))
for j, f := range merged {
if p, found := pos[strs.Fold(f.Name)]; found {
row[j] = r[p]
}
}

out[i] = row
}

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.

🔴 Nested column values swap on append

When a load reorders RECORD fields, reconcileAppend keeps the old schema order but saves nested values in source order. recordCells reads by position, so values appear under the wrong nested column names.

Learn more

BigQuery stores RECORD values as positional slices, and recordCells interprets them in schema order. mergeField recursively merges nested field definitions while preserving the existing order. The append path only rearranges top-level columns, so it commits nested slices whose layout differs from the merged schema.

Example: Append a JSON row with the explicit RECORD schema [last_name, first_name] to a table whose RECORD schema is [first_name, last_name]. The load succeeds, but a query reads the loaded last name as the first name and vice versa.

Recommended fix: Reconcile each source cell against its source and merged fields recursively. Apply the same logic to each element of a repeated RECORD, preserve null records, and validate with reordered fields and fields added between existing source fields.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +138 to +144
func dropPropValue(props map[string]any, key string, val any) {
vals, multi := props[key].([]any)
if !multi {
delete(props, key)

return
}

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.

🔴 Duplicate property drops erase surviving values

When two traversers drop the same value, dropPropValue can delete the different value left by the first drop.

Learn more

A Gremlin traversal can reach the same vertex through multiple paths. stepProperties emits a separate property object for each selected value and traverser. When stepDrop processes those objects, the first deletion can turn a two-value set into one scalar. The second deletion still refers to the removed value, but the scalar branch deletes the surviving value without checking it.

Example: A vertex has color values red and blue. Visit it twice, select properties('color').hasValue('red'), then call drop(). Both traversers target red, yet the second deletion removes blue.

Recommended fix: In the scalar branch, delete only when the current value matches the selected value using the same equality as the multi-value branch.

Suggested change
func dropPropValue(props map[string]any, key string, val any) {
vals, multi := props[key].([]any)
if !multi {
delete(props, key)
return
}
func dropPropValue(props map[string]any, key string, val any) {
current, exists := props[key]
vals, multi := current.([]any)
if !multi {
if exists && sameValue(current, val) {
delete(props, key)
}
return
}

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +78 to +92
for _, d := range members {
name := memberSnapshotName(in.Name, d.Name)
if _, dup := b.instantSnaps[key(c.project, c.loc, name)]; dup {
return errExists(relPath(c.project, c.scope, c.loc, collInstantSnaps, name))
}

s := b.newInstantSnapshot(c.project, c.scope, c.loc, name, d)
s.SourceInstantSnapshotGroup = in.SelfLink
s.SourceInstantSnapshotGroupId = strconv.FormatUint(in.Id, 10)
snaps = append(snaps, s)
}

for _, s := range snaps {
b.instantSnaps[key(c.project, c.loc, s.Name)] = s
}

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.

🔴 Snapshot groups silently omit disks

When long disk names truncate to the same name, prepInstantSnapshotGroup checks neither member against the other. The later snapshot overwrites the first, but group creation succeeds.

Learn more

Instant snapshot group creation prepares one snapshot per disk before writing those snapshots to the backend. The name comes from memberSnapshotName, which truncates the disk suffix when there is not enough space. The check only sees already stored snapshots, so two entries prepared in the same call can share a key. Inserting the second overwrites the first without an error.

Example: Attach two disks whose names each start with 61 a characters and end in b and c, respectively, to the same consistency group. For snapshot group g, their generated names both begin g- and contain only the common 61-character prefix. The created group has one snapshot instead of two.

Recommended fix: Generate a distinct, valid name for each member, including a stable suffix when truncation is required. Track generated keys during preparation and reject collisions before storing any member.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

})
if err != nil {
return nil, err
}

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.

🟥 Upload URLs can overwrite approved attachments

After CompleteAttachedFileUpload approves a file, its unexpired upload URL still grants writes to the same S3 object. storeURL binds the size, not the content, so recipients can download replacement bytes under the approved status.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Comment on lines +97 to +99
b.runs.Set(key, run)

b.wg.Go(func() { b.work(rctx, run, job, kind, cfg, media) })

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.

🟨 Invalid CSV loads can terminate the emulator

A CSV load with an invalid skip-row count reaches unchecked slicing in parseCSVInput. startJob runs the load outside HTTP panic recovery, so the panic can terminate the emulator.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

…rted types

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
@agbishop

Copy link
Copy Markdown
Collaborator Author

📊 Code Coverage Report

Metric Value Status
Total Coverage 100.0%
0.0%
0.0%
0.0%
100.0%
75.0%
100.0%
100.0%
100.0%
100.0%
0.0%
86.7% ✅
New Code Coverage 89.6% (3861/4311 stmts) ✅

📄 Impacted Files Breakdown

File New Code Coverage Lines
internal/app/cli.go 100.0% 5/5
internal/app/connect_wiring.go 72.0% 18/25
internal/app/ocidns_wiring.go 100.0% 4/4
services/connect/attachedcontent.go 66.7% 2/3
services/connect/attachedfiles.go 88.0% 110/125
services/connect/attachedstore.go 94.4% 17/18
services/connect/contactmetrics.go 92.9% 13/14
services/connect/evalscoring.go 94.9% 149/157
services/connect/evaluations.go 100.0% 2/2
services/connect/instances.go 84.6% 11/13
services/connect/managedmetrics.go 100.0% 1/1
services/connect/metricsv2.go 100.0% 8/8
services/connect/ops_attachedfiles.go 100.0% 7/7
services/connect/ops.go 100.0% 9/9
services/connect/records.go 0.0% 0/0
services/connect/replication.go 96.3% 78/81
services/connect/routes.go 100.0% 2/2
services/connect/transfer.go 93.2% 55/59
services/gcpbigquery/bqsql/compile_expr.go 86.7% 13/15
services/gcpbigquery/bqsql/compile.go 100.0% 1/1
services/gcpbigquery/bqsql/parser_expr.go 72.2% 13/18
services/gcpbigquery/bqsql/udf_cast.go 100.0% 2/2
services/gcpbigquery/bqsql/udf_castformat.go 85.4% 281/329
services/gcpbigquery/bqsql/udf.go 0.0% 0/0
services/gcpbigquery/external.go 100.0% 3/3
services/gcpbigquery/extract_avro.go 74.3% 52/70
services/gcpbigquery/handler.go 60.0% 6/10
services/gcpbigquery/jobs_async.go 94.5% 86/91
services/gcpbigquery/jobs_extract.go 81.0% 68/84
services/gcpbigquery/jobs_load.go 90.2% 166/184
services/gcpbigquery/jobs.go 79.1% 72/91
services/gcpbigquery/load_formats.go 100.0% 44/44
services/gcpbigquery/model.go 0.0% 0/0
services/gcpbigquery/persistence.go 100.0% 3/3
services/gcpbigquery/store.go 100.0% 5/5
services/gcpcompute/accelerator.go 97.1% 67/69
services/gcpcompute/address.go 100.0% 6/6
services/gcpcompute/catalog.go 100.0% 18/18
services/gcpcompute/future_reservation.go 83.0% 88/106
services/gcpcompute/handler.go 100.0% 11/11
services/gcpcompute/healthcheck.go 100.0% 3/3
services/gcpcompute/instance_more.go 100.0% 3/3
services/gcpcompute/instance_ops.go 100.0% 3/3
services/gcpcompute/instance.go 100.0% 8/8
services/gcpcompute/instant_snapshot_group.go 91.3% 63/69
services/gcpcompute/instant_snapshot.go 100.0% 6/6
services/gcpcompute/interconnect_attachment.go 88.8% 199/224
services/gcpcompute/interconnect_catalog.go 100.0% 23/23
services/gcpcompute/interconnect.go 92.1% 105/114
services/gcpcompute/lb_backend.go 100.0% 15/15
services/gcpcompute/lb.go 91.7% 22/24
services/gcpcompute/license.go 92.5% 62/67
services/gcpcompute/localssd.go 100.0% 1/1
services/gcpcompute/mig_health.go 0.0% 0/0
services/gcpcompute/network.go 0.0% 0/0
services/gcpcompute/ops_catalog.go 100.0% 4/4
services/gcpcompute/ops_lb.go 100.0% 2/2
services/gcpcompute/ops_secpolicy.go 76.9% 10/13
services/gcpcompute/ops_storage.go 100.0% 7/7
services/gcpcompute/peering.go 100.0% 56/56
services/gcpcompute/peers.go 0.0% 0/0
services/gcpcompute/persistence.go 100.0% 2/2
services/gcpcompute/quotas.go 72.3% 115/159
services/gcpcompute/resources.go 100.0% 10/10
services/gcpcompute/respolicy_attach.go 100.0% 3/3
services/gcpcompute/secpolicy.go 93.1% 27/29
services/gcpcompute/store.go 100.0% 48/48
services/gcpcompute/subnet.go 0.0% 0/0
services/gcpcompute/vpn_router.go 100.0% 25/25
services/gcpcompute/vpn.go 94.6% 35/37
services/neptune/cluster_parameter_groups.go 100.0% 4/4
services/neptune/db_clusters.go 100.0% 3/3
services/neptune/engine_status.go 100.0% 22/22
services/neptune/engine.go 100.0% 3/3
services/neptune/gremlin/bulk.go 96.5% 110/114
services/neptune/gremlin/elements.go 50.0% 1/2
services/neptune/gremlin/engine.go 100.0% 3/3
services/neptune/gremlin/exec.go 80.0% 4/5
services/neptune/gremlin/graphbinary.go 97.7% 42/43
services/neptune/gremlin/graphson.go 83.3% 10/12
services/neptune/gremlin/lexer.go 100.0% 2/2
services/neptune/gremlin/parser.go 100.0% 2/2
services/neptune/gremlin/pred.go 100.0% 2/2
services/neptune/gremlin/sack.go 100.0% 4/4
services/neptune/gremlin/server.go 0.0% 0/0
services/neptune/gremlin/steps_filter.go 100.0% 3/3
services/neptune/gremlin/steps_merge.go 100.0% 1/1
services/neptune/gremlin/steps_mutate.go 85.5% 53/62
services/neptune/gremlin/steps_project.go 100.0% 14/14
services/neptune/gremlin/steps_reduce.go 91.7% 11/12
services/neptune/gremlin/steps.go 100.0% 22/22
services/neptune/gremlin/subgraph.go 0.0% 0/0
services/neptune/gremlin/values.go 100.0% 15/15
services/neptune/opencypher/datetime_ext.go 87.7% 64/73
services/neptune/opencypher/funcs_ext.go 100.0% 1/1
services/neptune/opencypher/funcs.go 100.0% 3/3
services/neptune/opencypher/graph.go 0.0% 0/0
services/neptune/opencypher/persist.go 100.0% 4/4
services/neptune/opencypher/value.go 0.0% 0/1
services/neptune/sparql/jsonld_json.go 88.5% 85/96
services/neptune/sparql/jsonld.go 93.3% 28/30
services/ocidns/compartment_usage.go 66.7% 12/18
services/ociidentity/bulk.go 91.8% 270/294
services/ociidentity/compartments.go 77.8% 14/18
services/ociidentity/compusage.go 100.0% 38/38
services/ociidentity/credentials.go 95.6% 43/45
services/ociidentity/credverify.go 95.9% 47/49
services/ociidentity/errors.go 100.0% 1/1
services/ociidentity/grammar.go 100.0% 2/2
services/ociidentity/handler.go 100.0% 2/2
services/ociidentity/idp.go 84.4% 260/308
services/ociidentity/netsrc.go 88.1% 177/201
services/ociidentity/ops.go 100.0% 2/2
services/ociidentity/persistence.go 100.0% 17/17
services/ociidentity/principals.go 100.0% 2/2
services/ociidentity/route.go 100.0% 14/14
services/ociidentity/store.go 100.0% 25/25
services/ociidentity/tagnsops.go 100.0% 5/5
services/ociidentity/tenancy.go 100.0% 6/6
services/ociidentity/workreq.go 100.0% 9/9
services/ociobjectstorage/compartment_usage.go 100.0% 9/9
services/ocistreaming/compartment_usage.go 86.7% 13/15
services/s3/object_lambda_presign.go 96.0% 24/25

Tip

This project maintains a minimum coverage threshold of 85%. Maintain or improve coverage on new code to ensure long-term stability.


Last updated: Sat, 21 Nov 2026 05:44:44 GMT

@agbishop
agbishop merged commit 05a2f37 into main Nov 21, 2026
50 checks passed
@agbishop
agbishop deleted the feat/parity-next12 branch November 21, 2026 05:45
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