Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1800

Merged
Created Apr 29, 2025 by Xavier Thompson@xavier_thompsonOwner

software/theia: Fix resiliency promises

  • Overview 7
  • Commits 1
  • Changes 3

Export and import script store their result in an 'exitcodefile' and in case of failure write logs in an 'errorfile'. A promise then uses the exitcode file to determine if the latest run succeded or failed, and in case of failure reports the contents of the errorfile.

Both scripts were deleting the error file at the start of their run, so if they had failed previously, until the end of their new run the exitcode file indicated an error but the error file was missing, and thus the promises were failing to read it.

Now the error file is never deleted and is overwritten at the end of every run with the logs of the run, even in case of success. Thus the exitcode file and the error file are always consistent.

Edited May 20, 2025 by Thomas Gambier
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/theia-resiliency-promise-errorfile
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7