Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/theia-resiliency-promise-errorfile
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7