You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SPIKE] Resolve/reduce issues with missing BN numbers for firms #31115
There are total ~83,000 firms created since Oct 2022 when BN Hub was released
79,435 firms have BN15 assigned, and 4,407 firms have it missing
In most cases, there is no issue with receiving BN in real time, provided that the integration with CRA is healthy and the data required by CRA to generate BN15 is sufficient.
Scenarios Resulting in Failure to Receive a BN Number
BN numbers are assigned by the CRA only during business hours. It’s unclear whether this was considered when the logic was implemented.
Unhealthy communication with CRA For example, when CRA services are down or responding slowly.
Specific filings that require additional processing time by CRA to assign a BN (e.g., amalgamation cases).
Rejection from CRA to generate BN15 because the firm’s data does not meet CRA’s validation criteria. The current process is handled by IT Operations, which adjusts the data using another tool connected to CRA.
Goals:
Finding a way to backfill missing BN15 for firms
Alleviating the problem to improve current behavior for firms (for example, add additional daily retries without added stress on the system)
In addition, evaluating if it will be feasible to utilize current method for corps if 1 and 2 are addressed, or replacing it with CRA API is needed. (for the time being there is a different mechanism used for corps through sync with COLIN)
Next step:
Conduct a meeting with IT Ops team to better understand scenarios, workflows, and possible solutions
Spike: Reduce missing BN15 for firms due to limited retries
Overview
Purpose: Evaluate and prototype approaches to reduce missing BN15 values for firms when CRA delays to provide it with in the retry window and the current retry window (9 retries ≈ 40 minutes approx.) is insufficient.
Deliverable: A decision-backed prototype (daily reconciliation job) including required changes and an implementation plan.
Current limitations
Firm registration
If BN Hub acknowledges the message: LEAR polls BNI DB via COLIN (max 9 retries).
If CRA rejects the registration, LEAR will never know and will not receive BN15 (Details of CRA response available only in BN Hub).
If BN Hub rejects the message: LEAR retries up to 9 times.
Activity
OlgaPotiagalova commentedon Nov 3, 2025
As per meeting on Nov 3, 2025
Goal 1 - Finding a way to backfill missing BN15 for firms - please refer to the https://sbc-registries.atlassian.net/browse/ITOPS-209960. Jay will fix all the silent failures and will bring the data up-to-date.
OlgaPotiagalova commentedon Nov 3, 2025
@vysakh-menon-aot, could you please estimate effort for the goal 2 above. Thank you.
vysakh-menon-aot commentedon Nov 20, 2025
@OlgaPotiagalova @argush3 @thorwolpert
Spike: Reduce missing BN15 for firms due to limited retries
Overview
Purpose: Evaluate and prototype approaches to reduce missing BN15 values for firms when CRA delays to provide it with in the retry window and the current retry window (9 retries ≈ 40 minutes approx.) is insufficient.
Deliverable: A decision-backed prototype (daily reconciliation job) including required changes and an implementation plan.
Current limitations
Options
Daily reconciliation job (recommended prototype)
Become a BN Hub partner
Long-term: Use new CRA REST API
Scope (Option 1)
In-scope:
Out-of-scope:
Implementation plan
business-bn-retryto run every day morning 6AM (PST)FM1)Monitoring & alerts
argush3 commentedon Nov 24, 2025
looks good to me
Mihai-QuickSilverDev commentedon Dec 5, 2025