Page MenuHomePhabricator

Huji (Huji Lee)
MediaWiki developer

Projects (12)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 25 2014, 1:21 PM (488 w, 1 d)
Availability
Available
IRC Nick
Huji
LDAP User
Huji
MediaWiki User
Huji [ Global Accounts ]

Recent Activity

Sat, Feb 10

Daimona awarded T356580: [toolforge,jobs,docs] Document how to force a rerun of a scheduled cron (just restart) a Like token.
Sat, Feb 10, 6:10 PM · Toolforge Jobs framework

Sun, Feb 4

Huji created T356585: libopenjp2.so.7 is missing on toolforge jobs framework.
Sun, Feb 4, 3:59 AM · Toolforge (Software install/update)

Sat, Feb 3

Huji created T356582: Do not deprecate python versions on the toolforge jobs framework that are the default version on toolforge.
Sat, Feb 3, 11:18 PM · Toolforge
Huji created T356581: [toolforge,jobs] Add a new output format for toolforge jobs list command which returns the input command for scheduled jobs.
Sat, Feb 3, 11:10 PM · Toolforge
Huji created T356580: [toolforge,jobs,docs] Document how to force a rerun of a scheduled cron (just restart).
Sat, Feb 3, 11:00 PM · Toolforge Jobs framework

Jan 28 2024

Huji added a comment to T355832: CI tests are failing on tests.file_tests.TestMediaInfoReadonlyEditing.

@Xqt any idea how it magically got fixed? And how to prevent it in future?

Jan 28 2024, 4:20 PM · Pywikibot-tests, Pywikibot

Jan 26 2024

Huji added a comment to T237729: Special:Log -- "All public logs" is misleading..

True. However, not all users need to see *all* public logs together, and what you proposed will end up running those expensive queries and merges *every time*. Most of the time, this would be wasteful.

Jan 26 2024, 10:09 PM · Patch-For-Review, MediaWiki-Logevents

Jan 24 2024

Huji added a comment to T355832: CI tests are failing on tests.file_tests.TestMediaInfoReadonlyEditing.

Whomever fixes this, can you also kindly specify where the user_config settings for CI is stored? I cannot find it in https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/refs/heads/master/zuul/layout.yaml .. and nor should I, because it should involve a password or BotPassword of sorts, I guess?

Jan 24 2024, 10:49 PM · Pywikibot-tests, Pywikibot
Huji added a project to T355832: CI tests are failing on tests.file_tests.TestMediaInfoReadonlyEditing: Continuous-Integration-Config.
Jan 24 2024, 10:46 PM · Pywikibot-tests, Pywikibot
Huji triaged T355832: CI tests are failing on tests.file_tests.TestMediaInfoReadonlyEditing as Unbreak Now! priority.
Jan 24 2024, 10:45 PM · Pywikibot-tests, Pywikibot
Huji created T355832: CI tests are failing on tests.file_tests.TestMediaInfoReadonlyEditing.
Jan 24 2024, 10:44 PM · Pywikibot-tests, Pywikibot

Jan 23 2024

Huji added a comment to T299947: Normalize pagelinks table.

No. The query finds all articles linking to a User or User_talk page, and distinguishes which has an "under construction" category. So the last part is optional, not mandatory. Your suggested query makes it mandatory.

Jan 23 2024, 1:10 AM · Platform Engineering, MediaWiki-Page-derived-data
Huji added a comment to T355594: SecurePoll creates a table for each election and keeps it forever.

Where in the code are these tables created? I don't recall the core code needing to create separate tables for elections. I know WMF has occasionally created tables (see ./cli/wm-scripts) but those are not for every single election either. And at least the present code (same link) only relates to 2022 and later.

Jan 23 2024, 1:07 AM · Data-Persistence (work done), MediaWiki-extensions-SecurePoll

Jan 20 2024

Huji added a comment to T299947: Normalize pagelinks table.

Fully understand the reasoning behind this normalization. But (unexpectedly) this will result in some queries to run substantially slower. For instance:

Jan 20 2024, 9:03 PM · Platform Engineering, MediaWiki-Page-derived-data
Huji added a comment to T299947: Normalize pagelinks table.

In looking at the EXPLAIN results for those two queries, the first one runs more quickly not only because of denormalization, but also because the WHERE condition on pl_namespace uses the pl_namespace index on the pagelinks table. However, it seems like the secondary does *not* use the lt_namespace_title [[index]] on the linktargets table (where I expected it would be used as a partial index). Any ideas on how to improve my query or the indexes?

Jan 20 2024, 9:03 PM · Platform Engineering, MediaWiki-Page-derived-data
Huji created T355484: Link from Superset to Toolforge SQL Optimizer.
Jan 20 2024, 8:18 PM · superset.wmcloud.org

Jan 18 2024

Huji created T355372: flake8 tests are failing when looped items are mutated inside a loop.
Jan 18 2024, 11:27 PM · Continuous-Integration-Config, Pywikibot

Jan 17 2024

Huji added a comment to T268526: Use a dedicated mechanism to track page dependencies.

In T14019#9467421 I proposed existencelinks. I don't like page_dependencies because pages can depend on each other in ways other than an existence check.

Jan 17 2024, 11:10 PM · Schema-change, MediaWiki-Page-derived-data, Epic, MediaWiki-Parser
Huji added a comment to T14019: ifexist function uses pagelinks table in lieu of better options.

@tstarling agreed, and I think the table should be called existencelinks and in addition to #ifexists from ParserFunctions, when the .exists feature from Lua is used, that should also generate a row in this table. Which means we should *not* move #ifexists to core; rather, we should create a new Special Page that allows searching this new table (I propose ParserFunctions should own this Special Page) and design the Special Page in an extendible way, such that existence checks via Lua modules could also be tracked.

Jan 17 2024, 11:08 PM · Community-Wishlist-Survey-2015, ParserFunctions
Huji renamed T326650: pywikibot library should not attach logging handlers from pywikibot library should not attach logging handers to pywikibot library should not attach logging handlers.
Jan 17 2024, 3:08 AM · Pywikibot

Jan 15 2024

Huji added a comment to T301282: isBlocked cannot detect range blocks.

Since other code (such as this in patrol.py) relies on isAnonymous() to indicate if the user is an anonymous *user* (as opposed to CIDR), we cannot extend isAnonymous() to also return True for CIDR ranges. Therefore, the correct solution is to create a new isCIDR() method.

Jan 15 2024, 4:37 PM · User-Huji, Pywikibot
Huji claimed T309898: Fix "Fetching a token via "action=login" is deprecated" when authenticating via bot passwords.
Jan 15 2024, 4:19 PM · Pywikibot
Huji claimed T355072: Ignore .swp files.
Jan 15 2024, 3:50 PM · Pywikibot
Huji created T355072: Ignore .swp files.
Jan 15 2024, 3:50 PM · Pywikibot

Jan 13 2024

Huji claimed T301282: isBlocked cannot detect range blocks.
Jan 13 2024, 2:43 AM · User-Huji, Pywikibot
Huji added a comment to T301282: isBlocked cannot detect range blocks.

Found the problem. To get the blocks for registered users, we can use API:Users, but for anonymous users, we cannot use that IP and we fetch the last block using API:Blocks instead. This relies on correctly determining that the user is an anonymous user.

Jan 13 2024, 2:43 AM · User-Huji, Pywikibot
Huji closed T354672: Enhance documentation of API:Users for anonymous users as Declined.

In reviewing the code further, I understand this API endpoint is not supposed to be used for anonymous users at all.

Jan 13 2024, 2:28 AM · MediaWiki-Action-API, MediaWiki-Documentation

Jan 12 2024

Huji updated the task description for T354672: Enhance documentation of API:Users for anonymous users.
Jan 12 2024, 6:48 PM · MediaWiki-Action-API, MediaWiki-Documentation
Huji updated the task description for T354672: Enhance documentation of API:Users for anonymous users.
Jan 12 2024, 6:47 PM · MediaWiki-Action-API, MediaWiki-Documentation

Jan 10 2024

Huji reopened T301282: isBlocked cannot detect range blocks as "Open".

@Xqt the change we applied above doesn't exactly work (anymore?)

Jan 10 2024, 1:32 AM · User-Huji, Pywikibot
Huji added a comment to T301282: isBlocked cannot detect range blocks.

And we should add some unit tests for this code too.

Jan 10 2024, 1:32 AM · User-Huji, Pywikibot

Jan 9 2024

Huji edited projects for T354672: Enhance documentation of API:Users for anonymous users, added: MediaWiki-Action-API; removed MediaWiki-REST-API.
Jan 9 2024, 11:57 PM · MediaWiki-Action-API, MediaWiki-Documentation
Huji updated the task description for T354672: Enhance documentation of API:Users for anonymous users.
Jan 9 2024, 5:12 PM · MediaWiki-Action-API, MediaWiki-Documentation
Huji added a project to T354672: Enhance documentation of API:Users for anonymous users: API Platform.
Jan 9 2024, 5:12 PM · MediaWiki-Action-API, MediaWiki-Documentation
Huji edited projects for T354672: Enhance documentation of API:Users for anonymous users, added: MediaWiki-REST-API; removed MediaWiki-Action-API.
Jan 9 2024, 5:10 PM · MediaWiki-Action-API, MediaWiki-Documentation
Huji created T354672: Enhance documentation of API:Users for anonymous users.
Jan 9 2024, 5:09 PM · MediaWiki-Action-API, MediaWiki-Documentation

Dec 28 2023

Huji added a comment to T319623: Migrate checkdictation-fa from Toolforge GridEngine to Toolforge Kubernetes.

You are the best!

Dec 28 2023, 1:26 PM · Grid-Engine-to-K8s-Migration

Dec 27 2023

Huji closed T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Dec 27 2023, 3:45 AM · User-Huji, Grid-Engine-to-K8s-Migration

Dec 19 2023

Frostly awarded T282504: Reconsider the Wikidata short description workflow a Love token.
Dec 19 2023, 5:33 PM · Wikidata

Dec 5 2023

Huji added a comment to T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes.

@nskaggs as of a few minutes ago, I have emptied my crontab which means my grid-based jobs will not be running anymore. All the jobs have been migrated to the toolforge job framework. I have run them once and it seems like they all worked fine. I will continue monitoring.

Dec 5 2023, 2:48 AM · User-Huji, Grid-Engine-to-K8s-Migration

Dec 4 2023

Huji added a parent task for T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework: T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes.
Dec 4 2023, 11:29 PM · Toolforge
Huji added a subtask for T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes: T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.
Dec 4 2023, 11:29 PM · User-Huji, Grid-Engine-to-K8s-Migration
Huji closed T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework as Resolved.
Dec 4 2023, 11:28 PM · Toolforge
Huji added a comment to T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

Coming back to this just to memorialize how things finally got to work.

Dec 4 2023, 11:28 PM · Toolforge

Oct 31 2023

Huji added a comment to T319623: Migrate checkdictation-fa from Toolforge GridEngine to Toolforge Kubernetes.

@Ladsgroup any chance you could take this on?

Oct 31 2023, 1:30 AM · Grid-Engine-to-K8s-Migration
Huji added a project to T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes: User-Huji.
Oct 31 2023, 1:29 AM · User-Huji, Grid-Engine-to-K8s-Migration
Huji changed the status of T319800: Migrate huji from Toolforge GridEngine to Toolforge Kubernetes from Open to In Progress.
Oct 31 2023, 1:29 AM · User-Huji, Grid-Engine-to-K8s-Migration

Oct 4 2023

Huji created T348166: Erratic logout behavior.
Oct 4 2023, 4:31 PM · MediaWiki-Core-AuthManager, MediaWiki-Platform-Team

May 17 2023

Huji added a comment to T169452: Replace Quarry with an installation of Superset.

Another observation: in Quarry, you could get a public link to your query and share it with others; in Superset, the "Copy link" feature doesn't seem to generate something that is publicly accessible.

May 17 2023, 12:12 PM · cloud-services-team (FY2023/2024-Q3-Q4), superset.wmcloud.org, Quarry
Huji added a comment to T169452: Replace Quarry with an installation of Superset.

I got here through the message at the top of Quarry. I really liked Superset's interface. The first issue that came to my attention: you need to know which server cluster your desired wiki is on. Quarry has the advantage that you specify the wiki schema name and it'll figure out which server to query. I wish Superset could do the same.

May 17 2023, 12:10 PM · cloud-services-team (FY2023/2024-Q3-Q4), superset.wmcloud.org, Quarry

Apr 18 2023

Huji added a comment to T289943: Quarry suggests invalid database names, and doesn't suggest some valid database names.

The most common form of invalid DB names returned are those ending with a semicolon. I created https://github.com/toolforge/quarry/pull/19 to address that issue specifically.

Apr 18 2023, 12:51 AM · Quarry

Aug 26 2022

Asartea awarded T213778: Update link colors in Vector 2022 for improved UX (and consistency) a Dislike token.
Aug 26 2022, 4:31 PM · User-notice-archive, MW-1.39-notes (1.39.0-wmf.26; 2022-08-22), Design-System-Team (Design-System-Sprint), Web-Team-Backlog (Kanbanana-2022-23-Q1), Editing-team, DiscussionTools, OWC2020 (OWC2020 Replying 2.0), Desktop Improvements (Vector 2022), UI-Standardization, Vector (legacy skin)

Jul 19 2022

Huji created T313276: Selecting page title in sticky header will include newline characters.
Jul 19 2022, 12:20 AM · Web-Team-Backlog, Desktop Improvements (Vector 2022)

Jul 18 2022

Huji created T313196: Blocks are not overwridden and tags are skipped if the block parameters are the same as a already existing block.
Jul 18 2022, 12:50 AM · MW-1.41-notes (1.41.0-wmf.11; 2023-05-30), Anti-Harassment, CheckUser

Jul 9 2022

Huji closed T312186: Page menus are occasional rendered after page header instead of before it as Resolved.

I think that was it.

Jul 9 2022, 12:10 AM · Desktop Improvements (Vector 2022)

Jul 8 2022

Huji added a comment to T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers.

The same could be said about the opposite (if you like it, create a gadget or user script to add it). Note that this link did not exist until a few weeks ago when the original patch was merged.

Jul 8 2022, 4:40 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jul 7 2022

AntiCompositeNumber awarded T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers a Dislike token.
Jul 7 2022, 9:08 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jul 6 2022

Huji added a comment to T312186: Page menus are occasional rendered after page header instead of before it.

This just happened again for me.

Jul 6 2022, 10:18 PM · Desktop Improvements (Vector 2022)
Huji created T312186: Page menus are occasional rendered after page header instead of before it.
Jul 6 2022, 2:05 AM · Desktop Improvements (Vector 2022)

Jun 28 2022

Huji added a comment to T311363: Allow searching for CU records from a specific date range.

What I meant is: the offset you choose in the UI could be relative, and the software would translate it to absolute time for you.

Jun 28 2022, 8:24 PM · CheckUser
Huji added a comment to T311375: Instead of not showing any results on too many results show the results to the truncation point with a pager that allows generation of more results.
  1. A log entry is generated each time the user looks at one page of results. The log entry message could be like $3, $1 got edits for <bdi>$2</bdi> (partial results)
Jun 28 2022, 8:23 PM · MW-1.39-notes (1.39.0-wmf.22; 2022-07-25), Stewards-and-global-tools, CheckUser
Huji added a comment to T311363: Allow searching for CU records from a specific date range.

If T311375 is implemented this may make this less important. However, the way that would be implemented that I see would be basically some sort of offset. This offset could either be time based or ID based, but if this was time based then it would implement half of what this ticket is requesting (as it would be from arbitrary time X defined to end of period).

Jun 28 2022, 12:26 PM · CheckUser
Huji added a comment to T311353: When too many results are counted for a check, work out what the best check(s) that could be run is..

Between T311375 and T311363 I think this becomes nearly unnecessary and definitely not worth the effort. Decline?

Jun 28 2022, 12:23 PM · CheckUser

Jun 27 2022

Huji updated subscribers of T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

I have found two strategies that would work for me. @JJMC89 and @taavi I would appreciate it if you could advise me as to which you think is best.

Jun 27 2022, 1:16 PM · Toolforge
Huji added a comment to T308624: RecentChanges: Buttons associated with the showrollbackconfirmation overlap in the Mobile view.

I cannot but @LordProfo can. I will send them a reminder on wiki as well.

Jun 27 2022, 1:00 PM · MW-1.39-notes (1.39.0-wmf.17; 2022-06-20), Moderator-Tools-Team (Kanban), Growth-Team, MediaWiki-Recent-changes, MinervaNeue

Jun 26 2022

Huji created T311363: Allow searching for CU records from a specific date range.
Jun 26 2022, 1:20 PM · CheckUser

Jun 25 2022

Huji added a comment to T311331: +2 for Dreamy_Jazz in mediawiki/extensions/CheckUser.

Support. And what @Zabe said. FWIW, the patches on which @Dreamy_Jazz has reviewed show that they have a good grasp of what makes for good quality code, what makes for a good patch, and how to provide constructive feedback.

Jun 25 2022, 2:18 PM · Gerrit-Privilege-Requests, CheckUser

Jun 24 2022

Huji added a comment to T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers.

I have been thinking about this a lot in the last few days. I am sorry, @Ladsgroup but I think your change should be outright revert. I will create the patch.

Jun 24 2022, 5:29 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jun 22 2022

Huji updated subscribers of T32790: <timeline> has incorrect font for farsi.

Boldly close as I thought this problem no longer exist now.

Jun 22 2022, 1:30 AM · Wikimedia-Site-requests, EasyTimeline, I18n

Jun 20 2022

Huji added a comment to T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers.

Oh yeah, I get that. But fixing a regression should not be at the expense of cluttering another interface in ways that would not be helpful 99%+ of the time.

Jun 20 2022, 9:46 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jun 19 2022

Huji added a comment to T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers.

I originally thought about showing it if the user has cu rights but OTOH, you might need to check logs of a former CU, stewards who has done cu but not cu in that wiki anymore and so on. I know the chances are slim but not impossible.

Jun 19 2022, 2:12 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jun 18 2022

Huji created T310947: Display link of checkuser actions done by the user in contributions page only for CheckUsers.
Jun 18 2022, 10:03 PM · MW-1.39-notes (1.39.0-wmf.21; 2022-07-18), CheckUser

Jun 16 2022

Huji renamed T310604: TOC displays a QINU string when section header contains math commands from TOC in the sidebar displays a QINU string when section header contains math commands to TOC displays a QINU string when section header contains math commands.
Jun 16 2022, 12:36 AM · MediaWiki-Parser, Math
Huji added a comment to T310604: TOC displays a QINU string when section header contains math commands.

Yes indeed. Seems like it has nothing to do with Desktop Improvements (Vector 2022) after all. See this rendition on enwiki for instance.

Jun 16 2022, 12:34 AM · MediaWiki-Parser, Math

Jun 14 2022

Huji closed T310611: Unable to connect to Wikireplica databases using Python since the upgrade to Stretch as Resolved.

Good catch @Chicocvenancio

Jun 14 2022, 2:27 PM · Cloud-Services
Huji created T310619: Local variable is referenced before assignment after code was refactored.
Jun 14 2022, 2:09 PM · Pywikibot
Huji added a comment to T310611: Unable to connect to Wikireplica databases using Python since the upgrade to Stretch.

Of note, I was able to get my Python code working by using the toolforge library, but am still curious as to why the MySQLdb library doesn't work anymore.

Jun 14 2022, 1:39 PM · Cloud-Services
Huji updated the task description for T310611: Unable to connect to Wikireplica databases using Python since the upgrade to Stretch.
Jun 14 2022, 1:26 PM · Cloud-Services
Huji created T310611: Unable to connect to Wikireplica databases using Python since the upgrade to Stretch.
Jun 14 2022, 1:10 PM · Cloud-Services
Huji created T310604: TOC displays a QINU string when section header contains math commands.
Jun 14 2022, 12:15 PM · MediaWiki-Parser, Math

Jun 13 2022

Huji added a comment to T310450: fawiki user reports getting 503 errors with message "upstream connect error or disconnect before headers".

Likely. But the point about an error message shown which appears to only exist in unit test code is also worth investigating.

Jun 13 2022, 10:55 PM · serviceops, Wikimedia-production-error
Huji added a comment to T16246: Permission error message for editing MediaWiki namespace.

@Verdy_p please open a new task for this. Let me know if you need help.

Jun 13 2022, 10:53 PM · MediaWiki-Internationalization
Huji added a comment to T310450: fawiki user reports getting 503 errors with message "upstream connect error or disconnect before headers".

I would certainly hope so. But searching for the error message only returns one result, and that is the unit test code I mentioned above.

Jun 13 2022, 12:05 AM · serviceops, Wikimedia-production-error

Jun 12 2022

Huji created T310450: fawiki user reports getting 503 errors with message "upstream connect error or disconnect before headers".
Jun 12 2022, 8:22 PM · serviceops, Wikimedia-production-error

Jun 10 2022

Huji added a comment to T152850: Bring the CIDR calculator to MediaWiki core.

That is by design, and not specific to Firefox.
The maximum range this tool gives you is /16 for IPv4 and /32 for IPv6
If your input spans a wider range, it'll show an error.

Jun 10 2022, 11:16 PM · Patch-Needs-Improvement, MediaWiki-Blocks, MediaWiki-Special-pages, MediaWiki-User-Interface

Jun 9 2022

Huji added a comment to T152850: Bring the CIDR calculator to MediaWiki core.

Can you provide an example of a "very large range" so I can test it in Firefox?

Jun 9 2022, 11:24 AM · Patch-Needs-Improvement, MediaWiki-Blocks, MediaWiki-Special-pages, MediaWiki-User-Interface

Jun 8 2022

Huji added a comment to T152850: Bring the CIDR calculator to MediaWiki core.

My understanding of OOUI is limited, but I guess we now can convert it into a class that extends \OOUI\Widget? If so, then how can we create a multi-component widget? I was thinking that the output should be a FieldLayout that contains a MultilineTextInputWidget (in which we enter the IPs) and a disabled TextInputWidget beneath it (in which the CIDR is shown) followed by perhaps another widget (perhaps a LabelWidget) in which we show the size of the CIDR range.

Jun 8 2022, 11:42 PM · Patch-Needs-Improvement, MediaWiki-Blocks, MediaWiki-Special-pages, MediaWiki-User-Interface

Jun 5 2022

Huji added a comment to T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

I will investigate this a bit more, but at least on a cursory look, it seems like the venv that is created by k8s will not work properly on bastion. That is not a deal breaker, but it is a bit annoying that I can only use k8s venvs wit k8s and bastion venvs with bastion. Makes configurations harder to make and test.

Jun 5 2022, 2:08 PM · Toolforge
Huji added a comment to T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

I am still having issues.

Jun 5 2022, 1:15 AM · Toolforge

Jun 2 2022

Huji added a comment to T309308: Add tfj as a shortcut for toolforge-jobs command.

@Majavah I was unaware of it; feel free to decline this and abandon the patch I just created.

Jun 2 2022, 7:45 PM · Patch-For-Review, Toolforge Jobs framework

May 31 2022

Huji added a comment to T309308: Add tfj as a shortcut for toolforge-jobs command.

That means IDNUC (i did not understand correctly)!

May 31 2022, 11:41 PM · Patch-For-Review, Toolforge Jobs framework

May 30 2022

Huji updated subscribers of T309308: Add tfj as a shortcut for toolforge-jobs command.

@bd808 I use this through an alias. Assuming there is interest to make this universal, there are two solutions I can think of:

May 30 2022, 11:46 PM · Patch-For-Review, Toolforge Jobs framework

May 29 2022

Huji added a comment to T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

Ummm. I'm not sure I understand you here.

May 29 2022, 12:47 PM · Toolforge
Huji added a comment to T301901: Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework.

Those two patches should provide a general sense of what I mean.

May 29 2022, 2:18 AM · cloud-services-team (FY2022/2023-Q3), User-Raymond_Ndibe, Toolforge Jobs framework, Patch-For-Review
Huji added a comment to T301901: Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework.

I think I can help with coding myself; I was able to find the two places (in the api and the cli Python codes) where changes need to be made.

May 29 2022, 1:50 AM · cloud-services-team (FY2022/2023-Q3), User-Raymond_Ndibe, Toolforge Jobs framework, Patch-For-Review
Huji added a comment to T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.

@JJMC89 no that is not true. The first step in the shell script above is to load a venv, so even with tf-bullseye-std it should still use my venv's python (not the OS python).

May 29 2022, 1:41 AM · Toolforge

May 26 2022

Huji renamed T301901: Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework from Allow specifying the location of log files for toolforge job framework to Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework.
May 26 2022, 1:18 PM · cloud-services-team (FY2022/2023-Q3), User-Raymond_Ndibe, Toolforge Jobs framework, Patch-For-Review
Huji added a comment to T301901: Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework.

@bd808 how difficult is this to implement? Because I am increasingly feeling the need for this.

May 26 2022, 1:17 PM · cloud-services-team (FY2022/2023-Q3), User-Raymond_Ndibe, Toolforge Jobs framework, Patch-For-Review
Huji updated the task description for T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.
May 26 2022, 1:12 PM · Toolforge
Huji created T309309: Python virtual environment does not seem to get properly activated by a job using the new Jobs framework.
May 26 2022, 1:11 PM · Toolforge