Skip to content

Enhancement: Network reliability improvements #148

@dshkol

Description

@dshkol

Summary

Reliability improvements for StatCan API instability:

M3: Retry helpers drop warn_only on recursive retries

  • Files: R/cansim_helpers.R:155, R/cansim_helpers.R:205
  • Issue: warn_only parameter not passed on recursive retry calls
  • Impact: Warn-only calls can error after retry

M4: Some API calls bypass retry helpers

  • Files: R/cansim.R:956, R/cansim.R:1006, R/cansim_metadata.R:203
  • Issue: get_cansim_table_url, get_cansim_changed_tables, get_cansim_cube_metadata don't use retry
  • Impact: Network failures not handled gracefully

Proposed Fix

  • M3: Pass warn_only through recursive calls
  • M4: Route all API calls through get_with_timeout_retry

From code audit - reliability for StatCan API instability

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions