Skip to content

(TEST) 33027 Update COLIN freeze flow to update in chunks#4356

Draft
argush3 wants to merge 1 commit intobcgov:mainfrom
argush3:33027_experiment_colin_freeze_chunk_update
Draft

(TEST) 33027 Update COLIN freeze flow to update in chunks#4356
argush3 wants to merge 1 commit intobcgov:mainfrom
argush3:33027_experiment_colin_freeze_chunk_update

Conversation

@argush3
Copy link
Copy Markdown
Collaborator

@argush3 argush3 commented May 5, 2026

Issue #: /bcgov/entity###

Description of changes:

  • Kept FREEZE_BATCHES / FREEZE_BATCH_SIZE as reservation + claim controls.
  • Added separate FREEZE_ORACLE_CHUNK_SIZE, default 1000, with strict parsing and flow validation.
  • Refactored Oracle updates to run per chunk instead of per corp.
  • Preserved per-corp tracking results: (corp_num, frozen, in_early_adopter, error).
  • Added defensive Oracle IN limit guard.
  • It does not make sense to use FREEZE_BATCH_SIZE directly as the Oracle update chunk size because operators may want claim sizes like 3–5K or 40K, while Oracle IN queries must stay <=1000. The new config separates those concerns cleanly.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@argush3 argush3 changed the title 33027 Update COLIN freeze flow to update in chunks (TEST) 33027 Update COLIN freeze flow to update in chunks May 5, 2026
@argush3 argush3 force-pushed the 33027_experiment_colin_freeze_chunk_update branch from 222e999 to 06a7fef Compare May 5, 2026 22:52
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

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