jsforce / jsforce/jsforce-metadata-tools

Retrieve - Get process id on timeout

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
39
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hi,

When call the retrieveByPackageXML function with a low pollTimeout option, the function returns an error on timeout and I was expecting a proces ID to perform a retrieve later.

Is there any way to get this pid ?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing retrieveByPackageXML with a low pollTimeout option and inspect how timeout errors are returned. Determine whether the process ID is available at that point and define how callers could use it for a later retrieve; done means the timeout result exposes a usable process ID or clearly documents why it cannot.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.